Poddotazy v MySQL jdou taky

http://dev.mysql.com/doc/mysql/en/Subqueries.html