instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the score for the game with an 11 tie number?
SELECT "Score" FROM table_63895 WHERE "Tie no" = '11'
[ 2061, 318, 262, 4776, 329, 262, 983, 351, 281, 1367, 9839, 1271, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 2548, 3865, 33411, 366, 51, 494, 645, 1, 796, 705, 1157, 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 ]
[ 2061, 318, 262, 4776, 329, 262, 983, 351, 281, 1367, 9839, 1271, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 21, 2548, 3865, 33411, 366, 51, 494, 645, 1, 796, 705, 1157, 6 ]
when was the first time that the heartrate of patient 006-158689 was measured / taken?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-158689')) AND NOT vitalperiodic.heartrate IS NU...
[ 12518, 373, 262, 717, 640, 326, 262, 2612, 4873, 286, 5827, 3571, 21, 12, 21273, 40523, 373, 8630, 1220, 2077, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 262, 717, 640, 326, 262, 2612, 4873, 286, 5827, 3571, 21, 12, 21273, 40523, 373, 8630, 1220, 2077, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, ...
Name the 2003 which has a 2000 of , and a 2007 of , and a 2010 of ?
SELECT "2003" FROM table_46117 WHERE "2000" = '—' AND "2007" = '—' AND "2010" = '—'
[ 5376, 262, 5816, 543, 468, 257, 4751, 286, 837, 290, 257, 4343, 286, 837, 290, 257, 3050, 286, 5633, 46506, 366, 16088, 1, 16034, 3084, 62, 3510, 17657, 33411, 366, 11024, 1, 796, 705, 960, 6, 5357, 366, 12726, 1, 796, 705, 960, 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 ]
[ 5376, 262, 5816, 543, 468, 257, 4751, 286, 837, 290, 257, 4343, 286, 837, 290, 257, 3050, 286, 5633, 46506, 366, 16088, 1, 16034, 3084, 62, 3510, 17657, 33411, 366, 11024, 1, 796, 705, 960, 6, 5357, 366, 12726, 1, 796, 705, 960, 6...
How many tackle assists for the player who averages 23.7?
SELECT "Ast" FROM table_72955 WHERE "Avg" = '23.7'
[ 2437, 867, 9761, 13648, 329, 262, 2137, 508, 25694, 2242, 13, 22, 30, 46506, 366, 33751, 1, 16034, 3084, 62, 48555, 2816, 33411, 366, 48997, 1, 796, 705, 1954, 13, 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 ]
[ 2437, 867, 9761, 13648, 329, 262, 2137, 508, 25694, 2242, 13, 22, 30, 46506, 366, 33751, 1, 16034, 3084, 62, 48555, 2816, 33411, 366, 48997, 1, 796, 705, 1954, 13, 22, 6 ]
count the number of patients whose primary disease is sepsis and procedure icd9 code is 9960?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "SEPSIS" AND procedures.icd9_code = "9960"
[ 9127, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 384, 862, 271, 290, 8771, 14158, 67, 24, 2438, 318, 7388, 1899, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 384, 862, 271, 290, 8771, 14158, 67, 24, 2438, 318, 7388, 1899, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
fpg > 125 mg / dl or < 105 mg / dl at screening blood draw
SELECT * FROM table_train_154 WHERE fpg > 125 OR fpg < 105
[ 69, 6024, 1875, 13151, 10527, 1220, 288, 75, 393, 1279, 13343, 10527, 1220, 288, 75, 379, 14135, 2910, 3197, 46506, 1635, 16034, 3084, 62, 27432, 62, 21526, 33411, 277, 6024, 1875, 13151, 6375, 277, 6024, 1279, 13343 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 69, 6024, 1875, 13151, 10527, 1220, 288, 75, 393, 1279, 13343, 10527, 1220, 288, 75, 379, 14135, 2910, 3197, 46506, 1635, 16034, 3084, 62, 27432, 62, 21526, 33411, 277, 6024, 1875, 13151, 6375, 277, 6024, 1279, 13343 ]
What is the oldest age for each gender of student? Return a bar chart, could you order by the Y in asc?
SELECT Sex, MAX(Age) FROM Student GROUP BY Sex ORDER BY MAX(Age)
[ 2061, 318, 262, 13325, 2479, 329, 1123, 5279, 286, 3710, 30, 8229, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 575, 287, 10570, 30, 46506, 14419, 11, 25882, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 25882, 7, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13325, 2479, 329, 1123, 5279, 286, 3710, 30, 8229, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 575, 287, 10570, 30, 46506, 14419, 11, 25882, 7, 23396, 8, 16034, 13613, 44441, 11050, 14419, 38678, 11050, 25882, 7, 23...
what were the five frequent specimen tests that were conducted since 2102?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE STRFTIME('%y', microlab.culturetakentime) >= '2102' GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 5
[ 10919, 547, 262, 1936, 10792, 31674, 5254, 326, 547, 5952, 1201, 362, 15377, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1936, 10792, 31674, 5254, 326, 547, 5952, 1201, 362, 15377, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 1...
Give me the comparison about ACC_Percent over the All_Neutral , and rank by the total number in desc.
SELECT All_Neutral, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC
[ 23318, 502, 262, 7208, 546, 15859, 62, 31905, 625, 262, 1439, 62, 8199, 6815, 837, 290, 4279, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 15859, 62, 319...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 15859, 62, 31905, 625, 262, 1439, 62, 8199, 6815, 837, 290, 4279, 416, 262, 2472, 1271, 287, 1715, 13, 46506, 1439, 62, 8199, 6815, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 38678, 11050, 15859, 62, 319...
Give me the comparison about the amount of ACC_Road over the ACC_Road , and group by attribute ACC_Road, display y-axis in ascending order.
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY COUNT(ACC_Road)
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 15859, 62, 29197, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 3359, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 15859, 62, 29197, 11, 327, 28270, 7, 26861,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 262, 7208, 546, 262, 2033, 286, 15859, 62, 29197, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 3359, 331, 12, 22704, 287, 41988, 1502, 13, 46506, 15859, 62, 29197, 11, 327, 28270, 7, 26861,...
what was the number of stages in the 1983 tour de france ?
SELECT COUNT("stage") FROM table_203_25
[ 10919, 373, 262, 1271, 286, 9539, 287, 262, 13540, 4205, 390, 1216, 590, 5633, 46506, 327, 28270, 7203, 14247, 4943, 16034, 3084, 62, 22416, 62, 1495 ]
[ 1, 1, 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, 1271, 286, 9539, 287, 262, 13540, 4205, 390, 1216, 590, 5633, 46506, 327, 28270, 7203, 14247, 4943, 16034, 3084, 62, 22416, 62, 1495 ]
Result of 88-85 ot (1-0) involves what game?
SELECT "Game" FROM table_75399 WHERE "Result" = '88-85 ot (1-0)'
[ 23004, 286, 9193, 12, 5332, 30972, 357, 16, 12, 15, 8, 9018, 644, 983, 30, 46506, 366, 8777, 1, 16034, 3084, 62, 2425, 28771, 33411, 366, 23004, 1, 796, 705, 3459, 12, 5332, 30972, 357, 16, 12, 15, 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, 1, 1 ]
[ 23004, 286, 9193, 12, 5332, 30972, 357, 16, 12, 15, 8, 9018, 644, 983, 30, 46506, 366, 8777, 1, 16034, 3084, 62, 2425, 28771, 33411, 366, 23004, 1, 796, 705, 3459, 12, 5332, 30972, 357, 16, 12, 15, 33047 ]
who ranked first in the preliminary ?
SELECT "diver" FROM table_203_780 WHERE "preliminary\nrank" = 1
[ 8727, 10307, 717, 287, 262, 15223, 5633, 46506, 366, 67, 1428, 1, 16034, 3084, 62, 22416, 62, 40873, 33411, 366, 79, 2411, 38429, 59, 77, 43027, 1, 796, 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 ]
[ 8727, 10307, 717, 287, 262, 15223, 5633, 46506, 366, 67, 1428, 1, 16034, 3084, 62, 22416, 62, 40873, 33411, 366, 79, 2411, 38429, 59, 77, 43027, 1, 796, 352 ]
provide the number of patients whose primary disease is sdh and lab test fluid is urine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "SDH" AND lab.fluid = "Urine"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 264, 34985, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 264, 34985, 290, 2248, 1332, 11711, 318, 18922, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, ...
how many patients whose procedure icd9 code is 3897 and drug route is buccal?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE procedures.icd9_code = "3897" AND prescriptions.route = "BUCCAL"
[ 4919, 867, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 4353, 5607, 290, 2563, 6339, 318, 809, 535, 282, 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...
[ 4919, 867, 3871, 3025, 8771, 14158, 67, 24, 2438, 318, 4353, 5607, 290, 2563, 6339, 318, 809, 535, 282, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
Which Cup Apps (sub) had 2 goals?
SELECT cup_apps__sub_ FROM table_name_59 WHERE cup_goals = "2"
[ 13828, 5454, 27710, 357, 7266, 8, 550, 362, 4661, 30, 46506, 6508, 62, 18211, 834, 7266, 62, 16034, 3084, 62, 3672, 62, 3270, 33411, 6508, 62, 2188, 874, 796, 366, 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 ]
[ 13828, 5454, 27710, 357, 7266, 8, 550, 362, 4661, 30, 46506, 6508, 62, 18211, 834, 7266, 62, 16034, 3084, 62, 3672, 62, 3270, 33411, 6508, 62, 2188, 874, 796, 366, 17, 1 ]
Which tournament had a performance of 1R in 2004 and 2R in 1998?
SELECT tournament FROM table_name_79 WHERE 2004 = "1r" AND 1998 = "2r"
[ 13828, 7756, 550, 257, 2854, 286, 352, 49, 287, 5472, 290, 362, 49, 287, 7795, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3720, 33411, 5472, 796, 366, 16, 81, 1, 5357, 7795, 796, 366, 17, 81, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 550, 257, 2854, 286, 352, 49, 287, 5472, 290, 362, 49, 287, 7795, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3720, 33411, 5472, 796, 366, 16, 81, 1, 5357, 7795, 796, 366, 17, 81, 1 ]
Which mideast regional state contains the city of Seattle?
SELECT state FROM table_name_53 WHERE region = "mideast" AND city = "seattle"
[ 13828, 285, 485, 459, 7915, 1181, 4909, 262, 1748, 286, 7312, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 4310, 33411, 3814, 796, 366, 76, 485, 459, 1, 5357, 1748, 796, 366, 325, 1999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 285, 485, 459, 7915, 1181, 4909, 262, 1748, 286, 7312, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 4310, 33411, 3814, 796, 366, 76, 485, 459, 1, 5357, 1748, 796, 366, 325, 1999, 1 ]
i need flight information for a flight departing from INDIANAPOLIS to CLEVELAND departing tuesday at 1200
SELECT DISTINCT flight_id FROM flight WHERE (((departure_time = 1200 AND flight_days IN (SELECT DAYSalias0.days_code FROM days AS DAYSalias0 WHERE DAYSalias0.day_name IN (SELECT DATE_DAYalias0.day_name FROM date_day AS DATE_DAYalias0 WHERE DATE_DAYalias0.day_number = 22 AND DATE_DAYalias0.month_number = 3 AND DATE_DAYa...
[ 72, 761, 5474, 1321, 329, 257, 5474, 37717, 422, 24413, 16868, 2969, 3535, 1797, 284, 30301, 18697, 6981, 37717, 256, 3322, 379, 24938, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 7, 10378, 433, 495, 62, 2435...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 761, 5474, 1321, 329, 257, 5474, 37717, 422, 24413, 16868, 2969, 3535, 1797, 284, 30301, 18697, 6981, 37717, 256, 3322, 379, 24938, 46506, 360, 8808, 1268, 4177, 5474, 62, 312, 16034, 5474, 33411, 14808, 7, 10378, 433, 495, 62, 2435...
List all the document names which contains 'CV'.
SELECT document_name FROM documents WHERE document_name LIKE "%CV%"
[ 8053, 477, 262, 3188, 3891, 543, 4909, 705, 33538, 4458, 46506, 3188, 62, 3672, 16034, 4963, 33411, 3188, 62, 3672, 34178, 36521, 33538, 39658 ]
[ 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, 477, 262, 3188, 3891, 543, 4909, 705, 33538, 4458, 46506, 3188, 62, 3672, 16034, 4963, 33411, 3188, 62, 3672, 34178, 36521, 33538, 39658 ]
What day in February was the team 17-29-7?
SELECT MAX(february) FROM table_27539535_7 WHERE record = "17-29-7"
[ 2061, 1110, 287, 3945, 373, 262, 1074, 1596, 12, 1959, 12, 22, 30, 46506, 25882, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 23195, 31010, 2327, 62, 22, 33411, 1700, 796, 366, 1558, 12, 1959, 12, 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, 1 ]
[ 2061, 1110, 287, 3945, 373, 262, 1074, 1596, 12, 1959, 12, 22, 30, 46506, 25882, 7, 69, 1765, 3728, 8, 16034, 3084, 62, 23195, 31010, 2327, 62, 22, 33411, 1700, 796, 366, 1558, 12, 1959, 12, 22, 1 ]
what is the total number of times the tournament was pga championship and evens is less than 4?
SELECT COUNT(top_5) FROM table_name_95 WHERE tournament = "pga championship" AND events < 4
[ 10919, 318, 262, 2472, 1271, 286, 1661, 262, 7756, 373, 279, 4908, 12184, 290, 772, 82, 318, 1342, 621, 604, 30, 46506, 327, 28270, 7, 4852, 62, 20, 8, 16034, 3084, 62, 3672, 62, 3865, 33411, 7756, 796, 366, 79, 4908, 12184, 1, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 1661, 262, 7756, 373, 279, 4908, 12184, 290, 772, 82, 318, 1342, 621, 604, 30, 46506, 327, 28270, 7, 4852, 62, 20, 8, 16034, 3084, 62, 3672, 62, 3865, 33411, 7756, 796, 366, 79, 4908, 12184, 1, 53...
provide the number of patients whose marital status is single and admission year is less than 2184?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear < "2184"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 13938, 614, 318, 1342, 621, 362, 22883, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 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 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 13938, 614, 318, 1342, 621, 362, 22883, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62,...
Who had the high rebounds when the score was l 85 102 (ot)?
SELECT "High rebounds" FROM table_47369 WHERE "Score" = 'l 85–102 (ot)'
[ 8241, 550, 262, 1029, 18841, 618, 262, 4776, 373, 300, 7600, 15143, 357, 313, 19427, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 2857, 30803, 33411, 366, 26595, 1, 796, 705, 75, 7600, 1906, 15377, 357, 313, 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, 1 ]
[ 8241, 550, 262, 1029, 18841, 618, 262, 4776, 373, 300, 7600, 15143, 357, 313, 19427, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 2857, 30803, 33411, 366, 26595, 1, 796, 705, 75, 7600, 1906, 15377, 357, 313, 33047 ]
If the residence is Chagrin falls, who is the representative?
SELECT representative FROM table_26131768_4 WHERE residence = "Chagrin Falls"
[ 1532, 262, 11566, 318, 609, 363, 12769, 8953, 11, 508, 318, 262, 8852, 30, 46506, 8852, 16034, 3084, 62, 2075, 1485, 1558, 3104, 62, 19, 33411, 11566, 796, 366, 1925, 363, 12769, 17930, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11566, 318, 609, 363, 12769, 8953, 11, 508, 318, 262, 8852, 30, 46506, 8852, 16034, 3084, 62, 2075, 1485, 1558, 3104, 62, 19, 33411, 11566, 796, 366, 1925, 363, 12769, 17930, 1 ]
Who were the opponents for the event in Milan, Italy?
SELECT "Opponent" FROM table_44146 WHERE "Tournament" = 'milan, italy'
[ 8241, 547, 262, 7691, 329, 262, 1785, 287, 21574, 11, 8031, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 20964, 33411, 366, 51, 5138, 1, 796, 705, 25433, 272, 11, 340, 3400, 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 ]
[ 8241, 547, 262, 7691, 329, 262, 1785, 287, 21574, 11, 8031, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 2598, 20964, 33411, 366, 51, 5138, 1, 796, 705, 25433, 272, 11, 340, 3400, 6 ]
count the number of private health insurance patients who have been diagnosed with unspecified rheumatic heart disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.long_title = "Rheumatic heart disease, unspecified"
[ 9127, 262, 1271, 286, 2839, 1535, 5096, 3871, 508, 423, 587, 14641, 351, 29547, 374, 258, 16735, 2612, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 2839, 1535, 5096, 3871, 508, 423, 587, 14641, 351, 29547, 374, 258, 16735, 2612, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
What is the average Points when the engine was a climax straight-4 earlier than 1958?
SELECT AVG("Points") FROM table_14464 WHERE "Engine" = 'climax straight-4' AND "Year" < '1958'
[ 2061, 318, 262, 2811, 11045, 618, 262, 3113, 373, 257, 30032, 3892, 12, 19, 2961, 621, 24648, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 18444, 2414, 33411, 366, 13798, 1, 796, 705, 565, 320, 897, 3892, 12, 19, 6, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11045, 618, 262, 3113, 373, 257, 30032, 3892, 12, 19, 2961, 621, 24648, 30, 46506, 35224, 7203, 40710, 4943, 16034, 3084, 62, 18444, 2414, 33411, 366, 13798, 1, 796, 705, 565, 320, 897, 3892, 12, 19, 6, 5357, 3...
When was the record 3-3?
SELECT date FROM table_name_99 WHERE record = "3-3"
[ 2215, 373, 262, 1700, 513, 12, 18, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2079, 33411, 1700, 796, 366, 18, 12, 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 ]
[ 2215, 373, 262, 1700, 513, 12, 18, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2079, 33411, 1700, 796, 366, 18, 12, 18, 1 ]
Show me the departure date and arrival date for all flights from Los Angeles to Honolulu.
SELECT departure_date, arrival_date FROM flight WHERE origin = "Los Angeles" AND destination = "Honolulu"
[ 15307, 502, 262, 12928, 3128, 290, 10325, 3128, 329, 477, 13956, 422, 5401, 5652, 284, 43296, 13, 46506, 12928, 62, 4475, 11, 10325, 62, 4475, 16034, 5474, 33411, 8159, 796, 366, 28903, 5652, 1, 5357, 10965, 796, 366, 29478, 39814, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 262, 12928, 3128, 290, 10325, 3128, 329, 477, 13956, 422, 5401, 5652, 284, 43296, 13, 46506, 12928, 62, 4475, 11, 10325, 62, 4475, 16034, 5474, 33411, 8159, 796, 366, 28903, 5652, 1, 5357, 10965, 796, 366, 29478, 39814, 1 ]
What is the Runners-up of the game with a Result of 4 1 and Champions of Wonju Dongbu Promy?
SELECT "Runners-up" FROM table_47213 WHERE "Result" = '4–1' AND "Champions" = 'wonju dongbu promy'
[ 2061, 318, 262, 5660, 2741, 12, 929, 286, 262, 983, 351, 257, 25414, 286, 604, 352, 290, 6662, 286, 23306, 14396, 28831, 11110, 10335, 88, 30, 46506, 366, 10987, 2741, 12, 929, 1, 16034, 3084, 62, 2857, 26427, 33411, 366, 23004, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5660, 2741, 12, 929, 286, 262, 983, 351, 257, 25414, 286, 604, 352, 290, 6662, 286, 23306, 14396, 28831, 11110, 10335, 88, 30, 46506, 366, 10987, 2741, 12, 929, 1, 16034, 3084, 62, 2857, 26427, 33411, 366, 23004, 1, ...
Which advisors have more than two students?
SELECT advisor FROM student GROUP BY advisor HAVING COUNT(*) > 2
[ 13828, 32456, 423, 517, 621, 734, 2444, 30, 46506, 20685, 16034, 3710, 44441, 11050, 20685, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 362 ]
[ 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, 32456, 423, 517, 621, 734, 2444, 30, 46506, 20685, 16034, 3710, 44441, 11050, 20685, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 362 ]
let me know the primary disease and type of admission for patient cynthia gomez.
SELECT demographic.admission_type, demographic.diagnosis FROM demographic WHERE demographic.name = "Cynthia Gomez"
[ 1616, 502, 760, 262, 4165, 4369, 290, 2099, 286, 13938, 329, 5827, 19768, 31079, 308, 30010, 13, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34, 2047, 31079, 33231, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 4165, 4369, 290, 2099, 286, 13938, 329, 5827, 19768, 31079, 308, 30010, 13, 46506, 16728, 13, 324, 3411, 62, 4906, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 34, 2047, 31079, 33231, ...
uncontrolled hypertension, > 160 mmhg systolic or > 100 mmhg diastolic
SELECT * FROM table_dev_49 WHERE hypertension = 1 OR systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 100
[ 403, 14401, 37454, 11, 1875, 13454, 8085, 71, 70, 827, 301, 4160, 393, 1875, 1802, 8085, 71, 70, 2566, 459, 4160, 46506, 1635, 16034, 3084, 62, 7959, 62, 2920, 33411, 37454, 796, 352, 6375, 827, 301, 4160, 62, 18041, 62, 36151, 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 ]
[ 403, 14401, 37454, 11, 1875, 13454, 8085, 71, 70, 827, 301, 4160, 393, 1875, 1802, 8085, 71, 70, 2566, 459, 4160, 46506, 1635, 16034, 3084, 62, 7959, 62, 2920, 33411, 37454, 796, 352, 6375, 827, 301, 4160, 62, 18041, 62, 36151, 62, ...
Which sport has 17 as the medal count?
SELECT "Sport" FROM table_63603 WHERE "Medal count" = '17'
[ 13828, 6332, 468, 1596, 355, 262, 18279, 954, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 5066, 35642, 33411, 366, 9921, 282, 954, 1, 796, 705, 1558, 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 ]
[ 13828, 6332, 468, 1596, 355, 262, 18279, 954, 30, 46506, 366, 42576, 1, 16034, 3084, 62, 5066, 35642, 33411, 366, 9921, 282, 954, 1, 796, 705, 1558, 6 ]
If the race time is 2:00:33, what is the average speed?
SELECT average_speed__mph_ FROM table_2260452_1 WHERE race_time = "2:00:33"
[ 1532, 262, 3234, 640, 318, 362, 25, 405, 25, 2091, 11, 644, 318, 262, 2811, 2866, 30, 46506, 2811, 62, 12287, 834, 23335, 62, 16034, 3084, 62, 1828, 1899, 37730, 62, 16, 33411, 3234, 62, 2435, 796, 366, 17, 25, 405, 25, 2091, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3234, 640, 318, 362, 25, 405, 25, 2091, 11, 644, 318, 262, 2811, 2866, 30, 46506, 2811, 62, 12287, 834, 23335, 62, 16034, 3084, 62, 1828, 1899, 37730, 62, 16, 33411, 3234, 62, 2435, 796, 366, 17, 25, 405, 25, 2091, 1 ]
Which venue was used 11 february 1996?
SELECT venue FROM table_name_45 WHERE date = "11 february 1996"
[ 13828, 14359, 373, 973, 1367, 730, 65, 3728, 8235, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2231, 33411, 3128, 796, 366, 1157, 730, 65, 3728, 8235, 1 ]
[ 1, 1, 1, 1, 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, 14359, 373, 973, 1367, 730, 65, 3728, 8235, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2231, 33411, 3128, 796, 366, 1157, 730, 65, 3728, 8235, 1 ]
What is the Pole Position of the Portuguese Grand Prix?
SELECT "Pole Position" FROM table_56345 WHERE "Grand Prix" = 'portuguese grand prix'
[ 2061, 318, 262, 29385, 23158, 286, 262, 21813, 5675, 23832, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 3980, 27712, 33411, 366, 23581, 23832, 1, 796, 705, 634, 1018, 20506, 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, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 29385, 23158, 286, 262, 21813, 5675, 23832, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 3980, 27712, 33411, 366, 23581, 23832, 1, 796, 705, 634, 1018, 20506, 4490, 1293, 87, 6 ]
What is the grid for the driver with an electrical time/retired and 51 laps?
SELECT "Grid" FROM table_44913 WHERE "Time/Retired" = 'electrical' AND "Laps" = '51'
[ 2061, 318, 262, 10706, 329, 262, 4639, 351, 281, 12278, 640, 14, 1186, 1202, 290, 6885, 24590, 30, 46506, 366, 41339, 1, 16034, 3084, 62, 31911, 1485, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 9509, 8143, 6, 5357, 366, 43, 1686...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10706, 329, 262, 4639, 351, 281, 12278, 640, 14, 1186, 1202, 290, 6885, 24590, 30, 46506, 366, 41339, 1, 16034, 3084, 62, 31911, 1485, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 9509, 8143, 6, 5357, 366, 43, 1686...
What is the goal difference for entries with more than 6 draws, a position lower than 12, and fewer than 9 wins?
SELECT goal_difference FROM table_name_97 WHERE draws > 6 AND position > 12 AND wins < 9
[ 2061, 318, 262, 3061, 3580, 329, 12784, 351, 517, 621, 718, 14293, 11, 257, 2292, 2793, 621, 1105, 11, 290, 7380, 621, 860, 7864, 30, 46506, 3061, 62, 26069, 1945, 16034, 3084, 62, 3672, 62, 5607, 33411, 14293, 1875, 718, 5357, 2292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3061, 3580, 329, 12784, 351, 517, 621, 718, 14293, 11, 257, 2292, 2793, 621, 1105, 11, 290, 7380, 621, 860, 7864, 30, 46506, 3061, 62, 26069, 1945, 16034, 3084, 62, 3672, 62, 5607, 33411, 14293, 1875, 718, 5357, 2292, ...
Tell me the highest laps for toyota and grid of 13
SELECT MAX("Laps") FROM table_58522 WHERE "Constructor" = 'toyota' AND "Grid" = '13'
[ 24446, 502, 262, 4511, 24590, 329, 13373, 4265, 290, 10706, 286, 1511, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 38905, 1828, 33411, 366, 42316, 273, 1, 796, 705, 83, 726, 4265, 6, 5357, 366, 41339, 1, 796, 705, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 24446, 502, 262, 4511, 24590, 329, 13373, 4265, 290, 10706, 286, 1511, 46506, 25882, 7203, 43, 1686, 4943, 16034, 3084, 62, 38905, 1828, 33411, 366, 42316, 273, 1, 796, 705, 83, 726, 4265, 6, 5357, 366, 41339, 1, 796, 705, 1485, 6 ]
Return the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones, and count them by a line chart, could you list x axis in ascending order please?
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones" ORDER BY Date_of_Birth
[ 13615, 262, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 714, 345, 1351, 2124, 16488, 287, 41988, 1502, 3387, 30, 46506, 7536, 62, 1659...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 286, 4082, 329, 17038, 508, 423, 2035, 262, 15811, 11288, 5326, 305, 16658, 393, 5613, 5437, 11, 290, 954, 606, 416, 257, 1627, 8262, 11, 714, 345, 1351, 2124, 16488, 287, 41988, 1502, 3387, 30, 46506, 7536, 62, 1659...
Who wrote episode number 11?
SELECT "Written by" FROM table_31053 WHERE "No. in season" = '11'
[ 8241, 2630, 4471, 1271, 1367, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 26717, 4310, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1157, 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 ]
[ 8241, 2630, 4471, 1271, 1367, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 26717, 4310, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1157, 6 ]
presence of significant anemia ( hemoglobin < 11 g / dl )
SELECT * FROM table_train_207 WHERE anemia = 1 OR hemoglobin_a1c_hba1c < 11
[ 18302, 594, 286, 2383, 281, 22859, 357, 16869, 49835, 1279, 1367, 308, 1220, 288, 75, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 22745, 33411, 281, 22859, 796, 352, 6375, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 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, 1 ]
[ 18302, 594, 286, 2383, 281, 22859, 357, 16869, 49835, 1279, 1367, 308, 1220, 288, 75, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 22745, 33411, 281, 22859, 796, 352, 6375, 16869, 49835, 62, 64, 16, 66, 62, 71, 7012, 16, 66, 1279, ...
where was her first win ?
SELECT "location" FROM table_204_607 WHERE "place" = 1 ORDER BY "date" LIMIT 1
[ 3003, 373, 607, 717, 1592, 5633, 46506, 366, 24886, 1, 16034, 3084, 62, 18638, 62, 31980, 33411, 366, 5372, 1, 796, 352, 38678, 11050, 366, 4475, 1, 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 ]
[ 3003, 373, 607, 717, 1592, 5633, 46506, 366, 24886, 1, 16034, 3084, 62, 18638, 62, 31980, 33411, 366, 5372, 1, 796, 352, 38678, 11050, 366, 4475, 1, 27564, 2043, 352 ]
Who proceeded to the quarter finals with a points margin of 21?
SELECT proceed_to_quarter_final FROM table_27986200_3 WHERE points_margin = 21
[ 8241, 18814, 284, 262, 3860, 18576, 351, 257, 2173, 10330, 286, 2310, 30, 46506, 5120, 62, 1462, 62, 24385, 62, 20311, 16034, 3084, 62, 1983, 49087, 2167, 62, 18, 33411, 2173, 62, 36153, 796, 2310 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18814, 284, 262, 3860, 18576, 351, 257, 2173, 10330, 286, 2310, 30, 46506, 5120, 62, 1462, 62, 24385, 62, 20311, 16034, 3084, 62, 1983, 49087, 2167, 62, 18, 33411, 2173, 62, 36153, 796, 2310 ]
what were the three most frequently taken lab tests in 2104 for patients 50s?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND STRFTIME('%y', lab.labresulttime) = '2104' GROUP BY lab.labname) AS t1 WHERE t1.c1 <= 3
[ 10919, 547, 262, 1115, 749, 6777, 2077, 2248, 5254, 287, 362, 13464, 329, 3871, 2026, 82, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 1115, 749, 6777, 2077, 2248, 5254, 287, 362, 13464, 329, 3871, 2026, 82, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 110...
Which Release date has a Production Num larger than 5888, and a Director of hugh harman and friz freleng?
SELECT release_date FROM table_name_69 WHERE production_num > 5888 AND director = "hugh harman and friz freleng"
[ 13828, 13868, 3128, 468, 257, 19174, 31835, 4025, 621, 642, 28011, 11, 290, 257, 5890, 286, 289, 6724, 3971, 805, 290, 32803, 89, 2030, 75, 1516, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 3388, 33411, 3227, 62, 22510, 1875...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13868, 3128, 468, 257, 19174, 31835, 4025, 621, 642, 28011, 11, 290, 257, 5890, 286, 289, 6724, 3971, 805, 290, 32803, 89, 2030, 75, 1516, 30, 46506, 2650, 62, 4475, 16034, 3084, 62, 3672, 62, 3388, 33411, 3227, 62, 22510, 1875...
provide the number of patients aged below 76 years whose language is spanish.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "SPAN" AND demographic.age < "76"
[ 15234, 485, 262, 1271, 286, 3871, 9722, 2174, 8684, 812, 3025, 3303, 318, 599, 7115, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 4303, 1565, 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 ]
[ 15234, 485, 262, 1271, 286, 3871, 9722, 2174, 8684, 812, 3025, 3303, 318, 599, 7115, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 4303, 1565, 1, 5357, ...
What is the record for the w 100-99 score?
SELECT "Record" FROM table_47978 WHERE "Score" = 'w 100-99'
[ 2061, 318, 262, 1700, 329, 262, 266, 1802, 12, 2079, 4776, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 31714, 3695, 33411, 366, 26595, 1, 796, 705, 86, 1802, 12, 2079, 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, 318, 262, 1700, 329, 262, 266, 1802, 12, 2079, 4776, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 31714, 3695, 33411, 366, 26595, 1, 796, 705, 86, 1802, 12, 2079, 6 ]
How many weeks in total has bye as the date?
SELECT COUNT(week) FROM table_name_23 WHERE date = "bye"
[ 2437, 867, 2745, 287, 2472, 468, 33847, 355, 262, 3128, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 3128, 796, 366, 16390, 1 ]
[ 1, 1, 1, 1, 1, 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, 2745, 287, 2472, 468, 33847, 355, 262, 3128, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 3128, 796, 366, 16390, 1 ]
What is the average medal total when the rank is less than 5 and less than 7 bronze medals were won?
SELECT AVG("Total") FROM table_13102 WHERE "Rank" < '5' AND "Bronze" < '7'
[ 2061, 318, 262, 2811, 18279, 2472, 618, 262, 4279, 318, 1342, 621, 642, 290, 1342, 621, 767, 22101, 28057, 547, 1839, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 1485, 15377, 33411, 366, 27520, 1, 1279, 705, 20, 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 ]
[ 2061, 318, 262, 2811, 18279, 2472, 618, 262, 4279, 318, 1342, 621, 642, 290, 1342, 621, 767, 22101, 28057, 547, 1839, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 1485, 15377, 33411, 366, 27520, 1, 1279, 705, 20, 6, 5357, 366...
What tournament did Thomaz Bellucci become runner-up on a clay surface?
SELECT tournament FROM table_name_82 WHERE outcome = "runner-up" AND surface = "clay"
[ 2061, 7756, 750, 4323, 1031, 7459, 27501, 1716, 17490, 12, 929, 319, 257, 21558, 4417, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 6469, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 4417, 796, 366, 565, 323, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7756, 750, 4323, 1031, 7459, 27501, 1716, 17490, 12, 929, 319, 257, 21558, 4417, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 6469, 33411, 8055, 796, 366, 16737, 12, 929, 1, 5357, 4417, 796, 366, 565, 323, 1 ]
what is minimum age of patients whose discharge location is short term hospital and days of hospital stay is 20?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.days_stay = "20"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 17655, 4067, 318, 1790, 3381, 4436, 290, 1528, 286, 4436, 2652, 318, 1160, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 9693, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17655, 4067, 318, 1790, 3381, 4436, 290, 1528, 286, 4436, 2652, 318, 1160, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62, 24886, 796, 366, 9693, 9...
How many assists were made in the game against San Antonio?
SELECT COUNT("High assists") FROM table_21548 WHERE "Team" = 'San Antonio'
[ 2437, 867, 13648, 547, 925, 287, 262, 983, 1028, 2986, 11366, 30, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 23349, 2780, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 13648, 547, 925, 287, 262, 983, 1028, 2986, 11366, 30, 46506, 327, 28270, 7203, 11922, 13648, 4943, 16034, 3084, 62, 23349, 2780, 33411, 366, 15592, 1, 796, 705, 15017, 11366, 6 ]
What is the leading cause of wildfires?
SELECT stat_cause_descr FROM fires GROUP BY stat_cause_descr ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 3756, 2728, 286, 48298, 30, 46506, 1185, 62, 25587, 62, 20147, 81, 16034, 12252, 44441, 11050, 1185, 62, 25587, 62, 20147, 81, 38678, 11050, 327, 28270, 7, 28104, 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 ]
[ 2061, 318, 262, 3756, 2728, 286, 48298, 30, 46506, 1185, 62, 25587, 62, 20147, 81, 16034, 12252, 44441, 11050, 1185, 62, 25587, 62, 20147, 81, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
What type of Bridge is in Stanley?
SELECT "Type" FROM table_45895 WHERE "Location" = 'stanley'
[ 2061, 2099, 286, 10290, 318, 287, 14167, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 29334, 3865, 33411, 366, 14749, 1, 796, 705, 14192, 1636, 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, 2099, 286, 10290, 318, 287, 14167, 30, 46506, 366, 6030, 1, 16034, 3084, 62, 29334, 3865, 33411, 366, 14749, 1, 796, 705, 14192, 1636, 6 ]
Name the average Bronze when silver is more than 3, gold is more than 1 and the total is 14
SELECT AVG("Bronze") FROM table_34278 WHERE "Gold" > '1' AND "Total" = '14' AND "Silver" > '3'
[ 5376, 262, 2811, 19461, 618, 8465, 318, 517, 621, 513, 11, 3869, 318, 517, 621, 352, 290, 262, 2472, 318, 1478, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2682, 25870, 33411, 366, 13306, 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 ]
[ 5376, 262, 2811, 19461, 618, 8465, 318, 517, 621, 513, 11, 3869, 318, 517, 621, 352, 290, 262, 2472, 318, 1478, 46506, 35224, 7203, 18760, 2736, 4943, 16034, 3084, 62, 2682, 25870, 33411, 366, 13306, 1, 1875, 705, 16, 6, 5357, 366, ...
What is the affiliation of a location called Issaquah?
SELECT "Affiliation" FROM table_75459 WHERE "Location" = 'issaquah'
[ 2061, 318, 262, 26218, 286, 257, 4067, 1444, 10585, 36129, 993, 30, 46506, 366, 35191, 15547, 1, 16034, 3084, 62, 2425, 33459, 33411, 366, 14749, 1, 796, 705, 13808, 421, 993, 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, 318, 262, 26218, 286, 257, 4067, 1444, 10585, 36129, 993, 30, 46506, 366, 35191, 15547, 1, 16034, 3084, 62, 2425, 33459, 33411, 366, 14749, 1, 796, 705, 13808, 421, 993, 6 ]
has patient 006-167444 received a nicotine patch procedure in the other hospitals in 2105?
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.uniquepid = '006-167444' AND patient.hospitalid <> (SELECT DISTINCT patient.hospitalid FROM patient WHERE patient.uniquepid = '006-167444' AND patient.hospitaldischargetime IS NULL)) AND ...
[ 10134, 5827, 3571, 21, 12, 21940, 30272, 2722, 257, 21856, 8529, 8771, 287, 262, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 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...
[ 10134, 5827, 3571, 21, 12, 21940, 30272, 2722, 257, 21856, 8529, 8771, 287, 262, 584, 11301, 287, 362, 13348, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13...
What was the score on 6 February 2008?
SELECT score FROM table_name_35 WHERE date = "6 february 2008"
[ 2061, 373, 262, 4776, 319, 718, 3945, 3648, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 21, 730, 65, 3728, 3648, 1 ]
[ 1, 1, 1, 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, 4776, 319, 718, 3945, 3648, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2327, 33411, 3128, 796, 366, 21, 730, 65, 3728, 3648, 1 ]
What opponent has a record of 86-62?
SELECT opponent FROM table_name_73 WHERE record = "86-62"
[ 2061, 6125, 468, 257, 1700, 286, 9849, 12, 5237, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4790, 33411, 1700, 796, 366, 4521, 12, 5237, 1 ]
[ 1, 1, 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, 6125, 468, 257, 1700, 286, 9849, 12, 5237, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 4790, 33411, 1700, 796, 366, 4521, 12, 5237, 1 ]
What is 2004, when 2003 is '1R', and when 2006 is 'A'?
SELECT "2004" FROM table_48505 WHERE "2003" = '1r' AND "2006" = 'a'
[ 2061, 318, 5472, 11, 618, 5816, 318, 705, 16, 49, 3256, 290, 618, 4793, 318, 705, 32, 30960, 46506, 366, 15724, 1, 16034, 3084, 62, 2780, 31654, 33411, 366, 16088, 1, 796, 705, 16, 81, 6, 5357, 366, 13330, 1, 796, 705, 64, 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 ]
[ 2061, 318, 5472, 11, 618, 5816, 318, 705, 16, 49, 3256, 290, 618, 4793, 318, 705, 32, 30960, 46506, 366, 15724, 1, 16034, 3084, 62, 2780, 31654, 33411, 366, 16088, 1, 796, 705, 16, 81, 6, 5357, 366, 13330, 1, 796, 705, 64, 6 ]
mention the days of hospital stay and discharge location of patient id 17787.
SELECT demographic.days_stay, demographic.discharge_location FROM demographic WHERE demographic.subject_id = "17787"
[ 434, 295, 262, 1528, 286, 4436, 2652, 290, 17655, 4067, 286, 5827, 4686, 1596, 41019, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1558, 41019, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 434, 295, 262, 1528, 286, 4436, 2652, 290, 17655, 4067, 286, 5827, 4686, 1596, 41019, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 10136, 62, 24886, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 1558, 41019, ...
Which player was transferred to Reggina?
SELECT "Player" FROM table_49989 WHERE "To club" = 'reggina'
[ 13828, 2137, 373, 11172, 284, 797, 1130, 1437, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 28324, 4531, 33411, 366, 2514, 3430, 1, 796, 705, 260, 1130, 1437, 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 ]
[ 13828, 2137, 373, 11172, 284, 797, 1130, 1437, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 28324, 4531, 33411, 366, 2514, 3430, 1, 796, 705, 260, 1130, 1437, 6 ]
show me the flights before 800 on 8 2 from BOSTON to DENVER on DL
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, date_day, days, flight WHERE (((date_day.day_number = 2 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 12860, 502, 262, 13956, 878, 10460, 319, 807, 362, 422, 347, 10892, 1340, 284, 37692, 5959, 319, 23641, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 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...
[ 12860, 502, 262, 13956, 878, 10460, 319, 807, 362, 422, 347, 10892, 1340, 284, 37692, 5959, 319, 23641, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, ...
For those employees who did not have any job in the past, return a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id, and order by the X in asc.
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 750, 407, 423, 597, 1693, 287, 262, 1613, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2160, 286, 5011, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262,...
give me the number of patients whose age is less than 27 and diagnoses long title is tietze's disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "27" AND diagnoses.long_title = "Tietze's disease"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 2681, 290, 40567, 890, 3670, 318, 256, 1155, 2736, 338, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 2681, 290, 40567, 890, 3670, 318, 256, 1155, 2736, 338, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357...
What's the total Lost with Games that's less than 4?
SELECT SUM(lost) FROM table_name_23 WHERE games < 4
[ 2061, 338, 262, 2472, 9164, 351, 5776, 326, 338, 1342, 621, 604, 30, 46506, 35683, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 1830, 1279, 604 ]
[ 1, 1, 1, 1, 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, 338, 262, 2472, 9164, 351, 5776, 326, 338, 1342, 621, 604, 30, 46506, 35683, 7, 33224, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 1830, 1279, 604 ]
find the name of all departments that do actually have one or more employees assigned to them.
SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id
[ 19796, 262, 1438, 286, 477, 13346, 326, 466, 1682, 423, 530, 393, 517, 4409, 8686, 284, 606, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 10378, 1823, 62, 3672, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 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 ]
[ 19796, 262, 1438, 286, 477, 13346, 326, 466, 1682, 423, 530, 393, 517, 4409, 8686, 284, 606, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 10378, 1823, 62, 3672, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 6177, ...
what is patient 22648's minimum value of urea nitrogen, urine in this month?
SELECT MIN(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 22648) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'urea nitrogen, urine') AND DATETIME(labevents.charttime, 'start of month') ...
[ 10919, 318, 5827, 31510, 2780, 338, 5288, 1988, 286, 334, 21468, 23417, 11, 18922, 287, 428, 1227, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 31510, 2780, 338, 5288, 1988, 286, 334, 21468, 23417, 11, 18922, 287, 428, 1227, 30, 46506, 20625, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268, 357, 4...
Find the name of customer who has the lowest credit score.
SELECT cust_name FROM customer ORDER BY credit_score LIMIT 1
[ 16742, 262, 1438, 286, 6491, 508, 468, 262, 9016, 3884, 4776, 13, 46506, 9378, 62, 3672, 16034, 6491, 38678, 11050, 3884, 62, 26675, 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 ]
[ 16742, 262, 1438, 286, 6491, 508, 468, 262, 9016, 3884, 4776, 13, 46506, 9378, 62, 3672, 16034, 6491, 38678, 11050, 3884, 62, 26675, 27564, 2043, 352 ]
Can you tell me the sum of Grid that has the Manufacturer of aprilia, and the sandro cortese?
SELECT SUM(grid) FROM table_name_96 WHERE manufacturer = "aprilia" AND rider = "sandro cortese"
[ 6090, 345, 1560, 502, 262, 2160, 286, 24846, 326, 468, 262, 40218, 286, 46593, 17517, 11, 290, 262, 6450, 305, 12794, 2771, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 11554, 796, 366, 499, 81, 17517, 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 ]
[ 6090, 345, 1560, 502, 262, 2160, 286, 24846, 326, 468, 262, 40218, 286, 46593, 17517, 11, 290, 262, 6450, 305, 12794, 2771, 30, 46506, 35683, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 11554, 796, 366, 499, 81, 17517, 1, 5...
What is the score of the game with the chicago black hawks as the visitor and a 3-1 record?
SELECT "Score" FROM table_59586 WHERE "Visitor" = 'chicago black hawks' AND "Record" = '3-1'
[ 2061, 318, 262, 4776, 286, 262, 983, 351, 262, 442, 4549, 2042, 23185, 591, 355, 262, 21493, 290, 257, 513, 12, 16, 1700, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3270, 29796, 33411, 366, 15854, 2072, 1, 796, 705, 354, 4549, 2042,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 286, 262, 983, 351, 262, 442, 4549, 2042, 23185, 591, 355, 262, 21493, 290, 257, 513, 12, 16, 1700, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3270, 29796, 33411, 366, 15854, 2072, 1, 796, 705, 354, 4549, 2042,...
what is the number of patients on tp route of drug administration who are diagnosed with acute on chronic combined systolic and diastolic heart failure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Ac/chr syst/dia hrt fail" AND prescriptions.route = "TP"
[ 10919, 318, 262, 1271, 286, 3871, 319, 256, 79, 6339, 286, 2563, 3662, 508, 389, 14641, 351, 14352, 319, 10726, 5929, 827, 301, 4160, 290, 2566, 459, 4160, 2612, 5287, 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...
[ 10919, 318, 262, 1271, 286, 3871, 319, 256, 79, 6339, 286, 2563, 3662, 508, 389, 14641, 351, 14352, 319, 10726, 5929, 827, 301, 4160, 290, 2566, 459, 4160, 2612, 5287, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about the sum of employee_id over the hire_date bin hire_date by time by a bar chart, and could you sort from low to high by the y axis?
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(EMPLOYEE_ID)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2160, 286, 6538, 62, 312, 625, 262, 11078, 62, 4475, 9874, 11078, 62, 4475, 416, 640, 416, ...
What are the classes that Dr. Jonathan Marwil taught in the past ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course_offering.semester < (SELECT SEMESTERalias0.semester_id FROM semester AS SEMESTERalias0 WHERE SEMESTERalias0.semester = 'WN' AND SEMESTERalias0.year = 2016) AND course.course_id = cour...
[ 2061, 389, 262, 6097, 326, 1583, 13, 11232, 1526, 86, 346, 7817, 287, 262, 1613, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6097, 326, 1583, 13, 11232, 1526, 86, 346, 7817, 287, 262, 1613, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 1...
What is footscray's away team score?
SELECT away_team AS score FROM table_name_66 WHERE home_team = "footscray"
[ 2061, 318, 2366, 1416, 2433, 338, 1497, 1074, 4776, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2791, 33411, 1363, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2366, 1416, 2433, 338, 1497, 1074, 4776, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2791, 33411, 1363, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
Show me about the correlation between Body_Builder_ID and Total in a scatter chart.
SELECT Body_Builder_ID, Total FROM body_builder
[ 15307, 502, 546, 262, 16096, 1022, 12290, 62, 32875, 62, 2389, 290, 7472, 287, 257, 41058, 8262, 13, 46506, 12290, 62, 32875, 62, 2389, 11, 7472, 16034, 1767, 62, 38272 ]
[ 1, 1, 1, 1, 1, 1, 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, 502, 546, 262, 16096, 1022, 12290, 62, 32875, 62, 2389, 290, 7472, 287, 257, 41058, 8262, 13, 46506, 12290, 62, 32875, 62, 2389, 11, 7472, 16034, 1767, 62, 38272 ]
what is the cost for the hospital stay of patient 005-69150 during the first hospital visit?
SELECT SUM(cost.cost) FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '005-69150' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)
[ 10919, 318, 262, 1575, 329, 262, 4436, 2652, 286, 5827, 3571, 20, 12, 3388, 8628, 1141, 262, 717, 4436, 3187, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 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, 1, 1...
[ 10919, 318, 262, 1575, 329, 262, 4436, 2652, 286, 5827, 3571, 20, 12, 3388, 8628, 1141, 262, 717, 4436, 3187, 30, 46506, 35683, 7, 15805, 13, 15805, 8, 16034, 1575, 33411, 1575, 13, 26029, 13948, 10057, 31712, 312, 3268, 357, 46506, 5...
Who was the constructor of the car that Jan Lammers made 7-14 rounds in?
SELECT "Constructor" FROM table_52992 WHERE "Driver" = 'jan lammers' AND "Rounds" = '7-14'
[ 8241, 373, 262, 23772, 286, 262, 1097, 326, 2365, 406, 36846, 925, 767, 12, 1415, 9196, 287, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 49721, 5892, 33411, 366, 32103, 1, 796, 705, 13881, 300, 36846, 6, 5357, 366, 49, 3733, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23772, 286, 262, 1097, 326, 2365, 406, 36846, 925, 767, 12, 1415, 9196, 287, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 49721, 5892, 33411, 366, 32103, 1, 796, 705, 13881, 300, 36846, 6, 5357, 366, 49, 3733, 1, ...
tell me the top four most common diagnoses for the patients in the 30s until 1 year ago?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 30 AND 39) AND DATETIME(diagnosis.diagnosistime) <= DATETIME(CURRENT_TIME(), '-1 yea...
[ 33331, 502, 262, 1353, 1440, 749, 2219, 40567, 329, 262, 3871, 287, 262, 1542, 82, 1566, 352, 614, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1353, 1440, 749, 2219, 40567, 329, 262, 3871, 287, 262, 1542, 82, 1566, 352, 614, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, ...
When was the game played in Zagreb?
SELECT "Date" FROM table_4997 WHERE "City" = 'zagreb'
[ 2215, 373, 262, 983, 2826, 287, 1168, 363, 34806, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 28324, 22, 33411, 366, 14941, 1, 796, 705, 50183, 34806, 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 ]
[ 2215, 373, 262, 983, 2826, 287, 1168, 363, 34806, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 28324, 22, 33411, 366, 14941, 1, 796, 705, 50183, 34806, 6 ]
how many nations have at least 20 gold medals ?
SELECT COUNT("nation") FROM table_203_612 WHERE "gold" >= 20
[ 4919, 867, 7027, 423, 379, 1551, 1160, 3869, 28057, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 22416, 62, 43610, 33411, 366, 24267, 1, 18189, 1160 ]
[ 1, 1, 1, 1, 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, 7027, 423, 379, 1551, 1160, 3869, 28057, 5633, 46506, 327, 28270, 7203, 25729, 4943, 16034, 3084, 62, 22416, 62, 43610, 33411, 366, 24267, 1, 18189, 1160 ]
Calculate the number of patients less than 82 years with a bactss drug code.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "82" AND prescriptions.formulary_drug_cd = "BACTSS"
[ 9771, 3129, 378, 262, 1271, 286, 3871, 1342, 621, 9415, 812, 351, 257, 275, 529, 824, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1342, 621, 9415, 812, 351, 257, 275, 529, 824, 2563, 2438, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177, 16728...
Show all majors.
SELECT DISTINCT major FROM student
[ 15307, 477, 26353, 13, 46506, 360, 8808, 1268, 4177, 1688, 16034, 3710 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 26353, 13, 46506, 360, 8808, 1268, 4177, 1688, 16034, 3710 ]
How many female people are older than 30 in our record?
SELECT COUNT(*) FROM people WHERE is_male = 'F' AND age > 30
[ 2437, 867, 4048, 661, 389, 4697, 621, 1542, 287, 674, 1700, 30, 46506, 327, 28270, 7, 28104, 16034, 661, 33411, 318, 62, 22606, 796, 705, 37, 6, 5357, 2479, 1875, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 4048, 661, 389, 4697, 621, 1542, 287, 674, 1700, 30, 46506, 327, 28270, 7, 28104, 16034, 661, 33411, 318, 62, 22606, 796, 705, 37, 6, 5357, 2479, 1875, 1542 ]
What is the number of games for Shaun Stonerook?
SELECT MIN(games) FROM table_name_86 WHERE name = "shaun stonerook"
[ 2061, 318, 262, 1271, 286, 1830, 329, 35188, 520, 14491, 566, 30, 46506, 20625, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 1438, 796, 366, 1477, 1942, 336, 14491, 566, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1830, 329, 35188, 520, 14491, 566, 30, 46506, 20625, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 4521, 33411, 1438, 796, 366, 1477, 1942, 336, 14491, 566, 1 ]
Name the position for 23.7 avg start
SELECT COUNT(position) FROM table_2181798_1 WHERE avg_start = "23.7"
[ 5376, 262, 2292, 329, 2242, 13, 22, 42781, 923, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 28727, 1558, 4089, 62, 16, 33411, 42781, 62, 9688, 796, 366, 1954, 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 ]
[ 5376, 262, 2292, 329, 2242, 13, 22, 42781, 923, 46506, 327, 28270, 7, 9150, 8, 16034, 3084, 62, 28727, 1558, 4089, 62, 16, 33411, 42781, 62, 9688, 796, 366, 1954, 13, 22, 1 ]
What is Team, when High Points is 'Tracy McGrady (24)'?
SELECT team FROM table_name_49 WHERE high_points = "tracy mcgrady (24)"
[ 2061, 318, 4816, 11, 618, 3334, 11045, 318, 705, 2898, 1590, 41114, 4597, 357, 1731, 8, 30960, 46506, 1074, 16034, 3084, 62, 3672, 62, 2920, 33411, 1029, 62, 13033, 796, 366, 2213, 1590, 36650, 2164, 4597, 357, 1731, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 4816, 11, 618, 3334, 11045, 318, 705, 2898, 1590, 41114, 4597, 357, 1731, 8, 30960, 46506, 1074, 16034, 3084, 62, 3672, 62, 2920, 33411, 1029, 62, 13033, 796, 366, 2213, 1590, 36650, 2164, 4597, 357, 1731, 16725 ]
Which Overall has a Round larger than 7, a Pick larger than 13, and a Name of tony hall?
SELECT AVG(overall) FROM table_name_88 WHERE round > 7 AND pick > 13 AND name = "tony hall"
[ 13828, 14674, 468, 257, 10485, 4025, 621, 767, 11, 257, 12346, 4025, 621, 1511, 11, 290, 257, 6530, 286, 256, 1647, 6899, 30, 46506, 35224, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2835, 1875, 767, 5357, 2298, 1875, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14674, 468, 257, 10485, 4025, 621, 767, 11, 257, 12346, 4025, 621, 1511, 11, 290, 257, 6530, 286, 256, 1647, 6899, 30, 46506, 35224, 7, 2502, 439, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 2835, 1875, 767, 5357, 2298, 1875, ...
For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by weekday, list the average of employee id in descending order.
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(EMPLOYEE_ID) DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 1351, 262, 2811, 286, 6538,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 1351, 262, 2811, 286, 6538,...
What score did the year 1948 have?
SELECT score FROM table_name_21 WHERE year = "1948"
[ 2061, 4776, 750, 262, 614, 21794, 423, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 614, 796, 366, 1129, 2780, 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, 4776, 750, 262, 614, 21794, 423, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2481, 33411, 614, 796, 366, 1129, 2780, 1 ]
What venue had south melbourne as the home team?
SELECT "Venue" FROM table_32254 WHERE "Home team" = 'south melbourne'
[ 2061, 14359, 550, 5366, 7758, 12544, 355, 262, 1363, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2624, 24970, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 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, 14359, 550, 5366, 7758, 12544, 355, 262, 1363, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2624, 24970, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
how many times is the nation listed as united states with the total more than 1?
SELECT COUNT(silver) FROM table_name_44 WHERE nation = "united states" AND total > 1
[ 4919, 867, 1661, 318, 262, 3277, 5610, 355, 16503, 2585, 351, 262, 2472, 517, 621, 352, 30, 46506, 327, 28270, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 3277, 796, 366, 41187, 2585, 1, 5357, 2472, 1875, 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, 1, 1, 1, 1 ]
[ 4919, 867, 1661, 318, 262, 3277, 5610, 355, 16503, 2585, 351, 262, 2472, 517, 621, 352, 30, 46506, 327, 28270, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 3277, 796, 366, 41187, 2585, 1, 5357, 2472, 1875, 352 ]
What is the population density of bandung regency?
SELECT "Population density (/km\u00b2 2010)" FROM table_73333 WHERE "Administrative division" = 'Bandung Regency'
[ 2061, 318, 262, 3265, 12109, 286, 4097, 2150, 842, 1387, 30, 46506, 366, 45251, 12109, 50247, 13276, 59, 84, 405, 65, 17, 3050, 16725, 16034, 3084, 62, 22, 24840, 33411, 366, 41862, 13260, 7297, 1, 796, 705, 31407, 2150, 3310, 1387, 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 ]
[ 2061, 318, 262, 3265, 12109, 286, 4097, 2150, 842, 1387, 30, 46506, 366, 45251, 12109, 50247, 13276, 59, 84, 405, 65, 17, 3050, 16725, 16034, 3084, 62, 22, 24840, 33411, 366, 41862, 13260, 7297, 1, 796, 705, 31407, 2150, 3310, 1387, 6...
What year was best costume design the award category?
SELECT "Year" FROM table_41383 WHERE "Category" = 'best costume design'
[ 2061, 614, 373, 1266, 16569, 1486, 262, 5764, 6536, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 44103, 5999, 33411, 366, 27313, 1, 796, 705, 13466, 16569, 1486, 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 ]
[ 2061, 614, 373, 1266, 16569, 1486, 262, 5764, 6536, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 44103, 5999, 33411, 366, 27313, 1, 796, 705, 13466, 16569, 1486, 6 ]
What is the Jump 2 of the person that has a Jump 1 of 7.14
SELECT jump_2 FROM table_name_58 WHERE jump_1 = "7.14"
[ 2061, 318, 262, 15903, 362, 286, 262, 1048, 326, 468, 257, 15903, 352, 286, 767, 13, 1415, 46506, 4391, 62, 17, 16034, 3084, 62, 3672, 62, 3365, 33411, 4391, 62, 16, 796, 366, 22, 13, 1415, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15903, 362, 286, 262, 1048, 326, 468, 257, 15903, 352, 286, 767, 13, 1415, 46506, 4391, 62, 17, 16034, 3084, 62, 3672, 62, 3365, 33411, 4391, 62, 16, 796, 366, 22, 13, 1415, 1 ]
What is the position of the player from round 2 from Sweden?
SELECT position FROM table_name_21 WHERE round = 2 AND nationality = "sweden"
[ 2061, 318, 262, 2292, 286, 262, 2137, 422, 2835, 362, 422, 10710, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2481, 33411, 2835, 796, 362, 5357, 29835, 796, 366, 2032, 31829, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 286, 262, 2137, 422, 2835, 362, 422, 10710, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 2481, 33411, 2835, 796, 362, 5357, 29835, 796, 366, 2032, 31829, 1 ]
could you please tell me the first flight leaving BALTIMORE to SAN FRANCISCO on a 747 on 8 27
SELECT DISTINCT flight.flight_id FROM aircraft, airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, equipment_sequence, flight WHERE (((aircraft.basic_type = '747' AND date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 ...
[ 24089, 345, 3387, 1560, 502, 262, 717, 5474, 4305, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 319, 257, 45600, 319, 807, 2681, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 9003, 62, 15271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 24089, 345, 3387, 1560, 502, 262, 717, 5474, 4305, 347, 31429, 3955, 6965, 284, 37376, 8782, 20940, 1797, 8220, 319, 257, 45600, 319, 807, 2681, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 6215, 11, 9003, 62, 15271, ...