query_id
stringlengths 1
3
| query_template
stringlengths 15
193
|
---|---|
800 | SELECT DISTINCT ? FROM ? |
801 | SELECT ? FROM ? WHERE ? > ? EXCEPT SELECT ? FROM ? WHERE ? = ? |
802 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
803 | SELECT COUNT(?) FROM ? WHERE ? >= ? |
804 | SELECT COUNT(?) FROM ? WHERE NOT ? IN (SELECT ? FROM ?) |
805 | SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) DESC |
806 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING ? < ? ORDER BY COUNT(?) DESC LIMIT ? |
807 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
808 | SELECT ? FROM ? WHERE ? < ? |
809 | SELECT ? FROM ? GROUP BY ? ORDER BY AVG(?) DESC LIMIT ? |
810 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
811 | SELECT ? FROM ? WHERE ? >= ? AND ? >= ? |
812 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? LIKE ? |
813 | SELECT COUNT(?) FROM ? WHERE ? = ? AND ? < ? |
814 | SELECT ?, COUNT(?) FROM ? GROUP BY ? ORDER BY SUM(?) DESC LIMIT ? |
815 | SELECT AVG(?), ? FROM ? GROUP BY ? |
816 | SELECT ? FROM ? JOIN ? ON ? = ? ORDER BY ? ASC |
817 | SELECT ?, COUNT(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
818 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ?, ? ORDER BY COUNT(?) DESC LIMIT ? |
819 | SELECT ?, MAX(?) FROM ? GROUP BY ? |
820 | SELECT DISTINCT ? FROM ? WHERE ? = ? EXCEPT SELECT DISTINCT ? FROM ? WHERE ? > ? |
821 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
822 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
823 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? |
824 | SELECT ? FROM ? WHERE ? > ? UNION SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
825 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? |
826 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? DESC |
827 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? < ? OR ? > ? |
828 | SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? WHERE ? != ? |
829 | SELECT COUNT(?) FROM (SELECT ? FROM ? WHERE ? = ? INTERSECT SELECT ? FROM ? WHERE ? = ?) |
830 | SELECT ?, COUNT(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
831 | SELECT ?, ?, ? FROM ?, ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
832 | SELECT ? FROM ? UNION SELECT ? FROM ? |
833 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
834 | SELECT ?, ?, ? FROM ?, ? JOIN ? ON ? = ? AND ? = ? |
835 | SELECT ?, ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = (SELECT MIN(?) FROM ?) |
836 | SELECT ?, ?, ? FROM ? WHERE ? > (SELECT AVG(?) FROM ?) |
837 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? - ? > ? |
838 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? |
839 | SELECT ?, ? FROM ? EXCEPT SELECT ?, ? FROM ? JOIN ? ON ? = ? |
840 | SELECT MIN(?), MIN(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY ? |
841 | SELECT ?, SUM(?) FROM ? JOIN ? ON ? = ? GROUP BY ? |
842 | SELECT AVG(?), MAX(?), SUM(?) FROM ? |
843 | SELECT ? FROM ? EXCEPT SELECT ? FROM ? WHERE ? < ? |
844 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > (SELECT AVG(?) FROM ?) |
845 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) LIMIT ? |
846 | SELECT ? FROM ? GROUP BY ? ORDER BY COUNT(?) ASC LIMIT ? |
847 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? OR ? = ? |
848 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? != ? |
849 | SELECT COUNT(DISTINCT ?), ? FROM ? GROUP BY ? |
850 | SELECT ? FROM ? GROUP BY ? HAVING AVG(?) >= ? |
851 | SELECT SUM(?) FROM ? |
852 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? HAVING COUNT(?) >= ? |
853 | SELECT AVG(?), ? FROM ? JOIN ? ON ? = ? WHERE ? = (SELECT MIN(?) FROM ?) |
854 | SELECT MAX(?), MIN(?) FROM ? JOIN ? ON ? = ? WHERE ? LIKE ? |
855 | SELECT COUNT(?) FROM ? WHERE ? > ? AND ? <= ? |
856 | SELECT COUNT(?) FROM ? WHERE ? > (SELECT AVG(?) FROM ?) OR ? > (SELECT AVG(?) FROM ?) |
857 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? EXCEPT SELECT ? FROM ? JOIN ? ON ? = ? |
858 | SELECT ?, ? FROM ? WHERE ? <= ? ORDER BY ? DESC LIMIT ? |
859 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING AVG(?) > ? EXCEPT SELECT ? FROM ? WHERE ? = ? |
860 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? INTERSECT SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
861 | SELECT ? FROM ? ORDER BY ? ASC |
862 | SELECT ? FROM ? WHERE ? != ? ORDER BY ? DESC LIMIT ? |
863 | SELECT ?, MAX(?), ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
864 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? > ? UNION SELECT ? FROM ? JOIN ? ON ? = ? |
865 | SELECT ? FROM ? WHERE ? IN (SELECT ? FROM ? WHERE ? = ?) AND ? IN (SELECT ? FROM ? WHERE ? = ?) |
866 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
867 | SELECT ? FROM ? WHERE ? > ? GROUP BY ? HAVING COUNT(?) >= ? |
868 | SELECT COUNT(?), ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? |
869 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
870 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? BETWEEN ? AND ? |
871 | SELECT COUNT(?) FROM ? WHERE ? < ? |
872 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? |
873 | SELECT COUNT(?), ? FROM ? WHERE ? < ? GROUP BY ? |
874 | SELECT AVG(?), MIN(?), MAX(?) FROM ? WHERE ? < ? |
875 | SELECT COUNT(DISTINCT ?), COUNT(DISTINCT ?), ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? |
876 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? = (SELECT MAX(?) FROM ? WHERE ? = ?) |
877 | SELECT ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING SUM(?) >= ? ORDER BY SUM(?) DESC |
878 | SELECT ?, AVG(?) FROM ? GROUP BY ? ORDER BY AVG(?) |
879 | SELECT ?, ?, ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? ORDER BY ? |
880 | SELECT COUNT(?), ? FROM ? JOIN ? ON ? = ? WHERE ? > ? GROUP BY ? |
881 | SELECT DISTINCT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? != ? |
882 | SELECT ? FROM ? WHERE ? = ? AND ? > ? |
883 | SELECT COUNT(?) FROM ? WHERE ? > (SELECT MAX(?) FROM ? WHERE ? = ?) |
884 | SELECT AVG(?), MAX(?) FROM ? WHERE ? = ? OR ? = ? |
885 | SELECT ? FROM ? JOIN ? ON ? = ? WHERE ? = ? AND ? > ? |
886 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? |
887 | SELECT COUNT(?), ? FROM ? JOIN ? ON ? = ? AND ? = ? GROUP BY ? |
888 | SELECT MIN(?), ? FROM ? GROUP BY ? |
889 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? |
890 | SELECT ? FROM ? WHERE ? BETWEEN -? AND ? |
891 | SELECT ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? HAVING COUNT(?) = ? |
892 | SELECT ?, ? FROM ? WHERE NOT ? IN (SELECT ? FROM ?) |
893 | SELECT ? FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? GROUP BY ? HAVING SUM(?) > ? OR SUM(?) > ? |
894 | SELECT ?, ?, ? FROM ? WHERE ? < ? |
895 | SELECT ?, ? FROM ? JOIN ? ON ? = ? WHERE ? = ? GROUP BY ? HAVING COUNT(?) > ? |
896 | SELECT ? FROM ? GROUP BY ? HAVING COUNT(?) > ? ORDER BY COUNT(?) |
897 | SELECT COUNT(?) FROM ? JOIN ? ON ? = ? JOIN ? ON ? = ? WHERE ? = ? AND ? = ? AND ? = ? |
898 | SELECT ?, ?, ? FROM ? JOIN ? ON ? = ? GROUP BY ? ORDER BY COUNT(?) DESC LIMIT ? |
899 | SELECT ? FROM ? WHERE ? >= ? AND ? <= ? INTERSECT SELECT ? FROM ? WHERE ? = ? |