query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
200 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ? ASC |
201 | SELECT ?, ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
202 | SELECT ? FROM ? WHERE ? > ? UNION SELECT ? FROM ? WHERE ? < ? |
203 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? LIKE ? |
204 | SELECT ?, ?, ?, ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) AND ? IN (SELECT ? FROM ? WHERE ? LIKE ?) |
205 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
206 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
207 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? |
208 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? |
209 | SELECT ?, AVG(?) FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY AVG(?) LIMIT ? |
210 | SELECT ? FROM ? GROUP BY ? HAVING AVG(?) > ? |
211 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY SUM(?) LIMIT ? |
212 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? >= ? AND ? <= ? |
213 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
214 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ? LIMIT ? |
215 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? |
216 | SELECT ? FROM ? WHERE ? < ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
217 | SELECT ? FROM ? WHERE ? = ? UNION SELECT ? FROM ? WHERE ? > ? |
218 | SELECT ?, ? FROM ? JOIN ? ON ? = ? AND ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
219 | SELECT COUNT(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? > ?) |
220 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? |
221 | SELECT ? FROM ? WHERE ? < ? AND ? = ? UNION SELECT ? FROM ? WHERE ? > ? AND ? = ? |
222 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? |
223 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? INTERSECT SELECT DISTINCT ? FROM ? WHERE ? = ? |
224 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING AVG(?) > ? |
225 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? < ? |
226 | SELECT ?, ?, ? FROM ? WHERE ? >= ? |
227 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
228 | SELECT COUNT(?), ? FROM ? GROUP BY ? |
229 | SELECT ?, AVG(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) GROUP BY ? |
230 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
231 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC |
232 | SELECT DISTINCT ? FROM ? WHERE ? >= ? |
233 | SELECT ?, COUNT(DISTINCT ?), COUNT(?) FROM ? GROUP BY ? |
234 | SELECT ?, COUNT(?) FROM ? GROUP BY ? ORDER BY COUNT(?) |
235 | SELECT ? FROM ? WHERE ? = ? AND ? = ? INTERSECT SELECT ? FROM ? WHERE ? = ? AND ? = ? |
236 | SELECT DISTINCT ? FROM ? WHERE ? BETWEEN ? AND ? |
237 | SELECT ? FROM ? WHERE ? >= ? AND ? <= ? |
238 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) |
239 | SELECT ? FROM ? WHERE ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? |
240 | SELECT ?, AVG(?) FROM ? GROUP BY ? HAVING COUNT(?) >= ? |
241 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? > ? OR ? = ? |
242 | SELECT ?, ? FROM ? JOIN ? ON ? = ? ORDER BY ? |
243 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
244 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
245 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? |
246 | SELECT ?, ?, COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
247 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? < ? |
248 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ?, ? GROUP BY ? ORDER BY COUNT(?) LIMIT ? |
249 | SELECT ?, ?, ? FROM ? ORDER BY ? LIMIT ? |
250 | SELECT ?, ? FROM ? WHERE ? > ? |
251 | SELECT COUNT(?) FROM ? WHERE ? = ? AND ? = ? |
252 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?) |
253 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? OR ? > ? |
254 | SELECT ?, ?, ? FROM ? WHERE ? LIKE ? |
255 | SELECT ? FROM ? WHERE ? = ? AND ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
256 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
257 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
258 | SELECT COUNT(?) FROM ?, ?, ? JOIN ? ON ? = ? AND ? = ? AND ? = ? WHERE ? = ? AND ? = ? |
259 | SELECT ? FROM ? WHERE ? < ? OR ? > ? |
260 | SELECT DISTINCT ? FROM ? ORDER BY ? ASC |
261 | SELECT MIN(?) FROM ? |
262 | SELECT ?, ?, SUM(?) FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
263 | SELECT ?, SUM(?) FROM ? GROUP BY ? HAVING COUNT(?) >= ? |
264 | SELECT DISTINCT (?) FROM ? |
265 | SELECT ? FROM ? JOIN ? ON ? = ? |
266 | SELECT MAX(?) FROM ? |
267 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
268 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
269 | SELECT ?, ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ?, ?, ? |
270 | SELECT DISTINCT ?, ? FROM ? WHERE ? > (SELECT MIN(?) FROM ? WHERE ? = ?) |
271 | SELECT DISTINCT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
272 | SELECT DISTINCT ? FROM ? WHERE ? >= ? AND ? > ? |
273 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > ? |
274 | SELECT ?, ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? |
275 | SELECT AVG(?), SUM(?) FROM ? WHERE ? = ? |
276 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
277 | SELECT ?, ? FROM ? WHERE ? = ? OR ? = ? |
278 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? >= ? ORDER BY ? |
279 | SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? WHERE ? < ? |
280 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?) |
281 | SELECT ?, SUM(?), SUM(?) FROM ? GROUP BY ? |
282 | SELECT ? FROM ? JOIN ? ON ? = ? ORDER BY ? LIMIT ? |
283 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? |
284 | SELECT DISTINCT ? FROM ? GROUP BY ?, ? HAVING COUNT(?) >= ? |
285 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
286 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
287 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
288 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ?, ?, ? ORDER BY COUNT(?) DESC LIMIT ? |
289 | SELECT ?, ?, COUNT(?) FROM ? GROUP BY ?, ? |
290 | SELECT ? FROM ? WHERE ? > ? INTERSECT SELECT ? FROM ? WHERE ? < ? |
291 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? WHERE ? >= ? |
292 | SELECT AVG(?), AVG(?) FROM ? WHERE ? = ? |
293 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
294 | SELECT ?, ?, MIN(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
295 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
296 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY AVG(?) LIMIT ? |
297 | SELECT DISTINCT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
298 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
299 | SELECT ?, ? FROM ? WHERE ? > ? AND ? != ? AND ? = ? |