query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
700 | SELECT ? FROM ? WHERE NOT ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
701 | SELECT ?, ?, ?, ?, ? FROM ? WHERE NOT ? LIKE ? |
702 | SELECT DISTINCT ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? >= ? |
703 | SELECT ? FROM ? WHERE ? = ? ORDER BY ? ASC |
704 | SELECT MAX(?), ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? |
705 | SELECT DISTINCT ? FROM ? ORDER BY ? DESC |
706 | SELECT ?, ? FROM ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
707 | SELECT COUNT(?) FROM ? WHERE ? BETWEEN ? AND ? |
708 | SELECT ?, ?, ? FROM ? WHERE ? > ? ORDER BY ? DESC LIMIT ? |
709 | SELECT ?, ? FROM ? WHERE ? LIKE ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
710 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? |
711 | SELECT SUM(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ? WHERE ? = ?) |
712 | SELECT SUM(?) FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
713 | SELECT MAX(?), MIN(?), ? FROM ? GROUP BY ? ORDER BY ? |
714 | SELECT MAX(?), MIN(?) FROM ? WHERE ? != ? |
715 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? != ? |
716 | SELECT ?, ? FROM ?, ? WHERE ? = ? INTERSECT SELECT ?, ? FROM ?, ? WHERE ? = ? |
717 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
718 | SELECT ?, ? + ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? < ? |
719 | SELECT ?, AVG(?) FROM ? GROUP BY ? |
720 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? OR ? < ? ORDER BY ?, ? |
721 | SELECT COUNT(?), ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) GROUP BY ? |
722 | SELECT ?, ? FROM ? ORDER BY ? LIMIT ? |
723 | SELECT ? FROM ? WHERE ? = ? AND ? = (SELECT MAX(?) FROM ? WHERE ? = ?) |
724 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
725 | SELECT COUNT(?) FROM ? GROUP BY ? |
726 | SELECT ? FROM ? WHERE ? >= (SELECT AVG(?) FROM ? WHERE ? = ?) |
727 | SELECT ?, ?, ? FROM ? |
728 | SELECT AVG(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
729 | SELECT ?, COUNT(?) FROM ? GROUP BY ? HAVING COUNT(?) BETWEEN ? AND ? |
730 | SELECT DISTINCT ? FROM ? WHERE ? = ? OR ? = ? |
731 | SELECT ? FROM ? WHERE NOT ? LIKE ? |
732 | SELECT ?, ?, ?, ? FROM ? ORDER BY ? |
733 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? ORDER BY ? |
734 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
735 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) >= ? |
736 | SELECT MAX(?) FROM ? WHERE ? != ? |
737 | SELECT ? FROM ? WHERE ? > ? OR ? = ? EXCEPT SELECT ? FROM ? WHERE ? > ? |
738 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) <= ? |
739 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? != ? |
740 | SELECT COUNT(DISTINCT ?) FROM ? WHERE ? < ? |
741 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? >= ? |
742 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? > ? |
743 | SELECT AVG(?) FROM ? WHERE ? > ? |
744 | SELECT ?, ? FROM ? WHERE ? = ? |
745 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? != ? |
746 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? |
747 | SELECT ?, COUNT(DISTINCT ?) FROM ? GROUP BY ? |
748 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? != ? AND ? != ? |
749 | SELECT AVG(?), MIN(?), MAX(?), SUM(?) FROM ? |
750 | SELECT AVG(?), AVG(?) FROM ? WHERE ? = (SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
751 | SELECT ? FROM ? WHERE ? < (SELECT MIN(?) FROM ? WHERE ? = ?) |
752 | SELECT ? FROM ? WHERE ? <= ? ORDER BY ? DESC |
753 | SELECT AVG(?), ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? |
754 | SELECT AVG(?), AVG(?), ? FROM ? GROUP BY ? |
755 | SELECT ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? EXCEPT SELECT ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? |
756 | SELECT ?, ? FROM ? WHERE ? != ? |
757 | SELECT ?, ?, ?, ? FROM ? |
758 | SELECT ?, ? FROM ? WHERE ? = ? INTERSECT SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) < ? |
759 | SELECT DISTINCT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
760 | SELECT COUNT(?) FROM (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? UNION SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
761 | SELECT COUNT(?) FROM (SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ?) |
762 | SELECT ?, ? FROM ? WHERE ? = ? ORDER BY ? |
763 | SELECT COUNT(DISTINCT ?) FROM ? |
764 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) LIMIT ? |
765 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? BETWEEN ? AND ? |
766 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? |
767 | SELECT COUNT(?), AVG(?), ? FROM ? GROUP BY ? |
768 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
769 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? LIKE ? UNION SELECT ? FROM ? WHERE ? = ? |
770 | SELECT ? FROM ? WHERE ? = ? |
771 | SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
772 | SELECT AVG(?), MAX(?), ? FROM ? GROUP BY ? |
773 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > ? |
774 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? AND ? = ? WHERE ? = ? AND ? = ? |
775 | SELECT ?, ? FROM ? WHERE ? IN (SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) UNION SELECT ?, ? FROM ? WHERE ? = ? |
776 | SELECT DISTINCT ? FROM ? WHERE ? < (SELECT MAX(?) FROM ?) |
777 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? IN (SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ?) |
778 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? >= ? AND ? <= ? |
779 | SELECT ? FROM ? WHERE ? = ? AND ? = ? UNION SELECT ? FROM ? WHERE ? = ? AND ? = ? |
780 | SELECT AVG(?), AVG(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
781 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
782 | SELECT SUM(?) FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? AND ? BETWEEN ? AND ? |
783 | SELECT ? FROM ? WHERE ? > ? UNION SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
784 | SELECT DISTINCT ?, ? FROM ? WHERE ? < (SELECT MAX(?) FROM ? WHERE ? = ?) |
785 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? INTERSECT SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
786 | SELECT COUNT(?) FROM ? |
787 | SELECT AVG(?), MAX(?), MIN(?) FROM ? |
788 | SELECT AVG(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
789 | SELECT SUM(?) FROM ? WHERE ? LIKE ? |
790 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? UNION SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) > ? |
791 | SELECT ? FROM ? WHERE ? > ? EXCEPT SELECT ? FROM ? GROUP BY ? HAVING MIN(?) < ? |
792 | SELECT MAX(?) FROM ? WHERE ? = ? |
793 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? >= ? |
794 | SELECT ? FROM ? WHERE ? = ? UNION SELECT ? FROM ? WHERE ? = ? |
795 | SELECT MAX(?), AVG(?) FROM ? |
796 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < (SELECT AVG(?) FROM ?) |
797 | SELECT ?, AVG(?), MIN(?) FROM ? GROUP BY ? |
798 | SELECT ?, ?, ? FROM ? WHERE ? IN (SELECT MIN(?) FROM ? GROUP BY ?) |
799 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |