Field names, table names, quotes or not - a few examples of things that can differ. The syntax of subqueries themselves are standard AFAIK.
Building subqueries inside Django gives the rest of Django access to them for things like aggregation or filters.