query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
400 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? > ? |
401 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? > (SELECT MAX(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ?) |
402 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? + ? |
403 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? WHERE ? > ?) INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? WHERE ? < ?) |
404 | SELECT ?, ?, ? FROM ? WHERE ? = ? ORDER BY ? |
405 | SELECT AVG(? - ?) FROM ? |
406 | SELECT AVG(?), COUNT(?) FROM ? JOIN ? ON ? = ? ORDER BY ? DESC LIMIT ? |
407 | SELECT ?, ? FROM ? JOIN ? ON ? = ? |
408 | SELECT ?, COUNT(?) FROM ? WHERE ? = ? GROUP BY ? |
409 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? WHERE ? = ? |
410 | SELECT ?, ? - ? FROM ? WHERE ? BETWEEN ? AND ? |
411 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
412 | SELECT COUNT(?), ? FROM ? GROUP BY ? HAVING COUNT(?) >= ? |
413 | SELECT AVG(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
414 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) > ? UNION SELECT ? FROM ? GROUP BY ? HAVING SUM(?) > ? |
415 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
416 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) <= ? |
417 | SELECT COUNT(?) FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
418 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? LIKE ? |
419 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
420 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
421 | SELECT ?, ?, ?, ?, MAX(?) FROM ? GROUP BY ? |
422 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? |
423 | SELECT ?, COUNT(?), SUM(?) FROM ? GROUP BY ? |
424 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
425 | SELECT ?, ? FROM ? WHERE ? = (SELECT ? FROM ? WHERE ? = ?) |
426 | SELECT ?, ? FROM ? JOIN ? ON ? = ? ORDER BY ? DESC |
427 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? < ? |
428 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
429 | SELECT ? FROM ? JOIN ? ON ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? |
430 | SELECT ?, ? FROM ? WHERE ? LIKE ? AND ? != ? |
431 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) <= ? |
432 | SELECT ?, ? FROM ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
433 | SELECT ? FROM ? ORDER BY ? ASC LIMIT ? |
434 | SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? GROUP BY ? HAVING AVG(?) > ? |
435 | SELECT COUNT(?), ? FROM ? |
436 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? < ? |
437 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
438 | SELECT COUNT(?) FROM ? WHERE ? != ? |
439 | SELECT ? FROM ? WHERE ? LIKE ? |
440 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
441 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
442 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
443 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) = ? UNION SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) = ? |
444 | SELECT ?, ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
445 | SELECT ?, ? FROM ? WHERE ? < ? |
446 | SELECT ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? AND ? = ? INTERSECT SELECT ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? AND ? = ? |
447 | SELECT ?, AVG(?) FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY AVG(?) |
448 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) BETWEEN ? AND ? |
449 | SELECT ? FROM ? WHERE ? = ? GROUP BY ? ORDER BY COUNT(?) LIMIT ? |
450 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? >= ? |
451 | SELECT COUNT(?), ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? |
452 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
453 | SELECT AVG(?) FROM ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
454 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) BETWEEN ? AND ? |
455 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
456 | SELECT ?, ? FROM ? WHERE ? > ? OR ? < ? |
457 | SELECT ?, ? FROM ? WHERE ? IN (SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? WHERE ? = ?) |
458 | SELECT AVG(?), MAX(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? |
459 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC |
460 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? ORDER BY ? DESC LIMIT ? |
461 | SELECT ? FROM ? JOIN ? ON ? = ? ORDER BY ? ASC LIMIT ? |
462 | SELECT ?, ?, ? FROM ? WHERE ? != ? |
463 | SELECT AVG(?), MIN(?) FROM ? WHERE ? = ? |
464 | SELECT ? FROM ? WHERE ? = ? EXCEPT SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
465 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? < (SELECT MAX(?) FROM ?) |
466 | SELECT ? FROM ? WHERE ? < (SELECT AVG(?) FROM ?) |
467 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
468 | SELECT ? FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? BETWEEN ? AND ?) |
469 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING ? = ? |
470 | SELECT ? FROM ? WHERE ? > (SELECT MAX(?) FROM ? WHERE ? < ?) |
471 | SELECT ? FROM ? WHERE ? = (SELECT ? FROM ? ORDER BY ? DESC LIMIT ?) |
472 | SELECT MAX(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? |
473 | SELECT MAX(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
474 | SELECT ?, ?, ? FROM ? WHERE ? = (SELECT ? FROM ? WHERE ? = ?) AND ? != ? |
475 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
476 | SELECT ? FROM ? WHERE ? = ? ORDER BY ? LIMIT ? |
477 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? |
478 | SELECT COUNT(?) FROM (SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) > ?) |
479 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?)) |
480 | SELECT ? FROM ? |
481 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? AND ? = ? |
482 | SELECT AVG(?) FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? |
483 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? > ? |
484 | SELECT MAX(?), MIN(?), AVG(?) FROM ? |
485 | SELECT COUNT(DISTINCT ?) FROM ? WHERE ? = ? |
486 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
487 | SELECT DISTINCT ? FROM ? WHERE ? > (SELECT MIN(?) FROM ? WHERE ? = ?) |
488 | SELECT ? FROM ? WHERE ? > (SELECT MIN(?) FROM ? WHERE ? = ?) |
489 | SELECT ?, ?, MAX(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
490 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? UNION SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
491 | SELECT ?, AVG(?), MIN(?), MAX(?) FROM ? GROUP BY ? |
492 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? > ? |
493 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
494 | SELECT ?, ? FROM ? WHERE ? LIKE ? |
495 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
496 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? ORDER BY COUNT(?) >= ? |
497 | SELECT SUM(?), SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? < ? |
498 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
499 | SELECT MAX(?), MIN(?) FROM ? |