I could nail those with the Django ORM, but I'd struggle to write syntactically correct SQL, not having done it in a while. But it says that your test machine has MS-SQL; with the machine in front of me, I could probably puzzle it out the join quirks with a couple minutes of trial and error.
How would you solve the first one using Django ORM?
Employee.objects.filter(boss__salary__lte=F('salary')).values_list('names', flat=True)