Skip
Arish's avatar

211. Introduction to Subqueries


Subqueries

A query inside another query.

sql
1SELECT name FROM students
2WHERE marks > (SELECT AVG(marks) FROM students);

Students above average marks.