instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
who was appointed before h.w. whillock ?
SELECT "incumbent" FROM table_203_93 WHERE "date of appointment" < (SELECT "date of appointment" FROM table_203_93 WHERE "incumbent" = 'h. w. whillock') ORDER BY "date of appointment" DESC LIMIT 1
[ 8727, 373, 9899, 878, 289, 13, 86, 13, 348, 359, 735, 5633, 46506, 366, 1939, 2178, 298, 1, 16034, 3084, 62, 22416, 62, 6052, 33411, 366, 4475, 286, 12557, 1, 1279, 357, 46506, 366, 4475, 286, 12557, 1, 16034, 3084, 62, 22416, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8727, 373, 9899, 878, 289, 13, 86, 13, 348, 359, 735, 5633, 46506, 366, 1939, 2178, 298, 1, 16034, 3084, 62, 22416, 62, 6052, 33411, 366, 4475, 286, 12557, 1, 1279, 357, 46506, 366, 4475, 286, 12557, 1, 16034, 3084, 62, 22416, 62, ...
What is the name of the road race held in Omsk, Russia?
SELECT "Road race" FROM table_28350 WHERE "Location" = 'Omsk'
[ 2061, 318, 262, 1438, 286, 262, 2975, 3234, 2714, 287, 440, 907, 74, 11, 3284, 30, 46506, 366, 29197, 3234, 1, 16034, 3084, 62, 2078, 14877, 33411, 366, 14749, 1, 796, 705, 46, 907, 74, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 2975, 3234, 2714, 287, 440, 907, 74, 11, 3284, 30, 46506, 366, 29197, 3234, 1, 16034, 3084, 62, 2078, 14877, 33411, 366, 14749, 1, 796, 705, 46, 907, 74, 6 ]
What is Jake Johnson's position?
SELECT "Position" FROM table_60072 WHERE "Players" = 'jake johnson'
[ 2061, 318, 14757, 5030, 338, 2292, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 8054, 4761, 33411, 366, 24860, 1, 796, 705, 73, 539, 45610, 1559, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 14757, 5030, 338, 2292, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 8054, 4761, 33411, 366, 24860, 1, 796, 705, 73, 539, 45610, 1559, 6 ]
What is the date that Stirling Moss had his fastest lap in a Maserati?
SELECT "Date" FROM table_53576 WHERE "Constructor" = 'maserati' AND "Fastest lap" = 'stirling moss'
[ 2061, 318, 262, 3128, 326, 520, 24297, 19935, 550, 465, 14162, 14779, 287, 257, 337, 6005, 7246, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 44465, 4304, 33411, 366, 42316, 273, 1, 796, 705, 5356, 263, 7246, 6, 5357, 366, 22968, 395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 326, 520, 24297, 19935, 550, 465, 14162, 14779, 287, 257, 337, 6005, 7246, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 44465, 4304, 33411, 366, 42316, 273, 1, 796, 705, 5356, 263, 7246, 6, 5357, 366, 22968, 395, ...
Report to me the number of patients who underwent coronary arteriography with the use of a single catheter and self discharged against medical advice.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "LEFT AGAINST MEDICAL ADVI" AND procedures.short_title = "Coronar arteriogr-1 cath"
[ 19100, 284, 502, 262, 1271, 286, 3871, 508, 25289, 37151, 30675, 72, 4867, 351, 262, 779, 286, 257, 2060, 3797, 43332, 290, 2116, 26476, 1028, 3315, 5608, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19100, 284, 502, 262, 1271, 286, 3871, 508, 25289, 37151, 30675, 72, 4867, 351, 262, 779, 286, 257, 2060, 3797, 43332, 290, 2116, 26476, 1028, 3315, 5608, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, ...
What is the lowest 13.5-inch/1400lb with a 13.5-inch/1250lb of more than 1, and a 12-inch smaller than 8?
SELECT MIN("13.5-inch/1400lb") FROM table_41095 WHERE "13.5-inch/1250lb" > '1' AND "12-inch" < '8'
[ 2061, 318, 262, 9016, 1511, 13, 20, 12, 8589, 14, 1415, 405, 23160, 351, 257, 1511, 13, 20, 12, 8589, 14, 1065, 1120, 23160, 286, 517, 621, 352, 11, 290, 257, 1105, 12, 8589, 4833, 621, 807, 30, 46506, 20625, 7203, 1485, 13, 20, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9016, 1511, 13, 20, 12, 8589, 14, 1415, 405, 23160, 351, 257, 1511, 13, 20, 12, 8589, 14, 1065, 1120, 23160, 286, 517, 621, 352, 11, 290, 257, 1105, 12, 8589, 4833, 621, 807, 30, 46506, 20625, 7203, 1485, 13, 20, ...
What is the most wins for draws greater than 0?
SELECT MAX(wins) FROM table_name_31 WHERE draws > 0
[ 2061, 318, 262, 749, 7864, 329, 14293, 3744, 621, 657, 30, 46506, 25882, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 14293, 1875, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 749, 7864, 329, 14293, 3744, 621, 657, 30, 46506, 25882, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 14293, 1875, 657 ]
How many laps were done in 2012?
SELECT SUM(laps) FROM table_name_26 WHERE year = 2012
[ 2437, 867, 24590, 547, 1760, 287, 2321, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 614, 796, 2321 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24590, 547, 1760, 287, 2321, 30, 46506, 35683, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 614, 796, 2321 ]
How many silver medals were there with 2 gold medals and more than 2 bronze medals?
SELECT "Silver" FROM table_42385 WHERE "Gold" = '2' AND "Bronze" > '2'
[ 2437, 867, 8465, 28057, 547, 612, 351, 362, 3869, 28057, 290, 517, 621, 362, 22101, 28057, 30, 46506, 366, 26766, 1, 16034, 3084, 62, 43356, 5332, 33411, 366, 13306, 1, 796, 705, 17, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 8465, 28057, 547, 612, 351, 362, 3869, 28057, 290, 517, 621, 362, 22101, 28057, 30, 46506, 366, 26766, 1, 16034, 3084, 62, 43356, 5332, 33411, 366, 13306, 1, 796, 705, 17, 6, 5357, 366, 18760, 2736, 1, 1875, 705, 17, 6 ]
What is Headquarter, when Type is Independent Online News Portal?
SELECT "Headquarter" FROM table_76717 WHERE "Type" = 'independent online news portal'
[ 2061, 318, 7123, 24385, 11, 618, 5994, 318, 13362, 7467, 3000, 25663, 30, 46506, 366, 13847, 24385, 1, 16034, 3084, 62, 32059, 1558, 33411, 366, 6030, 1, 796, 705, 34750, 2691, 1705, 17898, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 7123, 24385, 11, 618, 5994, 318, 13362, 7467, 3000, 25663, 30, 46506, 366, 13847, 24385, 1, 16034, 3084, 62, 32059, 1558, 33411, 366, 6030, 1, 796, 705, 34750, 2691, 1705, 17898, 6 ]
give me the number of patients whose admission location is trsf within this facility and year of birth is less than 1879?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND demographic.dob_year < "1879"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 614, 286, 4082, 318, 1342, 621, 1248, 3720, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 614, 286, 4082, 318, 1342, 621, 1248, 3720, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411,...
What is the title of the episode directed by Peter Markle and written by Jerry Stahl?
SELECT "Title" FROM table_16265 WHERE "Directed by" = 'Peter Markle' AND "Written by" = 'Jerry Stahl'
[ 2061, 318, 262, 3670, 286, 262, 4471, 7924, 416, 5613, 2940, 293, 290, 3194, 416, 13075, 520, 15668, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1433, 22980, 33411, 366, 13470, 276, 416, 1, 796, 705, 19727, 2940, 293, 6, 5357, 366, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 262, 4471, 7924, 416, 5613, 2940, 293, 290, 3194, 416, 13075, 520, 15668, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 1433, 22980, 33411, 366, 13470, 276, 416, 1, 796, 705, 19727, 2940, 293, 6, 5357, 366, 2...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a line chart about the change of employee_id over hire_date .
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 1627, 8262, 546, 262, 1487, 286, 6538, 62, 312, 625, 11078, 62, 4475, 764, 46506, 36210, 2200, 62, 35, 6158, 11, ...
until 2100, what are the five most frequently prescribed drugs?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE STRFTIME('%y', medication.drugstarttime) <= '2100' GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5
[ 28446, 38123, 11, 644, 389, 262, 1936, 749, 6777, 14798, 5010, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 38123, 11, 644, 389, 262, 1936, 749, 6777, 14798, 5010, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, ...
What is the reference for the romani title da.i.su.ki?
SELECT reference FROM table_name_4 WHERE romaji_title = "da.i.su.ki"
[ 2061, 318, 262, 4941, 329, 262, 9267, 3216, 3670, 12379, 13, 72, 13, 2385, 13, 4106, 30, 46506, 4941, 16034, 3084, 62, 3672, 62, 19, 33411, 9267, 26436, 62, 7839, 796, 366, 6814, 13, 72, 13, 2385, 13, 4106, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4941, 329, 262, 9267, 3216, 3670, 12379, 13, 72, 13, 2385, 13, 4106, 30, 46506, 4941, 16034, 3084, 62, 3672, 62, 19, 33411, 9267, 26436, 62, 7839, 796, 366, 6814, 13, 72, 13, 2385, 13, 4106, 1 ]
What is jamar martin's highest pick?
SELECT MAX(pick) FROM table_name_33 WHERE player = "jamar martin"
[ 2061, 318, 16853, 283, 11277, 259, 338, 4511, 2298, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 2137, 796, 366, 39159, 283, 11277, 259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 16853, 283, 11277, 259, 338, 4511, 2298, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 2091, 33411, 2137, 796, 366, 39159, 283, 11277, 259, 1 ]
What is Owner, when Finished is less than 15, when Trainer is 'Steve Asmussen', and when Horse is 'Z Fortune'?
SELECT owner FROM table_name_77 WHERE finished < 15 AND trainer = "steve asmussen" AND horse = "z fortune"
[ 2061, 318, 23853, 11, 618, 42931, 318, 1342, 621, 1315, 11, 618, 31924, 318, 705, 19206, 1081, 76, 35951, 3256, 290, 618, 18455, 318, 705, 57, 20425, 30960, 46506, 4870, 16034, 3084, 62, 3672, 62, 3324, 33411, 5201, 1279, 1315, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 23853, 11, 618, 42931, 318, 1342, 621, 1315, 11, 618, 31924, 318, 705, 19206, 1081, 76, 35951, 3256, 290, 618, 18455, 318, 705, 57, 20425, 30960, 46506, 4870, 16034, 3084, 62, 3672, 62, 3324, 33411, 5201, 1279, 1315, 5357, ...
how many Curtiss XBTC aircraft are retired?
SELECT COUNT("Retired") FROM table_823 WHERE "Aircraft type" = 'Curtiss XBTC'
[ 4919, 867, 19569, 747, 1395, 35964, 6215, 389, 9880, 30, 46506, 327, 28270, 7203, 9781, 1202, 4943, 16034, 3084, 62, 23, 1954, 33411, 366, 32, 27002, 2099, 1, 796, 705, 34, 3325, 747, 1395, 35964, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 19569, 747, 1395, 35964, 6215, 389, 9880, 30, 46506, 327, 28270, 7203, 9781, 1202, 4943, 16034, 3084, 62, 23, 1954, 33411, 366, 32, 27002, 2099, 1, 796, 705, 34, 3325, 747, 1395, 35964, 6 ]
show me all flights between BOSTON and WASHINGTON
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BOSTON' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHING...
[ 12860, 502, 477, 13956, 1022, 347, 10892, 1340, 290, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 477, 13956, 1022, 347, 10892, 1340, 290, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, ...
What are the luma samples at level 1.3?
SELECT luma_samples_s FROM table_237036_2 WHERE level = "1.3"
[ 2061, 389, 262, 300, 7487, 8405, 379, 1241, 352, 13, 18, 30, 46506, 300, 7487, 62, 82, 12629, 62, 82, 16034, 3084, 62, 1954, 2154, 2623, 62, 17, 33411, 1241, 796, 366, 16, 13, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 300, 7487, 8405, 379, 1241, 352, 13, 18, 30, 46506, 300, 7487, 62, 82, 12629, 62, 82, 16034, 3084, 62, 1954, 2154, 2623, 62, 17, 33411, 1241, 796, 366, 16, 13, 18, 1 ]
How many laps did the rider with a grid larger than 11, a Honda cbr1000rr bike, and a time of +42.633?
SELECT laps FROM table_name_17 WHERE grid > 11 AND bike = "honda cbr1000rr" AND time = "+42.633"
[ 2437, 867, 24590, 750, 262, 17876, 351, 257, 10706, 4025, 621, 1367, 11, 257, 20059, 269, 1671, 12825, 21062, 7161, 11, 290, 257, 640, 286, 1343, 3682, 13, 21, 2091, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 1558, 33411, 10706, 187...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 24590, 750, 262, 17876, 351, 257, 10706, 4025, 621, 1367, 11, 257, 20059, 269, 1671, 12825, 21062, 7161, 11, 290, 257, 640, 286, 1343, 3682, 13, 21, 2091, 30, 46506, 24590, 16034, 3084, 62, 3672, 62, 1558, 33411, 10706, 187...
Could I take 503 Mondays and Wednesdays ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.friday = 'N' AND course_offering.monday = 'Y' AND course_offering.thursday = 'N' AND course_offering.tuesday = 'N' AND course_offering.wednesday = 'Y' AND course.course_id = course_offering.course_id AND course.department = 'EECS' AND cour...
[ 23722, 314, 1011, 44541, 49748, 290, 3300, 2516, 12545, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 1781, 62, 2364...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23722, 314, 1011, 44541, 49748, 290, 3300, 2516, 12545, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 8310, 2567, 796, 705, 45, 6, 5357, 1781, 62, 2364...
what evening flights do you have available from BALTIMORE to PHILADELPHIA
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'BALTIMORE' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'PHI...
[ 10919, 6180, 13956, 466, 345, 423, 1695, 422, 347, 31429, 3955, 6965, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 6180, 13956, 466, 345, 423, 1695, 422, 347, 31429, 3955, 6965, 284, 9370, 4146, 2885, 3698, 11909, 40, 11159, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 6...
Show different types of ships and the average tonnage of ships of each type. Show bar chart.
SELECT Type, AVG(Tonnage) FROM ship GROUP BY Type
[ 15307, 1180, 3858, 286, 7937, 290, 262, 2811, 5680, 77, 496, 286, 7937, 286, 1123, 2099, 13, 5438, 2318, 8262, 13, 46506, 5994, 11, 35224, 7, 35416, 77, 496, 8, 16034, 4074, 44441, 11050, 5994 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1180, 3858, 286, 7937, 290, 262, 2811, 5680, 77, 496, 286, 7937, 286, 1123, 2099, 13, 5438, 2318, 8262, 13, 46506, 5994, 11, 35224, 7, 35416, 77, 496, 8, 16034, 4074, 44441, 11050, 5994 ]
Top User of Android Tag in India.
WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ON u.Id =...
[ 9126, 11787, 286, 5565, 17467, 287, 3794, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916, 11, 334, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 11787, 286, 5565, 17467, 287, 3794, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916, 11, 334, ...
return me the papers written by ' H. V. Jagadish ' and ' Divesh Srivastava ' before 2000 .
SELECT publication.title FROM author AS AUTHOR_0, author AS AUTHOR_1, publication, writes AS WRITES_0, writes AS WRITES_1 WHERE AUTHOR_0.name = 'H. V. Jagadish' AND AUTHOR_1.name = 'Divesh Srivastava' AND publication.year < 2000 AND WRITES_0.aid = AUTHOR_0.aid AND WRITES_0.pid = publication.pid AND WRITES_1.aid = AUTHO...
[ 7783, 502, 262, 9473, 3194, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 290, 705, 360, 1083, 71, 311, 15104, 459, 4170, 705, 878, 4751, 764, 46506, 9207, 13, 7839, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7783, 502, 262, 9473, 3194, 416, 705, 367, 13, 569, 13, 35687, 48563, 705, 290, 705, 360, 1083, 71, 311, 15104, 459, 4170, 705, 878, 4751, 764, 46506, 9207, 13, 7839, 16034, 1772, 7054, 44746, 62, 15, 11, 1772, 7054, 44746, 62, 16, ...
Show all artist names and the number of exhibitions for each artist in a pie chart.
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID
[ 15307, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 287, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17, 6177, 309, 16, 13, 43020, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 287, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17, 6177, 309, 16, 13, 43020, 62, 2389, ...
List the number of departments for each building with a bar chart, and show X in ascending order.
SELECT building, COUNT(building) FROM department GROUP BY building ORDER BY building
[ 8053, 262, 1271, 286, 13346, 329, 1123, 2615, 351, 257, 2318, 8262, 11, 290, 905, 1395, 287, 41988, 1502, 13, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 5011, 44441, 11050, 2615, 38678, 11050, 2615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 13346, 329, 1123, 2615, 351, 257, 2318, 8262, 11, 290, 905, 1395, 287, 41988, 1502, 13, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 5011, 44441, 11050, 2615, 38678, 11050, 2615 ]
Who won the race on June 26?
SELECT race_winner FROM table_28925058_1 WHERE date = "June 26"
[ 8241, 1839, 262, 3234, 319, 2795, 2608, 30, 46506, 3234, 62, 39791, 16034, 3084, 62, 2078, 5892, 1120, 3365, 62, 16, 33411, 3128, 796, 366, 15749, 2608, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 3234, 319, 2795, 2608, 30, 46506, 3234, 62, 39791, 16034, 3084, 62, 2078, 5892, 1120, 3365, 62, 16, 33411, 3128, 796, 366, 15749, 2608, 1 ]
What is Longitude, when Name is Raskova Paterae?
SELECT longitude FROM table_name_61 WHERE name = "raskova paterae"
[ 2061, 318, 5882, 3984, 11, 618, 6530, 318, 371, 2093, 10071, 350, 729, 3609, 30, 46506, 890, 3984, 16034, 3084, 62, 3672, 62, 5333, 33411, 1438, 796, 366, 81, 2093, 10071, 279, 729, 3609, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5882, 3984, 11, 618, 6530, 318, 371, 2093, 10071, 350, 729, 3609, 30, 46506, 890, 3984, 16034, 3084, 62, 3672, 62, 5333, 33411, 1438, 796, 366, 81, 2093, 10071, 279, 729, 3609, 1 ]
Bar graph to show sum share count from different date of transaction
SELECT date_of_transaction, SUM(share_count) FROM Transactions
[ 10374, 4823, 284, 905, 2160, 2648, 954, 422, 1180, 3128, 286, 8611, 46506, 3128, 62, 1659, 62, 7645, 2673, 11, 35683, 7, 20077, 62, 9127, 8, 16034, 46192 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 2160, 2648, 954, 422, 1180, 3128, 286, 8611, 46506, 3128, 62, 1659, 62, 7645, 2673, 11, 35683, 7, 20077, 62, 9127, 8, 16034, 46192 ]
What is the submission Year of the Film The Dark Side of the Moon directed by Erik Clausen?
SELECT SUM(year) FROM table_name_40 WHERE director = "erik clausen" AND english_title = "the dark side of the moon"
[ 2061, 318, 262, 14498, 6280, 286, 262, 13741, 383, 3801, 12075, 286, 262, 6869, 7924, 416, 22722, 33989, 268, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 3437, 796, 366, 263, 1134, 537, 8717, 268, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 14498, 6280, 286, 262, 13741, 383, 3801, 12075, 286, 262, 6869, 7924, 416, 22722, 33989, 268, 30, 46506, 35683, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 3437, 796, 366, 263, 1134, 537, 8717, 268, 1, 5357, ...
what was the date of the last game of the 1933-1934 season ?
SELECT "date" FROM table_204_516 ORDER BY "date" DESC LIMIT 1
[ 10919, 373, 262, 3128, 286, 262, 938, 983, 286, 262, 26539, 12, 1129, 2682, 1622, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 47493, 38678, 11050, 366, 4475, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 3128, 286, 262, 938, 983, 286, 262, 26539, 12, 1129, 2682, 1622, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 18638, 62, 47493, 38678, 11050, 366, 4475, 1, 22196, 34, 27564, 2043, 352 ]
What away side scores 11.10 (76)?
SELECT "Away team" FROM table_32594 WHERE "Away team score" = '11.10 (76)'
[ 2061, 1497, 1735, 8198, 1367, 13, 940, 357, 4304, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 26582, 5824, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 940, 357, 4304, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1497, 1735, 8198, 1367, 13, 940, 357, 4304, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 26582, 5824, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1157, 13, 940, 357, 4304, 33047 ]
What was the game result on November 29, 1959?
SELECT "Result" FROM table_7829 WHERE "Date" = 'november 29, 1959'
[ 2061, 373, 262, 983, 1255, 319, 3389, 2808, 11, 23859, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3695, 1959, 33411, 366, 10430, 1, 796, 705, 77, 3239, 2808, 11, 23859, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 983, 1255, 319, 3389, 2808, 11, 23859, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3695, 1959, 33411, 366, 10430, 1, 796, 705, 77, 3239, 2808, 11, 23859, 6 ]
What is the average of all the wickets that were 27?
SELECT "Average" FROM table_30763 WHERE "Wickets" = '27'
[ 2061, 318, 262, 2811, 286, 477, 262, 266, 15970, 326, 547, 2681, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 1270, 49641, 33411, 366, 54, 15970, 1, 796, 705, 1983, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 286, 477, 262, 266, 15970, 326, 547, 2681, 30, 46506, 366, 26287, 1, 16034, 3084, 62, 1270, 49641, 33411, 366, 54, 15970, 1, 796, 705, 1983, 6 ]
Name the number of party for richard l. hanna (r) 53.1% mike arcuri (d) 46.9%
SELECT COUNT(party) FROM table_19753079_35 WHERE candidates = "Richard L. Hanna (R) 53.1% Mike Arcuri (D) 46.9%"
[ 5376, 262, 1271, 286, 2151, 329, 5527, 446, 300, 13, 289, 7697, 357, 81, 8, 7192, 13, 16, 4, 285, 522, 10389, 9900, 357, 67, 8, 6337, 13, 24, 4, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 38449, 1270, 3720, 62, 2327, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5376, 262, 1271, 286, 2151, 329, 5527, 446, 300, 13, 289, 7697, 357, 81, 8, 7192, 13, 16, 4, 285, 522, 10389, 9900, 357, 67, 8, 6337, 13, 24, 4, 46506, 327, 28270, 7, 10608, 8, 16034, 3084, 62, 38449, 1270, 3720, 62, 2327, 33411...
Name the broadcast network for saitama prefecture
SELECT "Broadcast network" FROM table_2412 WHERE "Broadcast scope" = 'Saitama Prefecture'
[ 5376, 262, 7025, 3127, 329, 473, 270, 1689, 662, 36637, 46506, 366, 30507, 2701, 3127, 1, 16034, 3084, 62, 1731, 1065, 33411, 366, 30507, 2701, 8354, 1, 796, 705, 50, 4548, 1689, 3771, 36637, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 7025, 3127, 329, 473, 270, 1689, 662, 36637, 46506, 366, 30507, 2701, 3127, 1, 16034, 3084, 62, 1731, 1065, 33411, 366, 30507, 2701, 8354, 1, 796, 705, 50, 4548, 1689, 3771, 36637, 6 ]
give me the number of patients whose discharge location is home and days of hospital stay is greater than 26?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.days_stay > "26"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 2608, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 1013...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 502, 262, 1271, 286, 3871, 3025, 17655, 4067, 318, 1363, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 2608, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 1013...
Which film was released in August 2004?
SELECT title FROM table_name_67 WHERE date = "august 2004"
[ 13828, 2646, 373, 2716, 287, 2932, 5472, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 7493, 436, 5472, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2646, 373, 2716, 287, 2932, 5472, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 3134, 33411, 3128, 796, 366, 7493, 436, 5472, 1 ]
What is every number for the hometown of Canton, Illinois?
SELECT "No." FROM table_25376 WHERE "Hometown" = 'Canton, Illinois'
[ 2061, 318, 790, 1271, 329, 262, 20994, 286, 16821, 261, 11, 9486, 30, 46506, 366, 2949, 526, 16034, 3084, 62, 1495, 32128, 33411, 366, 39, 19191, 1, 796, 705, 34, 23026, 11, 9486, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 1271, 329, 262, 20994, 286, 16821, 261, 11, 9486, 30, 46506, 366, 2949, 526, 16034, 3084, 62, 1495, 32128, 33411, 366, 39, 19191, 1, 796, 705, 34, 23026, 11, 9486, 6 ]
Who was the vacator when Shadrach Bond was the successor?
SELECT "Vacator" FROM table_25066 WHERE "Successor" = 'Shadrach Bond'
[ 8241, 373, 262, 6658, 1352, 618, 911, 41909, 620, 12812, 373, 262, 17270, 30, 46506, 366, 53, 330, 1352, 1, 16034, 3084, 62, 9031, 2791, 33411, 366, 33244, 273, 1, 796, 705, 2484, 41909, 620, 12812, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6658, 1352, 618, 911, 41909, 620, 12812, 373, 262, 17270, 30, 46506, 366, 53, 330, 1352, 1, 16034, 3084, 62, 9031, 2791, 33411, 366, 33244, 273, 1, 796, 705, 2484, 41909, 620, 12812, 6 ]
how many patients are diagnosed with the primary disease st elevated myocardial infarction or cardiac cath and procedured with icd9 code 7935?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH" AND procedures.icd9_code = "7935"
[ 4919, 867, 3871, 389, 14641, 351, 262, 4165, 4369, 336, 15321, 616, 44412, 498, 1167, 283, 596, 393, 26077, 32171, 290, 5131, 1522, 351, 14158, 67, 24, 2438, 9225, 2327, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 389, 14641, 351, 262, 4165, 4369, 336, 15321, 616, 44412, 498, 1167, 283, 596, 393, 26077, 32171, 290, 5131, 1522, 351, 14158, 67, 24, 2438, 9225, 2327, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796...
What is the lowest avg/g that has an effic greater than 34.36, with wesley carroll as the name?
SELECT MIN("Avg/G") FROM table_42479 WHERE "Effic" > '34.36' AND "Name" = 'wesley carroll'
[ 2061, 318, 262, 9016, 42781, 14, 70, 326, 468, 281, 4396, 3744, 621, 4974, 13, 2623, 11, 351, 266, 49048, 1097, 2487, 355, 262, 1438, 30, 46506, 20625, 7203, 48997, 14, 38, 4943, 16034, 3084, 62, 40090, 3720, 33411, 366, 36, 2108, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 42781, 14, 70, 326, 468, 281, 4396, 3744, 621, 4974, 13, 2623, 11, 351, 266, 49048, 1097, 2487, 355, 262, 1438, 30, 46506, 20625, 7203, 48997, 14, 38, 4943, 16034, 3084, 62, 40090, 3720, 33411, 366, 36, 2108, 1...
What is the average draws with more than 1 win, 14 losses, and against less than 1836?
SELECT AVG("Draws") FROM table_41220 WHERE "Wins" > '1' AND "Losses" = '14' AND "Against" < '1836'
[ 2061, 318, 262, 2811, 14293, 351, 517, 621, 352, 1592, 11, 1478, 9089, 11, 290, 1028, 1342, 621, 1248, 2623, 30, 46506, 35224, 7203, 25302, 82, 4943, 16034, 3084, 62, 39226, 1238, 33411, 366, 54, 1040, 1, 1875, 705, 16, 6, 5357, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 14293, 351, 517, 621, 352, 1592, 11, 1478, 9089, 11, 290, 1028, 1342, 621, 1248, 2623, 30, 46506, 35224, 7203, 25302, 82, 4943, 16034, 3084, 62, 39226, 1238, 33411, 366, 54, 1040, 1, 1875, 705, 16, 6, 5357, 366...
What is the total number of Goals For, when Losses is greater than 16?
SELECT COUNT(goals_for) FROM table_name_99 WHERE losses > 16
[ 2061, 318, 262, 2472, 1271, 286, 28510, 1114, 11, 618, 22014, 274, 318, 3744, 621, 1467, 30, 46506, 327, 28270, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 9089, 1875, 1467 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 28510, 1114, 11, 618, 22014, 274, 318, 3744, 621, 1467, 30, 46506, 327, 28270, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 2079, 33411, 9089, 1875, 1467 ]
What is the type for the Cathay Pacific Holidays company, an incorporation of Hong Kong and listed activities as Travel Agency?
SELECT type FROM table_name_42 WHERE incorporated_in = "hong kong" AND principal_activities = "travel agency" AND company = "cathay pacific holidays"
[ 2061, 318, 262, 2099, 329, 262, 6250, 323, 8211, 6479, 13842, 1664, 11, 281, 43619, 286, 9764, 9071, 290, 5610, 4568, 355, 13524, 7732, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 3682, 33411, 16560, 62, 259, 796, 366, 71, 506, 479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2099, 329, 262, 6250, 323, 8211, 6479, 13842, 1664, 11, 281, 43619, 286, 9764, 9071, 290, 5610, 4568, 355, 13524, 7732, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 3682, 33411, 16560, 62, 259, 796, 366, 71, 506, 479, ...
Name who drected the episode written by george tibbles
SELECT "Directed by" FROM table_26057 WHERE "Written by" = 'George Tibbles'
[ 5376, 508, 288, 2554, 276, 262, 4471, 3194, 416, 4903, 3643, 256, 571, 7689, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 21719, 3553, 33411, 366, 25354, 416, 1, 796, 705, 20191, 16653, 7689, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 508, 288, 2554, 276, 262, 4471, 3194, 416, 4903, 3643, 256, 571, 7689, 46506, 366, 13470, 276, 416, 1, 16034, 3084, 62, 21719, 3553, 33411, 366, 25354, 416, 1, 796, 705, 20191, 16653, 7689, 6 ]
What is the event average for a top-25 smaller than 0?
SELECT AVG("Events") FROM table_76052 WHERE "Top-25" < '0'
[ 2061, 318, 262, 1785, 2811, 329, 257, 1353, 12, 1495, 4833, 621, 657, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 40761, 4309, 33411, 366, 9126, 12, 1495, 1, 1279, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1785, 2811, 329, 257, 1353, 12, 1495, 4833, 621, 657, 30, 46506, 35224, 7203, 37103, 4943, 16034, 3084, 62, 40761, 4309, 33411, 366, 9126, 12, 1495, 1, 1279, 705, 15, 6 ]
last team to finish in second place
SELECT "second place" FROM table_204_474 ORDER BY "year" DESC LIMIT 1
[ 12957, 1074, 284, 5461, 287, 1218, 1295, 46506, 366, 12227, 1295, 1, 16034, 3084, 62, 18638, 62, 38652, 38678, 11050, 366, 1941, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12957, 1074, 284, 5461, 287, 1218, 1295, 46506, 366, 12227, 1295, 1, 16034, 3084, 62, 18638, 62, 38652, 38678, 11050, 366, 1941, 1, 22196, 34, 27564, 2043, 352 ]
List the last name of the students who do not have any food type allergy and count them in a bart chart, could you rank x axis in ascending order?
SELECT LName, COUNT(LName) FROM Student WHERE NOT StuID IN (SELECT T1.StuID FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy WHERE T2.AllergyType = "food") GROUP BY LName ORDER BY LName
[ 8053, 262, 938, 1438, 286, 262, 2444, 508, 466, 407, 423, 597, 2057, 2099, 36197, 290, 954, 606, 287, 257, 30539, 8262, 11, 714, 345, 4279, 2124, 16488, 287, 41988, 1502, 30, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8053, 262, 938, 1438, 286, 262, 2444, 508, 466, 407, 423, 597, 2057, 2099, 36197, 290, 954, 606, 287, 257, 30539, 8262, 11, 714, 345, 4279, 2124, 16488, 287, 41988, 1502, 30, 46506, 406, 5376, 11, 327, 28270, 7, 43, 5376, 8, 16034, ...
select count(*) from posts where posts.ViewCount>15000 and posts.ViewCount < 20000.
SELECT COUNT(*) FROM Posts WHERE Posts.ViewCount > 15000 AND Posts.ViewCount < 20000
[ 19738, 954, 7, 28104, 422, 6851, 810, 6851, 13, 7680, 12332, 29, 1314, 830, 290, 6851, 13, 7680, 12332, 1279, 939, 405, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, 7680, 12332, 1875, 1315, 830, 5357, 12043, 13, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 954, 7, 28104, 422, 6851, 810, 6851, 13, 7680, 12332, 29, 1314, 830, 290, 6851, 13, 7680, 12332, 1279, 939, 405, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, 7680, 12332, 1875, 1315, 830, 5357, 12043, 13, 76...
How many weddings are there in year 2016?
SELECT COUNT(*) FROM wedding WHERE year = 2016
[ 2437, 867, 37377, 389, 612, 287, 614, 1584, 30, 46506, 327, 28270, 7, 28104, 16034, 10614, 33411, 614, 796, 1584 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 37377, 389, 612, 287, 614, 1584, 30, 46506, 327, 28270, 7, 28104, 16034, 10614, 33411, 614, 796, 1584 ]
How many Spins sources have a CCM Chart of CHR with a peak position less than 1?
SELECT COUNT(spins__since_1998__source) AS :_mediabase FROM table_name_61 WHERE ccm_chart = "chr" AND peak_pos < 1
[ 2437, 867, 1338, 1040, 4237, 423, 257, 12624, 44, 22086, 286, 32567, 351, 257, 9103, 2292, 1342, 621, 352, 30, 46506, 327, 28270, 7, 2777, 1040, 834, 20777, 62, 21113, 834, 10459, 8, 7054, 1058, 62, 2379, 5754, 16034, 3084, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1338, 1040, 4237, 423, 257, 12624, 44, 22086, 286, 32567, 351, 257, 9103, 2292, 1342, 621, 352, 30, 46506, 327, 28270, 7, 2777, 1040, 834, 20777, 62, 21113, 834, 10459, 8, 7054, 1058, 62, 2379, 5754, 16034, 3084, 62, 3672, ...
What is Rank, when Event is 'LAPT4 S o Paulo'?
SELECT "Rank" FROM table_43939 WHERE "Event" = 'lapt4 são paulo'
[ 2061, 318, 10916, 11, 618, 8558, 318, 705, 43, 2969, 51, 19, 311, 267, 34410, 30960, 46506, 366, 27520, 1, 16034, 3084, 62, 47106, 2670, 33411, 366, 9237, 1, 796, 705, 75, 2373, 19, 264, 28749, 279, 2518, 78, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 10916, 11, 618, 8558, 318, 705, 43, 2969, 51, 19, 311, 267, 34410, 30960, 46506, 366, 27520, 1, 16034, 3084, 62, 47106, 2670, 33411, 366, 9237, 1, 796, 705, 75, 2373, 19, 264, 28749, 279, 2518, 78, 6 ]
Which Byes has an Against smaller than 1297, and a Club of avoca, and Wins larger than 12?
SELECT AVG(byes) FROM table_name_45 WHERE against < 1297 AND club = "avoca" AND wins > 12
[ 13828, 2750, 274, 468, 281, 12914, 4833, 621, 1105, 5607, 11, 290, 257, 6289, 286, 1196, 11216, 11, 290, 24423, 4025, 621, 1105, 30, 46506, 35224, 7, 1525, 274, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 1028, 1279, 1105, 5607, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2750, 274, 468, 281, 12914, 4833, 621, 1105, 5607, 11, 290, 257, 6289, 286, 1196, 11216, 11, 290, 24423, 4025, 621, 1105, 30, 46506, 35224, 7, 1525, 274, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 1028, 1279, 1105, 5607, 5357, ...
what date saw the chicago bears lose in green bay earlier than 1931?
SELECT date FROM table_name_12 WHERE loser = "chicago bears" AND location = "green bay" AND year < 1931
[ 10919, 3128, 2497, 262, 442, 4549, 13062, 4425, 287, 4077, 15489, 2961, 621, 34625, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1065, 33411, 30256, 796, 366, 354, 4549, 13062, 1, 5357, 4067, 796, 366, 14809, 15489, 1, 5357, 614, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 3128, 2497, 262, 442, 4549, 13062, 4425, 287, 4077, 15489, 2961, 621, 34625, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1065, 33411, 30256, 796, 366, 354, 4549, 13062, 1, 5357, 4067, 796, 366, 14809, 15489, 1, 5357, 614, 1279, ...
If the distance is 55.7, what is the name of the constellation?
SELECT constellation FROM table_1820752_1 WHERE distance___ly__ = "55.7"
[ 1532, 262, 5253, 318, 5996, 13, 22, 11, 644, 318, 262, 1438, 286, 262, 38712, 30, 46506, 38712, 16034, 3084, 62, 1507, 1238, 43665, 62, 16, 33411, 5253, 17569, 306, 834, 796, 366, 2816, 13, 22, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1532, 262, 5253, 318, 5996, 13, 22, 11, 644, 318, 262, 1438, 286, 262, 38712, 30, 46506, 38712, 16034, 3084, 62, 1507, 1238, 43665, 62, 16, 33411, 5253, 17569, 306, 834, 796, 366, 2816, 13, 22, 1 ]
What is the class for the position of lg?
SELECT class FROM table_name_4 WHERE position = "lg"
[ 2061, 318, 262, 1398, 329, 262, 2292, 286, 300, 70, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 19, 33411, 2292, 796, 366, 75, 70, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1398, 329, 262, 2292, 286, 300, 70, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 19, 33411, 2292, 796, 366, 75, 70, 1 ]
What is the house colour associated with the house name of Kupe?
SELECT "House colour" FROM table_23004 WHERE "House name" = 'Kupe'
[ 2061, 318, 262, 2156, 9568, 3917, 351, 262, 2156, 1438, 286, 12554, 431, 30, 46506, 366, 18102, 9568, 1, 16034, 3084, 62, 1954, 22914, 33411, 366, 18102, 1438, 1, 796, 705, 41733, 431, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2156, 9568, 3917, 351, 262, 2156, 1438, 286, 12554, 431, 30, 46506, 366, 18102, 9568, 1, 16034, 3084, 62, 1954, 22914, 33411, 366, 18102, 1438, 1, 796, 705, 41733, 431, 6 ]
College of san diego state, and a Pick # smaller than 30 is what lowest overall?
SELECT MIN("Overall") FROM table_68563 WHERE "College" = 'san diego state' AND "Pick #" < '30'
[ 38951, 286, 5336, 4656, 2188, 1181, 11, 290, 257, 12346, 1303, 4833, 621, 1542, 318, 644, 9016, 4045, 30, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 3104, 46572, 33411, 366, 38951, 1, 796, 705, 12807, 4656, 2188, 1181, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 38951, 286, 5336, 4656, 2188, 1181, 11, 290, 257, 12346, 1303, 4833, 621, 1542, 318, 644, 9016, 4045, 30, 46506, 20625, 7203, 16350, 4943, 16034, 3084, 62, 3104, 46572, 33411, 366, 38951, 1, 796, 705, 12807, 4656, 2188, 1181, 6, 5357, ...
what is the country when the money ($) is more than 3,600 and player is tom watson?
SELECT "Country" FROM table_49335 WHERE "Money ( $ )" > '3,600' AND "Player" = 'tom watson'
[ 10919, 318, 262, 1499, 618, 262, 1637, 45491, 318, 517, 621, 513, 11, 8054, 290, 2137, 318, 16667, 266, 13506, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2920, 27326, 33411, 366, 26788, 357, 720, 1267, 1, 1875, 705, 18, 11, 8054, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1499, 618, 262, 1637, 45491, 318, 517, 621, 513, 11, 8054, 290, 2137, 318, 16667, 266, 13506, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2920, 27326, 33411, 366, 26788, 357, 720, 1267, 1, 1875, 705, 18, 11, 8054, 6,...
Name the circuit for italian grand prix
SELECT "Circuit" FROM table_56882 WHERE "Race" = 'italian grand prix'
[ 5376, 262, 10349, 329, 340, 7199, 4490, 1293, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 49211, 6469, 33411, 366, 35157, 1, 796, 705, 1287, 666, 4490, 1293, 87, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 10349, 329, 340, 7199, 4490, 1293, 87, 46506, 366, 31560, 5013, 1, 16034, 3084, 62, 49211, 6469, 33411, 366, 35157, 1, 796, 705, 1287, 666, 4490, 1293, 87, 6 ]
How many people were in the crowd when the away team scored 15.18 (108)?
SELECT "Crowd" FROM table_51915 WHERE "Away team score" = '15.18 (108)'
[ 2437, 867, 661, 547, 287, 262, 4315, 618, 262, 1497, 1074, 7781, 1315, 13, 1507, 357, 15711, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 47785, 1314, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1314, 13, 1507, 357, 15711, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 547, 287, 262, 4315, 618, 262, 1497, 1074, 7781, 1315, 13, 1507, 357, 15711, 19427, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 47785, 1314, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1314, 13, 1507, 357, 15711, 33...
Who were the candidates in the election where william wilson was the incumbent?
SELECT "Candidates" FROM table_3611 WHERE "Incumbent" = 'William Wilson'
[ 8241, 547, 262, 5871, 287, 262, 3071, 810, 481, 1789, 39716, 1559, 373, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 2623, 1157, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17121, 8127, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 547, 262, 5871, 287, 262, 3071, 810, 481, 1789, 39716, 1559, 373, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 2623, 1157, 33411, 366, 25517, 2178, 298, 1, 796, 705, 17121, 8127, 6 ]
On how many locations is the Saint Joseph's College of Maine located?
SELECT COUNT(location) FROM table_1973816_1 WHERE institution = "Saint Joseph's College of Maine"
[ 2202, 703, 867, 7064, 318, 262, 9281, 7212, 338, 5535, 286, 15080, 5140, 30, 46506, 327, 28270, 7, 24886, 8, 16034, 3084, 62, 24991, 2548, 1433, 62, 16, 33411, 9901, 796, 366, 48615, 7212, 338, 5535, 286, 15080, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 703, 867, 7064, 318, 262, 9281, 7212, 338, 5535, 286, 15080, 5140, 30, 46506, 327, 28270, 7, 24886, 8, 16034, 3084, 62, 24991, 2548, 1433, 62, 16, 33411, 9901, 796, 366, 48615, 7212, 338, 5535, 286, 15080, 1 ]
Name the least attendance for opponent of new orleans saints and week more than 2
SELECT MIN(attendance) FROM table_name_5 WHERE week > 2 AND opponent = "new orleans saints"
[ 5376, 262, 1551, 14858, 329, 6125, 286, 649, 393, 11861, 31728, 290, 1285, 517, 621, 362, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 1285, 1875, 362, 5357, 6125, 796, 366, 3605, 393, 11861, 31728, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 14858, 329, 6125, 286, 649, 393, 11861, 31728, 290, 1285, 517, 621, 362, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 20, 33411, 1285, 1875, 362, 5357, 6125, 796, 366, 3605, 393, 11861, 31728, 1 ]
What position has round less than 2?
SELECT "Position" FROM table_54352 WHERE "Round" < '2'
[ 2061, 2292, 468, 2835, 1342, 621, 362, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 4051, 33394, 33411, 366, 22685, 1, 1279, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2292, 468, 2835, 1342, 621, 362, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 4051, 33394, 33411, 366, 22685, 1, 1279, 705, 17, 6 ]
how many days has it been since patient 006-133605 first had a procedure in the on this hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', treatment.treatmenttime)) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-133605...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 3571, 21, 12, 1485, 15277, 20, 717, 550, 257, 8771, 287, 262, 319, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 3571, 21, 12, 1485, 15277, 20, 717, 550, 257, 8771, 287, 262, 319, 428, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19...
Name the CDP name for FIPS code of 3659708
SELECT cdp_name FROM table_name_58 WHERE fips_code = 3659708
[ 5376, 262, 327, 6322, 1438, 329, 18930, 3705, 2438, 286, 21268, 24, 32583, 46506, 22927, 79, 62, 3672, 16034, 3084, 62, 3672, 62, 3365, 33411, 277, 2419, 62, 8189, 796, 21268, 24, 32583 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 327, 6322, 1438, 329, 18930, 3705, 2438, 286, 21268, 24, 32583, 46506, 22927, 79, 62, 3672, 16034, 3084, 62, 3672, 62, 3365, 33411, 277, 2419, 62, 8189, 796, 21268, 24, 32583 ]
what is the difference between the player with the most experience and the least amount of experience ?
SELECT MAX("years in nba") - MIN("years in nba") FROM table_203_622
[ 10919, 318, 262, 3580, 1022, 262, 2137, 351, 262, 749, 1998, 290, 262, 1551, 2033, 286, 1998, 5633, 46506, 25882, 7203, 19002, 287, 299, 7012, 4943, 532, 20625, 7203, 19002, 287, 299, 7012, 4943, 16034, 3084, 62, 22416, 62, 21, 1828 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3580, 1022, 262, 2137, 351, 262, 749, 1998, 290, 262, 1551, 2033, 286, 1998, 5633, 46506, 25882, 7203, 19002, 287, 299, 7012, 4943, 532, 20625, 7203, 19002, 287, 299, 7012, 4943, 16034, 3084, 62, 22416, 62, 21, 1828 ]
Visualize a scatter chart about the correlation between School_ID and All_Games_Percent , and group by attribute All_Games.
SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY All_Games
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 24474, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 444...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 41058, 8262, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 1439, 62, 24474, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 444...
Bar chart x axis venue y axis how many venue, display y-axis from low to high order.
SELECT Venue, COUNT(Venue) FROM debate GROUP BY Venue ORDER BY COUNT(Venue)
[ 10374, 8262, 2124, 16488, 14359, 331, 16488, 703, 867, 14359, 11, 3359, 331, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 44441, 11050, 9932, 518, 38678, 11050, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 14359, 331, 16488, 703, 867, 14359, 11, 3359, 331, 12, 22704, 422, 1877, 284, 1029, 1502, 13, 46506, 9932, 518, 11, 327, 28270, 7, 37522, 518, 8, 16034, 4384, 44441, 11050, 9932, 518, 38678, 11050, 327, 28270, ...
My Answers Most Upvoted Without selfie-Answers.
SELECT answers.Id AS "post_link", answers.Score AS pontuacao, answers.OwnerUserId AS "user_link" FROM Posts AS answers INNER JOIN Posts AS all_posts ON all_posts.AcceptedAnswerId = answers.Id WHERE answers.OwnerUserId = @UserId AND answers.PostTypeId = 2 AND answers.ClosedDate IS NULL AND answers.DeletionDate IS NULL A...
[ 3666, 42612, 4042, 3205, 85, 5191, 9170, 38704, 12, 2025, 37848, 13, 46506, 7429, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 7429, 13, 26595, 7054, 45443, 84, 330, 5488, 11, 7429, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3666, 42612, 4042, 3205, 85, 5191, 9170, 38704, 12, 2025, 37848, 13, 46506, 7429, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 7429, 13, 26595, 7054, 45443, 84, 330, 5488, 11, 7429, 13, 42419, 12982, 7390, 7054, 366, 7220, 62, 8726, 1, ...
I want the average year of
SELECT AVG("Year") FROM table_31864 WHERE "Chinese Title" = '敗犬女王'
[ 40, 765, 262, 2811, 614, 286, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 36042, 2414, 33411, 366, 23604, 11851, 1, 796, 705, 46763, 245, 163, 232, 105, 42637, 25581, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 262, 2811, 614, 286, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 36042, 2414, 33411, 366, 23604, 11851, 1, 796, 705, 46763, 245, 163, 232, 105, 42637, 25581, 6 ]
What is the name of the bank branch with the greatest number of customers?
SELECT bname FROM bank ORDER BY no_of_customers DESC LIMIT 1
[ 2061, 318, 262, 1438, 286, 262, 3331, 8478, 351, 262, 6000, 1271, 286, 4297, 30, 46506, 275, 3672, 16034, 3331, 38678, 11050, 645, 62, 1659, 62, 23144, 364, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 3331, 8478, 351, 262, 6000, 1271, 286, 4297, 30, 46506, 275, 3672, 16034, 3331, 38678, 11050, 645, 62, 1659, 62, 23144, 364, 22196, 34, 27564, 2043, 352 ]
Highest scoring answers with at least one image.
SELECT Id AS "post_link", Score, CreationDate, LENGTH(Body) FROM Posts WHERE PostTypeId = 2 AND Body LIKE '%<img%' ORDER BY Score DESC, LENGTH(Body)
[ 36124, 3634, 9689, 7429, 351, 379, 1551, 530, 2939, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 21582, 10430, 11, 406, 49494, 7, 25842, 8, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 12290, 34178, 705, 4, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36124, 3634, 9689, 7429, 351, 379, 1551, 530, 2939, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 21582, 10430, 11, 406, 49494, 7, 25842, 8, 16034, 12043, 33411, 2947, 6030, 7390, 796, 362, 5357, 12290, 34178, 705, 4, 2...
Among patients who had icd9 code 5771, how many of them were a divorcee?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "DIVORCED" AND procedures.icd9_code = "5771"
[ 14311, 3871, 508, 550, 14158, 67, 24, 2438, 642, 46761, 11, 703, 867, 286, 606, 547, 257, 13609, 68, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14311, 3871, 508, 550, 14158, 67, 24, 2438, 642, 46761, 11, 703, 867, 286, 606, 547, 257, 13609, 68, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1...
What is the nationality of Mattias Modig?
SELECT nationality FROM table_name_86 WHERE player = "mattias modig"
[ 2061, 318, 262, 29835, 286, 4705, 4448, 3401, 328, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 4521, 33411, 2137, 796, 366, 76, 1078, 4448, 953, 328, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 29835, 286, 4705, 4448, 3401, 328, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 4521, 33411, 2137, 796, 366, 76, 1078, 4448, 953, 328, 1 ]
What is the Status of the 44 Against?
SELECT status FROM table_name_86 WHERE against = 44
[ 2061, 318, 262, 12678, 286, 262, 5846, 12914, 30, 46506, 3722, 16034, 3084, 62, 3672, 62, 4521, 33411, 1028, 796, 5846 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12678, 286, 262, 5846, 12914, 30, 46506, 3722, 16034, 3084, 62, 3672, 62, 4521, 33411, 1028, 796, 5846 ]
When was the park demolished in 1994 closed?
SELECT MIN("Closed") FROM table_23385 WHERE "Demod" = '1994'
[ 2215, 373, 262, 3952, 33359, 287, 9162, 4838, 30, 46506, 20625, 7203, 2601, 1335, 4943, 16034, 3084, 62, 1954, 27203, 33411, 366, 11522, 375, 1, 796, 705, 22666, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 3952, 33359, 287, 9162, 4838, 30, 46506, 20625, 7203, 2601, 1335, 4943, 16034, 3084, 62, 1954, 27203, 33411, 366, 11522, 375, 1, 796, 705, 22666, 6 ]
What is the largest 1st LBSC number with a LBSC Name of northcote?
SELECT MAX(1 AS st_lbsc_no) FROM table_name_23 WHERE lbsc_name = "northcote"
[ 2061, 318, 262, 4387, 352, 301, 406, 4462, 34, 1271, 351, 257, 406, 4462, 34, 6530, 286, 5093, 66, 1258, 30, 46506, 25882, 7, 16, 7054, 336, 62, 23160, 1416, 62, 3919, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 18360, 1416, 62, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 352, 301, 406, 4462, 34, 1271, 351, 257, 406, 4462, 34, 6530, 286, 5093, 66, 1258, 30, 46506, 25882, 7, 16, 7054, 336, 62, 23160, 1416, 62, 3919, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 18360, 1416, 62, 36...
When itogon, benguet is the city/municipality and 1st class is the income classification how many measurements of population in 2010?
SELECT COUNT("Population (2010)") FROM table_31047 WHERE "Income Classification" = '1st Class' AND "City/Municipality" = 'Itogon, Benguet'
[ 2215, 340, 519, 261, 11, 275, 13561, 316, 318, 262, 1748, 14, 6199, 4311, 1483, 290, 352, 301, 1398, 318, 262, 3739, 17923, 703, 867, 13871, 286, 3265, 287, 3050, 30, 46506, 327, 28270, 7203, 45251, 357, 10333, 8, 4943, 16034, 3084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 340, 519, 261, 11, 275, 13561, 316, 318, 262, 1748, 14, 6199, 4311, 1483, 290, 352, 301, 1398, 318, 262, 3739, 17923, 703, 867, 13871, 286, 3265, 287, 3050, 30, 46506, 327, 28270, 7203, 45251, 357, 10333, 8, 4943, 16034, 3084, ...
Draw a bar chart showing the total number of every ship type by categorizing by nationality, I want to list by the y-axis in asc.
SELECT Type, COUNT(Type) FROM ship GROUP BY Nationality, Type ORDER BY COUNT(Type)
[ 25302, 257, 2318, 8262, 4478, 262, 2472, 1271, 286, 790, 4074, 2099, 416, 17851, 2890, 416, 29835, 11, 314, 765, 284, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 5994, 11, 327, 28270, 7, 6030, 8, 16034, 4074, 44441, 11050, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 4478, 262, 2472, 1271, 286, 790, 4074, 2099, 416, 17851, 2890, 416, 29835, 11, 314, 765, 284, 1351, 416, 262, 331, 12, 22704, 287, 10570, 13, 46506, 5994, 11, 327, 28270, 7, 6030, 8, 16034, 4074, 44441, 11050, ...
Is ANTHRCUL 375 only offered in the Fall ?
SELECT COUNT(*) > 0 FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester WHERE course.department = 'ANTHRCUL' AND course.number = 375 AND semester.semester <> 'Fall'
[ 3792, 3537, 4221, 7397, 6239, 29414, 691, 4438, 287, 262, 7218, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3792, 3537, 4221, 7397, 6239, 29414, 691, 4438, 287, 262, 7218, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
When is the winner panathinaikos, the runner-up olympiacos and the venue nikos goumas stadium?
SELECT "Year" FROM table_50529 WHERE "Winner" = 'panathinaikos' AND "Runner-up" = 'olympiacos' AND "Venue" = 'nikos goumas stadium'
[ 2215, 318, 262, 8464, 3425, 776, 1437, 1134, 418, 11, 262, 17490, 12, 929, 267, 6760, 9607, 418, 290, 262, 14359, 299, 1134, 418, 50162, 5356, 10308, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 31654, 1959, 33411, 366, 48056, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2215, 318, 262, 8464, 3425, 776, 1437, 1134, 418, 11, 262, 17490, 12, 929, 267, 6760, 9607, 418, 290, 262, 14359, 299, 1134, 418, 50162, 5356, 10308, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 31654, 1959, 33411, 366, 48056, 1, 796, ...
WHAT IS THE IN MALAYALAM WITH kartika agrahayana?
SELECT in_malayalam FROM table_name_61 WHERE saka_era = "kartika–agrahayana"
[ 32971, 3180, 3336, 3268, 337, 1847, 4792, 1847, 2390, 13315, 479, 433, 9232, 556, 11392, 323, 2271, 30, 46506, 287, 62, 7617, 323, 44949, 16034, 3084, 62, 3672, 62, 5333, 33411, 264, 8130, 62, 8607, 796, 366, 74, 433, 9232, 1906, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 3268, 337, 1847, 4792, 1847, 2390, 13315, 479, 433, 9232, 556, 11392, 323, 2271, 30, 46506, 287, 62, 7617, 323, 44949, 16034, 3084, 62, 3672, 62, 5333, 33411, 264, 8130, 62, 8607, 796, 366, 74, 433, 9232, 1906, 363,...
Is 542 available to undergrads ?
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 542
[ 3792, 642, 3682, 1695, 284, 739, 2164, 5643, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3682 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3792, 642, 3682, 1695, 284, 739, 2164, 5643, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 642, 3682 ]
What is T7 Place Player Justin Leonard's Score?
SELECT score FROM table_name_31 WHERE place = "t7" AND player = "justin leonard"
[ 2061, 318, 309, 22, 8474, 7853, 10799, 20131, 338, 15178, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3132, 33411, 1295, 796, 366, 83, 22, 1, 5357, 2137, 796, 366, 3137, 259, 443, 261, 446, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 309, 22, 8474, 7853, 10799, 20131, 338, 15178, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 3132, 33411, 1295, 796, 366, 83, 22, 1, 5357, 2137, 796, 366, 3137, 259, 443, 261, 446, 1 ]
Name the country for the 9th and sign of g e
SELECT "Country" FROM table_56459 WHERE "Date" = '9th' AND "Sign" = 'g e'
[ 5376, 262, 1499, 329, 262, 860, 400, 290, 1051, 286, 308, 304, 46506, 366, 33921, 1, 16034, 3084, 62, 3980, 33459, 33411, 366, 10430, 1, 796, 705, 24, 400, 6, 5357, 366, 11712, 1, 796, 705, 70, 304, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1499, 329, 262, 860, 400, 290, 1051, 286, 308, 304, 46506, 366, 33921, 1, 16034, 3084, 62, 3980, 33459, 33411, 366, 10430, 1, 796, 705, 24, 400, 6, 5357, 366, 11712, 1, 796, 705, 70, 304, 6 ]
A bar chart for finding the number of the names of Japanese constructors that have once earned more than 5 points?, and display by the X-axis from high to low please.
SELECT name, COUNT(name) FROM constructors AS T1 JOIN constructorStandings AS T2 ON T1.constructorId = T2.constructorId WHERE T1.nationality = "Japanese" AND T2.points > 5 GROUP BY name ORDER BY name DESC
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 3891, 286, 4960, 5678, 669, 326, 423, 1752, 7366, 517, 621, 642, 2173, 21747, 290, 3359, 416, 262, 1395, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 3672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 3891, 286, 4960, 5678, 669, 326, 423, 1752, 7366, 517, 621, 642, 2173, 21747, 290, 3359, 416, 262, 1395, 12, 22704, 422, 1029, 284, 1877, 3387, 13, 46506, 1438, 11, 327, 28270, 7, 3672...
pulse oximetry < 90 %
SELECT * FROM table_train_163 WHERE pulse_oximetry < 90
[ 79, 9615, 12018, 320, 11973, 1279, 4101, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24136, 33411, 19445, 62, 1140, 320, 11973, 1279, 4101 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 79, 9615, 12018, 320, 11973, 1279, 4101, 4064, 46506, 1635, 16034, 3084, 62, 27432, 62, 24136, 33411, 19445, 62, 1140, 320, 11973, 1279, 4101 ]
What is the average for the RB with an 8 yard long?
SELECT COUNT(avg) FROM table_name_7 WHERE long = 8
[ 2061, 318, 262, 2811, 329, 262, 17986, 351, 281, 807, 12699, 890, 30, 46506, 327, 28270, 7, 615, 70, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 890, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 329, 262, 17986, 351, 281, 807, 12699, 890, 30, 46506, 327, 28270, 7, 615, 70, 8, 16034, 3084, 62, 3672, 62, 22, 33411, 890, 796, 807 ]
At what Site was the Result W13-7?
SELECT "Site" FROM table_46197 WHERE "Result" = 'w13-7'
[ 2953, 644, 14413, 373, 262, 25414, 370, 1485, 12, 22, 30, 46506, 366, 29123, 1, 16034, 3084, 62, 3510, 24991, 33411, 366, 23004, 1, 796, 705, 86, 1485, 12, 22, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2953, 644, 14413, 373, 262, 25414, 370, 1485, 12, 22, 30, 46506, 366, 29123, 1, 16034, 3084, 62, 3510, 24991, 33411, 366, 23004, 1, 796, 705, 86, 1485, 12, 22, 6 ]
What is the socket for microprocessors with a frequency of 1.3 ghz?
SELECT "Socket" FROM table_21012 WHERE "Frequency" = '1.3 GHz'
[ 2061, 318, 262, 17802, 329, 4580, 14681, 669, 351, 257, 8373, 286, 352, 13, 18, 24997, 89, 30, 46506, 366, 39105, 1, 16034, 3084, 62, 2481, 30206, 33411, 366, 37, 28707, 1, 796, 705, 16, 13, 18, 26499, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 17802, 329, 4580, 14681, 669, 351, 257, 8373, 286, 352, 13, 18, 24997, 89, 30, 46506, 366, 39105, 1, 16034, 3084, 62, 2481, 30206, 33411, 366, 37, 28707, 1, 796, 705, 16, 13, 18, 26499, 6 ]
since 5 months ago, what was the monthly maximum weight of patient 022-127032?
SELECT MAX(patient.admissionweight) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-127032') AND NOT patient.admissionweight IS NULL AND DATETIME(patient.unitadmittime) >= DATETIME(CURRENT_TIME(), '-5 month') GROUP BY STRFTIME...
[ 20777, 642, 1933, 2084, 11, 644, 373, 262, 9651, 5415, 3463, 286, 5827, 657, 1828, 12, 1065, 2154, 2624, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 642, 1933, 2084, 11, 644, 373, 262, 9651, 5415, 3463, 286, 5827, 657, 1828, 12, 1065, 2154, 2624, 30, 46506, 25882, 7, 26029, 13, 324, 3411, 6551, 8, 16034, 5827, 33411, 5827, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 465...
Name the location for 2007
SELECT "Location" FROM table_25996 WHERE "Year" = '2007'
[ 5376, 262, 4067, 329, 4343, 46506, 366, 14749, 1, 16034, 3084, 62, 1495, 38565, 33411, 366, 17688, 1, 796, 705, 12726, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 4067, 329, 4343, 46506, 366, 14749, 1, 16034, 3084, 62, 1495, 38565, 33411, 366, 17688, 1, 796, 705, 12726, 6 ]
For those employees who did not have any job in the past, show me about the distribution of hire_date and the average of salary bin hire_date by weekday in a bar chart.
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 905, 502, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 9588, 9874, 11078, 62, 4475, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 36210, 2200, 62, 35, ...
How many fastest laps for the nation with 32 (30) entries and starts and fewer than 2 podiums?
SELECT MIN(fastest_laps) FROM table_name_74 WHERE race_entries__starts_ = "32 (30)" AND podiums < 2
[ 2437, 867, 14162, 24590, 329, 262, 3277, 351, 3933, 357, 1270, 8, 12784, 290, 4940, 290, 7380, 621, 362, 27941, 82, 30, 46506, 20625, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 3234, 62, 298, 1678, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 14162, 24590, 329, 262, 3277, 351, 3933, 357, 1270, 8, 12784, 290, 4940, 290, 7380, 621, 362, 27941, 82, 30, 46506, 20625, 7, 7217, 395, 62, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 3234, 62, 298, 1678, 834, ...
non _ smoker
SELECT * FROM table_train_200 WHERE smoking = 0
[ 13159, 4808, 41644, 46506, 1635, 16034, 3084, 62, 27432, 62, 2167, 33411, 9216, 796, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13159, 4808, 41644, 46506, 1635, 16034, 3084, 62, 27432, 62, 2167, 33411, 9216, 796, 657 ]