instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the home team of the game that ended with a score of 0-1?
SELECT "Home Team" FROM table_39888 WHERE "Score" = '0-1'
[ 2061, 318, 262, 1363, 1074, 286, 262, 983, 326, 4444, 351, 257, 4776, 286, 657, 12, 16, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 2670, 28011, 33411, 366, 26595, 1, 796, 705, 15, 12, 16, 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, 1363, 1074, 286, 262, 983, 326, 4444, 351, 257, 4776, 286, 657, 12, 16, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 2670, 28011, 33411, 366, 26595, 1, 796, 705, 15, 12, 16, 6 ]
Which one of the tournaments had a QF in 1996?
SELECT tournament FROM table_name_42 WHERE 1996 = "qf"
[ 13828, 530, 286, 262, 18130, 550, 257, 1195, 37, 287, 8235, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3682, 33411, 8235, 796, 366, 80, 69, 1 ]
[ 1, 1, 1, 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, 530, 286, 262, 18130, 550, 257, 1195, 37, 287, 8235, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 3682, 33411, 8235, 796, 366, 80, 69, 1 ]
How many to par in England?
SELECT "To par" FROM table_50954 WHERE "Country" = 'england'
[ 2437, 867, 284, 1582, 287, 4492, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 1120, 48372, 33411, 366, 33921, 1, 796, 705, 1516, 1044, 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 ]
[ 2437, 867, 284, 1582, 287, 4492, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 1120, 48372, 33411, 366, 33921, 1, 796, 705, 1516, 1044, 6 ]
What Surface has a Date of 15 february 1988?
SELECT "Surface" FROM table_58980 WHERE "Date" = '15 february 1988'
[ 2061, 20321, 468, 257, 7536, 286, 1315, 730, 65, 3728, 12122, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3365, 40022, 33411, 366, 10430, 1, 796, 705, 1314, 730, 65, 3728, 12122, 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, 20321, 468, 257, 7536, 286, 1315, 730, 65, 3728, 12122, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3365, 40022, 33411, 366, 10430, 1, 796, 705, 1314, 730, 65, 3728, 12122, 6 ]
Which Total matches is the highest one that has Points % of 70%?
SELECT MAX(total_matches) FROM table_name_74 WHERE points__percentage = "70%"
[ 13828, 7472, 7466, 318, 262, 4511, 530, 326, 468, 11045, 4064, 286, 4317, 4, 30, 46506, 25882, 7, 23350, 62, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 2173, 834, 25067, 496, 796, 366, 2154, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7472, 7466, 318, 262, 4511, 530, 326, 468, 11045, 4064, 286, 4317, 4, 30, 46506, 25882, 7, 23350, 62, 6759, 2052, 8, 16034, 3084, 62, 3672, 62, 4524, 33411, 2173, 834, 25067, 496, 796, 366, 2154, 39658 ]
What's the number of users in the Nisibon-Yuma within the Del Este district?
SELECT users___number_ FROM table_20018310_1 WHERE irrigation_district = "Del Este" AND juntas_de_regantes__wub_ = "Nisibon-Yuma"
[ 2061, 338, 262, 1271, 286, 2985, 287, 262, 399, 271, 571, 261, 12, 56, 7487, 1626, 262, 4216, 412, 4169, 4783, 30, 46506, 2985, 17569, 17618, 62, 16034, 3084, 62, 2167, 24839, 940, 62, 16, 33411, 35425, 62, 17080, 2012, 796, 366, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 338, 262, 1271, 286, 2985, 287, 262, 399, 271, 571, 261, 12, 56, 7487, 1626, 262, 4216, 412, 4169, 4783, 30, 46506, 2985, 17569, 17618, 62, 16034, 3084, 62, 2167, 24839, 940, 62, 16, 33411, 35425, 62, 17080, 2012, 796, 366, 13...
Tell me the number of regions with an area of 58.81
SELECT COUNT("Region") FROM table_56921 WHERE "Area (km 2 )" = '58.81'
[ 24446, 502, 262, 1271, 286, 7652, 351, 281, 1989, 286, 7618, 13, 6659, 46506, 327, 28270, 7203, 47371, 4943, 16034, 3084, 62, 20, 3388, 2481, 33411, 366, 30547, 357, 13276, 362, 1267, 1, 796, 705, 3365, 13, 6659, 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 ]
[ 24446, 502, 262, 1271, 286, 7652, 351, 281, 1989, 286, 7618, 13, 6659, 46506, 327, 28270, 7203, 47371, 4943, 16034, 3084, 62, 20, 3388, 2481, 33411, 366, 30547, 357, 13276, 362, 1267, 1, 796, 705, 3365, 13, 6659, 6 ]
what are the medicines that were added to patient 10624 today compared to the ones yesterday?
SELECT prescriptions.drug FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10624) AND DATETIME(prescriptions.startdate, 'start of day') = DATETIME(CURRENT_TIME(), 'start of day', '-0 day') EXCEPT SELECT prescriptions.drug FROM prescriptions WHERE...
[ 10919, 389, 262, 23533, 326, 547, 2087, 284, 5827, 15696, 1731, 1909, 3688, 284, 262, 3392, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 389, 262, 23533, 326, 547, 2087, 284, 5827, 15696, 1731, 1909, 3688, 284, 262, 3392, 7415, 30, 46506, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, ...
What party is incumbent Oliver H. Cross?
SELECT party FROM table_1342331_43 WHERE incumbent = "Oliver H. Cross"
[ 2061, 2151, 318, 23526, 15416, 367, 13, 6372, 30, 46506, 2151, 16034, 3084, 62, 19880, 1954, 3132, 62, 3559, 33411, 23526, 796, 366, 30098, 1428, 367, 13, 6372, 1 ]
[ 1, 1, 1, 1, 1, 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, 2151, 318, 23526, 15416, 367, 13, 6372, 30, 46506, 2151, 16034, 3084, 62, 19880, 1954, 3132, 62, 3559, 33411, 23526, 796, 366, 30098, 1428, 367, 13, 6372, 1 ]
What competition has a Result of 1 2?
SELECT competition FROM table_name_73 WHERE result = "1–2"
[ 2061, 5449, 468, 257, 25414, 286, 352, 362, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 4790, 33411, 1255, 796, 366, 16, 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 ]
[ 2061, 5449, 468, 257, 25414, 286, 352, 362, 30, 46506, 5449, 16034, 3084, 62, 3672, 62, 4790, 33411, 1255, 796, 366, 16, 1906, 17, 1 ]
What is the minimum weights for people of each sex? Show a pie chart.
SELECT Sex, MIN(Weight) FROM people GROUP BY Sex
[ 2061, 318, 262, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2508, 8262, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419 ]
[ 1, 1, 1, 1, 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, 5288, 19590, 329, 661, 286, 1123, 1714, 30, 5438, 257, 2508, 8262, 13, 46506, 14419, 11, 20625, 7, 25844, 8, 16034, 661, 44441, 11050, 14419 ]
What school has the greyhounds as mascots?
SELECT "School" FROM table_39623 WHERE "Mascot" = 'greyhounds'
[ 2061, 1524, 468, 262, 13791, 71, 3733, 355, 23977, 1747, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 34107, 1954, 33411, 366, 44, 3372, 313, 1, 796, 705, 49502, 71, 3733, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1524, 468, 262, 13791, 71, 3733, 355, 23977, 1747, 30, 46506, 366, 26130, 1, 16034, 3084, 62, 34107, 1954, 33411, 366, 44, 3372, 313, 1, 796, 705, 49502, 71, 3733, 6 ]
What is the figure for La Canada Flintridge when Pasadena is 34?
SELECT la_cañada_flintridge FROM table_name_65 WHERE pasadena = "34"
[ 2061, 318, 262, 3785, 329, 4689, 3340, 21660, 12818, 618, 41010, 318, 4974, 30, 46506, 8591, 62, 6888, 12654, 4763, 62, 2704, 600, 12818, 16034, 3084, 62, 3672, 62, 2996, 33411, 38836, 38047, 796, 366, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3785, 329, 4689, 3340, 21660, 12818, 618, 41010, 318, 4974, 30, 46506, 8591, 62, 6888, 12654, 4763, 62, 2704, 600, 12818, 16034, 3084, 62, 3672, 62, 2996, 33411, 38836, 38047, 796, 366, 2682, 1 ]
Who won women's singles in 2001?
SELECT "Womens singles" FROM table_19686 WHERE "Year" = '2001'
[ 8241, 1839, 1466, 338, 25287, 287, 5878, 30, 46506, 366, 54, 296, 641, 25287, 1, 16034, 3084, 62, 1129, 33808, 33411, 366, 17688, 1, 796, 705, 14585, 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 ]
[ 8241, 1839, 1466, 338, 25287, 287, 5878, 30, 46506, 366, 54, 296, 641, 25287, 1, 16034, 3084, 62, 1129, 33808, 33411, 366, 17688, 1, 796, 705, 14585, 6 ]
What was the earliest year that had a location of Brookline, Massachusetts?
SELECT MIN("Year") FROM table_36493 WHERE "Location" = 'brookline, massachusetts'
[ 2061, 373, 262, 14555, 614, 326, 550, 257, 4067, 286, 7590, 1370, 11, 10140, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 26780, 6052, 33411, 366, 14749, 1, 796, 705, 19094, 1370, 11, 2347, 9770, 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, 14555, 614, 326, 550, 257, 4067, 286, 7590, 1370, 11, 10140, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 26780, 6052, 33411, 366, 14749, 1, 796, 705, 19094, 1370, 11, 2347, 9770, 6 ]
What is the power for the years 1975-84?
SELECT "Power" FROM table_62867 WHERE "Years" = '1975-84'
[ 2061, 318, 262, 1176, 329, 262, 812, 15231, 12, 5705, 30, 46506, 366, 13434, 1, 16034, 3084, 62, 48200, 3134, 33411, 366, 40630, 1, 796, 705, 38449, 12, 5705, 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, 1176, 329, 262, 812, 15231, 12, 5705, 30, 46506, 366, 13434, 1, 16034, 3084, 62, 48200, 3134, 33411, 366, 40630, 1, 796, 705, 38449, 12, 5705, 6 ]
What is the lowest octal with a 30 hexadecimal and less than 0 glyphs?
SELECT MIN("Octal") FROM table_58947 WHERE "Hexadecimal" = '30' AND "Glyph" < '0'
[ 2061, 318, 262, 9016, 19318, 282, 351, 257, 1542, 17910, 671, 66, 4402, 290, 1342, 621, 657, 25874, 82, 30, 46506, 20625, 7203, 12349, 282, 4943, 16034, 3084, 62, 44169, 2857, 33411, 366, 39, 1069, 671, 66, 4402, 1, 796, 705, 1270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19318, 282, 351, 257, 1542, 17910, 671, 66, 4402, 290, 1342, 621, 657, 25874, 82, 30, 46506, 20625, 7203, 12349, 282, 4943, 16034, 3084, 62, 44169, 2857, 33411, 366, 39, 1069, 671, 66, 4402, 1, 796, 705, 1270, ...
since 4 years ago, how many patients were prescribed with norepinephrine during the same month after having been diagnosed with gi bleeding?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'gi bleeding' AND DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-4 year')) AS t1 JOIN (SELEC...
[ 20777, 604, 812, 2084, 11, 703, 867, 3871, 547, 14798, 351, 299, 382, 23908, 47723, 1141, 262, 976, 1227, 706, 1719, 587, 14641, 351, 308, 72, 16832, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 604, 812, 2084, 11, 703, 867, 3871, 547, 14798, 351, 299, 382, 23908, 47723, 1141, 262, 976, 1227, 706, 1719, 587, 14641, 351, 308, 72, 16832, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, ...
What year were the opponents Shingo Kunieda Satoshi Saida?
SELECT MIN("Year") FROM table_12710 WHERE "Opponents in Final" = 'shingo kunieda satoshi saida'
[ 2061, 614, 547, 262, 7691, 311, 722, 78, 22673, 798, 64, 40824, 23885, 64, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 16799, 940, 33411, 366, 27524, 3906, 287, 8125, 1, 796, 705, 82, 722, 78, 479, 403, 798, 64, 3332, 1370...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 547, 262, 7691, 311, 722, 78, 22673, 798, 64, 40824, 23885, 64, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 16799, 940, 33411, 366, 27524, 3906, 287, 8125, 1, 796, 705, 82, 722, 78, 479, 403, 798, 64, 3332, 1370...
give me the number of patients whose death status is 0 and procedure icd9 code is 3995?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.icd9_code = "3995"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 8771, 14158, 67, 24, 2438, 318, 513, 33438, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 657, 290, 8771, 14158, 67, 24, 2438, 318, 513, 33438, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021,...
Which Played has Draws smaller than 7, and Goals for smaller than 61, and Goals against smaller than 48, and a Position of 5?
SELECT MAX(played) FROM table_name_29 WHERE draws < 7 AND goals_for < 61 AND goals_against < 48 AND position = 5
[ 13828, 33101, 468, 15315, 82, 4833, 621, 767, 11, 290, 28510, 329, 4833, 621, 8454, 11, 290, 28510, 1028, 4833, 621, 4764, 11, 290, 257, 23158, 286, 642, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 14293, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 33101, 468, 15315, 82, 4833, 621, 767, 11, 290, 28510, 329, 4833, 621, 8454, 11, 290, 28510, 1028, 4833, 621, 4764, 11, 290, 257, 23158, 286, 642, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 14293, ...
Name the manufacturer with grid of 11
SELECT manufacturer FROM table_name_43 WHERE grid = 11
[ 5376, 262, 11554, 351, 10706, 286, 1367, 46506, 11554, 16034, 3084, 62, 3672, 62, 3559, 33411, 10706, 796, 1367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 11554, 351, 10706, 286, 1367, 46506, 11554, 16034, 3084, 62, 3672, 62, 3559, 33411, 10706, 796, 1367 ]
count the number of patients who have had a enteral tube intake: nasoduodenal nostril, l 14 intake in this year.
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT intakeoutput.patientunitstayid FROM intakeoutput WHERE intakeoutput.celllabel = 'enteral tube intake: nasoduodenal nostril, l 14' AND intakeoutput.cellpath LIKE '%input%' AND DATETIME(intakeoutput.intakeoutputtime, 'start o...
[ 9127, 262, 1271, 286, 3871, 508, 423, 550, 257, 920, 1691, 12403, 10337, 25, 25221, 375, 84, 375, 268, 282, 18216, 22379, 11, 300, 1478, 10337, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 423, 550, 257, 920, 1691, 12403, 10337, 25, 25221, 375, 84, 375, 268, 282, 18216, 22379, 11, 300, 1478, 10337, 287, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1557, 538,...
what are the top three most frequent surgeries among patients aged 60 or above since 3 years ago?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.age >...
[ 10919, 389, 262, 1353, 1115, 749, 10792, 33624, 1871, 3871, 9722, 3126, 393, 2029, 1201, 513, 812, 2084, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1115, 749, 10792, 33624, 1871, 3871, 9722, 3126, 393, 2029, 1201, 513, 812, 2084, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, ...
how many patients with admission location as phys refferal/normal deli were below the age of 48?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.age < "48"
[ 4919, 867, 3871, 351, 13938, 4067, 355, 2281, 302, 487, 1691, 14, 11265, 1619, 72, 547, 2174, 262, 2479, 286, 4764, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 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...
[ 4919, 867, 3871, 351, 13938, 4067, 355, 2281, 302, 487, 1691, 14, 11265, 1619, 72, 547, 2174, 262, 2479, 286, 4764, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3...
Which memeber has a first elected of 1972, alp as the party, vic as the state, and an electorate of gellibrand?
SELECT member FROM table_name_70 WHERE first_elected = "1972" AND party = "alp" AND state = "vic" AND electorate = "gellibrand"
[ 13828, 25336, 527, 468, 257, 717, 7018, 286, 16101, 11, 435, 79, 355, 262, 2151, 11, 20429, 355, 262, 1181, 11, 290, 281, 23879, 286, 308, 695, 2889, 392, 30, 46506, 2888, 16034, 3084, 62, 3672, 62, 2154, 33411, 717, 62, 28604, 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, 25336, 527, 468, 257, 717, 7018, 286, 16101, 11, 435, 79, 355, 262, 2151, 11, 20429, 355, 262, 1181, 11, 290, 281, 23879, 286, 308, 695, 2889, 392, 30, 46506, 2888, 16034, 3084, 62, 3672, 62, 2154, 33411, 717, 62, 28604, 796,...
How many coins have a diameter of 23mm?
SELECT COUNT(reverse) FROM table_1307572_1 WHERE diameter = "23mm"
[ 2437, 867, 10796, 423, 257, 14753, 286, 2242, 3020, 30, 46506, 327, 28270, 7, 50188, 8, 16034, 3084, 62, 12952, 2425, 4761, 62, 16, 33411, 14753, 796, 366, 1954, 3020, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 10796, 423, 257, 14753, 286, 2242, 3020, 30, 46506, 327, 28270, 7, 50188, 8, 16034, 3084, 62, 12952, 2425, 4761, 62, 16, 33411, 14753, 796, 366, 1954, 3020, 1 ]
had patient 14990's arterial bp [systolic] levels been normal since 09/2100?
SELECT COUNT(*) > 0 FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14990)) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = 'arterial bp [syst...
[ 18108, 5827, 1478, 34155, 338, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 2974, 587, 3487, 1201, 7769, 14, 2481, 405, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 1478, 34155, 338, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 2974, 587, 3487, 1201, 7769, 14, 2481, 405, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 8262, 31534, 33411, 8262, 31534, 13, 291, 436, 323, 62, 312, ...
Which competition has a result of 2-0 in Ferreiras with an assist/pass by Casey Nogueira?
SELECT "Competition" FROM table_65209 WHERE "Result" = '2-0' AND "Location" = 'ferreiras' AND "Assist/pass" = 'casey nogueira'
[ 13828, 5449, 468, 257, 1255, 286, 362, 12, 15, 287, 12880, 260, 343, 292, 351, 281, 3342, 14, 6603, 416, 21097, 399, 5119, 8704, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2996, 22567, 33411, 366, 23004, 1, 796, 705, 17, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5449, 468, 257, 1255, 286, 362, 12, 15, 287, 12880, 260, 343, 292, 351, 281, 3342, 14, 6603, 416, 21097, 399, 5119, 8704, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 2996, 22567, 33411, 366, 23004, 1, 796, 705, 17, 12, ...
What is the Segment B when the Segment D is s Hammock?
SELECT "Segment B" FROM table_19941 WHERE "Segment D" = 's Hammock'
[ 2061, 318, 262, 1001, 5154, 347, 618, 262, 1001, 5154, 360, 318, 264, 40801, 735, 30, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 19104, 3901, 33411, 366, 41030, 434, 360, 1, 796, 705, 82, 40801, 735, 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, 1001, 5154, 347, 618, 262, 1001, 5154, 360, 318, 264, 40801, 735, 30, 46506, 366, 41030, 434, 347, 1, 16034, 3084, 62, 19104, 3901, 33411, 366, 41030, 434, 360, 1, 796, 705, 82, 40801, 735, 6 ]
Who was placed third in 2001?
SELECT "Third-place" FROM table_1743 WHERE "Season" = '2001'
[ 8241, 373, 4624, 2368, 287, 5878, 30, 46506, 366, 22747, 12, 5372, 1, 16034, 3084, 62, 1558, 3559, 33411, 366, 18960, 1, 796, 705, 14585, 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 ]
[ 8241, 373, 4624, 2368, 287, 5878, 30, 46506, 366, 22747, 12, 5372, 1, 16034, 3084, 62, 1558, 3559, 33411, 366, 18960, 1, 796, 705, 14585, 6 ]
What was the score when Tore Torgersen played for Team Europe?
SELECT "Score" FROM table_22789 WHERE "Team Europe" = 'Tore Torgersen'
[ 2061, 373, 262, 4776, 618, 309, 382, 309, 2398, 46516, 2826, 329, 4816, 2031, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1828, 40401, 33411, 366, 15592, 2031, 1, 796, 705, 51, 382, 309, 2398, 46516, 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, 4776, 618, 309, 382, 309, 2398, 46516, 2826, 329, 4816, 2031, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1828, 40401, 33411, 366, 15592, 2031, 1, 796, 705, 51, 382, 309, 2398, 46516, 6 ]
indicate the monthly maximum dose of volume (ml) milrinone that patient 007-4322 has received since 1038 days ago.
SELECT MAX(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '007-4322')) AND intakeoutput.celllabel = 'volume...
[ 521, 5344, 262, 9651, 5415, 10742, 286, 6115, 357, 4029, 8, 1465, 12769, 505, 326, 5827, 3571, 22, 12, 3559, 1828, 468, 2722, 1201, 838, 2548, 1528, 2084, 13, 46506, 25882, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 521, 5344, 262, 9651, 5415, 10742, 286, 6115, 357, 4029, 8, 1465, 12769, 505, 326, 5827, 3571, 22, 12, 3559, 1828, 468, 2722, 1201, 838, 2548, 1528, 2084, 13, 46506, 25882, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 1603...
Name the nationality for defender 201
SELECT nationality² FROM table_24565004_20 WHERE position = "Defender" AND appearances¹ = 201
[ 5376, 262, 29835, 329, 13191, 580, 46506, 29835, 31185, 16034, 3084, 62, 22995, 2996, 22914, 62, 1238, 33411, 2292, 796, 366, 7469, 2194, 1, 5357, 11057, 126, 117, 796, 580 ]
[ 1, 1, 1, 1, 1, 1, 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, 29835, 329, 13191, 580, 46506, 29835, 31185, 16034, 3084, 62, 22995, 2996, 22914, 62, 1238, 33411, 2292, 796, 366, 7469, 2194, 1, 5357, 11057, 126, 117, 796, 580 ]
Which Yards is the highest one that has a Rec smaller than 54, and a Long smaller than 5, and a Player of todd herremans, and an Avg larger than 1?
SELECT MAX("Yards") FROM table_5803 WHERE "Rec." < '54' AND "Long" < '5' AND "Player" = 'todd herremans' AND "Avg." > '1'
[ 13828, 42673, 318, 262, 4511, 530, 326, 468, 257, 3311, 4833, 621, 7175, 11, 290, 257, 5882, 4833, 621, 642, 11, 290, 257, 7853, 286, 23646, 607, 2787, 504, 11, 290, 281, 33455, 4025, 621, 352, 30, 46506, 25882, 7203, 56, 1371, 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...
[ 13828, 42673, 318, 262, 4511, 530, 326, 468, 257, 3311, 4833, 621, 7175, 11, 290, 257, 5882, 4833, 621, 642, 11, 290, 257, 7853, 286, 23646, 607, 2787, 504, 11, 290, 281, 33455, 4025, 621, 352, 30, 46506, 25882, 7203, 56, 1371, 4943...
What 2010/ 11 has not held as 2009/ 10, and 1r as the 2012/ 13?
SELECT "2010/ 11" FROM table_79706 WHERE "2009/ 10" = 'not held' AND "2012/ 13" = '1r'
[ 2061, 3050, 14, 1367, 468, 407, 2714, 355, 3717, 14, 838, 11, 290, 352, 81, 355, 262, 2321, 14, 1511, 30, 46506, 366, 10333, 14, 1367, 1, 16034, 3084, 62, 3720, 35402, 33411, 366, 10531, 14, 838, 1, 796, 705, 1662, 2714, 6, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3050, 14, 1367, 468, 407, 2714, 355, 3717, 14, 838, 11, 290, 352, 81, 355, 262, 2321, 14, 1511, 30, 46506, 366, 10333, 14, 1367, 1, 16034, 3084, 62, 3720, 35402, 33411, 366, 10531, 14, 838, 1, 796, 705, 1662, 2714, 6, 5357, ...
What is the record for the last 10 meetings when the overall record is *as of March 14, 2013?
SELECT "Last 10 Meetings" FROM table_9609 WHERE "Overall Record" = '*as of march 14, 2013'
[ 2061, 318, 262, 1700, 329, 262, 938, 838, 8292, 618, 262, 4045, 1700, 318, 1635, 292, 286, 2805, 1478, 11, 2211, 30, 46506, 366, 5956, 838, 21167, 654, 1, 16034, 3084, 62, 24, 31751, 33411, 366, 16350, 13266, 1, 796, 705, 9, 292, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 329, 262, 938, 838, 8292, 618, 262, 4045, 1700, 318, 1635, 292, 286, 2805, 1478, 11, 2211, 30, 46506, 366, 5956, 838, 21167, 654, 1, 16034, 3084, 62, 24, 31751, 33411, 366, 16350, 13266, 1, 796, 705, 9, 292, ...
count the number of patients who have had inject ca chemother nec performed since 2105.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'inject ca chemother nec') AND STRFTIME('%y', procedu...
[ 9127, 262, 1271, 286, 3871, 508, 423, 550, 8677, 1275, 4607, 847, 27576, 6157, 1201, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 508, 423, 550, 8677, 1275, 4607, 847, 27576, 6157, 1201, 362, 13348, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, 312, 3268, ...
Which paper is published in an institution in 'USA' and have 'Turon' as its second author?
SELECT t3.title FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid JOIN inst AS t4 ON t2.instid = t4.instid WHERE t4.country = "USA" AND t2.authorder = 2 AND t1.lname = "Turon"
[ 13828, 3348, 318, 3199, 287, 281, 9901, 287, 705, 14053, 6, 290, 423, 705, 17483, 261, 6, 355, 663, 1218, 1772, 30, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 3348, 318, 3199, 287, 281, 9901, 287, 705, 14053, 6, 290, 423, 705, 17483, 261, 6, 355, 663, 1218, 1772, 30, 46506, 256, 18, 13, 7839, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 1...
Posts with accepted answer answered after a week.
SELECT COUNT(*) FROM Posts AS a LEFT JOIN Posts AS b ON a.AcceptedAnswerId = b.Id WHERE NOT a.AcceptedAnswerId IS NULL AND DATEDIFF(day, a.CreationDate, CreationDate) > 6
[ 21496, 351, 6292, 3280, 9373, 706, 257, 1285, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 257, 12509, 9792, 32357, 1268, 12043, 7054, 275, 6177, 257, 13, 38855, 276, 33706, 7390, 796, 275, 13, 7390, 33411, 5626, 257, 13, 38855,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 351, 6292, 3280, 9373, 706, 257, 1285, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 7054, 257, 12509, 9792, 32357, 1268, 12043, 7054, 275, 6177, 257, 13, 38855, 276, 33706, 7390, 796, 275, 13, 7390, 33411, 5626, 257, 13, 38855,...
If the French Open tournament had 2r in 2012, what was it in 2009?
SELECT "2009" FROM table_70859 WHERE "2012" = '2r' AND "Tournament" = 'french open'
[ 1532, 262, 4141, 4946, 7756, 550, 362, 81, 287, 2321, 11, 644, 373, 340, 287, 3717, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 32583, 3270, 33411, 366, 6999, 1, 796, 705, 17, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 69, 3532, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4141, 4946, 7756, 550, 362, 81, 287, 2321, 11, 644, 373, 340, 287, 3717, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 32583, 3270, 33411, 366, 6999, 1, 796, 705, 17, 81, 6, 5357, 366, 51, 5138, 1, 796, 705, 69, 3532, 12...
When the bleeding time is unaffected and prothrombin time is prolonged, what are the platelet counts?
SELECT "Platelet count" FROM table_2951 WHERE "Bleeding time" = 'Unaffected' AND "Prothrombin time" = 'Prolonged'
[ 2215, 262, 16832, 640, 318, 35290, 290, 386, 400, 398, 8800, 640, 318, 20573, 11, 644, 389, 262, 7480, 1616, 9853, 30, 46506, 366, 3646, 378, 1616, 954, 1, 16034, 3084, 62, 1959, 4349, 33411, 366, 43413, 8228, 640, 1, 796, 705, 3118...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 16832, 640, 318, 35290, 290, 386, 400, 398, 8800, 640, 318, 20573, 11, 644, 389, 262, 7480, 1616, 9853, 30, 46506, 366, 3646, 378, 1616, 954, 1, 16034, 3084, 62, 1959, 4349, 33411, 366, 43413, 8228, 640, 1, 796, 705, 3118...
How many games drawn for the team that lost 11 and had 748 points?
SELECT drawn FROM table_1676073_12 WHERE lost = "11" AND points_for = "748"
[ 2437, 867, 1830, 7428, 329, 262, 1074, 326, 2626, 1367, 290, 550, 767, 2780, 2173, 30, 46506, 7428, 16034, 3084, 62, 21940, 1899, 4790, 62, 1065, 33411, 2626, 796, 366, 1157, 1, 5357, 2173, 62, 1640, 796, 366, 48246, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1830, 7428, 329, 262, 1074, 326, 2626, 1367, 290, 550, 767, 2780, 2173, 30, 46506, 7428, 16034, 3084, 62, 21940, 1899, 4790, 62, 1065, 33411, 2626, 796, 366, 1157, 1, 5357, 2173, 62, 1640, 796, 366, 48246, 1 ]
Who played bass in 1994 for the Atlantic label?
SELECT bass FROM table_name_2 WHERE label = "atlantic" AND year = 1994
[ 8241, 2826, 12702, 287, 9162, 329, 262, 10596, 6167, 30, 46506, 12702, 16034, 3084, 62, 3672, 62, 17, 33411, 6167, 796, 366, 43342, 1, 5357, 614, 796, 9162 ]
[ 1, 1, 1, 1, 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, 2826, 12702, 287, 9162, 329, 262, 10596, 6167, 30, 46506, 12702, 16034, 3084, 62, 3672, 62, 17, 33411, 6167, 796, 366, 43342, 1, 5357, 614, 796, 9162 ]
how many patients whose insurance is medicare and primary disease is guillain barre syndrome?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicare" AND demographic.diagnosis = "GUILLAIN BARRE SYNDROME"
[ 4919, 867, 3871, 3025, 5096, 318, 6924, 533, 290, 4165, 4369, 318, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 5096, 318, 6924, 533, 290, 4165, 4369, 318, 915, 359, 391, 2318, 260, 14027, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1040, 3874, 796, 366, ...
Show how many country from each country
SELECT Country, COUNT(Country) FROM artist GROUP BY Country
[ 15307, 703, 867, 1499, 422, 1123, 1499, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 6802, 44441, 11050, 12946 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 703, 867, 1499, 422, 1123, 1499, 46506, 12946, 11, 327, 28270, 7, 33921, 8, 16034, 6802, 44441, 11050, 12946 ]
what flights depart from PITTSBURGH and arrive in OAKLAND california
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE CITY_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'PITTSBURGH' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'OAK...
[ 10919, 13956, 6313, 422, 49040, 4694, 38926, 17511, 290, 9240, 287, 440, 10206, 28182, 2386, 361, 3317, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 6313, 422, 49040, 4694, 38926, 17511, 290, 9240, 287, 440, 10206, 28182, 2386, 361, 3317, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 90...
What races have gp2 series, 0 F.L. and a 17th position?
SELECT "Races" FROM table_76661 WHERE "Series" = 'gp2 series' AND "F.L." = '0' AND "Position" = '17th'
[ 2061, 9558, 423, 27809, 17, 2168, 11, 657, 376, 13, 43, 13, 290, 257, 1596, 400, 2292, 30, 46506, 366, 49, 2114, 1, 16034, 3084, 62, 22, 2791, 5333, 33411, 366, 27996, 1, 796, 705, 31197, 17, 2168, 6, 5357, 366, 37, 13, 43, 526,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9558, 423, 27809, 17, 2168, 11, 657, 376, 13, 43, 13, 290, 257, 1596, 400, 2292, 30, 46506, 366, 49, 2114, 1, 16034, 3084, 62, 22, 2791, 5333, 33411, 366, 27996, 1, 796, 705, 31197, 17, 2168, 6, 5357, 366, 37, 13, 43, 526,...
In which championship did John Newcombe play against Ken Rosewall in the final match?
SELECT "Championship" FROM table_25822 WHERE "Opponent in the final" = 'Ken Rosewall'
[ 818, 543, 12184, 750, 1757, 968, 49325, 711, 1028, 7148, 8049, 11930, 287, 262, 2457, 2872, 30, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 25600, 1828, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 27827, 8049, 11930, 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 ]
[ 818, 543, 12184, 750, 1757, 968, 49325, 711, 1028, 7148, 8049, 11930, 287, 262, 2457, 2872, 30, 46506, 366, 1925, 4350, 1056, 1, 16034, 3084, 62, 25600, 1828, 33411, 366, 27524, 3471, 287, 262, 2457, 1, 796, 705, 27827, 8049, 11930, 6...
how much ranitidine has been prescribed to patient 24971 in total in 01/2105?
SELECT SUM(prescriptions.dose_val_rx) FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 24971) AND prescriptions.drug = 'ranitidine' AND STRFTIME('%y-%m', prescriptions.startdate) = '2105-01'
[ 4919, 881, 4966, 270, 39422, 468, 587, 14798, 284, 5827, 34620, 4869, 287, 2472, 287, 5534, 14, 17, 13348, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 4966, 270, 39422, 468, 587, 14798, 284, 5827, 34620, 4869, 287, 2472, 287, 5534, 14, 17, 13348, 30, 46506, 35683, 7, 18302, 24370, 13, 34436, 62, 2100, 62, 40914, 8, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268,...
What is the name of the airport in S o Filipe that has an IATA of sfl?
SELECT airportname FROM table_name_3 WHERE city___town = "são filipe" AND iata = "sfl"
[ 2061, 318, 262, 1438, 286, 262, 9003, 287, 311, 267, 376, 2403, 431, 326, 468, 281, 314, 13563, 286, 264, 2704, 30, 46506, 9003, 3672, 16034, 3084, 62, 3672, 62, 18, 33411, 1748, 17569, 12735, 796, 366, 82, 28749, 1226, 3757, 1, 535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 9003, 287, 311, 267, 376, 2403, 431, 326, 468, 281, 314, 13563, 286, 264, 2704, 30, 46506, 9003, 3672, 16034, 3084, 62, 3672, 62, 18, 33411, 1748, 17569, 12735, 796, 366, 82, 28749, 1226, 3757, 1, 535...
AWS Answers by Week for a given User.
SELECT DATEADD(WEEK, DATEDIFF(WEEK, 0, CreationDate), 0) AS Week, COUNT(Answer.Id) AS Answers FROM Posts AS Answer JOIN Posts AS Question ON Question.Id = Answer.ParentId WHERE Question.PostTypeId = 1 AND Answer.PostTypeId = 2 AND (Question.Tags LIKE '%<amazon-%' OR Question.Tags LIKE '%<aws-%') AND Answer.CreationDate...
[ 12298, 50, 42612, 416, 6119, 329, 257, 1813, 11787, 13, 46506, 360, 6158, 29266, 7, 54, 33823, 11, 360, 11617, 29267, 7, 54, 33823, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 6119, 11, 327, 28270, 7, 33706, 13, 7390, 8, 7054, 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...
[ 12298, 50, 42612, 416, 6119, 329, 257, 1813, 11787, 13, 46506, 360, 6158, 29266, 7, 54, 33823, 11, 360, 11617, 29267, 7, 54, 33823, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 6119, 11, 327, 28270, 7, 33706, 13, 7390, 8, 7054, 4...
what is days of hospital stay and death status of subject id 9575?
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "9575"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 6957, 2425, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3865, 2425, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 1528, 286, 4436, 2652, 290, 1918, 3722, 286, 2426, 4686, 6957, 2425, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 3865, 2425, 1 ]
in how many years was the finish 7th ?
SELECT COUNT("year") FROM table_204_939 WHERE "finish" = 7
[ 259, 703, 867, 812, 373, 262, 5461, 767, 400, 5633, 46506, 327, 28270, 7203, 1941, 4943, 16034, 3084, 62, 18638, 62, 24, 2670, 33411, 366, 15643, 680, 1, 796, 767 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 259, 703, 867, 812, 373, 262, 5461, 767, 400, 5633, 46506, 327, 28270, 7203, 1941, 4943, 16034, 3084, 62, 18638, 62, 24, 2670, 33411, 366, 15643, 680, 1, 796, 767 ]
what is the average women's when men's is less than 113, the team is ue red warriors and the rank is higher than 6?
SELECT AVG("Women's") FROM table_13325 WHERE "Men's" < '113' AND "Team" = 'ue red warriors' AND "Rank" > '6'
[ 10919, 318, 262, 2811, 1466, 338, 618, 1450, 338, 318, 1342, 621, 17318, 11, 262, 1074, 318, 334, 68, 2266, 17119, 290, 262, 4279, 318, 2440, 621, 718, 30, 46506, 35224, 7203, 18495, 338, 4943, 16034, 3084, 62, 16945, 1495, 33411, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 2811, 1466, 338, 618, 1450, 338, 318, 1342, 621, 17318, 11, 262, 1074, 318, 334, 68, 2266, 17119, 290, 262, 4279, 318, 2440, 621, 718, 30, 46506, 35224, 7203, 18495, 338, 4943, 16034, 3084, 62, 16945, 1495, 33411, 366...
Pandas Trends (# Questions per Tag per Month).
SELECT DATEADD(mm, (YEAR(Posts.CreationDate) - 1900) * 12 + MONTH(Posts.CreationDate) - 1, 0) AS Month, Tags.TagName, COUNT(*) AS Questions FROM Tags LEFT JOIN PostTags ON PostTags.TagId = Tags.Id LEFT JOIN Posts ON Posts.Id = PostTags.PostId LEFT JOIN PostTypes ON PostTypes.Id = Posts.PostTypeId WHERE Tags.TagName IN ...
[ 47206, 292, 34308, 17426, 20396, 583, 17467, 583, 16061, 737, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 21496, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 21496, 13, 12443, 341, 10430, 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...
[ 47206, 292, 34308, 17426, 20396, 583, 17467, 583, 16061, 737, 46506, 360, 6158, 29266, 7, 3020, 11, 357, 56, 17133, 7, 21496, 13, 12443, 341, 10430, 8, 532, 21489, 8, 1635, 1105, 1343, 25000, 4221, 7, 21496, 13, 12443, 341, 10430, 8, ...
What is the highest Silver, when Gold is '8', and when Total is greater than 31?
SELECT MAX("Silver") FROM table_12354 WHERE "Gold" = '8' AND "Total" > '31'
[ 2061, 318, 262, 4511, 7698, 11, 618, 3561, 318, 705, 23, 3256, 290, 618, 7472, 318, 3744, 621, 3261, 30, 46506, 25882, 7203, 26766, 4943, 16034, 3084, 62, 1065, 32182, 33411, 366, 13306, 1, 796, 705, 23, 6, 5357, 366, 14957, 1, 1875...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 7698, 11, 618, 3561, 318, 705, 23, 3256, 290, 618, 7472, 318, 3744, 621, 3261, 30, 46506, 25882, 7203, 26766, 4943, 16034, 3084, 62, 1065, 32182, 33411, 366, 13306, 1, 796, 705, 23, 6, 5357, 366, 14957, 1, 1875...
How much Avg/G has a Gain smaller than 1571, and a Long smaller than 46?
SELECT COUNT("Avg/G") FROM table_77060 WHERE "Gain" < '1571' AND "Long" < '46'
[ 2437, 881, 33455, 14, 38, 468, 257, 21686, 4833, 621, 1315, 4869, 11, 290, 257, 5882, 4833, 621, 6337, 30, 46506, 327, 28270, 7203, 48997, 14, 38, 4943, 16034, 3084, 62, 41820, 1899, 33411, 366, 38, 391, 1, 1279, 705, 1314, 4869, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 881, 33455, 14, 38, 468, 257, 21686, 4833, 621, 1315, 4869, 11, 290, 257, 5882, 4833, 621, 6337, 30, 46506, 327, 28270, 7203, 48997, 14, 38, 4943, 16034, 3084, 62, 41820, 1899, 33411, 366, 38, 391, 1, 1279, 705, 1314, 4869, 6,...
What is the score for interview when the preliminaries score is 8.425?
SELECT interview FROM table_12094300_1 WHERE preliminaries = "8.425"
[ 2061, 318, 262, 4776, 329, 2720, 618, 262, 14541, 259, 3166, 4776, 318, 807, 13, 32114, 30, 46506, 2720, 16034, 3084, 62, 1065, 2931, 3559, 405, 62, 16, 33411, 14541, 259, 3166, 796, 366, 23, 13, 32114, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4776, 329, 2720, 618, 262, 14541, 259, 3166, 4776, 318, 807, 13, 32114, 30, 46506, 2720, 16034, 3084, 62, 1065, 2931, 3559, 405, 62, 16, 33411, 14541, 259, 3166, 796, 366, 23, 13, 32114, 1 ]
Show me about the correlation between Team_ID and ACC_Percent , and group by attribute ACC_Regular_Season in a scatter chart.
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY ACC_Regular_Season
[ 15307, 502, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 287, 257, 41058, 8262, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 16096, 1022, 4816, 62, 2389, 290, 15859, 62, 31905, 837, 290, 1448, 416, 11688, 15859, 62, 40164, 62, 18960, 287, 257, 41058, 8262, 13, 46506, 4816, 62, 2389, 11, 15859, 62, 31905, 16034, 9669, 62, 15699, 44441, ...
For those products with a price between 60 and 120, draw a bar chart about the distribution of name and manufacturer .
SELECT Name, Manufacturer FROM Products WHERE Price BETWEEN 60 AND 120
[ 1890, 883, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 764, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3186, 351, 257, 2756, 1022, 3126, 290, 7982, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 11554, 764, 46506, 6530, 11, 40218, 16034, 18675, 33411, 7886, 38651, 8845, 1677, 3126, 5357, 7982 ]
what number of hours has it been since the first time patient 006-124193 was prescribed enoxaparin sodium 40 mg/0.4ml sc soln on their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', medication.drugstarttime)) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-12...
[ 10919, 1271, 286, 2250, 468, 340, 587, 1201, 262, 717, 640, 5827, 3571, 21, 12, 17464, 24943, 373, 14798, 551, 1140, 499, 17714, 21072, 2319, 10527, 14, 15, 13, 19, 4029, 629, 1540, 77, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 2250, 468, 340, 587, 1201, 262, 717, 640, 5827, 3571, 21, 12, 17464, 24943, 373, 14798, 551, 1140, 499, 17714, 21072, 2319, 10527, 14, 15, 13, 19, 4029, 629, 1540, 77, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1...
where are some good places for arabic in mountain view ?
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 3003, 389, 617, 922, 4113, 329, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 1942...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3003, 389, 617, 922, 4113, 329, 610, 397, 291, 287, 8598, 1570, 5633, 46506, 4067, 13, 4803, 62, 17618, 11, 7072, 13, 3672, 16034, 4067, 11, 7072, 33411, 4067, 13, 19205, 62, 3672, 796, 705, 14948, 391, 1570, 6, 5357, 7072, 13, 1942...
What shows for Tie no when Sheffield United was the Away team?
SELECT "Tie no" FROM table_42787 WHERE "Away team" = 'sheffield united'
[ 2061, 2523, 329, 36286, 645, 618, 33496, 1578, 373, 262, 21986, 1074, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 42363, 5774, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7091, 31374, 16503, 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, 2523, 329, 36286, 645, 618, 33496, 1578, 373, 262, 21986, 1074, 30, 46506, 366, 51, 494, 645, 1, 16034, 3084, 62, 42363, 5774, 33411, 366, 32, 1014, 1074, 1, 796, 705, 7091, 31374, 16503, 6 ]
Stats about all SEDE TABLES including response time and last update date. stats about all SEDE tables including response time
SELECT 'SELECT ''' + table_name + ''' as tbl, max(creationdate) upd, getdate() dt from ' + table_name FROM information_schema.columns WHERE column_name = 'CreationDate'
[ 29668, 546, 477, 311, 1961, 36, 309, 6242, 28378, 1390, 2882, 640, 290, 938, 4296, 3128, 13, 9756, 546, 477, 311, 1961, 36, 8893, 1390, 2882, 640, 46506, 705, 46506, 705, 7061, 1343, 3084, 62, 3672, 1343, 705, 7061, 355, 256, 2436, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29668, 546, 477, 311, 1961, 36, 309, 6242, 28378, 1390, 2882, 640, 290, 938, 4296, 3128, 13, 9756, 546, 477, 311, 1961, 36, 8893, 1390, 2882, 640, 46506, 705, 46506, 705, 7061, 1343, 3084, 62, 3672, 1343, 705, 7061, 355, 256, 2436, ...
What is the freestyle leg for the Netherlands?
SELECT "Freestyle leg" FROM table_44694 WHERE "Country" = 'netherlands'
[ 2061, 318, 262, 2030, 10992, 1232, 329, 262, 12671, 30, 46506, 366, 20366, 10992, 1232, 1, 16034, 3084, 62, 2598, 45214, 33411, 366, 33921, 1, 796, 705, 3262, 372, 4447, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2030, 10992, 1232, 329, 262, 12671, 30, 46506, 366, 20366, 10992, 1232, 1, 16034, 3084, 62, 2598, 45214, 33411, 366, 33921, 1, 796, 705, 3262, 372, 4447, 6 ]
how many patients had received a aortocor bypas-3 cor art procedure two times until 2 years ago?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, COUNT(*) AS c1 FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'aortocor bypas-3 cor ...
[ 4919, 867, 3871, 550, 2722, 257, 257, 419, 420, 273, 416, 44429, 12, 18, 1162, 1242, 8771, 734, 1661, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 2722, 257, 257, 419, 420, 273, 416, 44429, 12, 18, 1162, 1242, 8771, 734, 1661, 1566, 362, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 16034, 357, 46506, 25349, ...
How many golds for nations with under 1 bronze?
SELECT SUM("Gold") FROM table_15534 WHERE "Bronze" < '1'
[ 2437, 867, 3869, 82, 329, 7027, 351, 739, 352, 22101, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 18742, 2682, 33411, 366, 18760, 2736, 1, 1279, 705, 16, 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 ]
[ 2437, 867, 3869, 82, 329, 7027, 351, 739, 352, 22101, 30, 46506, 35683, 7203, 13306, 4943, 16034, 3084, 62, 18742, 2682, 33411, 366, 18760, 2736, 1, 1279, 705, 16, 6 ]
What is the venue when the result was position of 17th?
SELECT venue FROM table_name_27 WHERE position = "17th"
[ 2061, 318, 262, 14359, 618, 262, 1255, 373, 2292, 286, 1596, 400, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1983, 33411, 2292, 796, 366, 1558, 400, 1 ]
[ 1, 1, 1, 1, 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, 14359, 618, 262, 1255, 373, 2292, 286, 1596, 400, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 1983, 33411, 2292, 796, 366, 1558, 400, 1 ]
What is the to par of the player from Argentina with a t8 place?
SELECT to_par FROM table_name_5 WHERE place = "t8" AND country = "argentina"
[ 2061, 318, 262, 284, 1582, 286, 262, 2137, 422, 16519, 351, 257, 256, 23, 1295, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 20, 33411, 1295, 796, 366, 83, 23, 1, 5357, 1499, 796, 366, 853, 298, 1437, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 1582, 286, 262, 2137, 422, 16519, 351, 257, 256, 23, 1295, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 20, 33411, 1295, 796, 366, 83, 23, 1, 5357, 1499, 796, 366, 853, 298, 1437, 1 ]
When Australian open is the championship what is the lowest year?
SELECT MIN("Year") FROM table_73700 WHERE "Championship" = 'Australian Open'
[ 2215, 6638, 1280, 318, 262, 12184, 644, 318, 262, 9016, 614, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 22, 2718, 405, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 38036, 4946, 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 ]
[ 2215, 6638, 1280, 318, 262, 12184, 644, 318, 262, 9016, 614, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 22, 2718, 405, 33411, 366, 1925, 4350, 1056, 1, 796, 705, 38036, 4946, 6 ]
Which Opponent has an Event of king of the cage: shock and awe?
SELECT "Opponent" FROM table_5623 WHERE "Event" = 'king of the cage: shock and awe'
[ 13828, 9385, 3471, 468, 281, 8558, 286, 5822, 286, 262, 17186, 25, 6380, 290, 25030, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3980, 1954, 33411, 366, 9237, 1, 796, 705, 3364, 286, 262, 17186, 25, 6380, 290, 25030, 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 ]
[ 13828, 9385, 3471, 468, 281, 8558, 286, 5822, 286, 262, 17186, 25, 6380, 290, 25030, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 3980, 1954, 33411, 366, 9237, 1, 796, 705, 3364, 286, 262, 17186, 25, 6380, 290, 25030, 6 ]
Show me about the distribution of date_address_to and the sum of monthly_rental , and group by attribute other_details and bin date_address_to by weekday in a bar chart.
SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details ORDER BY monthly_rental DESC
[ 15307, 502, 546, 262, 6082, 286, 3128, 62, 21975, 62, 1462, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 1462, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 502, 546, 262, 6082, 286, 3128, 62, 21975, 62, 1462, 290, 262, 2160, 286, 9651, 62, 1156, 282, 837, 290, 1448, 416, 11688, 584, 62, 36604, 290, 9874, 3128, 62, 21975, 62, 1462, 416, 28269, 287, 257, 2318, 8262, 13, 46506, 312...
How many aircrafts do we have?
SELECT COUNT(*) FROM aircraft
[ 2437, 867, 6215, 82, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 6215 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 6215, 82, 466, 356, 423, 30, 46506, 327, 28270, 7, 28104, 16034, 6215 ]
What schools did lenard semajuste play for?
SELECT "College" FROM table_16399 WHERE "Player" = 'Lenard Semajuste'
[ 2061, 4266, 750, 18896, 446, 5026, 1228, 436, 68, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 24136, 2079, 33411, 366, 14140, 1, 796, 705, 30659, 446, 12449, 1228, 436, 68, 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, 4266, 750, 18896, 446, 5026, 1228, 436, 68, 711, 329, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 24136, 2079, 33411, 366, 14140, 1, 796, 705, 30659, 446, 12449, 1228, 436, 68, 6 ]
which posts have a flag.
SELECT p.Id AS "post_link", CASE WHEN vt.Id = 15 THEN 'moderator review' WHEN vt.Id = 4 THEN 'offenisive' WHEN vt.Id = 12 THEN 'spam' END FROM Votes AS v INNER JOIN VoteTypes AS vt ON v.VoteTypeId = vt.Id INNER JOIN Posts AS p ON p.Id = v.PostId WHERE vt.Id IN (15, 4, 12) AND p.OwnerUserId = '##userid##'
[ 4758, 6851, 423, 257, 6056, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 42001, 42099, 410, 83, 13, 7390, 796, 1315, 42243, 705, 4666, 263, 1352, 2423, 6, 42099, 410, 83, 13, 7390, 796, 604, 42243, 705, 2364, 268, 1391...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6851, 423, 257, 6056, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 42001, 42099, 410, 83, 13, 7390, 796, 1315, 42243, 705, 4666, 263, 1352, 2423, 6, 42099, 410, 83, 13, 7390, 796, 604, 42243, 705, 2364, 268, 1391...
Count the number of patients who have stayed in the hospital for more than 23 days with phenylephrine hcl.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "23" AND prescriptions.drug = "Phenylephrine HCl"
[ 12332, 262, 1271, 286, 3871, 508, 423, 9658, 287, 262, 4436, 329, 517, 621, 2242, 1528, 351, 6566, 2349, 47723, 289, 565, 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...
[ 12332, 262, 1271, 286, 3871, 508, 423, 9658, 287, 262, 4436, 329, 517, 621, 2242, 1528, 351, 6566, 2349, 47723, 289, 565, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
other than scafati basket , who appeared in 9 seasons ?
SELECT "team" FROM table_204_506 WHERE "team" <> 'scafati basket' AND "seasons" = 9
[ 847, 621, 629, 1878, 7246, 7988, 837, 508, 4120, 287, 860, 7028, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 35638, 33411, 366, 15097, 1, 1279, 29, 705, 1416, 1878, 7246, 7988, 6, 5357, 366, 325, 2812, 1, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 847, 621, 629, 1878, 7246, 7988, 837, 508, 4120, 287, 860, 7028, 5633, 46506, 366, 15097, 1, 16034, 3084, 62, 18638, 62, 35638, 33411, 366, 15097, 1, 1279, 29, 705, 1416, 1878, 7246, 7988, 6, 5357, 366, 325, 2812, 1, 796, 860 ]
What is the sum for gold when there is more than 17 silver and more than 24 bronze?
SELECT SUM(gold) FROM table_name_28 WHERE silver > 17 AND bronze > 24
[ 2061, 318, 262, 2160, 329, 3869, 618, 612, 318, 517, 621, 1596, 8465, 290, 517, 621, 1987, 22101, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 8465, 1875, 1596, 5357, 22101, 1875, 1987 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 3869, 618, 612, 318, 517, 621, 1596, 8465, 290, 517, 621, 1987, 22101, 30, 46506, 35683, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 2078, 33411, 8465, 1875, 1596, 5357, 22101, 1875, 1987 ]
how many patients during a year before were prescribed benadryl after cardiology consultation within the same hospital visit?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime, patient.patienthealthsystemstayid FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'cardiology consultation' AND DATETIME(treatment.treatmenttime, 'start of ...
[ 4919, 867, 3871, 1141, 257, 614, 878, 547, 14798, 1888, 324, 563, 75, 706, 2657, 12371, 18103, 1626, 262, 976, 4436, 3187, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1141, 257, 614, 878, 547, 14798, 1888, 324, 563, 75, 706, 2657, 12371, 18103, 1626, 262, 976, 4436, 3187, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827,...
what is the minimum total hospital cost to include bone marrow biopsy since 2 years ago?
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT procedures_icd.hadm_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'bone marrow biopsy')) AND DATETIME(cost.chargetime) >= DA...
[ 10919, 318, 262, 5288, 2472, 4436, 1575, 284, 2291, 9970, 44173, 3182, 44522, 1201, 362, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 157...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 5288, 2472, 4436, 1575, 284, 2291, 9970, 44173, 3182, 44522, 1201, 362, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, 16034, 1575, 33411, 157...
how many patients died in or before year 2148 had the primary disease overdose?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "OVERDOSE" AND demographic.dod_year <= "2148.0"
[ 4919, 867, 3871, 3724, 287, 393, 878, 614, 362, 18294, 550, 262, 4165, 4369, 27357, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 41983, 35, 14058,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3724, 287, 393, 878, 614, 362, 18294, 550, 262, 4165, 4369, 27357, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796, 366, 41983, 35, 14058,...
who is the opponent when the score is 7 5, 7 6 (8 6)?
SELECT opponent FROM table_name_86 WHERE score = "7–5, 7–6 (8–6)"
[ 8727, 318, 262, 6125, 618, 262, 4776, 318, 767, 642, 11, 767, 718, 357, 23, 718, 19427, 46506, 6125, 16034, 3084, 62, 3672, 62, 4521, 33411, 4776, 796, 366, 22, 1906, 20, 11, 767, 1906, 21, 357, 23, 1906, 21, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 6125, 618, 262, 4776, 318, 767, 642, 11, 767, 718, 357, 23, 718, 19427, 46506, 6125, 16034, 3084, 62, 3672, 62, 4521, 33411, 4776, 796, 366, 22, 1906, 20, 11, 767, 1906, 21, 357, 23, 1906, 21, 16725 ]
What is the pick number for School of lsu?
SELECT SUM("Pick") FROM table_11070 WHERE "School" = 'lsu'
[ 2061, 318, 262, 2298, 1271, 329, 3961, 286, 300, 2385, 30, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 11442, 2154, 33411, 366, 26130, 1, 796, 705, 75, 2385, 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, 2298, 1271, 329, 3961, 286, 300, 2385, 30, 46506, 35683, 7203, 31686, 4943, 16034, 3084, 62, 11442, 2154, 33411, 366, 26130, 1, 796, 705, 75, 2385, 6 ]
What is no-yds when no.-yds is 1-13?
SELECT "No-Yds" FROM table_28373 WHERE "No.-Yds" = '1-13'
[ 2061, 318, 645, 12, 5173, 82, 618, 645, 7874, 5173, 82, 318, 352, 12, 1485, 30, 46506, 366, 2949, 12, 56, 9310, 1, 16034, 3084, 62, 2078, 34770, 33411, 366, 2949, 7874, 56, 9310, 1, 796, 705, 16, 12, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 645, 12, 5173, 82, 618, 645, 7874, 5173, 82, 318, 352, 12, 1485, 30, 46506, 366, 2949, 12, 56, 9310, 1, 16034, 3084, 62, 2078, 34770, 33411, 366, 2949, 7874, 56, 9310, 1, 796, 705, 16, 12, 1485, 6 ]
what was the name of the drugs that patient 028-43966 was first prescribed?
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '028-43966')) ORDER BY medication.drugstarttime LIMIT 1
[ 10919, 373, 262, 1438, 286, 262, 5010, 326, 5827, 657, 2078, 12, 47106, 2791, 373, 717, 14798, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 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...
[ 10919, 373, 262, 1438, 286, 262, 5010, 326, 5827, 657, 2078, 12, 47106, 2791, 373, 717, 14798, 30, 46506, 14103, 13, 30349, 3672, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 31712, ...
What was Turkey's lowest gold when there were less than 2 bronze?
SELECT MIN("Gold") FROM table_48166 WHERE "Nation" = 'turkey' AND "Bronze" < '2'
[ 2061, 373, 7137, 338, 9016, 3869, 618, 612, 547, 1342, 621, 362, 22101, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 2780, 23055, 33411, 366, 46108, 1, 796, 705, 36590, 2539, 6, 5357, 366, 18760, 2736, 1, 1279, 705, 17, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 7137, 338, 9016, 3869, 618, 612, 547, 1342, 621, 362, 22101, 30, 46506, 20625, 7203, 13306, 4943, 16034, 3084, 62, 2780, 23055, 33411, 366, 46108, 1, 796, 705, 36590, 2539, 6, 5357, 366, 18760, 2736, 1, 1279, 705, 17, 6 ]
What is the hometown of the player who went to college at USC?
SELECT "Hometown" FROM table_61144 WHERE "College" = 'usc'
[ 2061, 318, 262, 20994, 286, 262, 2137, 508, 1816, 284, 4152, 379, 18928, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 21, 1157, 2598, 33411, 366, 38951, 1, 796, 705, 16241, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 20994, 286, 262, 2137, 508, 1816, 284, 4152, 379, 18928, 30, 46506, 366, 39, 19191, 1, 16034, 3084, 62, 21, 1157, 2598, 33411, 366, 38951, 1, 796, 705, 16241, 6 ]
What grid did the driver who earned 19 points start at?
SELECT "Grid" FROM table_21422 WHERE "Points" = '19'
[ 2061, 10706, 750, 262, 4639, 508, 7366, 678, 2173, 923, 379, 30, 46506, 366, 41339, 1, 16034, 3084, 62, 22291, 1828, 33411, 366, 40710, 1, 796, 705, 1129, 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, 10706, 750, 262, 4639, 508, 7366, 678, 2173, 923, 379, 30, 46506, 366, 41339, 1, 16034, 3084, 62, 22291, 1828, 33411, 366, 40710, 1, 796, 705, 1129, 6 ]
what is the smallest number of laps marco simoncelli has with grid less than 8 and gilera as the manufacturer?
SELECT MIN("Laps") FROM table_70551 WHERE "Manufacturer" = 'gilera' AND "Rider" = 'marco simoncelli' AND "Grid" < '8'
[ 10919, 318, 262, 18197, 1271, 286, 24590, 1667, 1073, 985, 261, 3846, 72, 468, 351, 10706, 1342, 621, 807, 290, 308, 5329, 64, 355, 262, 11554, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 2154, 43697, 33411, 366, 44445, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18197, 1271, 286, 24590, 1667, 1073, 985, 261, 3846, 72, 468, 351, 10706, 1342, 621, 807, 290, 308, 5329, 64, 355, 262, 11554, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 2154, 43697, 33411, 366, 44445, 1...
What is the latest episode in the season directed by Chris Long?
SELECT MAX("No. in season") FROM table_24261 WHERE "Directed by" = 'Chris Long'
[ 2061, 318, 262, 3452, 4471, 287, 262, 1622, 7924, 416, 5180, 5882, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1731, 30057, 33411, 366, 13470, 276, 416, 1, 796, 705, 15645, 5882, 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, 3452, 4471, 287, 262, 1622, 7924, 416, 5180, 5882, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 1731, 30057, 33411, 366, 13470, 276, 416, 1, 796, 705, 15645, 5882, 6 ]
What is the info for the year 2010, for the Australian Open tournament?
SELECT "2010" FROM table_6242 WHERE "Tournament" = 'australian open'
[ 2061, 318, 262, 7508, 329, 262, 614, 3050, 11, 329, 262, 6638, 4946, 7756, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 21, 27877, 33411, 366, 51, 5138, 1, 796, 705, 64, 436, 1373, 666, 1280, 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, 7508, 329, 262, 614, 3050, 11, 329, 262, 6638, 4946, 7756, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 21, 27877, 33411, 366, 51, 5138, 1, 796, 705, 64, 436, 1373, 666, 1280, 6 ]
On what Surface was the match with a Score of 6 4, 6 3 and Runner-up Outcome played?
SELECT "Surface" FROM table_50159 WHERE "Outcome" = 'runner-up' AND "Score" = '6–4, 6–3'
[ 2202, 644, 20321, 373, 262, 2872, 351, 257, 15178, 286, 718, 604, 11, 718, 513, 290, 21529, 12, 929, 3806, 2958, 2826, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 33548, 3270, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 12, 929...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 20321, 373, 262, 2872, 351, 257, 15178, 286, 718, 604, 11, 718, 513, 290, 21529, 12, 929, 3806, 2958, 2826, 30, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 33548, 3270, 33411, 366, 7975, 2958, 1, 796, 705, 16737, 12, 929...
On what date was the match played in Victoria Park?
SELECT date FROM table_name_78 WHERE venue = "victoria park"
[ 2202, 644, 3128, 373, 262, 2872, 2826, 287, 12313, 3250, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 3128, 373, 262, 2872, 2826, 287, 12313, 3250, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
What week was the game played at Robert f. Kennedy memorial stadium with more than 54,633 people in attendance?
SELECT COUNT("Week") FROM table_53587 WHERE "Game site" = 'robert f. kennedy memorial stadium' AND "Attendance" > '54,633'
[ 2061, 1285, 373, 262, 983, 2826, 379, 5199, 277, 13, 10401, 17357, 10308, 351, 517, 621, 7175, 11, 21, 2091, 661, 287, 14858, 30, 46506, 327, 28270, 7203, 20916, 4943, 16034, 3084, 62, 44465, 5774, 33411, 366, 8777, 2524, 1, 796, 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...
[ 2061, 1285, 373, 262, 983, 2826, 379, 5199, 277, 13, 10401, 17357, 10308, 351, 517, 621, 7175, 11, 21, 2091, 661, 287, 14858, 30, 46506, 327, 28270, 7203, 20916, 4943, 16034, 3084, 62, 44465, 5774, 33411, 366, 8777, 2524, 1, 796, 705,...
What number of attempts were recorded when the completions were 223?
SELECT attempts FROM table_name_17 WHERE completions = "223"
[ 2061, 1271, 286, 6370, 547, 6264, 618, 262, 1224, 45240, 547, 30299, 30, 46506, 6370, 16034, 3084, 62, 3672, 62, 1558, 33411, 1224, 45240, 796, 366, 22047, 1 ]
[ 1, 1, 1, 1, 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, 6370, 547, 6264, 618, 262, 1224, 45240, 547, 30299, 30, 46506, 6370, 16034, 3084, 62, 3672, 62, 1558, 33411, 1224, 45240, 796, 366, 22047, 1 ]
Which class has laps under 77?
SELECT class FROM table_name_85 WHERE laps < 77
[ 13828, 1398, 468, 24590, 739, 8541, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 5332, 33411, 24590, 1279, 8541 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1398, 468, 24590, 739, 8541, 30, 46506, 1398, 16034, 3084, 62, 3672, 62, 5332, 33411, 24590, 1279, 8541 ]
What is every year when the reporters were Lesley Visser and Robin Roberts?
SELECT year FROM table_22654139_3 WHERE reporters = "Lesley Visser and Robin Roberts"
[ 2061, 318, 790, 614, 618, 262, 7638, 547, 11732, 1636, 569, 747, 263, 290, 12325, 10918, 30, 46506, 614, 16034, 3084, 62, 1828, 39111, 20219, 62, 18, 33411, 7638, 796, 366, 35882, 1636, 569, 747, 263, 290, 12325, 10918, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 614, 618, 262, 7638, 547, 11732, 1636, 569, 747, 263, 290, 12325, 10918, 30, 46506, 614, 16034, 3084, 62, 1828, 39111, 20219, 62, 18, 33411, 7638, 796, 366, 35882, 1636, 569, 747, 263, 290, 12325, 10918, 1 ]
Name the catalogue with song title of love me tonight
SELECT "Catalogue" FROM table_69653 WHERE "Song Title" = 'love me tonight'
[ 5376, 262, 34614, 351, 3496, 3670, 286, 1842, 502, 9975, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 3388, 46435, 33411, 366, 44241, 11851, 1, 796, 705, 23205, 502, 9975, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 34614, 351, 3496, 3670, 286, 1842, 502, 9975, 46506, 366, 39075, 5119, 1, 16034, 3084, 62, 3388, 46435, 33411, 366, 44241, 11851, 1, 796, 705, 23205, 502, 9975, 6 ]
What is the name of the person with a type of transfer, and a Transfer fee of 8m + 2m in variables?
SELECT name FROM table_name_64 WHERE type = "transfer" AND transfer_fee = "€8m + €2m in variables"
[ 2061, 318, 262, 1438, 286, 262, 1048, 351, 257, 2099, 286, 4351, 11, 290, 257, 20558, 6838, 286, 807, 76, 1343, 362, 76, 287, 9633, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2414, 33411, 2099, 796, 366, 39437, 1, 5357, 4351, 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 ]
[ 2061, 318, 262, 1438, 286, 262, 1048, 351, 257, 2099, 286, 4351, 11, 290, 257, 20558, 6838, 286, 807, 76, 1343, 362, 76, 287, 9633, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 2414, 33411, 2099, 796, 366, 39437, 1, 5357, 4351, 62, ...