query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
600 | SELECT ? FROM ? JOIN ? ON ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? |
601 | SELECT COUNT(?), ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? |
602 | SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
603 | SELECT ?, ? + ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?) |
604 | SELECT ? FROM ? JOIN ? ON ? = ? ORDER BY ? |
605 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
606 | SELECT ?, ? FROM ? ORDER BY ?, ? |
607 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? AND ? LIKE ? |
608 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? != ? |
609 | SELECT ? FROM ? WHERE ? >= ? INTERSECT SELECT ? FROM ? WHERE ? > ? |
610 | SELECT AVG(?), AVG(?) FROM ? JOIN ? ON ? = ? |
611 | SELECT ?, COUNT(?) FROM ? WHERE ? >= ? GROUP BY ? |
612 | SELECT AVG(?), MAX(?) FROM ? |
613 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
614 | SELECT SUM(?) FROM ? WHERE ? = ? AND ? = ? |
615 | SELECT ?, ? FROM ? ORDER BY ? ASC |
616 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? |
617 | SELECT MAX(?), ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? ORDER BY ? |
618 | SELECT ?, ? FROM ? WHERE ? IN (SELECT ? FROM ? WHERE ? = ? EXCEPT SELECT ? FROM ? WHERE ? = ?) |
619 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
620 | SELECT ? FROM ? WHERE ? > (SELECT MIN(?) FROM ? WHERE ? = ?) ORDER BY ? |
621 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
622 | SELECT ?, COUNT(?) FROM ? GROUP BY ? ORDER BY COUNT(?) ASC |
623 | SELECT AVG(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? GROUP BY ? HAVING MAX(?) > ?) |
624 | SELECT ?, ?, COUNT(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
625 | SELECT ? FROM ? WHERE ? > ? ORDER BY ?, ? DESC |
626 | SELECT ?, ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
627 | SELECT COUNT(DISTINCT ?) FROM ? WHERE ? < (SELECT AVG(?) FROM ?) |
628 | SELECT SUM(?), ? FROM ? WHERE ? > ? GROUP BY ? |
629 | SELECT ?, ? FROM ? JOIN ? ON ? = ? ORDER BY ? ASC |
630 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY SUM(?) ASC LIMIT ? |
631 | SELECT ? FROM ? WHERE ? = (SELECT MAX(?) FROM ?) |
632 | SELECT DISTINCT ?, ? FROM ? |
633 | SELECT AVG(?), AVG(?) FROM ? |
634 | SELECT DISTINCT ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
635 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? |
636 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? <= ? |
637 | SELECT ? FROM ? WHERE ? LIKE ? OR ? LIKE ? ORDER BY ? DESC |
638 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? |
639 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) > ? |
640 | SELECT ? FROM ? WHERE ? = ? AND ? = ? EXCEPT SELECT ? FROM ? WHERE ? = ? AND ? = ? |
641 | SELECT COUNT(?) FROM ? WHERE ? = ? AND ? > ? |
642 | SELECT ?, ? - ? FROM ? ORDER BY ? - ? LIMIT ? |
643 | SELECT COUNT(?) FROM ? WHERE ? = ? OR ? < ? |
644 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? WHERE ? > ? |
645 | SELECT ? FROM ? GROUP BY ? HAVING AVG(?) < ? |
646 | SELECT ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
647 | SELECT ? FROM ? ORDER BY ? DESC LIMIT ? |
648 | SELECT ?, ? FROM ? ORDER BY ? ASC LIMIT ? |
649 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
650 | SELECT AVG(?), MAX(?) FROM ? WHERE ? > ? |
651 | SELECT ?, ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
652 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ?, ? ORDER BY COUNT(?) DESC LIMIT ? |
653 | SELECT COUNT(?) FROM ? WHERE ? > ? |
654 | SELECT AVG(?), MIN(?) FROM ? |
655 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
656 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? WHERE ? > ? OR ? < ? |
657 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
658 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? UNION SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
659 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
660 | SELECT MAX(?), AVG(?) FROM ? WHERE ? < ? |
661 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) >= ? ORDER BY ? DESC |
662 | SELECT ?, AVG(?) FROM ? WHERE ? LIKE ? GROUP BY ? |
663 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) = ? INTERSECT SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? |
664 | SELECT COUNT(?) FROM ? WHERE ? > ? AND ? > ? |
665 | SELECT ? FROM ? WHERE ? > ? AND ? >= ? |
666 | SELECT AVG(?), SUM(?) FROM ? |
667 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
668 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) > ? |
669 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
670 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? |
671 | SELECT ? FROM ? WHERE ? > ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
672 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? |
673 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
674 | SELECT COUNT(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY ? DESC LIMIT ? |
675 | SELECT MAX(?), AVG(?), MIN(?), ? FROM ? GROUP BY ? |
676 | SELECT ? FROM ? WHERE ? = ? EXCEPT SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) > ? |
677 | SELECT ?, ? FROM ? GROUP BY ? HAVING COUNT(?) >= ? |
678 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? ORDER BY ? DESC LIMIT ? |
679 | SELECT ?, ?, AVG(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
680 | SELECT COUNT(DISTINCT ?) FROM ? JOIN ? ON ? = ? WHERE ? > ? |
681 | SELECT ?, ?, ? FROM ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
682 | SELECT ? FROM ? GROUP BY ? HAVING AVG(?) > (SELECT AVG(?) FROM ?) |
683 | SELECT DISTINCT ? FROM ? WHERE ? < ? |
684 | SELECT SUM(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
685 | SELECT ? + ? FROM ? JOIN ? ON ? = ? ORDER BY ? + ? |
686 | SELECT ? FROM ? WHERE ? = ? AND ? BETWEEN ? AND ? |
687 | SELECT ?, ?, ? FROM ? ORDER BY ? ASC |
688 | SELECT COUNT(DISTINCT ?) FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
689 | SELECT ? FROM ? WHERE ? = ? AND ? = ? UNION SELECT ? FROM ? WHERE ? = ? AND ? < ? |
690 | SELECT MAX(?), MIN(?), MIN(?) FROM ? |
691 | SELECT AVG(?), ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? ORDER BY ? |
692 | SELECT ? FROM ? WHERE ? != (SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
693 | SELECT COUNT(?) FROM ? WHERE ? = ? OR ? = ? |
694 | SELECT COUNT(?), ? FROM ? WHERE ? > ? GROUP BY ? |
695 | SELECT ?, ?, ? FROM ? WHERE ? = ? ORDER BY ?, ? |
696 | SELECT MAX(?), ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT MAX(?) FROM ?) |
697 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? LIKE ? |
698 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ? |
699 | SELECT ? FROM ? WHERE ? > ? ORDER BY ? |