instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
how many times have patient 15119's been visited in icu when they visited the hospital first time?
SELECT COUNT(DISTINCT icustays.icustay_id) FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15119 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime LIMIT 1)
[ 4919, 867, 1661, 423, 5827, 1315, 16315, 338, 587, 8672, 287, 14158, 84, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 8, 16034, 14158, 436, 592, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 423, 5827, 1315, 16315, 338, 587, 8672, 287, 14158, 84, 618, 484, 8672, 262, 4436, 717, 640, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 14158, 436, 592, 13, 291, 436, 323, 62, 312, 8, 16034, 14158, 436, 592, ...
how many days has it been since patient 25814 received his first prescription of vancomycin on their current hospital visit?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', prescriptions.startdate)) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814 AND admissions.dischtime IS NULL) AND prescriptions.drug = 'vancomycin' ORDER BY prescriptions.startdate ...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 37528, 1415, 2722, 465, 717, 15077, 286, 5719, 785, 88, 17879, 319, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 1528, 468, 340, 587, 1201, 5827, 37528, 1415, 2722, 465, 717, 15077, 286, 5719, 785, 88, 17879, 319, 511, 1459, 4436, 3187, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 53...
What is the 2014 Santander together with 2003 Cadiz of Finn ?
SELECT "2014 Santander" FROM table_15740 WHERE "2003 Cadiz" = 'finn'
[ 2061, 318, 262, 1946, 10844, 4066, 1978, 351, 5816, 20517, 528, 286, 15368, 5633, 46506, 366, 4967, 10844, 4066, 1, 16034, 3084, 62, 18458, 1821, 33411, 366, 16088, 20517, 528, 1, 796, 705, 69, 3732, 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, 1946, 10844, 4066, 1978, 351, 5816, 20517, 528, 286, 15368, 5633, 46506, 366, 4967, 10844, 4066, 1, 16034, 3084, 62, 18458, 1821, 33411, 366, 16088, 20517, 528, 1, 796, 705, 69, 3732, 6 ]
What is the time/retired for grid 9?
SELECT "Time/Retired" FROM table_58309 WHERE "Grid" = '9'
[ 2061, 318, 262, 640, 14, 1186, 1202, 329, 10706, 860, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 3365, 26895, 33411, 366, 41339, 1, 796, 705, 24, 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, 640, 14, 1186, 1202, 329, 10706, 860, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 3365, 26895, 33411, 366, 41339, 1, 796, 705, 24, 6 ]
Give me the comparison about the amount of ACC_Road over the ACC_Road , and group by attribute ACC_Road, and could you display by the Y from high to low?
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY COUNT(ACC_Road) DESC
[ 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, 290, 714, 345, 3359, 416, 262, 575, 422, 1029, 284, 1877, 30, 46506, 15859, 62, 29197, 11, 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...
[ 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, 290, 714, 345, 3359, 416, 262, 575, 422, 1029, 284, 1877, 30, 46506, 15859, 62, 29197, 11, 3...
which party hold the most number of seats ?
SELECT "party/electoral alliance" FROM table_204_982 ORDER BY "seats" DESC LIMIT 1
[ 4758, 2151, 1745, 262, 749, 1271, 286, 8632, 5633, 46506, 366, 10608, 14, 9509, 6864, 12801, 1, 16034, 3084, 62, 18638, 62, 4089, 17, 38678, 11050, 366, 325, 1381, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 2151, 1745, 262, 749, 1271, 286, 8632, 5633, 46506, 366, 10608, 14, 9509, 6864, 12801, 1, 16034, 3084, 62, 18638, 62, 4089, 17, 38678, 11050, 366, 325, 1381, 1, 22196, 34, 27564, 2043, 352 ]
What format does Japan use?
SELECT format FROM table_name_34 WHERE country = "japan"
[ 2061, 5794, 857, 2869, 779, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 2682, 33411, 1499, 796, 366, 73, 2674, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 5794, 857, 2869, 779, 30, 46506, 5794, 16034, 3084, 62, 3672, 62, 2682, 33411, 1499, 796, 366, 73, 2674, 1 ]
any organism found in patient 27703's last pleural fluid test in a month before?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 27703) AND microbiologyevents.spec_type_desc = 'pleural fluid' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime, 'start of month')...
[ 1092, 26433, 1043, 287, 5827, 2681, 36809, 338, 938, 3339, 1523, 11711, 1332, 287, 257, 1227, 878, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 4650...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1092, 26433, 1043, 287, 5827, 2681, 36809, 338, 938, 3339, 1523, 11711, 1332, 287, 257, 1227, 878, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 312, 3268, 357, 4650...
How many papers does Alvin C Haver have in Iv Infusion area ?
SELECT DISTINCT COUNT(DISTINCT writes.paperid) FROM author, keyphrase, paperkeyphrase, writes WHERE author.authorname = 'Alvin C Haver' AND keyphrase.keyphrasename = 'Iv Infusion' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND writes.authorid = author.authorid AND writes.paperid = paperkeyphrase.paperid
[ 2437, 867, 9473, 857, 49939, 327, 367, 8770, 423, 287, 16975, 4806, 4241, 1989, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 1994, 34675, 11, 3348, 2539, 34675, 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...
[ 2437, 867, 9473, 857, 49939, 327, 367, 8770, 423, 287, 16975, 4806, 4241, 1989, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 35, 8808, 1268, 4177, 6797, 13, 20189, 312, 8, 16034, 1772, 11, 1994, 34675, 11, 3348, 2539, 34675, 11,...
Who wrote the episode that aired February 4, 2010?
SELECT written_by FROM table_23483182_1 WHERE original_air_date = "February 4, 2010"
[ 8241, 2630, 262, 4471, 326, 18530, 3945, 604, 11, 3050, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1954, 38783, 24294, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 21816, 604, 11, 3050, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 4471, 326, 18530, 3945, 604, 11, 3050, 30, 46506, 3194, 62, 1525, 16034, 3084, 62, 1954, 38783, 24294, 62, 16, 33411, 2656, 62, 958, 62, 4475, 796, 366, 21816, 604, 11, 3050, 1 ]
Which United States player has a place of T3?
SELECT player FROM table_name_3 WHERE country = "united states" AND place = "t3"
[ 13828, 1578, 1829, 2137, 468, 257, 1295, 286, 309, 18, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 18, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1295, 796, 366, 83, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1578, 1829, 2137, 468, 257, 1295, 286, 309, 18, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 18, 33411, 1499, 796, 366, 41187, 2585, 1, 5357, 1295, 796, 366, 83, 18, 1 ]
Which Year(s) of manufacture has a Quantity of 2, and a Type of b n2t?
SELECT year_s__of_manufacture FROM table_name_13 WHERE quantity = 2 AND type = "b n2t"
[ 13828, 6280, 7, 82, 8, 286, 6161, 468, 257, 39789, 286, 362, 11, 290, 257, 5994, 286, 275, 299, 17, 83, 30, 46506, 614, 62, 82, 834, 1659, 62, 48119, 495, 16034, 3084, 62, 3672, 62, 1485, 33411, 12040, 796, 362, 5357, 2099, 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 ]
[ 13828, 6280, 7, 82, 8, 286, 6161, 468, 257, 39789, 286, 362, 11, 290, 257, 5994, 286, 275, 299, 17, 83, 30, 46506, 614, 62, 82, 834, 1659, 62, 48119, 495, 16034, 3084, 62, 3672, 62, 1485, 33411, 12040, 796, 362, 5357, 2099, 796, ...
how long did it take richard rodgers to complete egot ?
SELECT "egot completed" FROM table_204_673 WHERE "name" = 'richard rodgers'
[ 4919, 890, 750, 340, 1011, 5527, 446, 15299, 5355, 284, 1844, 304, 23442, 5633, 46506, 366, 1533, 313, 5668, 1, 16034, 3084, 62, 18638, 62, 45758, 33411, 366, 3672, 1, 796, 705, 7527, 446, 15299, 5355, 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 ]
[ 4919, 890, 750, 340, 1011, 5527, 446, 15299, 5355, 284, 1844, 304, 23442, 5633, 46506, 366, 1533, 313, 5668, 1, 16034, 3084, 62, 18638, 62, 45758, 33411, 366, 3672, 1, 796, 705, 7527, 446, 15299, 5355, 6 ]
Which catalogue is from the UK region, and is on vinyl, and was dated in 1986?
SELECT "Catalogue" FROM table_71779 WHERE "Region" = 'uk' AND "Format" = 'vinyl' AND "Date" = '1986'
[ 13828, 34614, 318, 422, 262, 3482, 3814, 11, 290, 318, 319, 23275, 11, 290, 373, 14567, 287, 12113, 30, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 22, 1558, 3720, 33411, 366, 47371, 1, 796, 705, 2724, 6, 5357, 366, 26227, 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 ]
[ 13828, 34614, 318, 422, 262, 3482, 3814, 11, 290, 318, 319, 23275, 11, 290, 373, 14567, 287, 12113, 30, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 22, 1558, 3720, 33411, 366, 47371, 1, 796, 705, 2724, 6, 5357, 366, 26227, 1, 796, ...
Find All_Road and Team_ID , and visualize them by a bar chart.
SELECT All_Road, Team_ID FROM basketball_match
[ 16742, 1439, 62, 29197, 290, 4816, 62, 2389, 837, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 1439, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 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, 1439, 62, 29197, 290, 4816, 62, 2389, 837, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 1439, 62, 29197, 11, 4816, 62, 2389, 16034, 9669, 62, 15699 ]
Which district was the race between john i. nolan (r) 87% thomas f. feeley (s) 13%?
SELECT "District" FROM table_18737 WHERE "Candidates" = 'John I. Nolan (R) 87% Thomas F. Feeley (S) 13%'
[ 13828, 4783, 373, 262, 3234, 1022, 45610, 1312, 13, 299, 16617, 357, 81, 8, 10083, 4, 294, 16911, 277, 13, 6838, 1636, 357, 82, 8, 1511, 4, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 23451, 2718, 33411, 366, 41572, 37051, 1, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 4783, 373, 262, 3234, 1022, 45610, 1312, 13, 299, 16617, 357, 81, 8, 10083, 4, 294, 16911, 277, 13, 6838, 1636, 357, 82, 8, 1511, 4, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 23451, 2718, 33411, 366, 41572, 37051, 1, 796, ...
count the number of patients whose diagnoses long title is embolism and thrombosis of iliac artery and lab test abnormal status is delta.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Embolism and thrombosis of iliac artery" AND lab.flag = "delta"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 4072, 349, 1042, 290, 294, 398, 65, 5958, 286, 220, 2403, 330, 37646, 290, 2248, 1332, 18801, 3722, 318, 25979, 13, 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...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 4072, 349, 1042, 290, 294, 398, 65, 5958, 286, 220, 2403, 330, 37646, 290, 2248, 1332, 18801, 3722, 318, 25979, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796,...
How many samples come from other countries?
SELECT COUNT(*) FROM sampledata15 WHERE origin = "2"
[ 2437, 867, 8405, 1282, 422, 584, 2678, 30, 46506, 327, 28270, 7, 28104, 16034, 35846, 1045, 1314, 33411, 8159, 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 ]
[ 2437, 867, 8405, 1282, 422, 584, 2678, 30, 46506, 327, 28270, 7, 28104, 16034, 35846, 1045, 1314, 33411, 8159, 796, 366, 17, 1 ]
Name the date for richmond
SELECT "Date" FROM table_20724 WHERE "Away team" = 'Richmond'
[ 5376, 262, 3128, 329, 5527, 6327, 46506, 366, 10430, 1, 16034, 3084, 62, 22745, 1731, 33411, 366, 32, 1014, 1074, 1, 796, 705, 14868, 6327, 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 ]
[ 5376, 262, 3128, 329, 5527, 6327, 46506, 366, 10430, 1, 16034, 3084, 62, 22745, 1731, 33411, 366, 32, 1014, 1074, 1, 796, 705, 14868, 6327, 6 ]
Next semester , is SAC 306 being offered ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'SAC' AND course.number = 306 AND semester.semester = 'FA' AND semester.semester_id = course_offering.semester AND semester.year = 2016
[ 10019, 24878, 837, 318, 311, 2246, 37255, 852, 4438, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10019, 24878, 837, 318, 311, 2246, 37255, 852, 4438, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, 312, 5357,...
Visualize a bar chart for what are the naems of all the projects, and how many scientists were assigned to each of them?, and display by the y-axis in ascending.
SELECT Name, COUNT(*) FROM Projects AS T1 JOIN AssignedTo AS T2 ON T1.Code = T2.Project GROUP BY T1.Name ORDER BY COUNT(*)
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 290, 3359, 416, 262, 331, 12, 22704, 287, 41988, 13, 46506, 6530, 11, 327, 28270, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 12385, 5232, 286, 477, 262, 4493, 11, 290, 703, 867, 5519, 547, 8686, 284, 1123, 286, 606, 21747, 290, 3359, 416, 262, 331, 12, 22704, 287, 41988, 13, 46506, 6530, 11, 327, 28270, 7,...
What is the crowd size of the Away team, Fitzroy?
SELECT "Crowd" FROM table_11945 WHERE "Away team" = 'fitzroy'
[ 2061, 318, 262, 4315, 2546, 286, 262, 21986, 1074, 11, 16703, 3287, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 16315, 2231, 33411, 366, 32, 1014, 1074, 1, 796, 705, 69, 4224, 3287, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4315, 2546, 286, 262, 21986, 1074, 11, 16703, 3287, 30, 46506, 366, 34, 3986, 1, 16034, 3084, 62, 16315, 2231, 33411, 366, 32, 1014, 1074, 1, 796, 705, 69, 4224, 3287, 6 ]
How much Total has a Rank smaller than 10, and a Silver larger than 3, and a Gold larger than 3?
SELECT SUM(total) FROM table_name_87 WHERE rank < 10 AND silver > 3 AND gold > 3
[ 2437, 881, 7472, 468, 257, 10916, 4833, 621, 838, 11, 290, 257, 7698, 4025, 621, 513, 11, 290, 257, 3561, 4025, 621, 513, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 4279, 1279, 838, 5357, 8465, 1875, 513,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 7472, 468, 257, 10916, 4833, 621, 838, 11, 290, 257, 7698, 4025, 621, 513, 11, 290, 257, 3561, 4025, 621, 513, 30, 46506, 35683, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 4279, 1279, 838, 5357, 8465, 1875, 513,...
Which player has the fewest assists and played 2 games or fewer?
SELECT MIN(assists) FROM table_name_72 WHERE games < 2
[ 13828, 2137, 468, 262, 1178, 395, 13648, 290, 2826, 362, 1830, 393, 7380, 30, 46506, 20625, 7, 562, 1023, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1830, 1279, 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, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 468, 262, 1178, 395, 13648, 290, 2826, 362, 1830, 393, 7380, 30, 46506, 20625, 7, 562, 1023, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1830, 1279, 362 ]
What year was the Grand Prix Passing Shot Bordeaux that had Runners-up of Diego Nargiso?
SELECT "Year" FROM table_41814 WHERE "Tournament Name" = 'grand prix passing shot bordeaux' AND "Runners-up" = 'diego nargiso'
[ 2061, 614, 373, 262, 5675, 23832, 46389, 13590, 347, 17531, 14644, 326, 550, 5660, 2741, 12, 929, 286, 9500, 399, 853, 26786, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 39667, 1415, 33411, 366, 51, 5138, 6530, 1, 796, 705, 23936, 1293...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 614, 373, 262, 5675, 23832, 46389, 13590, 347, 17531, 14644, 326, 550, 5660, 2741, 12, 929, 286, 9500, 399, 853, 26786, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 39667, 1415, 33411, 366, 51, 5138, 6530, 1, 796, 705, 23936, 1293...
What is Position, when Overall is less than 590, and when Round is 3?
SELECT position FROM table_name_6 WHERE overall < 590 AND round = 3
[ 2061, 318, 23158, 11, 618, 14674, 318, 1342, 621, 642, 3829, 11, 290, 618, 10485, 318, 513, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 21, 33411, 4045, 1279, 642, 3829, 5357, 2835, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23158, 11, 618, 14674, 318, 1342, 621, 642, 3829, 11, 290, 618, 10485, 318, 513, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 21, 33411, 4045, 1279, 642, 3829, 5357, 2835, 796, 513 ]
What was the number of draws when the Elche CF club played 38 and had a goal difference of -16?
SELECT MIN("Draws") FROM table_69343 WHERE "Goal Difference" > '-16' AND "Club" = 'elche cf' AND "Played" > '38'
[ 2061, 373, 262, 1271, 286, 14293, 618, 262, 2574, 2395, 18551, 3430, 2826, 4353, 290, 550, 257, 3061, 3580, 286, 532, 1433, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 3388, 32118, 33411, 366, 49045, 43795, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1271, 286, 14293, 618, 262, 2574, 2395, 18551, 3430, 2826, 4353, 290, 550, 257, 3061, 3580, 286, 532, 1433, 30, 46506, 20625, 7203, 25302, 82, 4943, 16034, 3084, 62, 3388, 32118, 33411, 366, 49045, 43795, 1, 1875, 705, ...
which country had the competitor with the least amount of points ?
SELECT "athlete" FROM table_204_731 ORDER BY "total" LIMIT 1
[ 4758, 1499, 550, 262, 20319, 351, 262, 1551, 2033, 286, 2173, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22, 3132, 38678, 11050, 366, 23350, 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, 1, 1 ]
[ 4758, 1499, 550, 262, 20319, 351, 262, 1551, 2033, 286, 2173, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 18638, 62, 22, 3132, 38678, 11050, 366, 23350, 1, 27564, 2043, 352 ]
How many people attended the game at Jahn-sportpark?
SELECT MIN(attendance) FROM table_24786958_2 WHERE game_site = "Jahn-Sportpark"
[ 2437, 867, 661, 9141, 262, 983, 379, 449, 15386, 12, 82, 634, 20928, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1731, 3695, 3388, 3365, 62, 17, 33411, 983, 62, 15654, 796, 366, 41, 15386, 12, 42576, 20928, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 9141, 262, 983, 379, 449, 15386, 12, 82, 634, 20928, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 1731, 3695, 3388, 3365, 62, 17, 33411, 983, 62, 15654, 796, 366, 41, 15386, 12, 42576, 20928, 1 ]
Name the agency for santa rosa avenue
SELECT "Agency" FROM table_28019 WHERE "South/West Terminal" = 'Santa Rosa Avenue'
[ 5376, 262, 4086, 329, 264, 4910, 686, 11400, 36132, 46506, 366, 32, 4949, 1, 16034, 3084, 62, 2078, 30484, 33411, 366, 14942, 14, 15045, 24523, 1, 796, 705, 42694, 27994, 8878, 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 ]
[ 5376, 262, 4086, 329, 264, 4910, 686, 11400, 36132, 46506, 366, 32, 4949, 1, 16034, 3084, 62, 2078, 30484, 33411, 366, 14942, 14, 15045, 24523, 1, 796, 705, 42694, 27994, 8878, 6 ]
What pick was play Jason Webb?
SELECT MAX(pick) FROM table_name_31 WHERE player = "jason webb"
[ 2061, 2298, 373, 711, 8982, 25130, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 2137, 796, 366, 73, 888, 3992, 65, 1 ]
[ 1, 1, 1, 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, 2298, 373, 711, 8982, 25130, 30, 46506, 25882, 7, 27729, 8, 16034, 3084, 62, 3672, 62, 3132, 33411, 2137, 796, 366, 73, 888, 3992, 65, 1 ]
who was the Stage winner when the stage was smaller than 16, earlier than 1986, and a distance (km) was 19.6?
SELECT "Stage winner" FROM table_13568 WHERE "Stage" < '16' AND "Year" < '1986' AND "Distance (km)" = '19.6'
[ 8727, 373, 262, 15371, 8464, 618, 262, 3800, 373, 4833, 621, 1467, 11, 2961, 621, 12113, 11, 290, 257, 5253, 357, 13276, 8, 373, 678, 13, 21, 30, 46506, 366, 29391, 8464, 1, 16034, 3084, 62, 17059, 3104, 33411, 366, 29391, 1, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8727, 373, 262, 15371, 8464, 618, 262, 3800, 373, 4833, 621, 1467, 11, 2961, 621, 12113, 11, 290, 257, 5253, 357, 13276, 8, 373, 678, 13, 21, 30, 46506, 366, 29391, 8464, 1, 16034, 3084, 62, 17059, 3104, 33411, 366, 29391, 1, 1279, ...
How many departments for each building? Draw a bar chart, show Y from high to low order.
SELECT building, COUNT(building) FROM department GROUP BY building ORDER BY COUNT(building) DESC
[ 2437, 867, 13346, 329, 1123, 2615, 30, 15315, 257, 2318, 8262, 11, 905, 575, 422, 1029, 284, 1877, 1502, 13, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 5011, 44441, 11050, 2615, 38678, 11050, 327, 28270, 7, 16894, 8, 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, 1 ]
[ 2437, 867, 13346, 329, 1123, 2615, 30, 15315, 257, 2318, 8262, 11, 905, 575, 422, 1029, 284, 1877, 1502, 13, 46506, 2615, 11, 327, 28270, 7, 16894, 8, 16034, 5011, 44441, 11050, 2615, 38678, 11050, 327, 28270, 7, 16894, 8, 22196, 34 ]
What is Andy North with a To par greater than 8 Country?
SELECT country FROM table_name_53 WHERE to_par > 8 AND player = "andy north"
[ 2061, 318, 12382, 2258, 351, 257, 1675, 1582, 3744, 621, 807, 12946, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 4310, 33411, 284, 62, 1845, 1875, 807, 5357, 2137, 796, 366, 10757, 5093, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12382, 2258, 351, 257, 1675, 1582, 3744, 621, 807, 12946, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 4310, 33411, 284, 62, 1845, 1875, 807, 5357, 2137, 796, 366, 10757, 5093, 1 ]
what was the name of the prescription drug that patient 002-8416 was prescribed during the same day after being diagnosed with s/p thoracotomy in the first hospital visit?
SELECT t2.drugname FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-8416' AND NOT patient.hospita...
[ 10919, 373, 262, 1438, 286, 262, 15077, 2563, 326, 5827, 3571, 17, 12, 5705, 1433, 373, 14798, 1141, 262, 976, 1110, 706, 852, 14641, 351, 264, 14, 79, 41899, 330, 38385, 287, 262, 717, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 367...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 286, 262, 15077, 2563, 326, 5827, 3571, 17, 12, 5705, 1433, 373, 14798, 1141, 262, 976, 1110, 706, 852, 14641, 351, 264, 14, 79, 41899, 330, 38385, 287, 262, 717, 4436, 3187, 30, 46506, 256, 17, 13, 30349, 367...
how many patients on im route of drug administration have bone marrow transplant status diagnosis?
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 = "Trnspl status-bne marrow" AND prescriptions.route = "IM"
[ 4919, 867, 3871, 319, 545, 6339, 286, 2563, 3662, 423, 9970, 44173, 23319, 3722, 13669, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 319, 545, 6339, 286, 2563, 3662, 423, 9970, 44173, 23319, 3722, 13669, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108,...
If the Away team is essendon, what was the Date they played?
SELECT date FROM table_name_62 WHERE away_team = "essendon"
[ 1532, 262, 21986, 1074, 318, 3209, 43153, 11, 644, 373, 262, 7536, 484, 2826, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5237, 33411, 1497, 62, 15097, 796, 366, 408, 43153, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 21986, 1074, 318, 3209, 43153, 11, 644, 373, 262, 7536, 484, 2826, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5237, 33411, 1497, 62, 15097, 796, 366, 408, 43153, 1 ]
What was the final score of the November 8, 2001 game?
SELECT "Result" FROM table_31616 WHERE "Date" = 'november 8, 2001'
[ 2061, 373, 262, 2457, 4776, 286, 262, 3389, 807, 11, 5878, 983, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33400, 1433, 33411, 366, 10430, 1, 796, 705, 77, 3239, 807, 11, 5878, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2457, 4776, 286, 262, 3389, 807, 11, 5878, 983, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 33400, 1433, 33411, 366, 10430, 1, 796, 705, 77, 3239, 807, 11, 5878, 6 ]
What is the least amount of losses for the team that had more than 0 draws during the seasons earlier than 1926?
SELECT MIN(losses) FROM table_name_13 WHERE draws > 0 AND season < 1926
[ 2061, 318, 262, 1551, 2033, 286, 9089, 329, 262, 1074, 326, 550, 517, 621, 657, 14293, 1141, 262, 7028, 2961, 621, 38525, 30, 46506, 20625, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 14293, 1875, 657, 5357, 1622, 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 ]
[ 2061, 318, 262, 1551, 2033, 286, 9089, 329, 262, 1074, 326, 550, 517, 621, 657, 14293, 1141, 262, 7028, 2961, 621, 38525, 30, 46506, 20625, 7, 22462, 274, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 14293, 1875, 657, 5357, 1622, 1279, ...
What is the Score when the Player is toru taniguchi?
SELECT "Score" FROM table_44313 WHERE "Player" = 'toru taniguchi'
[ 2061, 318, 262, 15178, 618, 262, 7853, 318, 7332, 84, 25706, 328, 22200, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2598, 25838, 33411, 366, 14140, 1, 796, 705, 13165, 84, 25706, 328, 22200, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 15178, 618, 262, 7853, 318, 7332, 84, 25706, 328, 22200, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 2598, 25838, 33411, 366, 14140, 1, 796, 705, 13165, 84, 25706, 328, 22200, 6 ]
What classes will Dr. Yang Zhang be teaching this upcoming semester ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND instructor.name LIKE '%Yang Zhang%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offeri...
[ 2061, 6097, 481, 1583, 13, 10998, 19439, 307, 7743, 428, 7865, 24878, 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, 11, 6011, 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...
[ 2061, 6097, 481, 1583, 13, 10998, 19439, 307, 7743, 428, 7865, 24878, 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, 11, 6011, 62, ...
name the most series number for season 22
SELECT MAX(series__number) FROM table_25800134_18 WHERE season__number = 22
[ 3672, 262, 749, 2168, 1271, 329, 1622, 2534, 46506, 25882, 7, 25076, 834, 17618, 8, 16034, 3084, 62, 1495, 7410, 19880, 62, 1507, 33411, 1622, 834, 17618, 796, 2534 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3672, 262, 749, 2168, 1271, 329, 1622, 2534, 46506, 25882, 7, 25076, 834, 17618, 8, 16034, 3084, 62, 1495, 7410, 19880, 62, 1507, 33411, 1622, 834, 17618, 796, 2534 ]
Draw a bar chart about the distribution of password and author_id .
SELECT password, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 9206, 290, 1772, 62, 312, 764, 46506, 9206, 11, 1772, 62, 312, 16034, 20537, 62, 30515, 669, 62, 392, 62, 51, 315, 669, 38678, 11050, 2614, 62, 3672 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 9206, 290, 1772, 62, 312, 764, 46506, 9206, 11, 1772, 62, 312, 16034, 20537, 62, 30515, 669, 62, 392, 62, 51, 315, 669, 38678, 11050, 2614, 62, 3672 ]
Which Label that has an Album of so red the rose?
SELECT "Label" FROM table_63197 WHERE "Album" = 'so red the rose'
[ 13828, 36052, 326, 468, 281, 23999, 286, 523, 2266, 262, 8278, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 5066, 24991, 33411, 366, 2348, 4435, 1, 796, 705, 568, 2266, 262, 8278, 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 ]
[ 13828, 36052, 326, 468, 281, 23999, 286, 523, 2266, 262, 8278, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 5066, 24991, 33411, 366, 2348, 4435, 1, 796, 705, 568, 2266, 262, 8278, 6 ]
What is Busan's rank?
SELECT SUM("Rank") FROM table_8793 WHERE "City" = 'busan'
[ 2061, 318, 5869, 272, 338, 4279, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 23, 44750, 33411, 366, 14941, 1, 796, 705, 10885, 272, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 5869, 272, 338, 4279, 30, 46506, 35683, 7203, 27520, 4943, 16034, 3084, 62, 23, 44750, 33411, 366, 14941, 1, 796, 705, 10885, 272, 6 ]
What is the rnag for lyric fm 98.7?
SELECT "RnaG (MHz)" FROM table_22345 WHERE "Lyric FM (MHz)" = '98.7'
[ 2061, 318, 262, 374, 77, 363, 329, 43086, 277, 76, 9661, 13, 22, 30, 46506, 366, 49, 2616, 38, 357, 25983, 16725, 16034, 3084, 62, 22047, 2231, 33411, 366, 31633, 1173, 18695, 357, 25983, 16725, 796, 705, 4089, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 374, 77, 363, 329, 43086, 277, 76, 9661, 13, 22, 30, 46506, 366, 49, 2616, 38, 357, 25983, 16725, 16034, 3084, 62, 22047, 2231, 33411, 366, 31633, 1173, 18695, 357, 25983, 16725, 796, 705, 4089, 13, 22, 6 ]
Name the sum of land for ANSI code of 2390496 and population less than 7,284
SELECT SUM("Land ( sq mi )") FROM table_58440 WHERE "ANSI code" = '2390496' AND "Pop. (2010)" < '7,284'
[ 5376, 262, 2160, 286, 1956, 329, 3537, 11584, 2438, 286, 2242, 3829, 37747, 290, 3265, 1342, 621, 767, 11, 30336, 46506, 35683, 7203, 22342, 357, 19862, 21504, 1267, 4943, 16034, 3084, 62, 3365, 25644, 33411, 366, 1565, 11584, 2438, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2160, 286, 1956, 329, 3537, 11584, 2438, 286, 2242, 3829, 37747, 290, 3265, 1342, 621, 767, 11, 30336, 46506, 35683, 7203, 22342, 357, 19862, 21504, 1267, 4943, 16034, 3084, 62, 3365, 25644, 33411, 366, 1565, 11584, 2438, 1, ...
Which college does the player jon hameister-ries play for?
SELECT "College" FROM table_52636 WHERE "Player" = 'jon hameister-ries'
[ 13828, 4152, 857, 262, 2137, 474, 261, 289, 480, 1694, 12, 1678, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 48531, 2623, 33411, 366, 14140, 1, 796, 705, 46286, 289, 480, 1694, 12, 1678, 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 ]
[ 13828, 4152, 857, 262, 2137, 474, 261, 289, 480, 1694, 12, 1678, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 48531, 2623, 33411, 366, 14140, 1, 796, 705, 46286, 289, 480, 1694, 12, 1678, 6 ]
what is the event when 2011-12 is n/a?
SELECT "Event" FROM table_45121 WHERE "2011\u201312" = 'n/a'
[ 10919, 318, 262, 1785, 618, 2813, 12, 1065, 318, 299, 14, 64, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2231, 19244, 33411, 366, 9804, 59, 84, 6390, 1065, 1, 796, 705, 77, 14, 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 ]
[ 10919, 318, 262, 1785, 618, 2813, 12, 1065, 318, 299, 14, 64, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2231, 19244, 33411, 366, 9804, 59, 84, 6390, 1065, 1, 796, 705, 77, 14, 64, 6 ]
tell me the time when patient 027-136480 measured respiration for the last time since 238 days ago?
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 = '027-136480')) AND NOT vitalperiodic.respiration IS ...
[ 33331, 502, 262, 640, 618, 5827, 657, 1983, 12, 1485, 2414, 1795, 8630, 1217, 15297, 329, 262, 938, 640, 1201, 32544, 1528, 2084, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 618, 5827, 657, 1983, 12, 1485, 2414, 1795, 8630, 1217, 15297, 329, 262, 938, 640, 1201, 32544, 1528, 2084, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, ...
Who remixed the version after 1999?
SELECT "Remixed by" FROM table_34091 WHERE "Year" > '1999'
[ 8241, 816, 2966, 262, 2196, 706, 7358, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 23601, 6420, 33411, 366, 17688, 1, 1875, 705, 18946, 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, 816, 2966, 262, 2196, 706, 7358, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 23601, 6420, 33411, 366, 17688, 1, 1875, 705, 18946, 6 ]
what was the number of candidates when Leon Sacks was incumbent?
SELECT COUNT(candidates) FROM table_1342256_38 WHERE incumbent = "Leon Sacks"
[ 10919, 373, 262, 1271, 286, 5871, 618, 10592, 311, 4595, 373, 23526, 30, 46506, 327, 28270, 7, 46188, 37051, 8, 16034, 3084, 62, 1485, 3682, 11645, 62, 2548, 33411, 23526, 796, 366, 36185, 311, 4595, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5871, 618, 10592, 311, 4595, 373, 23526, 30, 46506, 327, 28270, 7, 46188, 37051, 8, 16034, 3084, 62, 1485, 3682, 11645, 62, 2548, 33411, 23526, 796, 366, 36185, 311, 4595, 1 ]
Which skip has Zrinka Muhek as Second?
SELECT "Skip" FROM table_75263 WHERE "Second" = 'zrinka muhek'
[ 13828, 14267, 468, 1168, 81, 48955, 8252, 258, 74, 355, 5498, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 2425, 29558, 33411, 366, 12211, 1, 796, 705, 89, 81, 48955, 38779, 258, 74, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 14267, 468, 1168, 81, 48955, 8252, 258, 74, 355, 5498, 30, 46506, 366, 50232, 1, 16034, 3084, 62, 2425, 29558, 33411, 366, 12211, 1, 796, 705, 89, 81, 48955, 38779, 258, 74, 6 ]
Show the number of courses for each instructor in a stacked bar chart The x-axis is instructor's first name and group by course description, and I want to display in asc by the x-axis.
SELECT EMP_FNAME, COUNT(EMP_FNAME) FROM CLASS AS T1 JOIN EMPLOYEE AS T2 ON T1.PROF_NUM = T2.EMP_NUM JOIN COURSE AS T3 ON T1.CRS_CODE = T3.CRS_CODE JOIN PROFESSOR AS T4 ON T2.EMP_NUM = T4.EMP_NUM GROUP BY CRS_DESCRIPTION, EMP_FNAME ORDER BY EMP_FNAME
[ 15307, 262, 1271, 286, 10902, 329, 1123, 21187, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 21187, 338, 717, 1438, 290, 1448, 416, 1781, 6764, 11, 290, 314, 765, 284, 3359, 287, 10570, 416, 262, 2124, 12, 22704, 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...
[ 15307, 262, 1271, 286, 10902, 329, 1123, 21187, 287, 257, 24167, 2318, 8262, 383, 2124, 12, 22704, 318, 21187, 338, 717, 1438, 290, 1448, 416, 1781, 6764, 11, 290, 314, 765, 284, 3359, 287, 10570, 416, 262, 2124, 12, 22704, 13, 46506,...
Who is the Player with a Score of 70-72=142? Question 3
SELECT "Player" FROM table_77082 WHERE "Score" = '70-72=142'
[ 8241, 318, 262, 7853, 351, 257, 15178, 286, 4317, 12, 4761, 28, 23726, 30, 18233, 513, 46506, 366, 14140, 1, 16034, 3084, 62, 41820, 6469, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4761, 28, 23726, 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, 7853, 351, 257, 15178, 286, 4317, 12, 4761, 28, 23726, 30, 18233, 513, 46506, 366, 14140, 1, 16034, 3084, 62, 41820, 6469, 33411, 366, 26595, 1, 796, 705, 2154, 12, 4761, 28, 23726, 6 ]
Who is the captain of Dave Jones' team?
SELECT team AS captain FROM table_26593762_2 WHERE manager = "Dave Jones"
[ 8241, 318, 262, 10654, 286, 9935, 5437, 6, 1074, 30, 46506, 1074, 7054, 10654, 16034, 3084, 62, 2075, 3270, 2718, 5237, 62, 17, 33411, 4706, 796, 366, 27984, 5437, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 10654, 286, 9935, 5437, 6, 1074, 30, 46506, 1074, 7054, 10654, 16034, 3084, 62, 2075, 3270, 2718, 5237, 62, 17, 33411, 4706, 796, 366, 27984, 5437, 1 ]
What is Tournament, when Margin Of Victory is 1 Stroke, and when Date is 18 Jan 2009?
SELECT "Tournament" FROM table_48757 WHERE "Margin of victory" = '1 stroke' AND "Date" = '18 jan 2009'
[ 2061, 318, 9595, 11, 618, 11899, 259, 3226, 21203, 318, 352, 30183, 365, 11, 290, 618, 7536, 318, 1248, 2365, 3717, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 2780, 39251, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 14000...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9595, 11, 618, 11899, 259, 3226, 21203, 318, 352, 30183, 365, 11, 290, 618, 7536, 318, 1248, 2365, 3717, 30, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 2780, 39251, 33411, 366, 24428, 259, 286, 5373, 1, 796, 705, 16, 14000...
What date was the game played on the hard surface at the Tournament of Sweden f2?
SELECT date FROM table_name_77 WHERE surface = "hard" AND tournament = "sweden f2"
[ 2061, 3128, 373, 262, 983, 2826, 319, 262, 1327, 4417, 379, 262, 9595, 286, 10710, 277, 17, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3324, 33411, 4417, 796, 366, 10424, 1, 5357, 7756, 796, 366, 2032, 31829, 277, 17, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 373, 262, 983, 2826, 319, 262, 1327, 4417, 379, 262, 9595, 286, 10710, 277, 17, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3324, 33411, 4417, 796, 366, 10424, 1, 5357, 7756, 796, 366, 2032, 31829, 277, 17, 1 ]
What is the sum of Events played when the cuts made is less than 0?
SELECT SUM(events_played) FROM table_name_82 WHERE cuts_made < 0
[ 2061, 318, 262, 2160, 286, 18715, 2826, 618, 262, 6630, 925, 318, 1342, 621, 657, 30, 46506, 35683, 7, 31534, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 6630, 62, 9727, 1279, 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, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 18715, 2826, 618, 262, 6630, 925, 318, 1342, 621, 657, 30, 46506, 35683, 7, 31534, 62, 21542, 8, 16034, 3084, 62, 3672, 62, 6469, 33411, 6630, 62, 9727, 1279, 657 ]
when was first time the respiration of patient 035-166 was less than 3.0 on the last intensive care unit visit?
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 = '035-166') AND NOT patient.unitdischargetime IS NULL...
[ 12518, 373, 717, 640, 262, 1217, 15297, 286, 5827, 657, 2327, 12, 23055, 373, 1342, 621, 513, 13, 15, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 717, 640, 262, 1217, 15297, 286, 5827, 657, 2327, 12, 23055, 373, 1342, 621, 513, 13, 15, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204,...
count the number of times patient 035-18528's jp #1 came out on the last intensive care unit visit.
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-18528') AND NOT patient.unitdischargetime IS NULL ORDER BY patient.uni...
[ 9127, 262, 1271, 286, 1661, 5827, 657, 2327, 12, 21652, 2078, 338, 474, 79, 1303, 16, 1625, 503, 319, 262, 938, 18590, 1337, 4326, 3187, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1661, 5827, 657, 2327, 12, 21652, 2078, 338, 474, 79, 1303, 16, 1625, 503, 319, 262, 938, 18590, 1337, 4326, 3187, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712,...
When were the Houston Texans the visiting team later in the season?
SELECT MAX("Week") FROM table_69256 WHERE "Visiting Team" = 'houston texans'
[ 2215, 547, 262, 6995, 21012, 262, 10013, 1074, 1568, 287, 262, 1622, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 3388, 11645, 33411, 366, 15854, 1780, 4816, 1, 796, 705, 71, 6526, 48659, 504, 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 ]
[ 2215, 547, 262, 6995, 21012, 262, 10013, 1074, 1568, 287, 262, 1622, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 3388, 11645, 33411, 366, 15854, 1780, 4816, 1, 796, 705, 71, 6526, 48659, 504, 6 ]
What is the highest 2009 value with a 2006 value smaller than 280.4, a 2007 less than 2.2, and a 2011 less than 3.5?
SELECT MAX("2009") FROM table_34884 WHERE "2006" < '280.4' AND "2007" < '2.2' AND "2010" < '3.5'
[ 2061, 318, 262, 4511, 3717, 1988, 351, 257, 4793, 1988, 4833, 621, 21355, 13, 19, 11, 257, 4343, 1342, 621, 362, 13, 17, 11, 290, 257, 2813, 1342, 621, 513, 13, 20, 30, 46506, 25882, 7203, 10531, 4943, 16034, 3084, 62, 2682, 40353, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3717, 1988, 351, 257, 4793, 1988, 4833, 621, 21355, 13, 19, 11, 257, 4343, 1342, 621, 362, 13, 17, 11, 290, 257, 2813, 1342, 621, 513, 13, 20, 30, 46506, 25882, 7203, 10531, 4943, 16034, 3084, 62, 2682, 40353, ...
What is the candidates for first elected 1914
SELECT "Candidates" FROM table_784 WHERE "First elected" = '1914'
[ 2061, 318, 262, 5871, 329, 717, 7018, 26833, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 37688, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5871, 329, 717, 7018, 26833, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 37688, 33411, 366, 5962, 7018, 1, 796, 705, 1129, 1415, 6 ]
which national park has the least visitation ?
SELECT "national park" FROM table_204_143 ORDER BY "visitation (2009)" LIMIT 1
[ 4758, 2260, 3952, 468, 262, 1551, 49874, 5633, 46506, 366, 14648, 3952, 1, 16034, 3084, 62, 18638, 62, 21139, 38678, 11050, 366, 4703, 3780, 357, 10531, 16725, 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 ]
[ 4758, 2260, 3952, 468, 262, 1551, 49874, 5633, 46506, 366, 14648, 3952, 1, 16034, 3084, 62, 18638, 62, 21139, 38678, 11050, 366, 4703, 3780, 357, 10531, 16725, 27564, 2043, 352 ]
What was the total ITV1 viewers in millions for the episode with a share (%) of 28.9?
SELECT total_itv1_viewers__millions_ FROM table_27319183_5 WHERE share___percentage_ = "28.9"
[ 2061, 373, 262, 2472, 49188, 16, 10209, 287, 5242, 329, 262, 4471, 351, 257, 2648, 11509, 286, 2579, 13, 24, 30, 46506, 2472, 62, 270, 85, 16, 62, 1177, 364, 834, 17805, 507, 62, 16034, 3084, 62, 27367, 1129, 24839, 62, 20, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2472, 49188, 16, 10209, 287, 5242, 329, 262, 4471, 351, 257, 2648, 11509, 286, 2579, 13, 24, 30, 46506, 2472, 62, 270, 85, 16, 62, 1177, 364, 834, 17805, 507, 62, 16034, 3084, 62, 27367, 1129, 24839, 62, 20, 33411, ...
What are the opening years in which at least two shops opened?
SELECT open_year FROM branch GROUP BY open_year HAVING COUNT(*) >= 2
[ 2061, 389, 262, 4756, 812, 287, 543, 379, 1551, 734, 12437, 4721, 30, 46506, 1280, 62, 1941, 16034, 8478, 44441, 11050, 1280, 62, 1941, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 4756, 812, 287, 543, 379, 1551, 734, 12437, 4721, 30, 46506, 1280, 62, 1941, 16034, 8478, 44441, 11050, 1280, 62, 1941, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
What is the weight of the player from the Philadelphia 76ers?
SELECT COUNT(weight) FROM table_name_53 WHERE team = "philadelphia 76ers"
[ 2061, 318, 262, 3463, 286, 262, 2137, 422, 262, 8857, 8684, 364, 30, 46506, 327, 28270, 7, 6551, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 1074, 796, 366, 28864, 8273, 8684, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3463, 286, 262, 2137, 422, 262, 8857, 8684, 364, 30, 46506, 327, 28270, 7, 6551, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 1074, 796, 366, 28864, 8273, 8684, 364, 1 ]
state the name of day in english where cardinal direction is east
SELECT "English" FROM table_73241 WHERE "Cardinal direction" = 'East'
[ 5219, 262, 1438, 286, 1110, 287, 46932, 810, 38691, 4571, 318, 7627, 46506, 366, 15823, 1, 16034, 3084, 62, 4790, 28872, 33411, 366, 16962, 1292, 4571, 1, 796, 705, 25234, 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 ]
[ 5219, 262, 1438, 286, 1110, 287, 46932, 810, 38691, 4571, 318, 7627, 46506, 366, 15823, 1, 16034, 3084, 62, 4790, 28872, 33411, 366, 16962, 1292, 4571, 1, 796, 705, 25234, 6 ]
What was the attendance at the game when the record was 74-77?
SELECT "Attendance" FROM table_69072 WHERE "Record" = '74-77'
[ 2061, 373, 262, 14858, 379, 262, 983, 618, 262, 1700, 373, 8915, 12, 3324, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3388, 2998, 17, 33411, 366, 23739, 1, 796, 705, 4524, 12, 3324, 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, 373, 262, 14858, 379, 262, 983, 618, 262, 1700, 373, 8915, 12, 3324, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 3388, 2998, 17, 33411, 366, 23739, 1, 796, 705, 4524, 12, 3324, 6 ]
what are the minimum points for tommy kendall?
SELECT MIN("Points") FROM table_3898 WHERE "Driver" = 'Tommy Kendall'
[ 10919, 389, 262, 5288, 2173, 329, 16667, 1820, 479, 437, 439, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 2548, 4089, 33411, 366, 32103, 1, 796, 705, 13787, 1820, 36779, 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 ]
[ 10919, 389, 262, 5288, 2173, 329, 16667, 1820, 479, 437, 439, 30, 46506, 20625, 7203, 40710, 4943, 16034, 3084, 62, 2548, 4089, 33411, 366, 32103, 1, 796, 705, 13787, 1820, 36779, 6 ]
How many hectars of land is in Kaxholmen?
SELECT land_area__hectares_ FROM table_16796625_1 WHERE urban_area__locality_ = "Kaxholmen"
[ 2437, 867, 35246, 945, 286, 1956, 318, 287, 509, 897, 3937, 3653, 30, 46506, 1956, 62, 20337, 834, 258, 310, 3565, 62, 16034, 3084, 62, 1433, 3720, 2791, 1495, 62, 16, 33411, 7876, 62, 20337, 834, 17946, 1483, 62, 796, 366, 42, 897,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 35246, 945, 286, 1956, 318, 287, 509, 897, 3937, 3653, 30, 46506, 1956, 62, 20337, 834, 258, 310, 3565, 62, 16034, 3084, 62, 1433, 3720, 2791, 1495, 62, 16, 33411, 7876, 62, 20337, 834, 17946, 1483, 62, 796, 366, 42, 897,...
what is the series when the team is gunbroker racing?
SELECT series FROM table_name_95 WHERE team = "gunbroker racing"
[ 10919, 318, 262, 2168, 618, 262, 1074, 318, 2485, 7957, 6122, 11717, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 3865, 33411, 1074, 796, 366, 7145, 7957, 6122, 11717, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2168, 618, 262, 1074, 318, 2485, 7957, 6122, 11717, 30, 46506, 2168, 16034, 3084, 62, 3672, 62, 3865, 33411, 1074, 796, 366, 7145, 7957, 6122, 11717, 1 ]
Which Attendance has a Result of 1-0, and a Venue of A, and an Opponent of newcastle united?
SELECT MIN(attendance) FROM table_name_77 WHERE result = "1-0" AND venue = "a" AND opponent = "newcastle united"
[ 13828, 46502, 590, 468, 257, 25414, 286, 352, 12, 15, 11, 290, 257, 9932, 518, 286, 317, 11, 290, 281, 9385, 3471, 286, 649, 18676, 16503, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1255, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 46502, 590, 468, 257, 25414, 286, 352, 12, 15, 11, 290, 257, 9932, 518, 286, 317, 11, 290, 281, 9385, 3471, 286, 649, 18676, 16503, 30, 46506, 20625, 7, 1078, 437, 590, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 1255, 796, ...
What was the attendance when they had a ranking of #4?
SELECT "Attendance" FROM table_61714 WHERE "Rank #" = '4'
[ 2061, 373, 262, 14858, 618, 484, 550, 257, 12759, 286, 1303, 19, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 47941, 1415, 33411, 366, 27520, 1303, 1, 796, 705, 19, 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, 373, 262, 14858, 618, 484, 550, 257, 12759, 286, 1303, 19, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 47941, 1415, 33411, 366, 27520, 1303, 1, 796, 705, 19, 6 ]
Who was the home team on January 2 with 23 points?
SELECT home FROM table_name_57 WHERE points = 23 AND date = "january 2"
[ 8241, 373, 262, 1363, 1074, 319, 3269, 362, 351, 2242, 2173, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3553, 33411, 2173, 796, 2242, 5357, 3128, 796, 366, 13881, 2838, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 1363, 1074, 319, 3269, 362, 351, 2242, 2173, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3553, 33411, 2173, 796, 2242, 5357, 3128, 796, 366, 13881, 2838, 362, 1 ]
Show me the total number by category in a histogram, list in descending by the names.
SELECT Category, COUNT(*) FROM music_festival GROUP BY Category ORDER BY Category DESC
[ 15307, 502, 262, 2472, 1271, 416, 6536, 287, 257, 1554, 21857, 11, 1351, 287, 31491, 416, 262, 3891, 13, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 21743, 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 ]
[ 15307, 502, 262, 2472, 1271, 416, 6536, 287, 257, 1554, 21857, 11, 1351, 287, 31491, 416, 262, 3891, 13, 46506, 21743, 11, 327, 28270, 7, 28104, 16034, 2647, 62, 69, 6743, 44441, 11050, 21743, 38678, 11050, 21743, 22196, 34 ]
Does anyone else teach Animation for non-Majors other than Prof. Lay ?
SELECT DISTINCT course.department, course.name, course.number, instructor.name FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.name LIKE '%Animation for non-Majors%' AND NOT instructor.name LIKE '%Lay%' AND offering_instructor.instructor_id = i...
[ 13921, 2687, 2073, 4545, 23535, 329, 1729, 12, 44, 1228, 669, 584, 621, 4415, 13, 18881, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13921, 2687, 2073, 4545, 23535, 329, 1729, 12, 44, 1228, 669, 584, 621, 4415, 13, 18881, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 21187, 13, 3672, 16034, 1781, 11, 1781, ...
Who is the player from Arizona state with a round less than 7?
SELECT "Player" FROM table_41040 WHERE "Round" < '7' AND "College" = 'arizona state'
[ 8241, 318, 262, 2137, 422, 7943, 1181, 351, 257, 2835, 1342, 621, 767, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 33289, 1821, 33411, 366, 22685, 1, 1279, 705, 22, 6, 5357, 366, 38951, 1, 796, 705, 283, 528, 4450, 1181, 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 ]
[ 8241, 318, 262, 2137, 422, 7943, 1181, 351, 257, 2835, 1342, 621, 767, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 33289, 1821, 33411, 366, 22685, 1, 1279, 705, 22, 6, 5357, 366, 38951, 1, 796, 705, 283, 528, 4450, 1181, 6 ]
Name the last time for club of newell's old boys
SELECT "Last Title" FROM table_68817 WHERE "Club" = 'newell''s old boys'
[ 5376, 262, 938, 640, 329, 3430, 286, 649, 695, 338, 1468, 6510, 46506, 366, 5956, 11851, 1, 16034, 3084, 62, 34427, 1558, 33411, 366, 42350, 1, 796, 705, 3605, 695, 7061, 82, 1468, 6510, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 938, 640, 329, 3430, 286, 649, 695, 338, 1468, 6510, 46506, 366, 5956, 11851, 1, 16034, 3084, 62, 34427, 1558, 33411, 366, 42350, 1, 796, 705, 3605, 695, 7061, 82, 1468, 6510, 6 ]
what was the next game after kcr on april 19th ?
SELECT "opponent" FROM table_203_536 WHERE id = (SELECT id FROM table_203_536 WHERE "date" = 'apr 19') + 1
[ 10919, 373, 262, 1306, 983, 706, 479, 6098, 319, 46593, 346, 678, 400, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 44468, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 44468, 33411, 366, 4475, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1306, 983, 706, 479, 6098, 319, 46593, 346, 678, 400, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 22416, 62, 44468, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 22416, 62, 44468, 33411, 366, 4475, 1, 79...
had a peep lab test patient 017-13959 received since 06/2104?
SELECT COUNT(*) > 0 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '017-13959')) AND lab.labname = 'peep' AND STRFTIME('%y-%m', lab.labresulttime) >= '2104-...
[ 18108, 257, 613, 538, 2248, 1332, 5827, 5534, 22, 12, 20219, 3270, 2722, 1201, 9130, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 257, 613, 538, 2248, 1332, 5827, 5534, 22, 12, 20219, 3270, 2722, 1201, 9130, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, ...
how many patients have undergone a vascular catheter placement - central venous two or more times since 2 years ago?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'vascular catheter placement - central venous' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TI...
[ 4919, 867, 3871, 423, 29900, 257, 39495, 3797, 43332, 13127, 532, 4318, 8710, 516, 734, 393, 517, 1661, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 423, 29900, 257, 39495, 3797, 43332, 13127, 532, 4318, 8710, 516, 734, 393, 517, 1661, 1201, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 58...
what is the total number of international goals d m szalai has made ?
SELECT COUNT("goal") FROM table_203_551
[ 10919, 318, 262, 2472, 1271, 286, 3230, 4661, 288, 285, 264, 89, 282, 1872, 468, 925, 5633, 46506, 327, 28270, 7203, 35231, 4943, 16034, 3084, 62, 22416, 62, 43697 ]
[ 1, 1, 1, 1, 1, 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, 3230, 4661, 288, 285, 264, 89, 282, 1872, 468, 925, 5633, 46506, 327, 28270, 7203, 35231, 4943, 16034, 3084, 62, 22416, 62, 43697 ]
How many 180s have legs won of 45?
SELECT MAX("180s") FROM table_24018 WHERE "Legs Won" = '45'
[ 2437, 867, 11546, 82, 423, 7405, 1839, 286, 4153, 30, 46506, 25882, 7203, 15259, 82, 4943, 16034, 3084, 62, 1731, 29159, 33411, 366, 11484, 82, 23306, 1, 796, 705, 2231, 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 ]
[ 2437, 867, 11546, 82, 423, 7405, 1839, 286, 4153, 30, 46506, 25882, 7203, 15259, 82, 4943, 16034, 3084, 62, 1731, 29159, 33411, 366, 11484, 82, 23306, 1, 796, 705, 2231, 6 ]
body mass index ( bmi ) < 38 kg / m2, inclusive, and body weight of > 48 kg ( 105 pounds ) at screening.
SELECT * FROM table_train_142 WHERE body_mass_index_bmi < 38 AND body_weight > 48
[ 2618, 2347, 6376, 357, 275, 11632, 1267, 1279, 4353, 14211, 1220, 285, 17, 11, 19889, 11, 290, 1767, 3463, 286, 1875, 4764, 14211, 357, 13343, 8059, 1267, 379, 14135, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 23726, 33411, 1767, 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 ]
[ 2618, 2347, 6376, 357, 275, 11632, 1267, 1279, 4353, 14211, 1220, 285, 17, 11, 19889, 11, 290, 1767, 3463, 286, 1875, 4764, 14211, 357, 13343, 8059, 1267, 379, 14135, 13, 46506, 1635, 16034, 3084, 62, 27432, 62, 23726, 33411, 1767, 62, ...
What is the away team score when the home team is North Melbourne?
SELECT away_team AS score FROM table_name_52 WHERE home_team = "north melbourne"
[ 2061, 318, 262, 1497, 1074, 4776, 618, 262, 1363, 1074, 318, 2258, 14819, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4309, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1497, 1074, 4776, 618, 262, 1363, 1074, 318, 2258, 14819, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 4309, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
Show the total number from each state province county, sort by the Y-axis from low to high.
SELECT state_province_county, COUNT(*) FROM Addresses GROUP BY state_province_county ORDER BY COUNT(*)
[ 15307, 262, 2472, 1271, 422, 1123, 1181, 8473, 7968, 11, 3297, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 1181, 62, 15234, 924, 62, 9127, 88, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 44441, 11050, 1181, 62, 15234,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 422, 1123, 1181, 8473, 7968, 11, 3297, 416, 262, 575, 12, 22704, 422, 1877, 284, 1029, 13, 46506, 1181, 62, 15234, 924, 62, 9127, 88, 11, 327, 28270, 7, 28104, 16034, 3060, 16746, 44441, 11050, 1181, 62, 15234,...
What was the date of the game where Geelong was the home team?
SELECT date FROM table_name_18 WHERE home_team = "geelong"
[ 2061, 373, 262, 3128, 286, 262, 983, 810, 2269, 21537, 373, 262, 1363, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1507, 33411, 1363, 62, 15097, 796, 366, 469, 21537, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 262, 983, 810, 2269, 21537, 373, 262, 1363, 1074, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1507, 33411, 1363, 62, 15097, 796, 366, 469, 21537, 1 ]
Questions (possibly) with MathJax in the title.
SELECT p.Id AS "post_link", p.Score AS "Score", p.Tags AS "Tags", LENGTH(p.Title) - LENGTH(REPLACE(p.Title, '$', '')) AS "$ Count" FROM Posts AS p WHERE p.PostTypeId = 1 AND LENGTH(p.Title) - LENGTH(REPLACE(p.Title, '$', '')) >= 1 ORDER BY LENGTH(p.Title) - LENGTH(REPLACE(p.Title, '$', '')) DESC
[ 35741, 357, 39363, 8, 351, 16320, 41, 897, 287, 262, 3670, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 7054, 366, 26595, 1600, 279, 13, 36142, 7054, 366, 36142, 1600, 406, 49494, 7, 79, 13, 19160, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35741, 357, 39363, 8, 351, 16320, 41, 897, 287, 262, 3670, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 7054, 366, 26595, 1600, 279, 13, 36142, 7054, 366, 36142, 1600, 406, 49494, 7, 79, 13, 19160, 8, ...
How many styles had a total score of exactly 33?
SELECT COUNT(style) FROM table_28677723_9 WHERE total = 33
[ 2437, 867, 12186, 550, 257, 2472, 4776, 286, 3446, 4747, 30, 46506, 327, 28270, 7, 7635, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 24, 33411, 2472, 796, 4747 ]
[ 1, 1, 1, 1, 1, 1, 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, 12186, 550, 257, 2472, 4776, 286, 3446, 4747, 30, 46506, 327, 28270, 7, 7635, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 24, 33411, 2472, 796, 4747 ]
In how many races did he have 8 podium finishes?
SELECT COUNT(races) FROM table_26400438_1 WHERE podiums = 8
[ 818, 703, 867, 9558, 750, 339, 423, 807, 27941, 20271, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 2075, 7029, 43704, 62, 16, 33411, 27941, 82, 796, 807 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 703, 867, 9558, 750, 339, 423, 807, 27941, 20271, 30, 46506, 327, 28270, 7, 81, 2114, 8, 16034, 3084, 62, 2075, 7029, 43704, 62, 16, 33411, 27941, 82, 796, 807 ]
What is the tyres with a year earlier than 1961 for a climax l4 engine?
SELECT tyres FROM table_name_33 WHERE year < 1961 AND engine = "climax l4"
[ 2061, 318, 262, 40498, 351, 257, 614, 2961, 621, 20510, 329, 257, 30032, 300, 19, 3113, 30, 46506, 40498, 16034, 3084, 62, 3672, 62, 2091, 33411, 614, 1279, 20510, 5357, 3113, 796, 366, 565, 320, 897, 300, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 40498, 351, 257, 614, 2961, 621, 20510, 329, 257, 30032, 300, 19, 3113, 30, 46506, 40498, 16034, 3084, 62, 3672, 62, 2091, 33411, 614, 1279, 20510, 5357, 3113, 796, 366, 565, 320, 897, 300, 19, 1 ]
which rider earned first position with 25 points ?
SELECT "rider" FROM table_204_114 WHERE "points" = 25
[ 4758, 17876, 7366, 717, 2292, 351, 1679, 2173, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 18638, 62, 16562, 33411, 366, 13033, 1, 796, 1679 ]
[ 1, 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, 17876, 7366, 717, 2292, 351, 1679, 2173, 5633, 46506, 366, 49449, 1, 16034, 3084, 62, 18638, 62, 16562, 33411, 366, 13033, 1, 796, 1679 ]
How many millions of viewers watched episode 15?
SELECT us_viewers__millions_ FROM table_11230937_2 WHERE no_in_season = 15
[ 2437, 867, 5242, 286, 10209, 7342, 4471, 1315, 30, 46506, 514, 62, 1177, 364, 834, 17805, 507, 62, 16034, 3084, 62, 14686, 26895, 2718, 62, 17, 33411, 645, 62, 259, 62, 6230, 796, 1315 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5242, 286, 10209, 7342, 4471, 1315, 30, 46506, 514, 62, 1177, 364, 834, 17805, 507, 62, 16034, 3084, 62, 14686, 26895, 2718, 62, 17, 33411, 645, 62, 259, 62, 6230, 796, 1315 ]
If the home team was footscray which venue did they play it?
SELECT "Venue" FROM table_51607 WHERE "Home team" = 'footscray'
[ 1532, 262, 1363, 1074, 373, 2366, 1416, 2433, 543, 14359, 750, 484, 711, 340, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 47493, 2998, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 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 ]
[ 1532, 262, 1363, 1074, 373, 2366, 1416, 2433, 543, 14359, 750, 484, 711, 340, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 47493, 2998, 33411, 366, 16060, 1074, 1, 796, 705, 5898, 1416, 2433, 6 ]
Who is man of the match when Team 1 is ICL Pakistan?
SELECT "Man of the Match" FROM table_21304 WHERE "Team 1" = 'ICL Pakistan'
[ 8241, 318, 582, 286, 262, 2872, 618, 4816, 352, 318, 314, 5097, 7648, 30, 46506, 366, 5124, 286, 262, 13225, 1, 16034, 3084, 62, 2481, 21288, 33411, 366, 15592, 352, 1, 796, 705, 2149, 43, 7648, 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, 582, 286, 262, 2872, 618, 4816, 352, 318, 314, 5097, 7648, 30, 46506, 366, 5124, 286, 262, 13225, 1, 16034, 3084, 62, 2481, 21288, 33411, 366, 15592, 352, 1, 796, 705, 2149, 43, 7648, 6 ]
for the last time until 07/2103, when was patient 025-33728 prescribed narcan and miralax at the same time?
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'narcan' AND patient.uniquepid = '025-33728' AND STRFTIME('%y-%m', medication.drugstarttime) <= '2103-07') AS t1 JOIN (SEL...
[ 1640, 262, 938, 640, 1566, 8753, 14, 17, 15197, 11, 618, 373, 5827, 657, 1495, 12, 31496, 2078, 14798, 30083, 5171, 290, 5720, 282, 897, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 30349, 9688, 2435, 16034, 357, 46506, 5827, 13, 403...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 938, 640, 1566, 8753, 14, 17, 15197, 11, 618, 373, 5827, 657, 1495, 12, 31496, 2078, 14798, 30083, 5171, 290, 5720, 282, 897, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 30349, 9688, 2435, 16034, 357, 46506, 5827, 13, 403...
What are the ids of the students who registered for course 301 most recently?
SELECT student_id FROM student_course_attendance WHERE course_id = 301 ORDER BY date_of_attendance DESC LIMIT 1
[ 2061, 389, 262, 220, 2340, 286, 262, 2444, 508, 6823, 329, 1781, 25643, 749, 2904, 30, 46506, 3710, 62, 312, 16034, 3710, 62, 17319, 62, 1078, 437, 590, 33411, 1781, 62, 312, 796, 25643, 38678, 11050, 3128, 62, 1659, 62, 1078, 437, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 220, 2340, 286, 262, 2444, 508, 6823, 329, 1781, 25643, 749, 2904, 30, 46506, 3710, 62, 312, 16034, 3710, 62, 17319, 62, 1078, 437, 590, 33411, 1781, 62, 312, 796, 25643, 38678, 11050, 3128, 62, 1659, 62, 1078, 437, ...
What is the total number of rounds for the player of Rell Tipton?
SELECT COUNT("Round") FROM table_6396 WHERE "Player" = 'rell tipton'
[ 2061, 318, 262, 2472, 1271, 286, 9196, 329, 262, 2137, 286, 371, 695, 309, 10257, 261, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 21, 34107, 33411, 366, 14140, 1, 796, 705, 11252, 256, 10257, 261, 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, 2472, 1271, 286, 9196, 329, 262, 2137, 286, 371, 695, 309, 10257, 261, 30, 46506, 327, 28270, 7203, 22685, 4943, 16034, 3084, 62, 21, 34107, 33411, 366, 14140, 1, 796, 705, 11252, 256, 10257, 261, 6 ]