instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
SELECT status FROM table_1341522_50 WHERE opponent = "Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%"
[ 2061, 373, 262, 1255, 286, 262, 3071, 286, 2205, 19338, 654, 357, 81, 8, 7192, 13, 18, 4, 474, 323, 1035, 7197, 357, 67, 8, 6337, 13, 22, 4, 46506, 3722, 16034, 3084, 62, 19880, 1314, 1828, 62, 1120, 33411, 6125, 796, 366, 23579, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 286, 262, 3071, 286, 2205, 19338, 654, 357, 81, 8, 7192, 13, 18, 4, 474, 323, 1035, 7197, 357, 67, 8, 6337, 13, 22, 4, 46506, 3722, 16034, 3084, 62, 19880, 1314, 1828, 62, 1120, 33411, 6125, 796, 366, 23579, ...
which other team 's stadium has the same capacity as didcot town 's stadium ?
SELECT "stadium" FROM table_204_750 WHERE "team" <> 'didcot town' AND "capacity" = (SELECT "capacity" FROM table_204_750 WHERE "team" = 'didcot town')
[ 4758, 584, 1074, 705, 82, 10308, 468, 262, 976, 5339, 355, 750, 25557, 3240, 705, 82, 10308, 5633, 46506, 366, 301, 6271, 1, 16034, 3084, 62, 18638, 62, 15426, 33411, 366, 15097, 1, 1279, 29, 705, 20839, 25557, 3240, 6, 5357, 366, 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...
[ 4758, 584, 1074, 705, 82, 10308, 468, 262, 976, 5339, 355, 750, 25557, 3240, 705, 82, 10308, 5633, 46506, 366, 301, 6271, 1, 16034, 3084, 62, 18638, 62, 15426, 33411, 366, 15097, 1, 1279, 29, 705, 20839, 25557, 3240, 6, 5357, 366, 4...
In every semester , can you take ENDODONT 651 ?
SELECT COUNT(*) > 0 FROM semester WHERE NOT semester IN (SELECT DISTINCT SEMESTERalias1.semester FROM course AS COURSEalias0, course_offering AS COURSE_OFFERINGalias0, semester AS SEMESTERalias1 WHERE COURSEalias0.course_id = COURSE_OFFERINGalias0.course_id AND COURSEalias0.department = 'ENDODONT' AND COURSEalias0.numb...
[ 818, 790, 24878, 837, 460, 345, 1011, 23578, 3727, 35830, 718, 4349, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24878, 33411, 5626, 24878, 3268, 357, 46506, 360, 8808, 1268, 4177, 48603, 1546, 5781, 26011, 16, 13, 325, 6880, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 818, 790, 24878, 837, 460, 345, 1011, 23578, 3727, 35830, 718, 4349, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24878, 33411, 5626, 24878, 3268, 357, 46506, 360, 8808, 1268, 4177, 48603, 1546, 5781, 26011, 16, 13, 325, 6880, 3...
What number of win% has a postseason of did not qualify and rank larger than 8?
SELECT COUNT("Win%") FROM table_55620 WHERE "Postseason" = 'did not qualify' AND "Rank" > '8'
[ 2061, 1271, 286, 1592, 4, 468, 257, 22905, 286, 750, 407, 12780, 290, 4279, 4025, 621, 807, 30, 46506, 327, 28270, 7203, 16643, 4, 4943, 16034, 3084, 62, 37864, 1238, 33411, 366, 6307, 6230, 1, 796, 705, 20839, 407, 12780, 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 ]
[ 2061, 1271, 286, 1592, 4, 468, 257, 22905, 286, 750, 407, 12780, 290, 4279, 4025, 621, 807, 30, 46506, 327, 28270, 7203, 16643, 4, 4943, 16034, 3084, 62, 37864, 1238, 33411, 366, 6307, 6230, 1, 796, 705, 20839, 407, 12780, 6, 5357, ...
Which Score has an Opponent in the final of chris haggard robbie koenig?
SELECT score FROM table_name_17 WHERE opponent_in_the_final = "chris haggard robbie koenig"
[ 13828, 15178, 468, 281, 9385, 3471, 287, 262, 2457, 286, 442, 2442, 289, 9460, 446, 3857, 12590, 479, 6571, 328, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 354, 2442, 289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15178, 468, 281, 9385, 3471, 287, 262, 2457, 286, 442, 2442, 289, 9460, 446, 3857, 12590, 479, 6571, 328, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 1558, 33411, 6125, 62, 259, 62, 1169, 62, 20311, 796, 366, 354, 2442, 289, ...
What is the lowest attendance of a game that has the result of 2-0?
SELECT MIN("Attendance") FROM table_38002 WHERE "Result" = '2-0'
[ 2061, 318, 262, 9016, 14858, 286, 257, 983, 326, 468, 262, 1255, 286, 362, 12, 15, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2548, 21601, 33411, 366, 23004, 1, 796, 705, 17, 12, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 14858, 286, 257, 983, 326, 468, 262, 1255, 286, 362, 12, 15, 30, 46506, 20625, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 2548, 21601, 33411, 366, 23004, 1, 796, 705, 17, 12, 15, 6 ]
Tell me the highest league goals with total goals less than 1 and FA cups more than 0
SELECT MAX(league_goals) FROM table_name_67 WHERE total_goals < 1 AND fa_cup_goals > 0
[ 24446, 502, 262, 4511, 4652, 4661, 351, 2472, 4661, 1342, 621, 352, 290, 9677, 14180, 517, 621, 657, 46506, 25882, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2472, 62, 2188, 874, 1279, 352, 5357, 24685, 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 ]
[ 24446, 502, 262, 4511, 4652, 4661, 351, 2472, 4661, 1342, 621, 352, 290, 9677, 14180, 517, 621, 657, 46506, 25882, 7, 19316, 62, 2188, 874, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2472, 62, 2188, 874, 1279, 352, 5357, 24685, 62, ...
what is the name of the first competition on this chart ?
SELECT "competition" FROM table_204_4 WHERE id = 1
[ 10919, 318, 262, 1438, 286, 262, 717, 5449, 319, 428, 8262, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 19, 33411, 4686, 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 ]
[ 10919, 318, 262, 1438, 286, 262, 717, 5449, 319, 428, 8262, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 19, 33411, 4686, 796, 352 ]
how many days have passed since patient 015-23047 received enteral jevity 1.5 for the first time in the on the current icu visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', intakeoutput.intakeoutputtime)) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid =...
[ 4919, 867, 1528, 423, 3804, 1201, 5827, 5534, 20, 12, 19214, 2857, 2722, 920, 1691, 474, 1990, 414, 352, 13, 20, 329, 262, 717, 640, 287, 262, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 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...
[ 4919, 867, 1528, 423, 3804, 1201, 5827, 5534, 20, 12, 19214, 2857, 2722, 920, 1691, 474, 1990, 414, 352, 13, 20, 329, 262, 717, 640, 287, 262, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4,...
How many bronze medals for Romania when the silver count is more than 1?
SELECT AVG(bronze) FROM table_name_96 WHERE nation = "romania" AND silver > 1
[ 2437, 867, 22101, 28057, 329, 23356, 618, 262, 8465, 954, 318, 517, 621, 352, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3277, 796, 366, 398, 5411, 1, 5357, 8465, 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 ]
[ 2437, 867, 22101, 28057, 329, 23356, 618, 262, 8465, 954, 318, 517, 621, 352, 30, 46506, 35224, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4846, 33411, 3277, 796, 366, 398, 5411, 1, 5357, 8465, 1875, 352 ]
provide the number of patients whose lab test item id is 51200 and lab test abnormal status is delta.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.itemid = "51200" AND lab.flag = "delta"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2248, 1332, 2378, 4686, 318, 22243, 405, 290, 2248, 1332, 18801, 3722, 318, 25979, 13, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 2248, 1332, 2378, 4686, 318, 22243, 405, 290, 2248, 1332, 18801, 3722, 318, 25979, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Which nations have both hosts of age above 45 and hosts of age below 35?
SELECT nationality FROM host WHERE age > 45 INTERSECT SELECT nationality FROM host WHERE age < 35
[ 13828, 7027, 423, 1111, 11453, 286, 2479, 2029, 4153, 290, 11453, 286, 2479, 2174, 3439, 30, 46506, 29835, 16034, 2583, 33411, 2479, 1875, 4153, 17828, 4877, 9782, 33493, 29835, 16034, 2583, 33411, 2479, 1279, 3439 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7027, 423, 1111, 11453, 286, 2479, 2029, 4153, 290, 11453, 286, 2479, 2174, 3439, 30, 46506, 29835, 16034, 2583, 33411, 2479, 1875, 4153, 17828, 4877, 9782, 33493, 29835, 16034, 2583, 33411, 2479, 1279, 3439 ]
Show the name of technicians aged either 36 or 37
SELECT name FROM technician WHERE age = 36 OR age = 37
[ 15307, 262, 1438, 286, 33519, 9722, 2035, 4570, 393, 5214, 46506, 1438, 16034, 33024, 33411, 2479, 796, 4570, 6375, 2479, 796, 5214 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1438, 286, 33519, 9722, 2035, 4570, 393, 5214, 46506, 1438, 16034, 33024, 33411, 2479, 796, 4570, 6375, 2479, 796, 5214 ]
Tell me the nationality of pick 140
SELECT "Nationality" FROM table_4352 WHERE "Pick" = '140'
[ 24446, 502, 262, 29835, 286, 2298, 12713, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 19, 33394, 33411, 366, 31686, 1, 796, 705, 15187, 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 ]
[ 24446, 502, 262, 29835, 286, 2298, 12713, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 19, 33394, 33411, 366, 31686, 1, 796, 705, 15187, 6 ]
what was the last time patient 4401 intake time today?
SELECT inputevents_cv.charttime FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4401)) AND DATETIME(inputevents_cv.charttime, 'start of day') = DATETIME(CURRENT_TIME(), 'st...
[ 10919, 373, 262, 938, 640, 5827, 5846, 486, 10337, 640, 1909, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 640, 5827, 5846, 486, 10337, 640, 1909, 30, 46506, 287, 79, 1133, 85, 658, 62, 33967, 13, 40926, 2435, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 436, 323, 62...
Which airport has an ICAO of ybcg?
SELECT airport FROM table_name_11 WHERE icao = "ybcg"
[ 13828, 9003, 468, 281, 314, 8141, 46, 286, 331, 15630, 70, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 1157, 33411, 220, 3970, 78, 796, 366, 88, 15630, 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 ]
[ 13828, 9003, 468, 281, 314, 8141, 46, 286, 331, 15630, 70, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 1157, 33411, 220, 3970, 78, 796, 366, 88, 15630, 70, 1 ]
What is the total number of Round(s), when Time is 'N/A', when Location is 'Alabama , United States', and when Record is '1-2-0'?
SELECT COUNT("Round") FROM table_46465 WHERE "Time" = 'n/a' AND "Location" = 'alabama , united states' AND "Record" = '1-2-0'
[ 2061, 318, 262, 2472, 1271, 286, 10485, 7, 82, 828, 618, 3862, 318, 705, 45, 14, 32, 3256, 618, 13397, 318, 705, 49177, 837, 1578, 1829, 3256, 290, 618, 13266, 318, 705, 16, 12, 17, 12, 15, 30960, 46506, 327, 28270, 7203, 22685, 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...
[ 2061, 318, 262, 2472, 1271, 286, 10485, 7, 82, 828, 618, 3862, 318, 705, 45, 14, 32, 3256, 618, 13397, 318, 705, 49177, 837, 1578, 1829, 3256, 290, 618, 13266, 318, 705, 16, 12, 17, 12, 15, 30960, 46506, 327, 28270, 7203, 22685, 4...
At the rate where 1600kwh/kwp y is 26.3, what is the value of 2200 kwh/kwp y?
SELECT "2200 kWh/kWp\u2022y" FROM table_18910 WHERE "1600 kWh/kWp\u2022y" = '26.3'
[ 2953, 262, 2494, 810, 26143, 74, 1929, 14, 74, 24142, 331, 318, 2608, 13, 18, 11, 644, 318, 262, 1988, 286, 362, 2167, 479, 1929, 14, 74, 24142, 331, 30, 46506, 366, 34294, 49223, 14, 74, 54, 79, 59, 84, 1238, 1828, 88, 1, 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...
[ 2953, 262, 2494, 810, 26143, 74, 1929, 14, 74, 24142, 331, 318, 2608, 13, 18, 11, 644, 318, 262, 1988, 286, 362, 2167, 479, 1929, 14, 74, 24142, 331, 30, 46506, 366, 34294, 49223, 14, 74, 54, 79, 59, 84, 1238, 1828, 88, 1, 16034...
Name the unemployment rate for botetourt
SELECT unemployment_rate FROM table_22815568_12 WHERE county = "Botetourt"
[ 5376, 262, 10681, 2494, 329, 10214, 316, 15666, 46506, 10681, 62, 4873, 16034, 3084, 62, 23815, 18742, 3104, 62, 1065, 33411, 7968, 796, 366, 20630, 316, 15666, 1 ]
[ 1, 1, 1, 1, 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, 10681, 2494, 329, 10214, 316, 15666, 46506, 10681, 62, 4873, 16034, 3084, 62, 23815, 18742, 3104, 62, 1065, 33411, 7968, 796, 366, 20630, 316, 15666, 1 ]
What category was The Suite Life on Deck nominated for later than 2010?
SELECT "Category" FROM table_42896 WHERE "Recipient" = 'the suite life on deck' AND "Year" > '2010'
[ 2061, 6536, 373, 383, 26264, 5155, 319, 20961, 19332, 329, 1568, 621, 3050, 30, 46506, 366, 27313, 1, 16034, 3084, 62, 40173, 4846, 33411, 366, 6690, 48137, 1, 796, 705, 1169, 18389, 1204, 319, 6203, 6, 5357, 366, 17688, 1, 1875, 705,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6536, 373, 383, 26264, 5155, 319, 20961, 19332, 329, 1568, 621, 3050, 30, 46506, 366, 27313, 1, 16034, 3084, 62, 40173, 4846, 33411, 366, 6690, 48137, 1, 796, 705, 1169, 18389, 1204, 319, 6203, 6, 5357, 366, 17688, 1, 1875, 705,...
what is the correct year for # / county of 09 cass?
SELECT "Year Joined" FROM table_69434 WHERE "# / County" = '09 cass'
[ 10919, 318, 262, 3376, 614, 329, 1303, 1220, 7968, 286, 7769, 30606, 30, 46506, 366, 17688, 16709, 1, 16034, 3084, 62, 45214, 2682, 33411, 25113, 1220, 3418, 1, 796, 705, 2931, 30606, 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 ]
[ 10919, 318, 262, 3376, 614, 329, 1303, 1220, 7968, 286, 7769, 30606, 30, 46506, 366, 17688, 16709, 1, 16034, 3084, 62, 45214, 2682, 33411, 25113, 1220, 3418, 1, 796, 705, 2931, 30606, 6 ]
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
SELECT T2.emp_fname, T1.class_room FROM CLASS AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'
[ 16742, 262, 717, 3891, 286, 477, 20339, 287, 262, 40964, 5011, 508, 318, 7743, 617, 1781, 290, 262, 1398, 2119, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 4871, 62, 3823, 16034, 42715, 7054, 309, 16, 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...
[ 16742, 262, 717, 3891, 286, 477, 20339, 287, 262, 40964, 5011, 508, 318, 7743, 617, 1781, 290, 262, 1398, 2119, 13, 46506, 309, 17, 13, 45787, 62, 69, 3672, 11, 309, 16, 13, 4871, 62, 3823, 16034, 42715, 7054, 309, 16, 32357, 1268, ...
What is the Team for the player born in northfield, minnesota?
SELECT "Team" FROM table_7406 WHERE "Birthplace" = 'northfield, minnesota'
[ 2061, 318, 262, 4816, 329, 262, 2137, 4642, 287, 5093, 3245, 11, 949, 8360, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 22, 29703, 33411, 366, 38480, 5372, 1, 796, 705, 43588, 3245, 11, 949, 8360, 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, 4816, 329, 262, 2137, 4642, 287, 5093, 3245, 11, 949, 8360, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 22, 29703, 33411, 366, 38480, 5372, 1, 796, 705, 43588, 3245, 11, 949, 8360, 6 ]
What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is 'o / /'?
SELECT 17 AS th_c FROM table_name_76 WHERE initial_syllable_open_semi_open_unstressed_vowels = "o /ɵ/"
[ 2061, 318, 1596, 400, 269, 1539, 618, 20768, 12, 13940, 297, 540, 4946, 14, 13900, 72, 12, 11505, 791, 301, 2790, 569, 322, 1424, 318, 705, 78, 1220, 1220, 30960, 46506, 1596, 7054, 294, 62, 66, 16034, 3084, 62, 3672, 62, 4304, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1596, 400, 269, 1539, 618, 20768, 12, 13940, 297, 540, 4946, 14, 13900, 72, 12, 11505, 791, 301, 2790, 569, 322, 1424, 318, 705, 78, 1220, 1220, 30960, 46506, 1596, 7054, 294, 62, 66, 16034, 3084, 62, 3672, 62, 4304, 3341...
What Country's team is Rajasthan Royals at the 2008 Indian Premier League?
SELECT country FROM table_name_87 WHERE domestic_tournament = "2008 indian premier league" AND team = "rajasthan royals"
[ 2061, 12946, 338, 1074, 318, 13308, 292, 14813, 30245, 379, 262, 3648, 3942, 9952, 4041, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5774, 33411, 5928, 62, 83, 5138, 796, 366, 11528, 773, 666, 18256, 4652, 1, 5357, 1074, 796, 366, 430...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12946, 338, 1074, 318, 13308, 292, 14813, 30245, 379, 262, 3648, 3942, 9952, 4041, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5774, 33411, 5928, 62, 83, 5138, 796, 366, 11528, 773, 666, 18256, 4652, 1, 5357, 1074, 796, 366, 430...
Bar chart of the total number from each party
SELECT Party, COUNT(*) FROM representative GROUP BY Party
[ 10374, 8262, 286, 262, 2472, 1271, 422, 1123, 2151, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 8852, 44441, 11050, 3615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 286, 262, 2472, 1271, 422, 1123, 2151, 46506, 3615, 11, 327, 28270, 7, 28104, 16034, 8852, 44441, 11050, 3615 ]
What country has area of 7,914 m ?
SELECT country FROM table_name_64 WHERE area_in_m² = "7,914"
[ 2061, 1499, 468, 1989, 286, 767, 11, 24, 1415, 285, 5633, 46506, 1499, 16034, 3084, 62, 3672, 62, 2414, 33411, 1989, 62, 259, 62, 76, 31185, 796, 366, 22, 11, 24, 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 ]
[ 2061, 1499, 468, 1989, 286, 767, 11, 24, 1415, 285, 5633, 46506, 1499, 16034, 3084, 62, 3672, 62, 2414, 33411, 1989, 62, 259, 62, 76, 31185, 796, 366, 22, 11, 24, 1415, 1 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of headquarter and the average of manufacturer , and group by attribute headquarter, list Y in descending order.
SELECT Headquarter, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY AVG(Manufacturer) DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 1351, 575, 287, 31491, 1502, 13, 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, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1182, 24385, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 1351, 575, 287, 31491, 1502, 13, 46506...
List the competitor ranking with 900 defense points.
SELECT COUNT("Seed") FROM table_3049 WHERE "Points defending" = '900'
[ 8053, 262, 20319, 12759, 351, 15897, 3761, 2173, 13, 46506, 327, 28270, 7203, 50, 2308, 4943, 16034, 3084, 62, 1270, 2920, 33411, 366, 40710, 11749, 1, 796, 705, 12865, 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 ]
[ 8053, 262, 20319, 12759, 351, 15897, 3761, 2173, 13, 46506, 327, 28270, 7203, 50, 2308, 4943, 16034, 3084, 62, 1270, 2920, 33411, 366, 40710, 11749, 1, 796, 705, 12865, 6 ]
Name the total number of weeks for si te vas and peak less than 7 and year less than 2000
SELECT COUNT("Weeks on Chart") FROM table_75128 WHERE "Track" = 'si te vas' AND "Peak" < '7' AND "Year" < '2000'
[ 5376, 262, 2472, 1271, 286, 2745, 329, 33721, 573, 34439, 290, 9103, 1342, 621, 767, 290, 614, 1342, 621, 4751, 46506, 327, 28270, 7203, 1135, 2573, 319, 22086, 4943, 16034, 3084, 62, 2425, 12762, 33411, 366, 24802, 1, 796, 705, 13396, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 2745, 329, 33721, 573, 34439, 290, 9103, 1342, 621, 767, 290, 614, 1342, 621, 4751, 46506, 327, 28270, 7203, 1135, 2573, 319, 22086, 4943, 16034, 3084, 62, 2425, 12762, 33411, 366, 24802, 1, 796, 705, 13396, ...
What is the highest season for the 7th position?
SELECT MAX("Season") FROM table_57806 WHERE "Position" = '7th'
[ 2061, 318, 262, 4511, 1622, 329, 262, 767, 400, 2292, 30, 46506, 25882, 7203, 18960, 4943, 16034, 3084, 62, 3553, 37988, 33411, 366, 26545, 1, 796, 705, 22, 400, 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 ]
[ 2061, 318, 262, 4511, 1622, 329, 262, 767, 400, 2292, 30, 46506, 25882, 7203, 18960, 4943, 16034, 3084, 62, 3553, 37988, 33411, 366, 26545, 1, 796, 705, 22, 400, 6 ]
Who scored the high points in game 78?
SELECT "High points" FROM table_25818 WHERE "Game" = '78'
[ 8241, 7781, 262, 1029, 2173, 287, 983, 8699, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 25600, 1507, 33411, 366, 8777, 1, 796, 705, 3695, 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, 7781, 262, 1029, 2173, 287, 983, 8699, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 25600, 1507, 33411, 366, 8777, 1, 796, 705, 3695, 6 ]
How many courses are provided in each year? Visualize with a line chart, and order x-axis in descending order.
SELECT year, COUNT(*) FROM section GROUP BY year ORDER BY year DESC
[ 2437, 867, 10902, 389, 2810, 287, 1123, 614, 30, 15612, 1096, 351, 257, 1627, 8262, 11, 290, 1502, 2124, 12, 22704, 287, 31491, 1502, 13, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 614, 38678, 11050, 614, 22196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 389, 2810, 287, 1123, 614, 30, 15612, 1096, 351, 257, 1627, 8262, 11, 290, 1502, 2124, 12, 22704, 287, 31491, 1502, 13, 46506, 614, 11, 327, 28270, 7, 28104, 16034, 2665, 44441, 11050, 614, 38678, 11050, 614, 22196, ...
what was patient 035-11687's average systemicmean, on this month/19?
SELECT AVG(vitalperiodic.systemicmean) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-11687')) AND NOT vitalperiodic.systemicmean I...
[ 10919, 373, 5827, 657, 2327, 12, 1157, 39925, 338, 2811, 21971, 32604, 11, 319, 428, 1227, 14, 1129, 30, 46506, 35224, 7, 85, 1287, 41007, 291, 13, 10057, 291, 32604, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 208...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 657, 2327, 12, 1157, 39925, 338, 2811, 21971, 32604, 11, 319, 428, 1227, 14, 1129, 30, 46506, 35224, 7, 85, 1287, 41007, 291, 13, 10057, 291, 32604, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 208...
Count of posts with only one tag, grouped by tag.
SELECT COUNT(p.Id), p.Tags FROM Posts AS p WHERE NOT p.Tags LIKE '%><%' GROUP BY p.Tags ORDER BY COUNT(p.Id) DESC
[ 12332, 286, 6851, 351, 691, 530, 7621, 11, 32824, 416, 7621, 13, 46506, 327, 28270, 7, 79, 13, 7390, 828, 279, 13, 36142, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 36142, 34178, 705, 4, 6927, 4, 6, 44441, 11050, 279, 13, 36142,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12332, 286, 6851, 351, 691, 530, 7621, 11, 32824, 416, 7621, 13, 46506, 327, 28270, 7, 79, 13, 7390, 828, 279, 13, 36142, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 36142, 34178, 705, 4, 6927, 4, 6, 44441, 11050, 279, 13, 36142,...
Find the number of courses offered by Psychology department in each building with a bar chart, could you sort from high to low by the names?
SELECT building, COUNT(building) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY building ORDER BY building DESC
[ 16742, 262, 1271, 286, 10902, 4438, 416, 18430, 5011, 287, 1123, 2615, 351, 257, 2318, 8262, 11, 714, 345, 3297, 422, 1029, 284, 1877, 416, 262, 3891, 30, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 1781, 7054, 309, 16, 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...
[ 16742, 262, 1271, 286, 10902, 4438, 416, 18430, 5011, 287, 1123, 2615, 351, 257, 2318, 8262, 11, 714, 345, 3297, 422, 1029, 284, 1877, 416, 262, 3891, 30, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 1781, 7054, 309, 16, 32357, ...
what is the number of times patient 28443 produces a pre-admission output in the current hospital visit?
SELECT COUNT(*) FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 28443 AND admissions.dischtime IS NULL)) AND outputevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_...
[ 10919, 318, 262, 1271, 286, 1661, 5827, 2579, 34938, 11073, 257, 662, 12, 324, 3411, 5072, 287, 262, 1459, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 1661, 5827, 2579, 34938, 11073, 257, 662, 12, 324, 3411, 5072, 287, 262, 1459, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 16034, 38701, 1133, 85, 658, 33411, 38701, 1133, 85, 658, 13, 291, 436, 323, 62, ...
Which sign has a red border?
SELECT "Text/Symbol" FROM table_57202 WHERE "Border" = 'red'
[ 13828, 1051, 468, 257, 2266, 4865, 30, 46506, 366, 8206, 14, 13940, 23650, 1, 16034, 3084, 62, 3553, 19004, 33411, 366, 34189, 1, 796, 705, 445, 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 ]
[ 13828, 1051, 468, 257, 2266, 4865, 30, 46506, 366, 8206, 14, 13940, 23650, 1, 16034, 3084, 62, 3553, 19004, 33411, 366, 34189, 1, 796, 705, 445, 6 ]
how many women were above the age of 45 when executed ?
SELECT COUNT(*) FROM table_204_867 WHERE "age\n(at execution)" > 45
[ 4919, 867, 1466, 547, 2029, 262, 2479, 286, 4153, 618, 10945, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 23, 3134, 33411, 366, 496, 59, 77, 7, 265, 9706, 16725, 1875, 4153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1466, 547, 2029, 262, 2479, 286, 4153, 618, 10945, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 18638, 62, 23, 3134, 33411, 366, 496, 59, 77, 7, 265, 9706, 16725, 1875, 4153 ]
Are there classes I have to take before LACS 399 ?
SELECT DISTINCT COURSE_0.department, COURSE_0.name, COURSE_0.number FROM course AS COURSE_0, course AS COURSE_1, course_prerequisite WHERE COURSE_0.course_id = course_prerequisite.pre_course_id AND NOT COURSE_0.course_id IN (SELECT STUDENT_RECORDalias0.course_id FROM student_record AS STUDENT_RECORDalias0 WHERE STUDENT...
[ 8491, 612, 6097, 314, 423, 284, 1011, 878, 406, 2246, 50, 43927, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 373...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 6097, 314, 423, 284, 1011, 878, 406, 2246, 50, 43927, 5633, 46506, 360, 8808, 1268, 4177, 37384, 5188, 62, 15, 13, 10378, 1823, 11, 37384, 5188, 62, 15, 13, 3672, 11, 37384, 5188, 62, 15, 13, 17618, 16034, 1781, 7054, 373...
What is the decision of the game with an attendance greater than 19,883?
SELECT "Decision" FROM table_46726 WHERE "Attendance" > '19,883'
[ 2061, 318, 262, 2551, 286, 262, 983, 351, 281, 14858, 3744, 621, 678, 11, 49287, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 24669, 2075, 33411, 366, 8086, 437, 590, 1, 1875, 705, 1129, 11, 49287, 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 ]
[ 2061, 318, 262, 2551, 286, 262, 983, 351, 281, 14858, 3744, 621, 678, 11, 49287, 30, 46506, 366, 10707, 1166, 1, 16034, 3084, 62, 24669, 2075, 33411, 366, 8086, 437, 590, 1, 1875, 705, 1129, 11, 49287, 6 ]
Where the wins are 46, what is the win%?
SELECT "Win%" FROM table_40316 WHERE "Wins" = '46'
[ 8496, 262, 7864, 389, 6337, 11, 644, 318, 262, 1592, 4, 30, 46506, 366, 16643, 39658, 16034, 3084, 62, 31552, 1433, 33411, 366, 54, 1040, 1, 796, 705, 3510, 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 ]
[ 8496, 262, 7864, 389, 6337, 11, 644, 318, 262, 1592, 4, 30, 46506, 366, 16643, 39658, 16034, 3084, 62, 31552, 1433, 33411, 366, 54, 1040, 1, 796, 705, 3510, 6 ]
I want to know the crowd with a home team of carlton
SELECT SUM(crowd) FROM table_name_46 WHERE home_team = "carlton"
[ 40, 765, 284, 760, 262, 4315, 351, 257, 1363, 1074, 286, 1097, 75, 1122, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 1363, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 284, 760, 262, 4315, 351, 257, 1363, 1074, 286, 1097, 75, 1122, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 1363, 62, 15097, 796, 366, 66, 7063, 1122, 1 ]
10K votes in both directions.
SELECT Id AS "user_link", UpVotes, DownVotes, DisplayName FROM Users WHERE UpVotes >= 10000 AND DownVotes >= 10000
[ 940, 42, 5690, 287, 1111, 11678, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 3205, 53, 6421, 11, 5588, 53, 6421, 11, 16531, 5376, 16034, 18987, 33411, 3205, 53, 6421, 18189, 33028, 5357, 5588, 53, 6421, 18189, 33028 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 940, 42, 5690, 287, 1111, 11678, 13, 46506, 5121, 7054, 366, 7220, 62, 8726, 1600, 3205, 53, 6421, 11, 5588, 53, 6421, 11, 16531, 5376, 16034, 18987, 33411, 3205, 53, 6421, 18189, 33028, 5357, 5588, 53, 6421, 18189, 33028 ]
Who was the away team at Arden Street Oval?
SELECT "Away team" FROM table_55783 WHERE "Venue" = 'arden street oval'
[ 8241, 373, 262, 1497, 1074, 379, 943, 6559, 3530, 25165, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2816, 50165, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 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 ]
[ 8241, 373, 262, 1497, 1074, 379, 943, 6559, 3530, 25165, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2816, 50165, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 6 ]
List name and damage for all storms in a descending order of max speed with a bar chart.
SELECT Name, Damage_millions_USD FROM storm ORDER BY Max_speed DESC
[ 8053, 1438, 290, 2465, 329, 477, 20228, 287, 257, 31491, 1502, 286, 3509, 2866, 351, 257, 2318, 8262, 13, 46506, 6530, 11, 8995, 62, 17805, 507, 62, 29072, 16034, 6388, 38678, 11050, 5436, 62, 12287, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 2465, 329, 477, 20228, 287, 257, 31491, 1502, 286, 3509, 2866, 351, 257, 2318, 8262, 13, 46506, 6530, 11, 8995, 62, 17805, 507, 62, 29072, 16034, 6388, 38678, 11050, 5436, 62, 12287, 22196, 34 ]
What is the lowest score that has t10 as the place, with Ireland as the country?
SELECT MIN(score) FROM table_name_79 WHERE place = "t10" AND country = "ireland"
[ 2061, 318, 262, 9016, 4776, 326, 468, 256, 940, 355, 262, 1295, 11, 351, 7517, 355, 262, 1499, 30, 46506, 20625, 7, 26675, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 1295, 796, 366, 83, 940, 1, 5357, 1499, 796, 366, 557, 1044, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4776, 326, 468, 256, 940, 355, 262, 1295, 11, 351, 7517, 355, 262, 1499, 30, 46506, 20625, 7, 26675, 8, 16034, 3084, 62, 3672, 62, 3720, 33411, 1295, 796, 366, 83, 940, 1, 5357, 1499, 796, 366, 557, 1044, 1 ]
what is the maximum age of married patients whose admission year is in or after 2184?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admityear >= "2184"
[ 10919, 318, 262, 5415, 2479, 286, 6405, 3871, 3025, 13938, 614, 318, 287, 393, 706, 362, 22883, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5415, 2479, 286, 6405, 3871, 3025, 13938, 614, 318, 287, 393, 706, 362, 22883, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 40569, 7112, 1961, 1, 5357, ...
What is the 1995 Album?
SELECT album FROM table_name_22 WHERE year = 1995
[ 2061, 318, 262, 8735, 23999, 30, 46506, 5062, 16034, 3084, 62, 3672, 62, 1828, 33411, 614, 796, 8735 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 8735, 23999, 30, 46506, 5062, 16034, 3084, 62, 3672, 62, 1828, 33411, 614, 796, 8735 ]
What is the home team score when played at mcg?
SELECT home_team AS score FROM table_name_24 WHERE venue = "mcg"
[ 2061, 318, 262, 1363, 1074, 4776, 618, 2826, 379, 36650, 70, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1731, 33411, 14359, 796, 366, 23209, 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 ]
[ 2061, 318, 262, 1363, 1074, 4776, 618, 2826, 379, 36650, 70, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1731, 33411, 14359, 796, 366, 23209, 70, 1 ]
Which Status has a Unit of daohugou beds?
SELECT status FROM table_name_55 WHERE unit = "daohugou beds"
[ 13828, 12678, 468, 257, 11801, 286, 12379, 1219, 1018, 280, 20237, 30, 46506, 3722, 16034, 3084, 62, 3672, 62, 2816, 33411, 4326, 796, 366, 6814, 1219, 1018, 280, 20237, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 12678, 468, 257, 11801, 286, 12379, 1219, 1018, 280, 20237, 30, 46506, 3722, 16034, 3084, 62, 3672, 62, 2816, 33411, 4326, 796, 366, 6814, 1219, 1018, 280, 20237, 1 ]
which was opened first ?
SELECT "name" FROM table_204_218 ORDER BY "opened" LIMIT 1
[ 4758, 373, 4721, 717, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 28727, 38678, 11050, 366, 26350, 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 ]
[ 4758, 373, 4721, 717, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 28727, 38678, 11050, 366, 26350, 1, 27564, 2043, 352 ]
which country rank last ?
SELECT "nation" FROM table_204_554 ORDER BY "rank" DESC LIMIT 1
[ 4758, 1499, 4279, 938, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 44218, 38678, 11050, 366, 43027, 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 ]
[ 4758, 1499, 4279, 938, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 44218, 38678, 11050, 366, 43027, 1, 22196, 34, 27564, 2043, 352 ]
Give me the comparison about the sum of Instructor over the Days , and group by attribute Days.
SELECT Days, SUM(Instructor) FROM Course GROUP BY Days ORDER BY Credits
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 47839, 625, 262, 12579, 837, 290, 1448, 416, 11688, 12579, 13, 46506, 12579, 11, 35683, 7, 43993, 273, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2160, 286, 47839, 625, 262, 12579, 837, 290, 1448, 416, 11688, 12579, 13, 46506, 12579, 11, 35683, 7, 43993, 273, 8, 16034, 20537, 44441, 11050, 12579, 38678, 11050, 29501 ]
What is the Attendance number when the runner-up was suntory sungoliath, and a Title of 46th?
SELECT "Attendance" FROM table_76142 WHERE "Runner-up" = 'suntory sungoliath' AND "Title" = '46th'
[ 2061, 318, 262, 46502, 590, 1271, 618, 262, 17490, 12, 929, 373, 264, 2797, 652, 23568, 43009, 11, 290, 257, 11851, 286, 6337, 400, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 4304, 23726, 33411, 366, 49493, 12, 929, 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 ]
[ 2061, 318, 262, 46502, 590, 1271, 618, 262, 17490, 12, 929, 373, 264, 2797, 652, 23568, 43009, 11, 290, 257, 11851, 286, 6337, 400, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 4304, 23726, 33411, 366, 49493, 12, 929, 1, 796,...
What was the result for the friendly match competition?
SELECT "Res." FROM table_50061 WHERE "Competition" = 'friendly match'
[ 2061, 373, 262, 1255, 329, 262, 8030, 2872, 5449, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 4059, 5333, 33411, 366, 7293, 15620, 1, 796, 705, 13120, 2872, 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, 373, 262, 1255, 329, 262, 8030, 2872, 5449, 30, 46506, 366, 4965, 526, 16034, 3084, 62, 4059, 5333, 33411, 366, 7293, 15620, 1, 796, 705, 13120, 2872, 6 ]
show me the cheapest flights round trip from NEW YORK to SAN JOSE
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, fare, flight, flight_fare WHERE (CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'NEW YORK' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_...
[ 12860, 502, 262, 28918, 13956, 2835, 5296, 422, 12682, 28154, 284, 37376, 449, 2640, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28918, 13956, 2835, 5296, 422, 12682, 28154, 284, 37376, 449, 2640, 33635, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 1527...
what is the number of inpatient hospital admission patients who have lab test item id 51419?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.itemid = "51419"
[ 10919, 318, 262, 1271, 286, 287, 26029, 4436, 13938, 3871, 508, 423, 2248, 1332, 2378, 4686, 642, 1415, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 26029, 4436, 13938, 3871, 508, 423, 2248, 1332, 2378, 4686, 642, 1415, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
When was Daniel Moro born?
SELECT date_of_birth FROM table_name_63 WHERE name = "daniel moro"
[ 2215, 373, 7806, 3461, 78, 4642, 30, 46506, 3128, 62, 1659, 62, 24280, 16034, 3084, 62, 3672, 62, 5066, 33411, 1438, 796, 366, 67, 6321, 2146, 78, 1 ]
[ 1, 1, 1, 1, 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, 7806, 3461, 78, 4642, 30, 46506, 3128, 62, 1659, 62, 24280, 16034, 3084, 62, 3672, 62, 5066, 33411, 1438, 796, 366, 67, 6321, 2146, 78, 1 ]
What was the finishing position of Hale Irwin, of the United states?
SELECT "Finish" FROM table_9541 WHERE "Country" = 'united states' AND "Player" = 'hale irwin'
[ 2061, 373, 262, 12848, 2292, 286, 35056, 48470, 11, 286, 262, 1578, 2585, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 3865, 3901, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 14140, 1, 796, 705, 71, 1000, 4173, 5404, 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 ]
[ 2061, 373, 262, 12848, 2292, 286, 35056, 48470, 11, 286, 262, 1578, 2585, 30, 46506, 366, 48658, 1, 16034, 3084, 62, 3865, 3901, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 14140, 1, 796, 705, 71, 1000, 4173, 5404, 6 ...
Find the average of credits of courses that have more than one prerequisite for each department with a bar chart, display by the total number in ascending.
SELECT dept_name, AVG(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY AVG(credits)
[ 16742, 262, 2811, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 3359, 416, 262, 2472, 1271, 287, 41988, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 3359, 416, 262, 2472, 1271, 287, 41988, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, 705...
What place is Spain in?
SELECT "Place" FROM table_8001 WHERE "Country" = 'spain'
[ 2061, 1295, 318, 8602, 287, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 7410, 16, 33411, 366, 33921, 1, 796, 705, 2777, 391, 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 ]
[ 2061, 1295, 318, 8602, 287, 30, 46506, 366, 27271, 1, 16034, 3084, 62, 7410, 16, 33411, 366, 33921, 1, 796, 705, 2777, 391, 6 ]
How few km 2 does the area with Nay Pyi Taw as capital cover?
SELECT MIN(area__km_2__) FROM table_28741_1 WHERE capital = "Nay Pyi Taw"
[ 2437, 1178, 10571, 362, 857, 262, 1989, 351, 38808, 9485, 72, 309, 707, 355, 3139, 3002, 30, 46506, 20625, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 27800, 3901, 62, 16, 33411, 3139, 796, 366, 45, 323, 9485, 72, 309, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1178, 10571, 362, 857, 262, 1989, 351, 38808, 9485, 72, 309, 707, 355, 3139, 3002, 30, 46506, 20625, 7, 20337, 834, 13276, 62, 17, 834, 8, 16034, 3084, 62, 27800, 3901, 62, 16, 33411, 3139, 796, 366, 45, 323, 9485, 72, 309, ...
What is the Country of the Player with a Score of 71-73-71=215?
SELECT country FROM table_name_85 WHERE score = 71 - 73 - 71 = 215
[ 2061, 318, 262, 12946, 286, 262, 7853, 351, 257, 15178, 286, 9166, 12, 4790, 12, 4869, 28, 23349, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5332, 33411, 4776, 796, 9166, 532, 8854, 532, 9166, 796, 22951 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12946, 286, 262, 7853, 351, 257, 15178, 286, 9166, 12, 4790, 12, 4869, 28, 23349, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5332, 33411, 4776, 796, 9166, 532, 8854, 532, 9166, 796, 22951 ]
Who is the candidate in Race for State representative, hd18?
SELECT "Candidate" FROM table_51555 WHERE "Race" = 'state representative, hd18'
[ 8241, 318, 262, 4540, 287, 12588, 329, 1812, 8852, 11, 289, 67, 1507, 30, 46506, 366, 41572, 20540, 1, 16034, 3084, 62, 45969, 2816, 33411, 366, 35157, 1, 796, 705, 5219, 8852, 11, 289, 67, 1507, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 4540, 287, 12588, 329, 1812, 8852, 11, 289, 67, 1507, 30, 46506, 366, 41572, 20540, 1, 16034, 3084, 62, 45969, 2816, 33411, 366, 35157, 1, 796, 705, 5219, 8852, 11, 289, 67, 1507, 6 ]
Name the number of details for emlyn road
SELECT COUNT(details) FROM table_211615_2 WHERE station = "Emlyn Road"
[ 5376, 262, 1271, 286, 3307, 329, 795, 6213, 2975, 46506, 327, 28270, 7, 36604, 8, 16034, 3084, 62, 17, 18298, 1314, 62, 17, 33411, 4429, 796, 366, 10161, 6213, 5567, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 3307, 329, 795, 6213, 2975, 46506, 327, 28270, 7, 36604, 8, 16034, 3084, 62, 17, 18298, 1314, 62, 17, 33411, 4429, 796, 366, 10161, 6213, 5567, 1 ]
Which format is in Japan?
SELECT "Format" FROM table_60114 WHERE "Country" = 'japan'
[ 13828, 5794, 318, 287, 2869, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 41706, 1415, 33411, 366, 33921, 1, 796, 705, 73, 2674, 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 ]
[ 13828, 5794, 318, 287, 2869, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 41706, 1415, 33411, 366, 33921, 1, 796, 705, 73, 2674, 6 ]
What lowest bronze has a total of 3, a Nation of hungary, and a Gold smaller than 0?
SELECT MIN(bronze) FROM table_name_52 WHERE total = 3 AND nation = "hungary" AND gold < 0
[ 2061, 9016, 22101, 468, 257, 2472, 286, 513, 11, 257, 8741, 286, 9174, 560, 11, 290, 257, 3561, 4833, 621, 657, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 2472, 796, 513, 5357, 3277, 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, 1, 1, 1, 1 ]
[ 2061, 9016, 22101, 468, 257, 2472, 286, 513, 11, 257, 8741, 286, 9174, 560, 11, 290, 257, 3561, 4833, 621, 657, 30, 46506, 20625, 7, 65, 1313, 2736, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 2472, 796, 513, 5357, 3277, 796, 366, ...
Who had the lowest 1st (m), ranked lower than 8, with an overall WC points (rank) of 369 (16) with more than 258.2 points?
SELECT MIN("1st (m)") FROM table_37572 WHERE "Rank" < '8' AND "Overall WC points (Rank)" = '369 (16)' AND "Points" > '258.2'
[ 8241, 550, 262, 9016, 352, 301, 357, 76, 828, 10307, 2793, 621, 807, 11, 351, 281, 4045, 28387, 2173, 357, 43027, 8, 286, 45620, 357, 1433, 8, 351, 517, 621, 37528, 13, 17, 2173, 30, 46506, 20625, 7203, 16, 301, 357, 76, 8, 4943, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 352, 301, 357, 76, 828, 10307, 2793, 621, 807, 11, 351, 281, 4045, 28387, 2173, 357, 43027, 8, 286, 45620, 357, 1433, 8, 351, 517, 621, 37528, 13, 17, 2173, 30, 46506, 20625, 7203, 16, 301, 357, 76, 8, 4943, ...
Which date had a venue of the State Sports Centre?
SELECT date FROM table_name_88 WHERE venue = "state sports centre"
[ 13828, 3128, 550, 257, 14359, 286, 262, 1812, 7092, 9072, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 14359, 796, 366, 5219, 5701, 7372, 1 ]
[ 1, 1, 1, 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, 3128, 550, 257, 14359, 286, 262, 1812, 7092, 9072, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3459, 33411, 14359, 796, 366, 5219, 5701, 7372, 1 ]
How many authors are present when the original was Carry On?
SELECT COUNT("Authors") FROM table_23063 WHERE "Original" = 'Carry On'
[ 2437, 867, 7035, 389, 1944, 618, 262, 2656, 373, 36366, 1550, 30, 46506, 327, 28270, 7203, 30515, 669, 4943, 16034, 3084, 62, 19214, 5066, 33411, 366, 20556, 1, 796, 705, 34, 6532, 1550, 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 ]
[ 2437, 867, 7035, 389, 1944, 618, 262, 2656, 373, 36366, 1550, 30, 46506, 327, 28270, 7203, 30515, 669, 4943, 16034, 3084, 62, 19214, 5066, 33411, 366, 20556, 1, 796, 705, 34, 6532, 1550, 6 ]
Can you tell me the Week that has the Home Team of detroit, and the Divisional Record of (3-0), and the Overall Record of (5-1), and the Away Team of minnesota?
SELECT week FROM table_name_40 WHERE home_team = "detroit" AND divisional_record = "(3-0)" AND overall_record = "(5-1)" AND away_team = "minnesota"
[ 6090, 345, 1560, 502, 262, 6119, 326, 468, 262, 5995, 4816, 286, 1062, 7775, 11, 290, 262, 7458, 282, 13266, 286, 357, 18, 12, 15, 828, 290, 262, 14674, 13266, 286, 357, 20, 12, 16, 828, 290, 262, 21986, 4816, 286, 949, 8360, 30, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6119, 326, 468, 262, 5995, 4816, 286, 1062, 7775, 11, 290, 262, 7458, 282, 13266, 286, 357, 18, 12, 15, 828, 290, 262, 14674, 13266, 286, 357, 20, 12, 16, 828, 290, 262, 21986, 4816, 286, 949, 8360, 30, ...
Are there any 18 credit courses on the ORALBIOL 300 level ?
SELECT DISTINCT department, name, number FROM course WHERE credits = 18 AND department = 'ORALBIOL' AND number < 300 + 100 AND number >= 300
[ 8491, 612, 597, 1248, 3884, 10902, 319, 262, 6375, 1847, 3483, 3535, 5867, 1241, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1248, 5357, 5011, 796, 705, 1581, 1847, 3483, 3535, 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 ]
[ 8491, 612, 597, 1248, 3884, 10902, 319, 262, 6375, 1847, 3483, 3535, 5867, 1241, 5633, 46506, 360, 8808, 1268, 4177, 5011, 11, 1438, 11, 1271, 16034, 1781, 33411, 10824, 796, 1248, 5357, 5011, 796, 705, 1581, 1847, 3483, 3535, 6, 5357, ...
provide the number of patients whose diagnoses long title is hemiplegia, unspecified, affecting dominant side?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Hemiplegia, unspecified, affecting dominant side"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 16869, 541, 1455, 544, 11, 29547, 11, 13891, 11410, 1735, 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, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 16869, 541, 1455, 544, 11, 29547, 11, 13891, 11410, 1735, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1...
How many number of games ended in a 0-0 tie?
SELECT COUNT(*) FROM football_data WHERE fthg = 0 AND ftag = 0
[ 2437, 867, 1271, 286, 1830, 4444, 287, 257, 657, 12, 15, 9839, 30, 46506, 327, 28270, 7, 28104, 16034, 4346, 62, 7890, 33411, 277, 400, 70, 796, 657, 5357, 10117, 363, 796, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 1271, 286, 1830, 4444, 287, 257, 657, 12, 15, 9839, 30, 46506, 327, 28270, 7, 28104, 16034, 4346, 62, 7890, 33411, 277, 400, 70, 796, 657, 5357, 10117, 363, 796, 657 ]
count the number of patients whose admission location is trsf within this facility and lab test fluid is ascites.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_location = "TRSF WITHIN THIS FACILITY" AND lab.fluid = "Ascites"
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 2248, 1332, 11711, 318, 10570, 2737, 13, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 491, 28202, 1626, 428, 6841, 290, 2248, 1332, 11711, 318, 10570, 2737, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
how many hours have elapsed since patient 3125 has had his first b-complex defic nec diagnosis on this hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', diagnoses_icd.charttime)) FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'b-complex defic nec') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissi...
[ 4919, 867, 2250, 423, 42118, 1201, 5827, 513, 11623, 468, 550, 465, 717, 275, 12, 41887, 12630, 27576, 13669, 319, 428, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2250, 423, 42118, 1201, 5827, 513, 11623, 468, 550, 465, 717, 275, 12, 41887, 12630, 27576, 13669, 319, 428, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, ...
I want to see trend of day_number by calendar date, rank in descending by the x axis.
SELECT Calendar_Date, Day_Number FROM Ref_Calendar ORDER BY Calendar_Date DESC
[ 40, 765, 284, 766, 5182, 286, 1110, 62, 17618, 416, 11845, 3128, 11, 4279, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 26506, 62, 10430, 11, 3596, 62, 15057, 16034, 6524, 62, 9771, 9239, 38678, 11050, 26506, 62, 10430, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40, 765, 284, 766, 5182, 286, 1110, 62, 17618, 416, 11845, 3128, 11, 4279, 287, 31491, 416, 262, 2124, 16488, 13, 46506, 26506, 62, 10430, 11, 3596, 62, 15057, 16034, 6524, 62, 9771, 9239, 38678, 11050, 26506, 62, 10430, 22196, 34 ]
WHAT IS THE TV TIME WOTH A WEEK BIGGER THAN 15, WITH THE OAKLAND RAIDERS AS OPPONENT?
SELECT tv_time FROM table_name_33 WHERE week > 15 AND opponent = "oakland raiders"
[ 32971, 3180, 3336, 3195, 20460, 370, 26946, 317, 43765, 26746, 30373, 2320, 1565, 1315, 11, 13315, 3336, 440, 10206, 28182, 37450, 4877, 7054, 440, 10246, 1340, 3525, 30, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 2091, 33411, 128...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 3180, 3336, 3195, 20460, 370, 26946, 317, 43765, 26746, 30373, 2320, 1565, 1315, 11, 13315, 3336, 440, 10206, 28182, 37450, 4877, 7054, 440, 10246, 1340, 3525, 30, 46506, 31557, 62, 2435, 16034, 3084, 62, 3672, 62, 2091, 33411, 128...
What is the number of people in attendance at Oakland-Alameda County Coliseum, and game is 2?
SELECT SUM(attendance) FROM table_name_83 WHERE location = "oakland-alameda county coliseum" AND game = 2
[ 2061, 318, 262, 1271, 286, 661, 287, 14858, 379, 12369, 12, 2348, 49637, 3418, 40846, 11, 290, 983, 318, 362, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 4067, 796, 366, 15877, 1044, 12, 282, 4963...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 661, 287, 14858, 379, 12369, 12, 2348, 49637, 3418, 40846, 11, 290, 983, 318, 362, 30, 46506, 35683, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 5999, 33411, 4067, 796, 366, 15877, 1044, 12, 282, 4963...
Show the number of the dates of transactions if the share count is bigger than 100 or the amount is bigger than 1000, could you list from high to low by the Y?
SELECT date_of_transaction, COUNT(date_of_transaction) FROM Transactions WHERE share_count > 100 OR amount_of_transaction > 1000 ORDER BY COUNT(date_of_transaction) DESC
[ 15307, 262, 1271, 286, 262, 9667, 286, 8945, 611, 262, 2648, 954, 318, 5749, 621, 1802, 393, 262, 2033, 318, 5749, 621, 8576, 11, 714, 345, 1351, 422, 1029, 284, 1877, 416, 262, 575, 30, 46506, 3128, 62, 1659, 62, 7645, 2673, 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...
[ 15307, 262, 1271, 286, 262, 9667, 286, 8945, 611, 262, 2648, 954, 318, 5749, 621, 1802, 393, 262, 2033, 318, 5749, 621, 8576, 11, 714, 345, 1351, 422, 1029, 284, 1877, 416, 262, 575, 30, 46506, 3128, 62, 1659, 62, 7645, 2673, 11, ...
count the number of patients whose ethnicity is hispanic or latino and procedure long title is incision of vessel, lower limb arteries?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND procedures.long_title = "Incision of vessel, lower limb arteries"
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 8771, 890, 3670, 318, 753, 1166, 286, 8837, 11, 2793, 25035, 45894, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 26289, 318, 465, 35843, 393, 3042, 2879, 290, 8771, 890, 3670, 318, 753, 1166, 286, 8837, 11, 2793, 25035, 45894, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, ...
Name the number of playoffs for semifinals
SELECT COUNT(playoffs) FROM table_245694_4 WHERE concacaf = "Semifinals"
[ 5376, 262, 1271, 286, 12980, 329, 47633, 46506, 327, 28270, 7, 1759, 8210, 8, 16034, 3084, 62, 22995, 45214, 62, 19, 33411, 1673, 330, 1878, 796, 366, 13900, 361, 6897, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 12980, 329, 47633, 46506, 327, 28270, 7, 1759, 8210, 8, 16034, 3084, 62, 22995, 45214, 62, 19, 33411, 1673, 330, 1878, 796, 366, 13900, 361, 6897, 1 ]
What is the highest goals for that has a drawn less than 11, with a played less than 42?
SELECT MAX("Goals For") FROM table_48987 WHERE "Drawn" < '11' AND "Played" < '42'
[ 2061, 318, 262, 4511, 4661, 329, 326, 468, 257, 7428, 1342, 621, 1367, 11, 351, 257, 2826, 1342, 621, 5433, 30, 46506, 25882, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 2780, 44183, 33411, 366, 35, 5791, 1, 1279, 705, 1157, 6, 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, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 4661, 329, 326, 468, 257, 7428, 1342, 621, 1367, 11, 351, 257, 2826, 1342, 621, 5433, 30, 46506, 25882, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 2780, 44183, 33411, 366, 35, 5791, 1, 1279, 705, 1157, 6, 53...
how many dead/expired discharged patients had venous catheterization for renal dialysis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "DEAD/EXPIRED" AND procedures.short_title = "Ven cath renal dialysis"
[ 4919, 867, 2636, 14, 1069, 6474, 26476, 3871, 550, 8710, 516, 3797, 43332, 1634, 329, 44375, 5980, 3097, 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, 2636, 14, 1069, 6474, 26476, 3871, 550, 8710, 516, 3797, 43332, 1634, 329, 44375, 5980, 3097, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, ...
Which pick's player was Marc Lewis (lhp)?
SELECT "Pick" FROM table_53042 WHERE "Player" = 'marc lewis (lhp)'
[ 13828, 2298, 338, 2137, 373, 13067, 10174, 357, 75, 24831, 19427, 46506, 366, 31686, 1, 16034, 3084, 62, 38612, 3682, 33411, 366, 14140, 1, 796, 705, 3876, 66, 443, 86, 271, 357, 75, 24831, 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 ]
[ 13828, 2298, 338, 2137, 373, 13067, 10174, 357, 75, 24831, 19427, 46506, 366, 31686, 1, 16034, 3084, 62, 38612, 3682, 33411, 366, 14140, 1, 796, 705, 3876, 66, 443, 86, 271, 357, 75, 24831, 33047 ]
What is the relationship between Team_ID and All_Games_Percent , and group by attribute ACC_Regular_Season?
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Regular_Season
[ 2061, 318, 262, 2776, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 30, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 158...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2776, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 30, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 158...
Who is the builder for br no. 31779?
SELECT builder FROM table_17607663_1 WHERE br_no = 31779
[ 8241, 318, 262, 27098, 329, 865, 645, 13, 37563, 3720, 30, 46506, 27098, 16034, 3084, 62, 1558, 31980, 45791, 62, 16, 33411, 865, 62, 3919, 796, 37563, 3720 ]
[ 1, 1, 1, 1, 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, 27098, 329, 865, 645, 13, 37563, 3720, 30, 46506, 27098, 16034, 3084, 62, 1558, 31980, 45791, 62, 16, 33411, 865, 62, 3919, 796, 37563, 3720 ]
what is the number of patients with admission location as transfer from hosp/extram who had creation of conduit between left ventricle and aorta?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND procedures.long_title = "Creation of conduit between left ventricle and aorta"
[ 10919, 318, 262, 1271, 286, 3871, 351, 13938, 4067, 355, 4351, 422, 10496, 14, 2302, 859, 508, 550, 6282, 286, 44457, 1022, 1364, 7435, 1173, 293, 290, 257, 419, 64, 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, 351, 13938, 4067, 355, 4351, 422, 10496, 14, 2302, 859, 508, 550, 6282, 286, 44457, 1022, 1364, 7435, 1173, 293, 290, 257, 419, 64, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, ...
Who was the opponent when the score was 6-3, 6-3?
SELECT "Opponent" FROM table_36569 WHERE "Score" = '6-3, 6-3'
[ 8241, 373, 262, 6125, 618, 262, 4776, 373, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 24760, 3388, 33411, 366, 26595, 1, 796, 705, 21, 12, 18, 11, 718, 12, 18, 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 ]
[ 8241, 373, 262, 6125, 618, 262, 4776, 373, 718, 12, 18, 11, 718, 12, 18, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 24760, 3388, 33411, 366, 26595, 1, 796, 705, 21, 12, 18, 11, 718, 12, 18, 6 ]
Who was the home team in the game played at arden street oval?
SELECT "Home team score" FROM table_4752 WHERE "Venue" = 'arden street oval'
[ 8241, 373, 262, 1363, 1074, 287, 262, 983, 2826, 379, 610, 6559, 4675, 41186, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 32576, 17, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 287, 262, 983, 2826, 379, 610, 6559, 4675, 41186, 30, 46506, 366, 16060, 1074, 4776, 1, 16034, 3084, 62, 32576, 17, 33411, 366, 37522, 518, 1, 796, 705, 5872, 4675, 41186, 6 ]
Give me the comparison about the sum of Team_ID over the ACC_Road , and group by attribute ACC_Road, list in desc by the Y please.
SELECT ACC_Road, SUM(Team_ID) FROM basketball_match GROUP BY ACC_Road ORDER BY SUM(Team_ID) DESC
[ 23318, 502, 262, 7208, 546, 262, 2160, 286, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1351, 287, 1715, 416, 262, 575, 3387, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 15592, 62, 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, 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, 2160, 286, 4816, 62, 2389, 625, 262, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 1351, 287, 1715, 416, 262, 575, 3387, 13, 46506, 15859, 62, 29197, 11, 35683, 7, 15592, 62, 23...
What is the date for the home team score of 6.5 (41)?
SELECT "Date" FROM table_37518 WHERE "Home team score" = '6.5 (41)'
[ 2061, 318, 262, 3128, 329, 262, 1363, 1074, 4776, 286, 718, 13, 20, 357, 3901, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 22318, 1507, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 21, 13, 20, 357, 3901, 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 ]
[ 2061, 318, 262, 3128, 329, 262, 1363, 1074, 4776, 286, 718, 13, 20, 357, 3901, 19427, 46506, 366, 10430, 1, 16034, 3084, 62, 22318, 1507, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 21, 13, 20, 357, 3901, 33047 ]
i would like to get the top five diagnosis that has the highest three year mortality rate.
SELECT d_icd_diagnoses.short_title FROM d_icd_diagnoses WHERE d_icd_diagnoses.icd9_code IN (SELECT t4.icd9_code FROM (SELECT t3.icd9_code, DENSE_RANK() OVER (ORDER BY t3.c1 DESC) AS c2 FROM (SELECT t2.icd9_code, 100 - SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t2.chartt...
[ 72, 561, 588, 284, 651, 262, 1353, 1936, 13669, 326, 468, 262, 4511, 1115, 614, 12430, 2494, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 561, 588, 284, 651, 262, 1353, 1936, 13669, 326, 468, 262, 4511, 1115, 614, 12430, 2494, 13, 46506, 288, 62, 291, 67, 62, 47356, 4629, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 47356, 4629, 33411, 288, 62, 291, 67, 62,...
What is the largest winner's share in 2008?
SELECT MAX("Winner's share ($)") FROM table_54897 WHERE "Year" = '2008'
[ 2061, 318, 262, 4387, 8464, 338, 2648, 287, 3648, 30, 46506, 25882, 7203, 48056, 338, 2648, 45491, 4943, 16034, 3084, 62, 49934, 5607, 33411, 366, 17688, 1, 796, 705, 11528, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 8464, 338, 2648, 287, 3648, 30, 46506, 25882, 7203, 48056, 338, 2648, 45491, 4943, 16034, 3084, 62, 49934, 5607, 33411, 366, 17688, 1, 796, 705, 11528, 6 ]
what is minimum age of patients whose marital status is widowed and age is greater than or equal to 44?
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "WIDOWED" AND demographic.age >= "44"
[ 10919, 318, 5288, 2479, 286, 3871, 3025, 29555, 3722, 318, 9214, 6972, 290, 2479, 318, 3744, 621, 393, 4961, 284, 5846, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9214, 6972, 290, 2479, 318, 3744, 621, 393, 4961, 284, 5846, 30, 46506, 20625, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 54, ...
Which Winning score has a Tournament of walt disney world/oldsmobile classic?
SELECT winning_score FROM table_name_67 WHERE tournament = "walt disney world/oldsmobile classic"
[ 13828, 40983, 4776, 468, 257, 9595, 286, 266, 2501, 595, 1681, 995, 14, 727, 5796, 3579, 6833, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 3134, 33411, 7756, 796, 366, 86, 2501, 595, 1681, 995, 14, 727, 5796, 3579, 6833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40983, 4776, 468, 257, 9595, 286, 266, 2501, 595, 1681, 995, 14, 727, 5796, 3579, 6833, 30, 46506, 5442, 62, 26675, 16034, 3084, 62, 3672, 62, 3134, 33411, 7756, 796, 366, 86, 2501, 595, 1681, 995, 14, 727, 5796, 3579, 6833, ...
Show me how many destination by destination in a histogram, and order y-axis in desc order.
SELECT destination, COUNT(destination) FROM flight GROUP BY destination ORDER BY COUNT(destination) DESC
[ 15307, 502, 703, 867, 10965, 416, 10965, 287, 257, 1554, 21857, 11, 290, 1502, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 10965, 11, 327, 28270, 7, 16520, 1883, 8, 16034, 5474, 44441, 11050, 10965, 38678, 11050, 327, 28270, 7, 16520, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 703, 867, 10965, 416, 10965, 287, 257, 1554, 21857, 11, 290, 1502, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 10965, 11, 327, 28270, 7, 16520, 1883, 8, 16034, 5474, 44441, 11050, 10965, 38678, 11050, 327, 28270, 7, 16520, ...
Which Outcome has a Score of 6 4, 6 4, 6 2?
SELECT outcome FROM table_name_19 WHERE score = "6–4, 6–4, 6–2"
[ 13828, 3806, 2958, 468, 257, 15178, 286, 718, 604, 11, 718, 604, 11, 718, 362, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 1129, 33411, 4776, 796, 366, 21, 1906, 19, 11, 718, 1906, 19, 11, 718, 1906, 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 ]
[ 13828, 3806, 2958, 468, 257, 15178, 286, 718, 604, 11, 718, 604, 11, 718, 362, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 1129, 33411, 4776, 796, 366, 21, 1906, 19, 11, 718, 1906, 19, 11, 718, 1906, 17, 1 ]
Questions on a specific date.
SELECT * FROM Posts WHERE CreationDate = '##PostDate##' LIMIT 10
[ 35741, 319, 257, 2176, 3128, 13, 46506, 1635, 16034, 12043, 33411, 21582, 10430, 796, 705, 2235, 6307, 10430, 2235, 6, 27564, 2043, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 319, 257, 2176, 3128, 13, 46506, 1635, 16034, 12043, 33411, 21582, 10430, 796, 705, 2235, 6307, 10430, 2235, 6, 27564, 2043, 838 ]