Its for MySQL 5.x
To be honest its not even returning the result set the way I like but I was just wondering if that many subqueries is too much
Code:
SELECT a.name, b.* FROM isu_assignments AS a, isu_uploads AS b
WHERE (a.class_id = (SELECT id FROM isu_classes WHERE section='004' && number='143' && dept_id = (SELECT id FROM isu_dept WHERE abbr = 'TEC')))
AND (b.user_id = (SELECT id FROM isu_users WHERE username='ajwilli') AND b.class_id = a.class_id)
To be honest its not even returning the result set the way I like but I was just wondering if that many subqueries is too much