query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
300 | SELECT ? FROM ? WHERE ? >= ? OR ? >= ? |
301 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? UNION SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
302 | SELECT DISTINCT ? FROM ? WHERE ? < ? OR ? > ? |
303 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? DESC LIMIT ? |
304 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
305 | SELECT ?, COUNT(?) FROM ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
306 | SELECT SUM(?), SUM(?) FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
307 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
308 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? UNION SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
309 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? AND ? = ? |
310 | SELECT ? FROM ? WHERE ? = ? ORDER BY ? DESC LIMIT ? |
311 | SELECT ? FROM ? GROUP BY ? ORDER BY MAX(?) DESC |
312 | SELECT ?, ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? OR ? = ? |
313 | SELECT ?, ?, ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
314 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING SUM(?) >= ? |
315 | SELECT ?, ? FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? = ?) |
316 | SELECT ? FROM ? WHERE ? = (SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
317 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? < ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
318 | SELECT ?, AVG(?) FROM ? GROUP BY ? HAVING AVG(?) > ? |
319 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
320 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? < ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
321 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) = ? |
322 | SELECT MIN(?), MAX(?), AVG(?) FROM ? |
323 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? ORDER BY ? |
324 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
325 | SELECT COUNT(?) FROM ? WHERE ? LIKE ? |
326 | SELECT ?, ? FROM ? WHERE ? = ? AND ? < ? |
327 | SELECT DISTINCT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?) |
328 | SELECT COUNT(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? = ?) |
329 | SELECT ? FROM ? INTERSECT SELECT ? FROM ? |
330 | SELECT ?, ? FROM ? WHERE ? > ? ORDER BY ? |
331 | SELECT ? FROM ? WHERE ? = ? AND ? = ? AND ? = ? |
332 | SELECT DISTINCT ? FROM ? WHERE ? > ? |
333 | SELECT COUNT(?) FROM ? WHERE ? > ? AND ? = ? |
334 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT ? FROM ? ORDER BY ? DESC LIMIT ?) |
335 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ? DESC LIMIT ? |
336 | SELECT ?, ?, ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
337 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT ? FROM ? ORDER BY ? LIMIT ?) |
338 | SELECT ? FROM ? WHERE ? = ? EXCEPT SELECT ? FROM ? WHERE ? = ? |
339 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? >= ? AND ? <= ? |
340 | SELECT MAX(?), AVG(?), ? FROM ? GROUP BY ? |
341 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
342 | SELECT ? FROM ? WHERE ? = ? AND ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
343 | SELECT ?, SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? >= ? GROUP BY ? |
344 | SELECT COUNT(?), AVG(?), ? FROM ? WHERE ? = ? GROUP BY ? |
345 | SELECT ? FROM ? WHERE NOT ? IN (SELECT ? FROM ?) |
346 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? > ? |
347 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
348 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? ASC LIMIT ? |
349 | SELECT ?, AVG(?) FROM ? GROUP BY ? ORDER BY AVG(?) DESC LIMIT ? |
350 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) ORDER BY ? ASC LIMIT ? |
351 | SELECT COUNT(?) FROM (SELECT ? FROM ? WHERE ? > ? GROUP BY ? HAVING COUNT(?) > ?) |
352 | SELECT ? FROM ? ORDER BY ? LIMIT ? |
353 | SELECT ?, MAX(?), ? FROM ? GROUP BY ? |
354 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
355 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING SUM(?) >= ? |
356 | SELECT ?, ? FROM ? GROUP BY ?, ? ORDER BY COUNT(?) DESC LIMIT ? |
357 | SELECT AVG(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ?) |
358 | SELECT ?, ? FROM ? WHERE ? >= ? ORDER BY ? DESC, ? ASC |
359 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
360 | SELECT ?, COUNT(?) FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
361 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? < ? |
362 | SELECT ?, ? FROM ? WHERE ? = ? AND ? = ? |
363 | SELECT AVG(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING AVG(?) >= ? |
364 | SELECT ?, COUNT(?) FROM ?, ? JOIN ? ON ? = ? AND ? = ? GROUP BY ? |
365 | SELECT MIN(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
366 | SELECT DISTINCT ? FROM ? WHERE ? != ? |
367 | SELECT ?, AVG(?) FROM ? WHERE ? != ? GROUP BY ? |
368 | SELECT MAX(?), MAX(?), ? FROM ? GROUP BY ? |
369 | SELECT ? FROM ? JOIN ? ON ? = ? ORDER BY ? DESC |
370 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
371 | SELECT ?, ? FROM ? WHERE ? = ? OR ? < ? |
372 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? < ? |
373 | SELECT AVG(?), MAX(?), MIN(?) FROM ? WHERE ? < ? |
374 | SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) ASC |
375 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? |
376 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) >= ? |
377 | SELECT ?, ?, ? FROM ? ORDER BY ? DESC LIMIT ? |
378 | SELECT ?, ? FROM ? GROUP BY ?, ? ORDER BY COUNT(?) LIMIT ? |
379 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) <= ? |
380 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? BETWEEN ? AND ? |
381 | SELECT ? FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? > ?) |
382 | SELECT ?, ?, ? FROM ? EXCEPT SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
383 | SELECT ?, MAX(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
384 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING AVG(?) > ? |
385 | SELECT ?, COUNT(?) FROM ? GROUP BY ? |
386 | SELECT ? FROM ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
387 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? |
388 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(DISTINCT ?) > ? |
389 | SELECT DISTINCT ? FROM ? EXCEPT SELECT DISTINCT ? FROM ? WHERE ? >= ? |
390 | SELECT SUM(?), MAX(?) FROM ? WHERE ? = ? |
391 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > ? |
392 | SELECT MAX(?), MAX(?) FROM ? WHERE ? = ? |
393 | SELECT ? FROM ? WHERE NOT ? IN (SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ?) |
394 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
395 | SELECT COUNT(DISTINCT ?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
396 | SELECT ? FROM ? WHERE ? = (SELECT ? FROM ? WHERE ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
397 | SELECT DISTINCT ? FROM ? WHERE ? = ? |
398 | SELECT ?, ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? EXCEPT SELECT ?, ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? |
399 | SELECT ? FROM ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) > ? |