query_id
stringlengths
1
3
query_template
stringlengths
15
193
900
SELECT AVG(?) FROM ? WHERE ? < ?
901
SELECT ?, ? FROM ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ?
902
SELECT DISTINCT ? FROM ? WHERE ? LIKE ?
903
SELECT COUNT(DISTINCT ?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? = ?)
904
SELECT ?, ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ?
905
SELECT ?, ? FROM ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?)
906
SELECT AVG(?), AVG(?) FROM ? WHERE ? = ? AND ? = ?
907
SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? INTERSECT SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? < ?
908
SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ?
909
SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY AVG(?) DESC LIMIT ?
910
SELECT SUM(?), ? FROM ? GROUP BY ?
911
SELECT ? FROM ?, ?, ? JOIN ? ON ? = ? AND ? = ? AND ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ?