instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What Nation of citizenship has a stock car vehicle with a year of 1999?
SELECT "Nation of citizenship" FROM table_74806 WHERE "Type of vehicle" = 'stock car' AND "Year" = '1999'
[ 2061, 8741, 286, 14218, 468, 257, 4283, 1097, 4038, 351, 257, 614, 286, 7358, 30, 46506, 366, 46108, 286, 14218, 1, 16034, 3084, 62, 4524, 37988, 33411, 366, 6030, 286, 4038, 1, 796, 705, 13578, 1097, 6, 5357, 366, 17688, 1, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 8741, 286, 14218, 468, 257, 4283, 1097, 4038, 351, 257, 614, 286, 7358, 30, 46506, 366, 46108, 286, 14218, 1, 16034, 3084, 62, 4524, 37988, 33411, 366, 6030, 286, 4038, 1, 796, 705, 13578, 1097, 6, 5357, 366, 17688, 1, 796, 70...
What position did Pranita Sahu's team get?
SELECT "Position" FROM table_72995 WHERE "Co-contestant (Yaar vs. Pyaar)" = 'Pranita Sahu'
[ 2061, 2292, 750, 1736, 272, 5350, 311, 12196, 338, 1074, 651, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 48555, 3865, 33411, 366, 7222, 12, 3642, 395, 415, 357, 56, 64, 283, 3691, 13, 350, 3972, 283, 16725, 796, 705, 47, 2596, 5350,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 1736, 272, 5350, 311, 12196, 338, 1074, 651, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 48555, 3865, 33411, 366, 7222, 12, 3642, 395, 415, 357, 56, 64, 283, 3691, 13, 350, 3972, 283, 16725, 796, 705, 47, 2596, 5350,...
provide the number of patients whose diagnoses icd9 code is v4511 and lab test fluid is other body fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "V4511" AND lab.fluid = "Other Body Fluid"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 410, 2231, 1157, 290, 2248, 1332, 11711, 318, 584, 1767, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 14158, 67, 24, 2438, 318, 410, 2231, 1157, 290, 2248, 1332, 11711, 318, 584, 1767, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268,...
what is the difference between weights on patient 10431 second measured on the first hospital visit compared to the value first measured on the first hospital visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10431 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)) AND chartev...
[ 10919, 318, 262, 3580, 1022, 19590, 319, 5827, 14436, 3132, 1218, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19590, 319, 5827, 14436, 3132, 1218, 8630, 319, 262, 717, 4436, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 4436, 3187, 30, 46506, 357, 46506, 8262, 31534, 13, 2100, 84, 44709, 16034, 8262, 31534, ...
Who is the easiest MDE course taught by ?
SELECT DISTINCT instructor.name, program_course.workload FROM instructor INNER JOIN offering_instructor ON offering_instructor.instructor_id = instructor.instructor_id INNER JOIN course_offering ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN program_course ON program_course.course_id = cour...
[ 8241, 318, 262, 16638, 337, 7206, 1781, 7817, 416, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 16638, 337, 7206, 1781, 7817, 416, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 11, 1430, 62, 17319, 13, 1818, 2220, 16034, 21187, 3268, 21479, 32357, 1268, 6011, 62, 259, 7249, 273, 6177, 6011, 62, 259, 7249, ...
Is there a lab with 493 ?
SELECT COUNT(*) > 0 FROM course WHERE department = 'EECS' AND has_lab = 'Y' AND number = 493
[ 3792, 612, 257, 2248, 351, 5125, 18, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 56, 6, 5357, 1271, 796, 5125, 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, 1 ]
[ 3792, 612, 257, 2248, 351, 5125, 18, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 468, 62, 23912, 796, 705, 56, 6, 5357, 1271, 796, 5125, 18 ]
Which Result has a Game smaller than 37, and a Streak of lost 1, and a Record of 4-9?
SELECT "Result" FROM table_44616 WHERE "Game" < '37' AND "Streak" = 'lost 1' AND "Record" = '4-9'
[ 13828, 25414, 468, 257, 3776, 4833, 621, 5214, 11, 290, 257, 9737, 461, 286, 2626, 352, 11, 290, 257, 13266, 286, 604, 12, 24, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 27260, 1433, 33411, 366, 8777, 1, 1279, 705, 2718, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25414, 468, 257, 3776, 4833, 621, 5214, 11, 290, 257, 9737, 461, 286, 2626, 352, 11, 290, 257, 13266, 286, 604, 12, 24, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 27260, 1433, 33411, 366, 8777, 1, 1279, 705, 2718, 6, 5357, ...
What is the result of the game after week 5 against the st. louis rams?
SELECT result FROM table_name_52 WHERE week > 5 AND opponent = "st. louis rams"
[ 2061, 318, 262, 1255, 286, 262, 983, 706, 1285, 642, 1028, 262, 336, 13, 21081, 271, 374, 4105, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4309, 33411, 1285, 1875, 642, 5357, 6125, 796, 366, 301, 13, 21081, 271, 374, 4105, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 286, 262, 983, 706, 1285, 642, 1028, 262, 336, 13, 21081, 271, 374, 4105, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 4309, 33411, 1285, 1875, 642, 5357, 6125, 796, 366, 301, 13, 21081, 271, 374, 4105, 1 ]
What is the percentage of total area in the ecozone that the percentage protected is 8.06?
SELECT percentage_of_total_area FROM table_15555661_2 WHERE percentage_protected = "8.06"
[ 2061, 318, 262, 5873, 286, 2472, 1989, 287, 262, 34286, 11340, 326, 262, 5873, 6861, 318, 807, 13, 3312, 30, 46506, 5873, 62, 1659, 62, 23350, 62, 20337, 16034, 3084, 62, 1314, 31046, 47159, 62, 17, 33411, 5873, 62, 24326, 796, 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 ]
[ 2061, 318, 262, 5873, 286, 2472, 1989, 287, 262, 34286, 11340, 326, 262, 5873, 6861, 318, 807, 13, 3312, 30, 46506, 5873, 62, 1659, 62, 23350, 62, 20337, 16034, 3084, 62, 1314, 31046, 47159, 62, 17, 33411, 5873, 62, 24326, 796, 366, ...
What is the lowest number of wins for ben crenshaw?
SELECT MIN("Wins") FROM table_34220 WHERE "Player" = 'ben crenshaw'
[ 2061, 318, 262, 9016, 1271, 286, 7864, 329, 1888, 269, 918, 32832, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2682, 17572, 33411, 366, 14140, 1, 796, 705, 11722, 269, 918, 32832, 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 ]
[ 2061, 318, 262, 9016, 1271, 286, 7864, 329, 1888, 269, 918, 32832, 30, 46506, 20625, 7203, 54, 1040, 4943, 16034, 3084, 62, 2682, 17572, 33411, 366, 14140, 1, 796, 705, 11722, 269, 918, 32832, 6 ]
What earpads does the headphone with plastic contruction and was succeeded by igrado have?
SELECT earpads FROM table_name_67 WHERE construction = "plastic" AND succeeded_by = "igrado"
[ 2061, 1027, 79, 5643, 857, 262, 36769, 351, 7309, 542, 2762, 290, 373, 14131, 416, 220, 3692, 4533, 423, 30, 46506, 1027, 79, 5643, 16034, 3084, 62, 3672, 62, 3134, 33411, 5103, 796, 366, 489, 3477, 1, 5357, 14131, 62, 1525, 796, 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 ]
[ 2061, 1027, 79, 5643, 857, 262, 36769, 351, 7309, 542, 2762, 290, 373, 14131, 416, 220, 3692, 4533, 423, 30, 46506, 1027, 79, 5643, 16034, 3084, 62, 3672, 62, 3134, 33411, 5103, 796, 366, 489, 3477, 1, 5357, 14131, 62, 1525, 796, 36...
Which player had a To par of +11?
SELECT player FROM table_name_66 WHERE to_par = "+11"
[ 13828, 2137, 550, 257, 1675, 1582, 286, 1343, 1157, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2791, 33411, 284, 62, 1845, 796, 43825, 1157, 1 ]
[ 1, 1, 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, 2137, 550, 257, 1675, 1582, 286, 1343, 1157, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2791, 33411, 284, 62, 1845, 796, 43825, 1157, 1 ]
what was the total dose of furosemide patient 72909 had been prescribed during this month.
SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 72909) AND prescriptions.drug = 'furosemide' AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 'start of month', '-0 month')
[ 10919, 373, 262, 2472, 10742, 286, 277, 1434, 43616, 485, 5827, 767, 1959, 2931, 550, 587, 14798, 1141, 428, 1227, 13, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 10742, 286, 277, 1434, 43616, 485, 5827, 767, 1959, 2931, 550, 587, 14798, 1141, 428, 1227, 13, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 31...
what is the gold when the bronze is 1, total is 6 and silver is less than 3?
SELECT SUM(gold) FROM table_name_2 WHERE bronze = 1 AND total = "6" AND silver < 3
[ 10919, 318, 262, 3869, 618, 262, 22101, 318, 352, 11, 2472, 318, 718, 290, 8465, 318, 1342, 621, 513, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 22101, 796, 352, 5357, 2472, 796, 366, 21, 1, 5357, 8465, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3869, 618, 262, 22101, 318, 352, 11, 2472, 318, 718, 290, 8465, 318, 1342, 621, 513, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 17, 33411, 22101, 796, 352, 5357, 2472, 796, 366, 21, 1, 5357, 8465, 1...
Bar chart x axis carrier y axis the number of carrier, sort in desc by the total number.
SELECT Carrier, COUNT(Carrier) FROM phone GROUP BY Carrier ORDER BY COUNT(Carrier) DESC
[ 10374, 8262, 2124, 16488, 11920, 331, 16488, 262, 1271, 286, 11920, 11, 3297, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 3072, 44441, 11050, 30252, 38678, 11050, 327, 28270, 7, 9914, 5277...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11920, 331, 16488, 262, 1271, 286, 11920, 11, 3297, 287, 1715, 416, 262, 2472, 1271, 13, 46506, 30252, 11, 327, 28270, 7, 9914, 5277, 8, 16034, 3072, 44441, 11050, 30252, 38678, 11050, 327, 28270, 7, 9914, 5277...
Select user posts with a negative score.
SELECT Id AS "post_link", Score, OwnerDisplayName FROM Posts WHERE OwnerUserId = '##UserId:int##' AND Score < 0 GROUP BY Score, Id, OwnerDisplayName ORDER BY Score
[ 17563, 2836, 6851, 351, 257, 4633, 4776, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 23853, 23114, 5376, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 25, 600, 2235, 6, 5357, 15178, 1279, 657, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17563, 2836, 6851, 351, 257, 4633, 4776, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 15178, 11, 23853, 23114, 5376, 16034, 12043, 33411, 23853, 12982, 7390, 796, 705, 2235, 12982, 7390, 25, 600, 2235, 6, 5357, 15178, 1279, 657, 44...
when 69 is the episode number what is the air date?
SELECT "Original air date" FROM table_4152 WHERE "Episode #" = '69'
[ 12518, 8644, 318, 262, 4471, 1271, 644, 318, 262, 1633, 3128, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 19, 17827, 33411, 366, 23758, 1303, 1, 796, 705, 3388, 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 ]
[ 12518, 8644, 318, 262, 4471, 1271, 644, 318, 262, 1633, 3128, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 19, 17827, 33411, 366, 23758, 1303, 1, 796, 705, 3388, 6 ]
What is the player from Illinois?
SELECT player FROM table_name_33 WHERE college = "illinois"
[ 2061, 318, 262, 2137, 422, 9486, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2091, 33411, 4152, 796, 366, 359, 8981, 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, 2137, 422, 9486, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 2091, 33411, 4152, 796, 366, 359, 8981, 1 ]
What was the population of Puerto Rico in 2010?
SELECT MAX(population___2010__) FROM table_name_22 WHERE territory = "puerto rico"
[ 2061, 373, 262, 3265, 286, 15295, 16707, 287, 3050, 30, 46506, 25882, 7, 39748, 17569, 10333, 834, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 7674, 796, 366, 19944, 13806, 374, 3713, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 286, 15295, 16707, 287, 3050, 30, 46506, 25882, 7, 39748, 17569, 10333, 834, 8, 16034, 3084, 62, 3672, 62, 1828, 33411, 7674, 796, 366, 19944, 13806, 374, 3713, 1 ]
what is minimum age of patients whose marital status is single and primary disease is hypertension;rule out coronary artery disease\cardiac cath?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "HYPERTENSION;RULE OUT CORONARY ARTERY DISEASE\CARDIAC CATH"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 4165, 4369, 318, 37454, 26, 25135, 503, 37151, 37646, 4369, 59, 9517, 9607, 32171, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 4165, 4369, 318, 37454, 26, 25135, 503, 37151, 37646, 4369, 59, 9517, 9607, 32171, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, ...
When did the United Kingdom format a stereo LP?
SELECT "Date" FROM table_48398 WHERE "Region" = 'united kingdom' AND "Format" = 'stereo lp'
[ 2215, 750, 262, 1578, 7526, 5794, 257, 24820, 18470, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 31952, 33411, 366, 47371, 1, 796, 705, 41187, 13239, 6, 5357, 366, 26227, 1, 796, 705, 301, 32934, 300, 79, 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 ]
[ 2215, 750, 262, 1578, 7526, 5794, 257, 24820, 18470, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 2780, 31952, 33411, 366, 47371, 1, 796, 705, 41187, 13239, 6, 5357, 366, 26227, 1, 796, 705, 301, 32934, 300, 79, 6 ]
When was the game with richmond as Away team?
SELECT date FROM table_name_86 WHERE away_team = "richmond"
[ 2215, 373, 262, 983, 351, 5527, 6327, 355, 21986, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4521, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
[ 1, 1, 1, 1, 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, 983, 351, 5527, 6327, 355, 21986, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4521, 33411, 1497, 62, 15097, 796, 366, 7527, 6327, 1 ]
Calculate the number of patients who have a primary disease acidosis and underwent contrast aortogram procedure.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ACIDOSIS" AND procedures.short_title = "Contrast aortogram"
[ 9771, 3129, 378, 262, 1271, 286, 3871, 508, 423, 257, 4165, 4369, 7408, 5958, 290, 25289, 6273, 257, 419, 21857, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9771, 3129, 378, 262, 1271, 286, 3871, 508, 423, 257, 4165, 4369, 7408, 5958, 290, 25289, 6273, 257, 419, 21857, 8771, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 126...
On Monday and Wednesday , is 370 available ?
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...
[ 2202, 3321, 290, 3583, 837, 318, 28687, 1695, 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, 1586, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3321, 290, 3583, 837, 318, 28687, 1695, 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, 1586, ...
What was the loss of the game against the Indians when the record was 15-15?
SELECT loss FROM table_name_68 WHERE opponent = "indians" AND record = "15-15"
[ 2061, 373, 262, 2994, 286, 262, 983, 1028, 262, 12746, 618, 262, 1700, 373, 1315, 12, 1314, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 521, 1547, 1, 5357, 1700, 796, 366, 1314, 12, 1314, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2994, 286, 262, 983, 1028, 262, 12746, 618, 262, 1700, 373, 1315, 12, 1314, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 521, 1547, 1, 5357, 1700, 796, 366, 1314, 12, 1314, 1 ]
How much did the away team b3 score on August 12, 2014?
SELECT score FROM table_name_17 WHERE away_team = "b3" AND date = "august 12, 2014"
[ 2437, 881, 750, 262, 1497, 1074, 275, 18, 4776, 319, 2932, 1105, 11, 1946, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1558, 33411, 1497, 62, 15097, 796, 366, 65, 18, 1, 5357, 3128, 796, 366, 7493, 436, 1105, 11, 1946, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 750, 262, 1497, 1074, 275, 18, 4776, 319, 2932, 1105, 11, 1946, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1558, 33411, 1497, 62, 15097, 796, 366, 65, 18, 1, 5357, 3128, 796, 366, 7493, 436, 1105, 11, 1946, 1 ]
what is the name of the episode whose writers were jeff astrof & matt goldman?
SELECT title FROM table_27914606_1 WHERE written_by = "Jeff Astrof & Matt Goldman"
[ 10919, 318, 262, 1438, 286, 262, 4471, 3025, 8786, 547, 11223, 487, 6468, 305, 69, 1222, 23963, 3869, 805, 30, 46506, 3670, 16034, 3084, 62, 26050, 1415, 33206, 62, 16, 33411, 3194, 62, 1525, 796, 366, 19139, 35167, 69, 1222, 4705, 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, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1438, 286, 262, 4471, 3025, 8786, 547, 11223, 487, 6468, 305, 69, 1222, 23963, 3869, 805, 30, 46506, 3670, 16034, 3084, 62, 26050, 1415, 33206, 62, 16, 33411, 3194, 62, 1525, 796, 366, 19139, 35167, 69, 1222, 4705, 18...
What was the away team's score when the home team scored 15.16 (106)?
SELECT "Away team score" FROM table_58528 WHERE "Home team score" = '15.16 (106)'
[ 2061, 373, 262, 1497, 1074, 338, 4776, 618, 262, 1363, 1074, 7781, 1315, 13, 1433, 357, 15801, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 38905, 2078, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1433, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 338, 4776, 618, 262, 1363, 1074, 7781, 1315, 13, 1433, 357, 15801, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 38905, 2078, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1314, 13, 1433, 357, ...
When was the kickoff during a game with a record of 1-7?
SELECT "Kickoff [a ]" FROM table_11212 WHERE "Record" = '1-7'
[ 2215, 373, 262, 40532, 1141, 257, 983, 351, 257, 1700, 286, 352, 12, 22, 30, 46506, 366, 45390, 2364, 685, 64, 2361, 1, 16034, 3084, 62, 14686, 1065, 33411, 366, 23739, 1, 796, 705, 16, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 262, 40532, 1141, 257, 983, 351, 257, 1700, 286, 352, 12, 22, 30, 46506, 366, 45390, 2364, 685, 64, 2361, 1, 16034, 3084, 62, 14686, 1065, 33411, 366, 23739, 1, 796, 705, 16, 12, 22, 6 ]
What year was the position 6/13?
SELECT "Year" FROM table_68260 WHERE "Position" = '6/13'
[ 2061, 614, 373, 262, 2292, 718, 14, 1485, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 3104, 21719, 33411, 366, 26545, 1, 796, 705, 21, 14, 1485, 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 ]
[ 2061, 614, 373, 262, 2292, 718, 14, 1485, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 3104, 21719, 33411, 366, 26545, 1, 796, 705, 21, 14, 1485, 6 ]
What is Region, when Date is 2004?
SELECT region FROM table_name_61 WHERE date = 2004
[ 2061, 318, 17718, 11, 618, 7536, 318, 5472, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 5333, 33411, 3128, 796, 5472 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 17718, 11, 618, 7536, 318, 5472, 30, 46506, 3814, 16034, 3084, 62, 3672, 62, 5333, 33411, 3128, 796, 5472 ]
how much was patient 006-93519's respiration change last measured on the first intensive care unit visit compared to the value first measured on the first intensive care unit visit.
SELECT (SELECT vitalperiodic.respiration FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-93519') AND NOT patient.unitdischargetime I...
[ 4919, 881, 373, 5827, 3571, 21, 12, 24, 2327, 1129, 338, 1217, 15297, 1487, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 13, 46506, 357, 46506, 9204, 41007...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 373, 5827, 3571, 21, 12, 24, 2327, 1129, 338, 1217, 15297, 1487, 938, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 3688, 284, 262, 1988, 717, 8630, 319, 262, 717, 18590, 1337, 4326, 3187, 13, 46506, 357, 46506, 9204, 41007...
Which Format has a Region of united states, and a Catalog of kem 072?
SELECT format FROM table_name_61 WHERE region = "united states" AND catalog = "kem 072"
[ 13828, 18980, 468, 257, 17718, 286, 16503, 2585, 11, 290, 257, 44515, 286, 885, 76, 657, 4761, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 5333, 33411, 3814, 796, 366, 41187, 2585, 1, 5357, 18388, 796, 366, 365, 76, 657, 4761, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18980, 468, 257, 17718, 286, 16503, 2585, 11, 290, 257, 44515, 286, 885, 76, 657, 4761, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 5333, 33411, 3814, 796, 366, 41187, 2585, 1, 5357, 18388, 796, 366, 365, 76, 657, 4761, 1 ]
give the procedure description of subject id 9575.
SELECT procedures.long_title FROM procedures WHERE procedures.subject_id = "9575"
[ 26535, 262, 8771, 6764, 286, 2426, 4686, 6957, 2425, 13, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 3865, 2425, 1 ]
[ 1, 1, 1, 1, 1, 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, 262, 8771, 6764, 286, 2426, 4686, 6957, 2425, 13, 46506, 9021, 13, 6511, 62, 7839, 16034, 9021, 33411, 9021, 13, 32796, 62, 312, 796, 366, 3865, 2425, 1 ]
A bar chart for finding the number of the name of the project for which a scientist whose name contains Smith is assigned to, I want to rank in ascending by the x axis.
SELECT T2.Name, COUNT(T2.Name) FROM AssignedTo AS T1 JOIN Projects AS T2 ON T1.Project = T2.Code JOIN Scientists AS T3 ON T1.Scientist = T3.SSN WHERE T3.Name LIKE '%Smith%' GROUP BY T2.Name ORDER BY T2.Name
[ 32, 2318, 8262, 329, 4917, 262, 1271, 286, 262, 1438, 286, 262, 1628, 329, 543, 257, 11444, 3025, 1438, 4909, 4176, 318, 8686, 284, 11, 314, 765, 284, 4279, 287, 41988, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 5376, 11, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 1628, 329, 543, 257, 11444, 3025, 1438, 4909, 4176, 318, 8686, 284, 11, 314, 765, 284, 4279, 287, 41988, 416, 262, 2124, 16488, 13, 46506, 309, 17, 13, 5376, 11, 327, ...
Show all card type codes and the number of cards in each type.
SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code
[ 15307, 477, 2657, 2099, 12416, 290, 262, 1271, 286, 4116, 287, 1123, 2099, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 36707, 62, 27761, 44441, 11050, 2657, 62, 4906, 62, 8189 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2657, 2099, 12416, 290, 262, 1271, 286, 4116, 287, 1123, 2099, 13, 46506, 2657, 62, 4906, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 36707, 62, 27761, 44441, 11050, 2657, 62, 4906, 62, 8189 ]
give me the number of patients whose lab test chart time is 2115-09-18 15:20:00?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2115-09-18 15:20:00"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2248, 1332, 8262, 640, 318, 362, 15363, 12, 2931, 12, 1507, 1315, 25, 1238, 25, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 8262, 640, 318, 362, 15363, 12, 2931, 12, 1507, 1315, 25, 1238, 25, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
What is the latest year established that had 5 powiats?
SELECT MAX("Year established") FROM table_21963 WHERE "Number of powiats" = '5 powiats'
[ 2061, 318, 262, 3452, 614, 4920, 326, 550, 642, 7182, 72, 1381, 30, 46506, 25882, 7203, 17688, 4920, 4943, 16034, 3084, 62, 28896, 5066, 33411, 366, 15057, 286, 7182, 72, 1381, 1, 796, 705, 20, 7182, 72, 1381, 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, 3452, 614, 4920, 326, 550, 642, 7182, 72, 1381, 30, 46506, 25882, 7203, 17688, 4920, 4943, 16034, 3084, 62, 28896, 5066, 33411, 366, 15057, 286, 7182, 72, 1381, 1, 796, 705, 20, 7182, 72, 1381, 6 ]
What is the GDP $IDB in Istanbul?
SELECT gdp_in_$id_b FROM table_name_42 WHERE city = "istanbul"
[ 2061, 318, 262, 12396, 720, 2389, 33, 287, 25299, 30, 46506, 308, 26059, 62, 259, 62, 3, 312, 62, 65, 16034, 3084, 62, 3672, 62, 3682, 33411, 1748, 796, 366, 4103, 15065, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12396, 720, 2389, 33, 287, 25299, 30, 46506, 308, 26059, 62, 259, 62, 3, 312, 62, 65, 16034, 3084, 62, 3672, 62, 3682, 33411, 1748, 796, 366, 4103, 15065, 1 ]
What is the top grid that is driven by martin brundle?
SELECT MAX("Grid") FROM table_58219 WHERE "Driver" = 'martin brundle'
[ 2061, 318, 262, 1353, 10706, 326, 318, 7986, 416, 11277, 259, 18145, 358, 293, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 3365, 28896, 33411, 366, 32103, 1, 796, 705, 13822, 259, 18145, 358, 293, 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 ]
[ 2061, 318, 262, 1353, 10706, 326, 318, 7986, 416, 11277, 259, 18145, 358, 293, 30, 46506, 25882, 7203, 41339, 4943, 16034, 3084, 62, 3365, 28896, 33411, 366, 32103, 1, 796, 705, 13822, 259, 18145, 358, 293, 6 ]
Which is the episode # of the episode titled 'The Man Behind the Curtain'?
SELECT "Episode #" FROM table_57001 WHERE "Title" = 'the man behind the curtain'
[ 13828, 318, 262, 4471, 1303, 286, 262, 4471, 11946, 705, 464, 1869, 20787, 262, 4424, 3153, 30960, 46506, 366, 23758, 1303, 1, 16034, 3084, 62, 3553, 8298, 33411, 366, 19160, 1, 796, 705, 1169, 582, 2157, 262, 29461, 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 ]
[ 13828, 318, 262, 4471, 1303, 286, 262, 4471, 11946, 705, 464, 1869, 20787, 262, 4424, 3153, 30960, 46506, 366, 23758, 1303, 1, 16034, 3084, 62, 3553, 8298, 33411, 366, 19160, 1, 796, 705, 1169, 582, 2157, 262, 29461, 6 ]
How many students are advised by each rank of faculty? List the rank and the number of students in a bar chart, sort in desc by the the total number .
SELECT Rank, COUNT(*) FROM Faculty AS T1 JOIN Student AS T2 ON T1.FacID = T2.Advisor GROUP BY T1.Rank ORDER BY COUNT(*) DESC
[ 2437, 867, 2444, 389, 13030, 416, 1123, 4279, 286, 12829, 30, 7343, 262, 4279, 290, 262, 1271, 286, 2444, 287, 257, 2318, 8262, 11, 3297, 287, 1715, 416, 262, 262, 2472, 1271, 764, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2444, 389, 13030, 416, 1123, 4279, 286, 12829, 30, 7343, 262, 4279, 290, 262, 1271, 286, 2444, 287, 257, 2318, 8262, 11, 3297, 287, 1715, 416, 262, 262, 2472, 1271, 764, 46506, 10916, 11, 327, 28270, 7, 28104, 16034, 35262,...
What is the code name of the person born in Liverpool?
SELECT code_name FROM table_name_94 WHERE birthplace = "liverpool"
[ 2061, 318, 262, 2438, 1438, 286, 262, 1048, 4642, 287, 11761, 30, 46506, 2438, 62, 3672, 16034, 3084, 62, 3672, 62, 5824, 33411, 48145, 796, 366, 75, 10864, 1 ]
[ 1, 1, 1, 1, 1, 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, 2438, 1438, 286, 262, 1048, 4642, 287, 11761, 30, 46506, 2438, 62, 3672, 16034, 3084, 62, 3672, 62, 5824, 33411, 48145, 796, 366, 75, 10864, 1 ]
how many black/cape verdean ethnic background patients have diagnoses icd9 code 1536?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND diagnoses.icd9_code = "1536"
[ 4919, 867, 2042, 14, 36435, 3326, 2934, 272, 9450, 4469, 3871, 423, 40567, 14158, 67, 24, 2438, 1315, 2623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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...
[ 4919, 867, 2042, 14, 36435, 3326, 2934, 272, 9450, 4469, 3871, 423, 40567, 14158, 67, 24, 2438, 1315, 2623, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6...
Which team picked Blaine Russell?
SELECT nhl_team FROM table_2840500_6 WHERE player = "Blaine Russell"
[ 13828, 1074, 6497, 1086, 5718, 11563, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 2078, 1821, 4059, 62, 21, 33411, 2137, 796, 366, 3629, 5718, 11563, 1 ]
[ 1, 1, 1, 1, 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, 1074, 6497, 1086, 5718, 11563, 30, 46506, 299, 18519, 62, 15097, 16034, 3084, 62, 2078, 1821, 4059, 62, 21, 33411, 2137, 796, 366, 3629, 5718, 11563, 1 ]
Will I be allowed to take CONDUCT 602 in Spring 2007 ?
SELECT COUNT(*) > 0 FROM (SELECT course_id FROM student_record WHERE earn_credit = 'Y' AND student_id = 1) AS DERIVED_TABLEalias0, course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias0 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND NOT COURSEalias0.course_id IN...
[ 8743, 314, 307, 3142, 284, 1011, 7102, 35, 18415, 718, 2999, 287, 8225, 4343, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 357, 46506, 1781, 62, 312, 16034, 3710, 62, 22105, 33411, 5160, 62, 43082, 796, 705, 56, 6, 5357, 3710,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8743, 314, 307, 3142, 284, 1011, 7102, 35, 18415, 718, 2999, 287, 8225, 4343, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 357, 46506, 1781, 62, 312, 16034, 3710, 62, 22105, 33411, 5160, 62, 43082, 796, 705, 56, 6, 5357, 3710,...
When 1960 is less than 4,228, 1920 is smaller than 106,021,568 and 1980 is larger than 949, what is the 1970 figure?
SELECT SUM("1970") FROM table_11000 WHERE "1960" < '4,228' AND "1920" < '106,021,568' AND "1980" > '949'
[ 2215, 9507, 318, 1342, 621, 604, 11, 23815, 11, 14062, 318, 4833, 621, 15696, 11, 46821, 11, 49211, 290, 7169, 318, 4025, 621, 860, 2920, 11, 644, 318, 262, 8069, 3785, 30, 46506, 35683, 7203, 30986, 4943, 16034, 3084, 62, 1157, 830, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9507, 318, 1342, 621, 604, 11, 23815, 11, 14062, 318, 4833, 621, 15696, 11, 46821, 11, 49211, 290, 7169, 318, 4025, 621, 860, 2920, 11, 644, 318, 262, 8069, 3785, 30, 46506, 35683, 7203, 30986, 4943, 16034, 3084, 62, 1157, 830, ...
What is the Date with a Set 1 with 15 1?
SELECT date FROM table_name_79 WHERE set_1 = "15–1"
[ 2061, 318, 262, 7536, 351, 257, 5345, 352, 351, 1315, 352, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3720, 33411, 900, 62, 16, 796, 366, 1314, 1906, 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 ]
[ 2061, 318, 262, 7536, 351, 257, 5345, 352, 351, 1315, 352, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3720, 33411, 900, 62, 16, 796, 366, 1314, 1906, 16, 1 ]
What is Week, when Semi Finalists is Sandrine Testud Yone Kamio?
SELECT "Week of" FROM table_41574 WHERE "Semi finalists" = 'sandrine testud yone kamio'
[ 2061, 318, 6119, 11, 618, 35525, 8125, 1023, 318, 3837, 7640, 6208, 463, 575, 505, 12670, 952, 30, 46506, 366, 20916, 286, 1, 16034, 3084, 62, 35038, 4524, 33411, 366, 13900, 72, 43736, 1, 796, 705, 38142, 7640, 1332, 463, 331, 505, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6119, 11, 618, 35525, 8125, 1023, 318, 3837, 7640, 6208, 463, 575, 505, 12670, 952, 30, 46506, 366, 20916, 286, 1, 16034, 3084, 62, 35038, 4524, 33411, 366, 13900, 72, 43736, 1, 796, 705, 38142, 7640, 1332, 463, 331, 505, ...
What are the first and last name for those employees who works either in department 70 or 90?
SELECT first_name, last_name FROM employees WHERE department_id = 70 OR department_id = 90
[ 2061, 389, 262, 717, 290, 938, 1438, 329, 883, 4409, 508, 2499, 2035, 287, 5011, 4317, 393, 4101, 30, 46506, 717, 62, 3672, 11, 938, 62, 3672, 16034, 4409, 33411, 5011, 62, 312, 796, 4317, 6375, 5011, 62, 312, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 717, 290, 938, 1438, 329, 883, 4409, 508, 2499, 2035, 287, 5011, 4317, 393, 4101, 30, 46506, 717, 62, 3672, 11, 938, 62, 3672, 16034, 4409, 33411, 5011, 62, 312, 796, 4317, 6375, 5011, 62, 312, 796, 4101 ]
return from MIAMI to NEW YORK on FF on SATURDAY
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, days, flight WHERE ((CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'MIAMI' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = '...
[ 7783, 422, 15789, 43870, 284, 12682, 28154, 319, 18402, 319, 29020, 4261, 26442, 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, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 422, 15789, 43870, 284, 12682, 28154, 319, 18402, 319, 29020, 4261, 26442, 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, 31...
What is San Antonio game number?
SELECT MAX("Game") FROM table_17300 WHERE "Team" = 'San Antonio'
[ 2061, 318, 2986, 11366, 983, 1271, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 1558, 6200, 33411, 366, 15592, 1, 796, 705, 15017, 11366, 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 ]
[ 2061, 318, 2986, 11366, 983, 1271, 30, 46506, 25882, 7203, 8777, 4943, 16034, 3084, 62, 1558, 6200, 33411, 366, 15592, 1, 796, 705, 15017, 11366, 6 ]
List the name, nationality and id of all male architects ordered by their names lexicographically.
SELECT name, nationality, id FROM architect WHERE gender = 'male' ORDER BY name
[ 8053, 262, 1438, 11, 29835, 290, 4686, 286, 477, 4257, 29518, 6149, 416, 511, 3891, 31191, 291, 33145, 13, 46506, 1438, 11, 29835, 11, 4686, 16034, 7068, 33411, 5279, 796, 705, 22606, 6, 38678, 11050, 1438 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 11, 29835, 290, 4686, 286, 477, 4257, 29518, 6149, 416, 511, 3891, 31191, 291, 33145, 13, 46506, 1438, 11, 29835, 11, 4686, 16034, 7068, 33411, 5279, 796, 705, 22606, 6, 38678, 11050, 1438 ]
Return the completion date for all the tests that have 'Fail' result, and count them by a bar chart, and display Y from low to high order please.
SELECT date_of_completion, COUNT(date_of_completion) FROM Student_Course_Enrolment AS T1 JOIN Student_Tests_Taken AS T2 ON T1.registration_id = T2.registration_id WHERE T2.test_result = "Fail" ORDER BY COUNT(date_of_completion)
[ 13615, 262, 11939, 3128, 329, 477, 262, 5254, 326, 423, 705, 39044, 6, 1255, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 3359, 575, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 262, 11939, 3128, 329, 477, 262, 5254, 326, 423, 705, 39044, 6, 1255, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 290, 3359, 575, 422, 1877, 284, 1029, 1502, 3387, 13, 46506, 3128, 62, 1659, 62, 785, 24547, 11, 327, 28270, ...
what is the minimum voted yes where percent no is 68.2
SELECT MIN(voted_yes) FROM table_120778_2 WHERE percent_no = "68.2"
[ 10919, 318, 262, 5288, 7052, 3763, 810, 1411, 645, 318, 8257, 13, 17, 46506, 20625, 7, 85, 5191, 62, 8505, 8, 16034, 3084, 62, 1065, 2998, 3695, 62, 17, 33411, 1411, 62, 3919, 796, 366, 3104, 13, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 7052, 3763, 810, 1411, 645, 318, 8257, 13, 17, 46506, 20625, 7, 85, 5191, 62, 8505, 8, 16034, 3084, 62, 1065, 2998, 3695, 62, 17, 33411, 1411, 62, 3919, 796, 366, 3104, 13, 17, 1 ]
Who the Owner that has a Lengths Behind of 5 ?
SELECT "Owner" FROM table_55342 WHERE "Lengths Behind" = '5½'
[ 8241, 262, 23853, 326, 468, 257, 22313, 82, 20787, 286, 642, 5633, 46506, 366, 42419, 1, 16034, 3084, 62, 2816, 31575, 33411, 366, 24539, 82, 20787, 1, 796, 705, 20, 23141, 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 ]
[ 8241, 262, 23853, 326, 468, 257, 22313, 82, 20787, 286, 642, 5633, 46506, 366, 42419, 1, 16034, 3084, 62, 2816, 31575, 33411, 366, 24539, 82, 20787, 1, 796, 705, 20, 23141, 6 ]
how many patients were prescribed phenylephrine within 2 months in 2104 following the procedure of thoracentesis?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'thoracentes...
[ 4919, 867, 3871, 547, 14798, 6566, 2349, 47723, 1626, 362, 1933, 287, 362, 13464, 1708, 262, 8771, 286, 41899, 12643, 9339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 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...
[ 4919, 867, 3871, 547, 14798, 6566, 2349, 47723, 1626, 362, 1933, 287, 362, 13464, 1708, 262, 8771, 286, 41899, 12643, 9339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, 13, ...
What is 2009, when Tournament is 'Year-End Ranking'?
SELECT "2009" FROM table_61808 WHERE "Tournament" = 'year-end ranking'
[ 2061, 318, 3717, 11, 618, 9595, 318, 705, 17688, 12, 12915, 45407, 30960, 46506, 366, 10531, 1, 16034, 3084, 62, 47448, 2919, 33411, 366, 51, 5138, 1, 796, 705, 1941, 12, 437, 12759, 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, 3717, 11, 618, 9595, 318, 705, 17688, 12, 12915, 45407, 30960, 46506, 366, 10531, 1, 16034, 3084, 62, 47448, 2919, 33411, 366, 51, 5138, 1, 796, 705, 1941, 12, 437, 12759, 6 ]
which province in andalusia has the highest density ?
SELECT "province" FROM table_203_3 ORDER BY "density" DESC LIMIT 1
[ 4758, 8473, 287, 290, 46781, 544, 468, 262, 4511, 12109, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 22416, 62, 18, 38678, 11050, 366, 43337, 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 ]
[ 4758, 8473, 287, 290, 46781, 544, 468, 262, 4511, 12109, 5633, 46506, 366, 15234, 924, 1, 16034, 3084, 62, 22416, 62, 18, 38678, 11050, 366, 43337, 1, 22196, 34, 27564, 2043, 352 ]
how many players won in 2006 ?
SELECT COUNT("player") FROM table_204_310 WHERE "year" = 2006
[ 4919, 867, 1938, 1839, 287, 4793, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 26717, 33411, 366, 1941, 1, 796, 4793 ]
[ 1, 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, 1938, 1839, 287, 4793, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 26717, 33411, 366, 1941, 1, 796, 4793 ]
What argon has a neon of 10.5?
SELECT argon FROM table_name_51 WHERE neon = "10.5"
[ 2061, 1822, 261, 468, 257, 25988, 286, 838, 13, 20, 30, 46506, 1822, 261, 16034, 3084, 62, 3672, 62, 4349, 33411, 25988, 796, 366, 940, 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 ]
[ 2061, 1822, 261, 468, 257, 25988, 286, 838, 13, 20, 30, 46506, 1822, 261, 16034, 3084, 62, 3672, 62, 4349, 33411, 25988, 796, 366, 940, 13, 20, 1 ]
Find original questions (referenced posts of duplicates).
SELECT * FROM PostHistory WHERE PostId = 244466
[ 16742, 2656, 2683, 357, 5420, 14226, 771, 6851, 286, 14184, 16856, 737, 46506, 1635, 16034, 2947, 18122, 33411, 2947, 7390, 796, 1987, 2598, 2791 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 2656, 2683, 357, 5420, 14226, 771, 6851, 286, 14184, 16856, 737, 46506, 1635, 16034, 2947, 18122, 33411, 2947, 7390, 796, 1987, 2598, 2791 ]
in 2102, what were the five most often ordered lab tests for patients who had previously been diagnosed with facial bone fracture - nasal fracture within 2 months?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'facial bone fracture - nasal fracture' AND STRFTIME(...
[ 259, 362, 15377, 11, 644, 547, 262, 1936, 749, 1690, 6149, 2248, 5254, 329, 3871, 508, 550, 4271, 587, 14641, 351, 16324, 9970, 31846, 532, 40829, 31846, 1626, 362, 1933, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 259, 362, 15377, 11, 644, 547, 262, 1936, 749, 1690, 6149, 2248, 5254, 329, 3871, 508, 550, 4271, 587, 14641, 351, 16324, 9970, 31846, 532, 40829, 31846, 1626, 362, 1933, 30, 46506, 256, 18, 13, 23912, 3672, 16034, 357, 46506, 256, 17...
What is the purpose for the katherine freq of 8rn?
SELECT purpose FROM table_name_50 WHERE freq_currently = "8rn" AND area_served = "katherine"
[ 2061, 318, 262, 4007, 329, 262, 479, 15289, 2030, 80, 286, 807, 35906, 30, 46506, 4007, 16034, 3084, 62, 3672, 62, 1120, 33411, 2030, 80, 62, 41745, 796, 366, 23, 35906, 1, 5357, 1989, 62, 45852, 796, 366, 74, 15289, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4007, 329, 262, 479, 15289, 2030, 80, 286, 807, 35906, 30, 46506, 4007, 16034, 3084, 62, 3672, 62, 1120, 33411, 2030, 80, 62, 41745, 796, 366, 23, 35906, 1, 5357, 1989, 62, 45852, 796, 366, 74, 15289, 1 ]
persistent severe heart failure ( left ventricular ejection fraction ( lvef ) < 20 % )
SELECT * FROM table_test_10 WHERE heart_disease = 1 OR left_ventricular_ejection_fraction_lvef < 20
[ 19276, 7609, 6049, 2612, 5287, 357, 1364, 7435, 41001, 22189, 295, 13390, 357, 300, 303, 69, 1267, 1279, 1160, 4064, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 940, 33411, 2612, 62, 67, 786, 589, 796, 352, 6375, 1364, 62, 1151, 410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19276, 7609, 6049, 2612, 5287, 357, 1364, 7435, 41001, 22189, 295, 13390, 357, 300, 303, 69, 1267, 1279, 1160, 4064, 1267, 46506, 1635, 16034, 3084, 62, 9288, 62, 940, 33411, 2612, 62, 67, 786, 589, 796, 352, 6375, 1364, 62, 1151, 410...
What is the average L/100km urban (cold) for engine capacities over 1910, mpg in the US (urban) under 25.3, mpg in the UK (combined) over 27.2, and mpg in the UK (urban, cold) of 22.4?
SELECT AVG(l_100km_urban__cold_) FROM table_name_27 WHERE engine_capacity > 1910 AND mpg_us_urban < 25.3 AND mpg_uk_combined > 27.2 AND mpg_uk_urban__cold_ = 22.4
[ 2061, 318, 262, 2811, 406, 14, 3064, 13276, 7876, 357, 36673, 8, 329, 3113, 32484, 625, 31953, 11, 285, 6024, 287, 262, 1294, 357, 32679, 8, 739, 1679, 13, 18, 11, 285, 6024, 287, 262, 3482, 357, 24011, 1389, 8, 625, 2681, 13, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 14, 3064, 13276, 7876, 357, 36673, 8, 329, 3113, 32484, 625, 31953, 11, 285, 6024, 287, 262, 1294, 357, 32679, 8, 739, 1679, 13, 18, 11, 285, 6024, 287, 262, 3482, 357, 24011, 1389, 8, 625, 2681, 13, 17,...
How many people were in attendance for the game with a score of 98 111?
SELECT SUM(attendance) FROM table_name_12 WHERE score = "98–111"
[ 2437, 867, 661, 547, 287, 14858, 329, 262, 983, 351, 257, 4776, 286, 9661, 13374, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 4776, 796, 366, 4089, 1906, 16243, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 329, 262, 983, 351, 257, 4776, 286, 9661, 13374, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 1065, 33411, 4776, 796, 366, 4089, 1906, 16243, 1 ]
Name the original air date for 9.16 viewers
SELECT original_air_date FROM table_21550870_1 WHERE us_viewers__million_ = "9.16"
[ 5376, 262, 2656, 1633, 3128, 329, 860, 13, 1433, 10209, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 23349, 33042, 2154, 62, 16, 33411, 514, 62, 1177, 364, 834, 14100, 62, 796, 366, 24, 13, 1433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2656, 1633, 3128, 329, 860, 13, 1433, 10209, 46506, 2656, 62, 958, 62, 4475, 16034, 3084, 62, 23349, 33042, 2154, 62, 16, 33411, 514, 62, 1177, 364, 834, 14100, 62, 796, 366, 24, 13, 1433, 1 ]
Which upper-level classes have projects but no exams ?
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN program_course ON program_course.course_id = course.course_id WHERE course.has_exams = 'N' AND course.has_projects = 'Y' AND program_course.category LIKE 'ULCS'
[ 13828, 6727, 12, 5715, 6097, 423, 4493, 475, 645, 26420, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6727, 12, 5715, 6097, 423, 4493, 475, 645, 26420, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1430, 62, 17319, 6177, 1430, 62, 17319, ...
Show the names and total passengers for all train stations not in London.
SELECT name, total_passengers FROM station WHERE LOCATION <> 'London'
[ 15307, 262, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 13, 46506, 1438, 11, 2472, 62, 6603, 9302, 16034, 4429, 33411, 37347, 6234, 1279, 29, 705, 23421, 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 ]
[ 15307, 262, 3891, 290, 2472, 10405, 329, 477, 4512, 8985, 407, 287, 3576, 13, 46506, 1438, 11, 2472, 62, 6603, 9302, 16034, 4429, 33411, 37347, 6234, 1279, 29, 705, 23421, 6 ]
What is the average word count with crs and subframes lesser than 2?
SELECT AVG("Word #") FROM table_78222 WHERE "Name" = 'crs' AND "Subframe #" < '2'
[ 2061, 318, 262, 2811, 1573, 954, 351, 1067, 82, 290, 850, 37805, 14494, 621, 362, 30, 46506, 35224, 7203, 26449, 1303, 4943, 16034, 3084, 62, 3695, 23148, 33411, 366, 5376, 1, 796, 705, 66, 3808, 6, 5357, 366, 7004, 14535, 1303, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1573, 954, 351, 1067, 82, 290, 850, 37805, 14494, 621, 362, 30, 46506, 35224, 7203, 26449, 1303, 4943, 16034, 3084, 62, 3695, 23148, 33411, 366, 5376, 1, 796, 705, 66, 3808, 6, 5357, 366, 7004, 14535, 1303, 1, ...
Which engine finished 7th with the reynard 95i chassis?
SELECT engine FROM table_name_51 WHERE rank = "7th" AND chassis = "reynard 95i"
[ 13828, 3113, 5201, 767, 400, 351, 262, 302, 2047, 446, 6957, 72, 24587, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 4349, 33411, 4279, 796, 366, 22, 400, 1, 5357, 24587, 796, 366, 260, 2047, 446, 6957, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3113, 5201, 767, 400, 351, 262, 302, 2047, 446, 6957, 72, 24587, 30, 46506, 3113, 16034, 3084, 62, 3672, 62, 4349, 33411, 4279, 796, 366, 22, 400, 1, 5357, 24587, 796, 366, 260, 2047, 446, 6957, 72, 1 ]
What percentage of people were opposed to the candidate based on the WNBC/Marist poll that showed 8% of people were unsure?
SELECT "Oppose" FROM table_75640 WHERE "Unsure" = '8%' AND "Poll Source" = 'wnbc/marist poll'
[ 2061, 5873, 286, 661, 547, 6886, 284, 262, 4540, 1912, 319, 262, 370, 13175, 14, 7676, 396, 3278, 326, 3751, 807, 4, 286, 661, 547, 22147, 30, 46506, 366, 27524, 577, 1, 16034, 3084, 62, 2425, 31102, 33411, 366, 3118, 19532, 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 ]
[ 2061, 5873, 286, 661, 547, 6886, 284, 262, 4540, 1912, 319, 262, 370, 13175, 14, 7676, 396, 3278, 326, 3751, 807, 4, 286, 661, 547, 22147, 30, 46506, 366, 27524, 577, 1, 16034, 3084, 62, 2425, 31102, 33411, 366, 3118, 19532, 1, 796,...
If the pole position is Johnny Rutherford and the track is the Ontario Motor Speedway, what is the RND total number?
SELECT COUNT(rnd) FROM table_22670216_1 WHERE track = "Ontario Motor Speedway" AND pole_position = "Johnny Rutherford"
[ 1532, 262, 16825, 2292, 318, 15470, 49767, 290, 262, 2610, 318, 262, 10553, 12533, 46000, 11, 644, 318, 262, 371, 8575, 2472, 1271, 30, 46506, 327, 28270, 7, 81, 358, 8, 16034, 3084, 62, 24909, 2154, 20666, 62, 16, 33411, 2610, 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 ]
[ 1532, 262, 16825, 2292, 318, 15470, 49767, 290, 262, 2610, 318, 262, 10553, 12533, 46000, 11, 644, 318, 262, 371, 8575, 2472, 1271, 30, 46506, 327, 28270, 7, 81, 358, 8, 16034, 3084, 62, 24909, 2154, 20666, 62, 16, 33411, 2610, 796, ...
What year shows as Runner-up of england (24 pts)?
SELECT "Year" FROM table_69012 WHERE "Runner-up" = 'england (24 pts)'
[ 2061, 614, 2523, 355, 21529, 12, 929, 286, 1786, 1044, 357, 1731, 43344, 19427, 46506, 366, 17688, 1, 16034, 3084, 62, 3388, 30206, 33411, 366, 49493, 12, 929, 1, 796, 705, 1516, 1044, 357, 1731, 43344, 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, 1 ]
[ 2061, 614, 2523, 355, 21529, 12, 929, 286, 1786, 1044, 357, 1731, 43344, 19427, 46506, 366, 17688, 1, 16034, 3084, 62, 3388, 30206, 33411, 366, 49493, 12, 929, 1, 796, 705, 1516, 1044, 357, 1731, 43344, 33047 ]
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2"
[ 2061, 318, 262, 300, 6315, 286, 262, 13324, 33334, 19138, 3170, 706, 11445, 351, 257, 7825, 13888, 286, 362, 12, 21, 12, 17, 30, 46506, 300, 6315, 16034, 3084, 62, 3672, 62, 2231, 33411, 33334, 19138, 62, 4906, 796, 366, 21465, 1, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 300, 6315, 286, 262, 13324, 33334, 19138, 3170, 706, 11445, 351, 257, 7825, 13888, 286, 362, 12, 21, 12, 17, 30, 46506, 300, 6315, 16034, 3084, 62, 3672, 62, 2231, 33411, 33334, 19138, 62, 4906, 796, 366, 21465, 1, 5...
Who is the jockey for the winning horse Rafael Bejarano?
SELECT winning_horse FROM table_name_81 WHERE winning_jockey = "rafael bejarano"
[ 8241, 318, 262, 474, 8337, 329, 262, 5442, 8223, 31918, 1355, 9491, 5733, 30, 46506, 5442, 62, 30527, 16034, 3084, 62, 3672, 62, 6659, 33411, 5442, 62, 73, 8337, 796, 366, 32188, 3010, 307, 9491, 5733, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 474, 8337, 329, 262, 5442, 8223, 31918, 1355, 9491, 5733, 30, 46506, 5442, 62, 30527, 16034, 3084, 62, 3672, 62, 6659, 33411, 5442, 62, 73, 8337, 796, 366, 32188, 3010, 307, 9491, 5733, 1 ]
If sail number is AUS 03, what are all associated race numbers?
SELECT "Race number" FROM table_19641 WHERE "Sail number" = 'AUS 03'
[ 1532, 14936, 1271, 318, 317, 2937, 7643, 11, 644, 389, 477, 3917, 3234, 3146, 30, 46506, 366, 35157, 1271, 1, 16034, 3084, 62, 1129, 42759, 33411, 366, 50, 603, 1271, 1, 796, 705, 32, 2937, 7643, 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 ]
[ 1532, 14936, 1271, 318, 317, 2937, 7643, 11, 644, 389, 477, 3917, 3234, 3146, 30, 46506, 366, 35157, 1271, 1, 16034, 3084, 62, 1129, 42759, 33411, 366, 50, 603, 1271, 1, 796, 705, 32, 2937, 7643, 6 ]
Which region is associated with the catalog value of 512335?
SELECT "Region" FROM table_79531 WHERE "Catalog" = '512335'
[ 13828, 3814, 318, 3917, 351, 262, 18388, 1988, 286, 22243, 27326, 30, 46506, 366, 47371, 1, 16034, 3084, 62, 41544, 3132, 33411, 366, 49015, 1, 796, 705, 25836, 27326, 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 ]
[ 13828, 3814, 318, 3917, 351, 262, 18388, 1988, 286, 22243, 27326, 30, 46506, 366, 47371, 1, 16034, 3084, 62, 41544, 3132, 33411, 366, 49015, 1, 796, 705, 25836, 27326, 6 ]
What did the away team score when the home team scored 13.15 (93)?
SELECT "Away team score" FROM table_55958 WHERE "Home team score" = '13.15 (93)'
[ 2061, 750, 262, 1497, 1074, 4776, 618, 262, 1363, 1074, 7781, 1511, 13, 1314, 357, 6052, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 38605, 3365, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1485, 13, 1314, 357, 6052, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 1497, 1074, 4776, 618, 262, 1363, 1074, 7781, 1511, 13, 1314, 357, 6052, 19427, 46506, 366, 32, 1014, 1074, 4776, 1, 16034, 3084, 62, 38605, 3365, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1485, 13, 1314, 357, 6052, ...
What is the customer id of the customer with the most accounts, and how many accounts does this person have?
SELECT customer_id, COUNT(*) FROM accounts GROUP BY customer_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 6491, 4686, 286, 262, 6491, 351, 262, 749, 5504, 11, 290, 703, 867, 5504, 857, 428, 1048, 423, 30, 46506, 6491, 62, 312, 11, 327, 28270, 7, 28104, 16034, 5504, 44441, 11050, 6491, 62, 312, 38678, 11050, 327, 28270, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6491, 4686, 286, 262, 6491, 351, 262, 749, 5504, 11, 290, 703, 867, 5504, 857, 428, 1048, 423, 30, 46506, 6491, 62, 312, 11, 327, 28270, 7, 28104, 16034, 5504, 44441, 11050, 6491, 62, 312, 38678, 11050, 327, 28270, 7...
which artist came in last place in the national final ?
SELECT "artist" FROM table_203_695 ORDER BY "place" DESC LIMIT 1
[ 4758, 6802, 1625, 287, 938, 1295, 287, 262, 2260, 2457, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 22416, 62, 37381, 38678, 11050, 366, 5372, 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 ]
[ 4758, 6802, 1625, 287, 938, 1295, 287, 262, 2260, 2457, 5633, 46506, 366, 49016, 1, 16034, 3084, 62, 22416, 62, 37381, 38678, 11050, 366, 5372, 1, 22196, 34, 27564, 2043, 352 ]
On which date was the venue of vfl park used?
SELECT "Date" FROM table_53709 WHERE "Venue" = 'vfl park'
[ 2202, 543, 3128, 373, 262, 14359, 286, 410, 2704, 3952, 973, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4310, 31495, 33411, 366, 37522, 518, 1, 796, 705, 85, 2704, 3952, 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 ]
[ 2202, 543, 3128, 373, 262, 14359, 286, 410, 2704, 3952, 973, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4310, 31495, 33411, 366, 37522, 518, 1, 796, 705, 85, 2704, 3952, 6 ]
What episode in the series had 5.24 million viewers?
SELECT "Series #" FROM table_3918 WHERE "Viewers (millions)" = '5.24'
[ 2061, 4471, 287, 262, 2168, 550, 642, 13, 1731, 1510, 10209, 30, 46506, 366, 27996, 1303, 1, 16034, 3084, 62, 2670, 1507, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 20, 13, 1731, 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, 4471, 287, 262, 2168, 550, 642, 13, 1731, 1510, 10209, 30, 46506, 366, 27996, 1303, 1, 16034, 3084, 62, 2670, 1507, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 20, 13, 1731, 6 ]
the difference between the number of medals of italy and the number of medals of poland
SELECT (SELECT "total" FROM table_204_231 WHERE "nation" = 'italy') - (SELECT "total" FROM table_204_231 WHERE "nation" = 'poland')
[ 1169, 3580, 1022, 262, 1271, 286, 28057, 286, 340, 3400, 290, 262, 1271, 286, 28057, 286, 755, 392, 46506, 357, 46506, 366, 23350, 1, 16034, 3084, 62, 18638, 62, 25667, 33411, 366, 25729, 1, 796, 705, 1287, 88, 11537, 532, 357, 46506,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1169, 3580, 1022, 262, 1271, 286, 28057, 286, 340, 3400, 290, 262, 1271, 286, 28057, 286, 755, 392, 46506, 357, 46506, 366, 23350, 1, 16034, 3084, 62, 18638, 62, 25667, 33411, 366, 25729, 1, 796, 705, 1287, 88, 11537, 532, 357, 46506,...
What is the smallest number of silvers associated with bronzes under 20, totals of 1, golds of 0, and in Water Polo?
SELECT MIN(silver) FROM table_name_90 WHERE bronze < 20 AND total = 1 AND sport = "water polo" AND gold < 0
[ 2061, 318, 262, 18197, 1271, 286, 3313, 690, 3917, 351, 18443, 12271, 739, 1160, 11, 26310, 286, 352, 11, 3869, 82, 286, 657, 11, 290, 287, 5638, 49341, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 22101, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18197, 1271, 286, 3313, 690, 3917, 351, 18443, 12271, 739, 1160, 11, 26310, 286, 352, 11, 3869, 82, 286, 657, 11, 290, 287, 5638, 49341, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 3829, 33411, 22101, 1...
Find the names and publication dates of all catalogs that have catalog level number greater than 5. Bin publication dates into Year interval, and count catalog and group by catalog name.
SELECT date_of_publication, COUNT(date_of_publication) FROM Catalogs AS t1 JOIN Catalog_Structure AS t2 ON t1.catalog_id = t2.catalog_id WHERE catalog_level_number > 5 GROUP BY catalog_name
[ 16742, 262, 3891, 290, 9207, 9667, 286, 477, 18388, 82, 326, 423, 18388, 1241, 1271, 3744, 621, 642, 13, 20828, 9207, 9667, 656, 6280, 16654, 11, 290, 954, 18388, 290, 1448, 416, 18388, 1438, 13, 46506, 3128, 62, 1659, 62, 11377, 341,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 3891, 290, 9207, 9667, 286, 477, 18388, 82, 326, 423, 18388, 1241, 1271, 3744, 621, 642, 13, 20828, 9207, 9667, 656, 6280, 16654, 11, 290, 954, 18388, 290, 1448, 416, 18388, 1438, 13, 46506, 3128, 62, 1659, 62, 11377, 341,...
how many total medals did the netherlands win ?
SELECT "total" FROM table_203_707 WHERE "npc" = 'netherlands'
[ 4919, 867, 2472, 28057, 750, 262, 2010, 372, 4447, 1592, 5633, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 24038, 33411, 366, 77, 14751, 1, 796, 705, 3262, 372, 4447, 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 ]
[ 4919, 867, 2472, 28057, 750, 262, 2010, 372, 4447, 1592, 5633, 46506, 366, 23350, 1, 16034, 3084, 62, 22416, 62, 24038, 33411, 366, 77, 14751, 1, 796, 705, 3262, 372, 4447, 6 ]
how much cost is it to perform triiodothyronine (t3) lab tests?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'labevents' AND cost.event_id IN (SELECT labevents.row_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'triiodothyronine (t3)'))
[ 4919, 881, 1575, 318, 340, 284, 1620, 1333, 2101, 14863, 1313, 500, 357, 83, 18, 8, 2248, 5254, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 23912, 31534, 6, 5357, 1575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 881, 1575, 318, 340, 284, 1620, 1333, 2101, 14863, 1313, 500, 357, 83, 18, 8, 2248, 5254, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 23912, 31534, 6, 5357, 1575, ...
Who was the opponent with a 32-25 record?
SELECT "Opponent" FROM table_63633 WHERE "Record" = '32-25'
[ 8241, 373, 262, 6125, 351, 257, 3933, 12, 1495, 1700, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 21, 2623, 2091, 33411, 366, 23739, 1, 796, 705, 2624, 12, 1495, 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 ]
[ 8241, 373, 262, 6125, 351, 257, 3933, 12, 1495, 1700, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 21, 2623, 2091, 33411, 366, 23739, 1, 796, 705, 2624, 12, 1495, 6 ]
Who is the incumbent in the Washington 1 district?
SELECT "Incumbent" FROM table_22119 WHERE "District" = 'Washington 1'
[ 8241, 318, 262, 23526, 287, 262, 2669, 352, 4783, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1828, 16315, 33411, 366, 44857, 1, 796, 705, 17402, 352, 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 ]
[ 8241, 318, 262, 23526, 287, 262, 2669, 352, 4783, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 1828, 16315, 33411, 366, 44857, 1, 796, 705, 17402, 352, 6 ]
When waikaia is the electorate what is the highest by-election?
SELECT MAX(by_election) FROM table_28898948_3 WHERE electorate = "Waikaia"
[ 2215, 2082, 9232, 544, 318, 262, 23879, 644, 318, 262, 4511, 416, 12, 14300, 30, 46506, 25882, 7, 1525, 62, 14300, 8, 16034, 3084, 62, 25270, 42520, 2780, 62, 18, 33411, 23879, 796, 366, 33484, 9232, 544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2082, 9232, 544, 318, 262, 23879, 644, 318, 262, 4511, 416, 12, 14300, 30, 46506, 25882, 7, 1525, 62, 14300, 8, 16034, 3084, 62, 25270, 42520, 2780, 62, 18, 33411, 23879, 796, 366, 33484, 9232, 544, 1 ]
What is the number of the game when the opponent was the New York Islanders, and a February less than 24?
SELECT SUM(game) FROM table_name_62 WHERE opponent = "new york islanders" AND february < 24
[ 2061, 318, 262, 1271, 286, 262, 983, 618, 262, 6125, 373, 262, 968, 1971, 32868, 11, 290, 257, 3945, 1342, 621, 1987, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 6125, 796, 366, 3605, 331, 967, 7022, 364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 262, 983, 618, 262, 6125, 373, 262, 968, 1971, 32868, 11, 290, 257, 3945, 1342, 621, 1987, 30, 46506, 35683, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 5237, 33411, 6125, 796, 366, 3605, 331, 967, 7022, 364, ...
What is the name of the player when the category is listed as field goal percentage?
SELECT "Player" FROM table_4068 WHERE "Category" = 'Field goal percentage'
[ 2061, 318, 262, 1438, 286, 262, 2137, 618, 262, 6536, 318, 5610, 355, 2214, 3061, 5873, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1821, 3104, 33411, 366, 27313, 1, 796, 705, 15878, 3061, 5873, 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, 2137, 618, 262, 6536, 318, 5610, 355, 2214, 3061, 5873, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 1821, 3104, 33411, 366, 27313, 1, 796, 705, 15878, 3061, 5873, 6 ]
Tell me the average week for result of l 34 24
SELECT AVG("Week") FROM table_54057 WHERE "Result" = 'l 34–24'
[ 24446, 502, 262, 2811, 1285, 329, 1255, 286, 300, 4974, 1987, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 35005, 3553, 33411, 366, 23004, 1, 796, 705, 75, 4974, 1906, 1731, 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 ]
[ 24446, 502, 262, 2811, 1285, 329, 1255, 286, 300, 4974, 1987, 46506, 35224, 7203, 20916, 4943, 16034, 3084, 62, 35005, 3553, 33411, 366, 23004, 1, 796, 705, 75, 4974, 1906, 1731, 6 ]
all DL flights to everywhere if you can
SELECT DISTINCT flight_id FROM flight WHERE (airline_code = 'DL')
[ 439, 23641, 13956, 284, 8347, 611, 345, 460, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 357, 958, 1370, 62, 8189, 796, 705, 19260, 11537 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 439, 23641, 13956, 284, 8347, 611, 345, 460, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 357, 958, 1370, 62, 8189, 796, 705, 19260, 11537 ]
Which Game has a Score of w 90 82 (ot)?
SELECT game FROM table_name_40 WHERE score = "w 90–82 (ot)"
[ 13828, 3776, 468, 257, 15178, 286, 266, 4101, 9415, 357, 313, 19427, 46506, 983, 16034, 3084, 62, 3672, 62, 1821, 33411, 4776, 796, 366, 86, 4101, 1906, 6469, 357, 313, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 3776, 468, 257, 15178, 286, 266, 4101, 9415, 357, 313, 19427, 46506, 983, 16034, 3084, 62, 3672, 62, 1821, 33411, 4776, 796, 366, 86, 4101, 1906, 6469, 357, 313, 16725 ]
what is the number of patients whose year of death is less than or equal to 2174 and lab test fluid is other body fluid?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dod_year <= "2174.0" AND lab.fluid = "Other Body Fluid"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 22985, 290, 2248, 1332, 11711, 318, 584, 1767, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 22985, 290, 2248, 1332, 11711, 318, 584, 1767, 11711, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
what is the average gold when rank is total and silver is more than 20?
SELECT AVG("Gold") FROM table_13501 WHERE "Rank" = 'total' AND "Silver" > '20'
[ 10919, 318, 262, 2811, 3869, 618, 4279, 318, 2472, 290, 8465, 318, 517, 621, 1160, 30, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 17059, 486, 33411, 366, 27520, 1, 796, 705, 23350, 6, 5357, 366, 26766, 1, 1875, 705, 1238, 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 ]
[ 10919, 318, 262, 2811, 3869, 618, 4279, 318, 2472, 290, 8465, 318, 517, 621, 1160, 30, 46506, 35224, 7203, 13306, 4943, 16034, 3084, 62, 17059, 486, 33411, 366, 27520, 1, 796, 705, 23350, 6, 5357, 366, 26766, 1, 1875, 705, 1238, 6 ]
When the opponent is houston oilers what is the result?
SELECT result FROM table_name_27 WHERE opponent = "houston oilers"
[ 2215, 262, 6125, 318, 289, 6526, 3056, 364, 644, 318, 262, 1255, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1983, 33411, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 262, 6125, 318, 289, 6526, 3056, 364, 644, 318, 262, 1255, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1983, 33411, 6125, 796, 366, 71, 6526, 3056, 364, 1 ]