instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, a line chart shows the trend of manager_id over hire_date .
SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 1627, 8262, 2523, 262, 5182, 286, 4706, 62, 312, 625, 11078, 62, 4475, 764...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 257, 1627, 8262, 2523, 262, 5182, 286, 4706, 62, 312, 625, 11078, 62, 4475, 764...
Name the least amount of int yards
SELECT MIN(int) AS yards FROM table_15581223_8
[ 5376, 262, 1551, 2033, 286, 493, 5695, 46506, 20625, 7, 600, 8, 7054, 5695, 16034, 3084, 62, 1314, 3365, 1065, 1954, 62, 23 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1551, 2033, 286, 493, 5695, 46506, 20625, 7, 600, 8, 7054, 5695, 16034, 3084, 62, 1314, 3365, 1065, 1954, 62, 23 ]
What is the 1995 value with of the 1993 ATP Masters Series?
SELECT "1995" FROM table_34222 WHERE "1993" = 'atp masters series'
[ 2061, 318, 262, 8735, 1988, 351, 286, 262, 9656, 39046, 15812, 7171, 30, 46506, 366, 21908, 1, 16034, 3084, 62, 2682, 23148, 33411, 366, 24465, 1, 796, 705, 265, 79, 18159, 2168, 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, 8735, 1988, 351, 286, 262, 9656, 39046, 15812, 7171, 30, 46506, 366, 21908, 1, 16034, 3084, 62, 2682, 23148, 33411, 366, 24465, 1, 796, 705, 265, 79, 18159, 2168, 6 ]
How many years did lin gaoyuan wu jiaji play mens doubles?
SELECT COUNT(year_location) FROM table_28138035_20 WHERE mens_doubles = "Lin Gaoyuan Wu Jiaji"
[ 2437, 867, 812, 750, 9493, 31986, 726, 7258, 266, 84, 474, 544, 7285, 711, 285, 641, 21938, 30, 46506, 327, 28270, 7, 1941, 62, 24886, 8, 16034, 3084, 62, 2078, 1485, 1795, 2327, 62, 1238, 33411, 285, 641, 62, 67, 280, 7689, 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 ]
[ 2437, 867, 812, 750, 9493, 31986, 726, 7258, 266, 84, 474, 544, 7285, 711, 285, 641, 21938, 30, 46506, 327, 28270, 7, 1941, 62, 24886, 8, 16034, 3084, 62, 2078, 1485, 1795, 2327, 62, 1238, 33411, 285, 641, 62, 67, 280, 7689, 796, ...
how long is the horsemen track ?
SELECT "time" FROM table_203_353 WHERE "title" = '"horsemen"'
[ 4919, 890, 318, 262, 8223, 3653, 2610, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 22416, 62, 33319, 33411, 366, 7839, 1, 796, 705, 1, 30527, 3653, 30543 ]
[ 1, 1, 1, 1, 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, 318, 262, 8223, 3653, 2610, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 22416, 62, 33319, 33411, 366, 7839, 1, 796, 705, 1, 30527, 3653, 30543 ]
What date was Rica head of household?
SELECT date_given FROM table_name_35 WHERE head_of_household = "rica"
[ 2061, 3128, 373, 31656, 1182, 286, 6641, 30, 46506, 3128, 62, 35569, 16034, 3084, 62, 3672, 62, 2327, 33411, 1182, 62, 1659, 62, 4803, 2946, 796, 366, 30997, 1 ]
[ 1, 1, 1, 1, 1, 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, 31656, 1182, 286, 6641, 30, 46506, 3128, 62, 35569, 16034, 3084, 62, 3672, 62, 2327, 33411, 1182, 62, 1659, 62, 4803, 2946, 796, 366, 30997, 1 ]
Which round has an offensive tackle position?
SELECT "Round" FROM table_11072 WHERE "Position" = 'offensive tackle'
[ 13828, 2835, 468, 281, 5859, 9761, 2292, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 11442, 4761, 33411, 366, 26545, 1, 796, 705, 45055, 9761, 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 ]
[ 13828, 2835, 468, 281, 5859, 9761, 2292, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 11442, 4761, 33411, 366, 26545, 1, 796, 705, 45055, 9761, 6 ]
What is the LOA of Brindabella?
SELECT loa__metres_ FROM table_25595209_1 WHERE yacht = "Brindabella"
[ 2061, 318, 262, 17579, 32, 286, 1709, 521, 43653, 30, 46506, 2376, 64, 834, 4164, 411, 62, 16034, 3084, 62, 1495, 35124, 22567, 62, 16, 33411, 43207, 796, 366, 9414, 521, 43653, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17579, 32, 286, 1709, 521, 43653, 30, 46506, 2376, 64, 834, 4164, 411, 62, 16034, 3084, 62, 1495, 35124, 22567, 62, 16, 33411, 43207, 796, 366, 9414, 521, 43653, 1 ]
Which Total has a Finish of t64, and a Year won larger than 2006?
SELECT MAX(total) FROM table_name_64 WHERE finish = "t64" AND year_won > 2006
[ 13828, 7472, 468, 257, 32585, 286, 256, 2414, 11, 290, 257, 6280, 1839, 4025, 621, 4793, 30, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 5461, 796, 366, 83, 2414, 1, 5357, 614, 62, 26502, 1875, 4793 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7472, 468, 257, 32585, 286, 256, 2414, 11, 290, 257, 6280, 1839, 4025, 621, 4793, 30, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 2414, 33411, 5461, 796, 366, 83, 2414, 1, 5357, 614, 62, 26502, 1875, 4793 ]
What is the record for the game when the loss was hargan (14 13)?
SELECT "Record" FROM table_71562 WHERE "Loss" = 'hargan (14–13)'
[ 2061, 318, 262, 1700, 329, 262, 983, 618, 262, 2994, 373, 289, 853, 272, 357, 1415, 1511, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 1314, 5237, 33411, 366, 43, 793, 1, 796, 705, 71, 853, 272, 357, 1415, 1906, 1485, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1700, 329, 262, 983, 618, 262, 2994, 373, 289, 853, 272, 357, 1415, 1511, 19427, 46506, 366, 23739, 1, 16034, 3084, 62, 22, 1314, 5237, 33411, 366, 43, 793, 1, 796, 705, 71, 853, 272, 357, 1415, 1906, 1485, 33047 ]
what venue appears most on the list ?
SELECT "venue" FROM table_204_880 GROUP BY "venue" ORDER BY COUNT(*) DESC LIMIT 1
[ 10919, 14359, 3568, 749, 319, 262, 1351, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 18638, 62, 41655, 44441, 11050, 366, 4080, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 14359, 3568, 749, 319, 262, 1351, 5633, 46506, 366, 4080, 1, 16034, 3084, 62, 18638, 62, 41655, 44441, 11050, 366, 4080, 1, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
Plot the total number by grouped by city code as a bar graph, and could you list in ascending by the y axis?
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY COUNT(*)
[ 43328, 262, 2472, 1271, 416, 32824, 416, 1748, 2438, 355, 257, 2318, 4823, 11, 290, 714, 345, 1351, 287, 41988, 416, 262, 331, 16488, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 262, 2472, 1271, 416, 32824, 416, 1748, 2438, 355, 257, 2318, 4823, 11, 290, 714, 345, 1351, 287, 41988, 416, 262, 331, 16488, 30, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 386...
What was the streak on March 27?
SELECT "Streak" FROM table_44258 WHERE "Date" = 'march 27'
[ 2061, 373, 262, 15113, 319, 2805, 2681, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 2598, 25600, 33411, 366, 10430, 1, 796, 705, 76, 998, 2681, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 15113, 319, 2805, 2681, 30, 46506, 366, 30611, 461, 1, 16034, 3084, 62, 2598, 25600, 33411, 366, 10430, 1, 796, 705, 76, 998, 2681, 6 ]
how many of the male patients remained admitted in hospital for more than 4 days.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "M" AND demographic.days_stay > "4"
[ 4919, 867, 286, 262, 4257, 3871, 6150, 6848, 287, 4436, 329, 517, 621, 604, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 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 ]
[ 4919, 867, 286, 262, 4257, 3871, 6150, 6848, 287, 4436, 329, 517, 621, 604, 1528, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 44, 1, 5357, 16728, 13, ...
Compare the number of chips from different company names for the phone whose screen mode type is 'Graphics' with a bar chart, order in ascending by the how many company name.
SELECT Company_name, COUNT(Company_name) FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" GROUP BY Company_name ORDER BY COUNT(Company_name)
[ 41488, 262, 1271, 286, 12014, 422, 1180, 1664, 3891, 329, 262, 3072, 3025, 3159, 4235, 2099, 318, 705, 18172, 6, 351, 257, 2318, 8262, 11, 1502, 287, 41988, 416, 262, 703, 867, 1664, 1438, 13, 46506, 5834, 62, 3672, 11, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 41488, 262, 1271, 286, 12014, 422, 1180, 1664, 3891, 329, 262, 3072, 3025, 3159, 4235, 2099, 318, 705, 18172, 6, 351, 257, 2318, 8262, 11, 1502, 287, 41988, 416, 262, 703, 867, 1664, 1438, 13, 46506, 5834, 62, 3672, 11, 327, 28270, ...
how many patients in this year have undergone aortocor bypas-2 cor art within 2 months following the first hypothermia?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, procedures_icd.charttime FROM procedures_icd JOIN admissions ON procedures_icd.hadm_id = admissions.hadm_id WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'hypothermia...
[ 4919, 867, 3871, 287, 428, 614, 423, 29900, 257, 419, 420, 273, 416, 44429, 12, 17, 1162, 1242, 1626, 362, 1933, 1708, 262, 717, 5328, 847, 20730, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 428, 614, 423, 29900, 257, 419, 420, 273, 416, 44429, 12, 17, 1162, 1242, 1626, 362, 1933, 1708, 262, 717, 5328, 847, 20730, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, 160...
The most downvoted question ever!.
SELECT Reputation, Id FROM Users WHERE Reputation < 1 LIMIT 10
[ 464, 749, 866, 85, 5191, 1808, 1683, 43179, 46506, 1432, 7094, 11, 5121, 16034, 18987, 33411, 1432, 7094, 1279, 352, 27564, 2043, 838 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 749, 866, 85, 5191, 1808, 1683, 43179, 46506, 1432, 7094, 11, 5121, 16034, 18987, 33411, 1432, 7094, 1279, 352, 27564, 2043, 838 ]
What Country had a Score of 75-68=143?
SELECT country FROM table_name_91 WHERE score = 75 - 68 = 143
[ 2061, 12946, 550, 257, 15178, 286, 5441, 12, 3104, 28, 21139, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 6420, 33411, 4776, 796, 5441, 532, 8257, 796, 24356 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 12946, 550, 257, 15178, 286, 5441, 12, 3104, 28, 21139, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 6420, 33411, 4776, 796, 5441, 532, 8257, 796, 24356 ]
What's the record for the match when the res was a win and the method was a decision?
SELECT record FROM table_name_91 WHERE method = "decision" AND res = "win"
[ 2061, 338, 262, 1700, 329, 262, 2872, 618, 262, 581, 373, 257, 1592, 290, 262, 2446, 373, 257, 2551, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 6420, 33411, 2446, 796, 366, 12501, 1166, 1, 5357, 581, 796, 366, 5404, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 329, 262, 2872, 618, 262, 581, 373, 257, 1592, 290, 262, 2446, 373, 257, 2551, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 6420, 33411, 2446, 796, 366, 12501, 1166, 1, 5357, 581, 796, 366, 5404, 1 ]
what is drug type of drug name cephalexin?
SELECT prescriptions.drug_type FROM prescriptions WHERE prescriptions.drug = "Cephalexin"
[ 10919, 318, 2563, 2099, 286, 2563, 1438, 269, 27446, 1000, 87, 259, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 34, 27446, 1000, 87, 259, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2563, 2099, 286, 2563, 1438, 269, 27446, 1000, 87, 259, 30, 46506, 34092, 13, 30349, 62, 4906, 16034, 34092, 33411, 34092, 13, 30349, 796, 366, 34, 27446, 1000, 87, 259, 1 ]
Which School is located in Winter Park, FL (Hometown)?
SELECT "School" FROM table_58334 WHERE "Hometown" = 'winter park, fl'
[ 13828, 3961, 318, 5140, 287, 10633, 3250, 11, 9977, 357, 39, 19191, 19427, 46506, 366, 26130, 1, 16034, 3084, 62, 3365, 31380, 33411, 366, 39, 19191, 1, 796, 705, 40078, 3952, 11, 781, 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, 3961, 318, 5140, 287, 10633, 3250, 11, 9977, 357, 39, 19191, 19427, 46506, 366, 26130, 1, 16034, 3084, 62, 3365, 31380, 33411, 366, 39, 19191, 1, 796, 705, 40078, 3952, 11, 781, 6 ]
What 1983 has a 1975 of career statistics?
SELECT 1983 FROM table_name_44 WHERE 1975 = "career statistics"
[ 2061, 13540, 468, 257, 15231, 286, 3451, 7869, 30, 46506, 13540, 16034, 3084, 62, 3672, 62, 2598, 33411, 15231, 796, 366, 6651, 263, 7869, 1 ]
[ 1, 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, 13540, 468, 257, 15231, 286, 3451, 7869, 30, 46506, 13540, 16034, 3084, 62, 3672, 62, 2598, 33411, 15231, 796, 366, 6651, 263, 7869, 1 ]
List the grape, appelation and name of wines whose score is higher than 93 ordered by Name.
SELECT Grape, Appelation, Name FROM WINE WHERE Score > 93 ORDER BY Name
[ 8053, 262, 30777, 11, 598, 417, 341, 290, 1438, 286, 30680, 3025, 4776, 318, 2440, 621, 10261, 6149, 416, 6530, 13, 46506, 48315, 11, 2034, 417, 341, 11, 6530, 16034, 370, 8881, 33411, 15178, 1875, 10261, 38678, 11050, 6530 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 30777, 11, 598, 417, 341, 290, 1438, 286, 30680, 3025, 4776, 318, 2440, 621, 10261, 6149, 416, 6530, 13, 46506, 48315, 11, 2034, 417, 341, 11, 6530, 16034, 370, 8881, 33411, 15178, 1875, 10261, 38678, 11050, 6530 ]
How tall is Marco Belinelli?
SELECT height FROM table_12962773_15 WHERE player = "Marco Belinelli"
[ 2437, 7331, 318, 16556, 3944, 44076, 30, 46506, 6001, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 1314, 33411, 2137, 796, 366, 37179, 3944, 44076, 1 ]
[ 1, 1, 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, 7331, 318, 16556, 3944, 44076, 30, 46506, 6001, 16034, 3084, 62, 1065, 4846, 1983, 4790, 62, 1314, 33411, 2137, 796, 366, 37179, 3944, 44076, 1 ]
how many people are current patients aged 20s?
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.dischtime IS NULL AND admissions.age BETWEEN 20 AND 29
[ 4919, 867, 661, 389, 1459, 3871, 9722, 1160, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 25349, 13, 496, 38651, 8845, 1677, 1160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 661, 389, 1459, 3871, 9722, 1160, 82, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 6381, 354, 2435, 3180, 15697, 5357, 25349, 13, 496, 38651, 8845, 1677, 1160...
which countries won the least amount of medals ?
SELECT "nation" FROM table_204_232 WHERE "total" = (SELECT MIN("total") FROM table_204_232)
[ 4758, 2678, 1839, 262, 1551, 2033, 286, 28057, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24339, 33411, 366, 23350, 1, 796, 357, 46506, 20625, 7203, 23350, 4943, 16034, 3084, 62, 18638, 62, 24339, 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 ]
[ 4758, 2678, 1839, 262, 1551, 2033, 286, 28057, 5633, 46506, 366, 25729, 1, 16034, 3084, 62, 18638, 62, 24339, 33411, 366, 23350, 1, 796, 357, 46506, 20625, 7203, 23350, 4943, 16034, 3084, 62, 18638, 62, 24339, 8 ]
how many patients have received ven cath renal dialysis during the previous year within 2 months after being diagnosed with 35-36 comp wks gestation?
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd JOIN admissions ON diagnoses_icd.hadm_id = admissions.hadm_id WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = '35-36 comp wks ges...
[ 4919, 867, 3871, 423, 2722, 8710, 32171, 44375, 5980, 3097, 1141, 262, 2180, 614, 1626, 362, 1933, 706, 852, 14641, 351, 3439, 12, 2623, 552, 266, 591, 47110, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 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, 423, 2722, 8710, 32171, 44375, 5980, 3097, 1141, 262, 2180, 614, 1626, 362, 1933, 706, 852, 14641, 351, 3439, 12, 2623, 552, 266, 591, 47110, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 3...
What is Win-Loss, when Win % is .456?
SELECT win_loss FROM table_name_60 WHERE win__percentage = ".456"
[ 2061, 318, 7178, 12, 43, 793, 11, 618, 7178, 4064, 318, 764, 29228, 30, 46506, 1592, 62, 22462, 16034, 3084, 62, 3672, 62, 1899, 33411, 1592, 834, 25067, 496, 796, 27071, 29228, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7178, 12, 43, 793, 11, 618, 7178, 4064, 318, 764, 29228, 30, 46506, 1592, 62, 22462, 16034, 3084, 62, 3672, 62, 1899, 33411, 1592, 834, 25067, 496, 796, 27071, 29228, 1 ]
When was Kamba active?
SELECT dates_active FROM table_10602294_1 WHERE name = "Kamba"
[ 2215, 373, 509, 31842, 4075, 30, 46506, 9667, 62, 5275, 16034, 3084, 62, 940, 1899, 1828, 5824, 62, 16, 33411, 1438, 796, 366, 42, 31842, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 509, 31842, 4075, 30, 46506, 9667, 62, 5275, 16034, 3084, 62, 940, 1899, 1828, 5824, 62, 16, 33411, 1438, 796, 366, 42, 31842, 1 ]
Find the last and first name of students who are playing Football or Lacrosse.
SELECT T2.lname, T2.fname FROM sportsinfo AS T1 JOIN student AS T2 ON T1.stuid = T2.stuid WHERE T1.sportname = "Football" OR T1.sportname = "Lacrosse"
[ 16742, 262, 938, 290, 717, 1438, 286, 2444, 508, 389, 2712, 9957, 393, 23115, 39314, 13, 46506, 309, 17, 13, 75, 3672, 11, 309, 17, 13, 69, 3672, 16034, 5701, 10951, 7054, 309, 16, 32357, 1268, 3710, 7054, 309, 17, 6177, 309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 938, 290, 717, 1438, 286, 2444, 508, 389, 2712, 9957, 393, 23115, 39314, 13, 46506, 309, 17, 13, 75, 3672, 11, 309, 17, 13, 69, 3672, 16034, 5701, 10951, 7054, 309, 16, 32357, 1268, 3710, 7054, 309, 17, 6177, 309, 16, ...
Which Opponent has a Attendance of 6,275?
SELECT "Opponent" FROM table_6187 WHERE "Attendance" = '6,275'
[ 13828, 9385, 3471, 468, 257, 46502, 590, 286, 718, 11, 23195, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 21, 23451, 33411, 366, 8086, 437, 590, 1, 796, 705, 21, 11, 23195, 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, 9385, 3471, 468, 257, 46502, 590, 286, 718, 11, 23195, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 21, 23451, 33411, 366, 8086, 437, 590, 1, 796, 705, 21, 11, 23195, 6 ]
What is the operator for peak 90, in startup year 2010 for the project named Aosp expansion 1 (jackpine ph 1a)?
SELECT "Operator" FROM table_34415 WHERE "Peak" = '90' AND "Year startup" = '2010' AND "Project Name" = 'aosp expansion 1 (jackpine ph 1a)'
[ 2061, 318, 262, 10088, 329, 9103, 4101, 11, 287, 13693, 614, 3050, 329, 262, 1628, 3706, 317, 2117, 7118, 352, 357, 19650, 23908, 872, 352, 64, 19427, 46506, 366, 18843, 1352, 1, 16034, 3084, 62, 33535, 1314, 33411, 366, 6435, 461, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10088, 329, 9103, 4101, 11, 287, 13693, 614, 3050, 329, 262, 1628, 3706, 317, 2117, 7118, 352, 357, 19650, 23908, 872, 352, 64, 19427, 46506, 366, 18843, 1352, 1, 16034, 3084, 62, 33535, 1314, 33411, 366, 6435, 461, 1,...
Give me the number of living patients who have atrial septal defect mitral valve replacement repair atrial-septal defect/sda as their primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.diagnosis = "ATRIAL SEPTAL DEFECT\MITRAL VALVE REPLACEMENT;REPAIR ATRIAL-SEPTAL DEFECT/SDA"
[ 23318, 502, 262, 1271, 286, 2877, 3871, 508, 423, 379, 4454, 384, 457, 282, 11855, 10255, 1373, 22580, 9014, 9185, 379, 4454, 12, 325, 457, 282, 11855, 14, 82, 6814, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 2877, 3871, 508, 423, 379, 4454, 384, 457, 282, 11855, 10255, 1373, 22580, 9014, 9185, 379, 4454, 12, 325, 457, 282, 11855, 14, 82, 6814, 355, 511, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 41...
What date did episode 15 of the season originally air?
SELECT "Original air date" FROM table_24194 WHERE "No. in season" = '15'
[ 2061, 3128, 750, 4471, 1315, 286, 262, 1622, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1731, 22913, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1314, 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, 3128, 750, 4471, 1315, 286, 262, 1622, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1731, 22913, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1314, 6 ]
What are the login names used both by some course authors and some students?
SELECT login_name FROM course_authors_and_tutors INTERSECT SELECT login_name FROM students
[ 2061, 389, 262, 17594, 3891, 973, 1111, 416, 617, 1781, 7035, 290, 617, 2444, 30, 46506, 17594, 62, 3672, 16034, 1781, 62, 41617, 62, 392, 62, 83, 315, 669, 17828, 4877, 9782, 33493, 17594, 62, 3672, 16034, 2444 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17594, 3891, 973, 1111, 416, 617, 1781, 7035, 290, 617, 2444, 30, 46506, 17594, 62, 3672, 16034, 1781, 62, 41617, 62, 392, 62, 83, 315, 669, 17828, 4877, 9782, 33493, 17594, 62, 3672, 16034, 2444 ]
What was the time of the swimmer in lane 7?
SELECT "Time" FROM table_66067 WHERE "Lane" = '7'
[ 2061, 373, 262, 640, 286, 262, 9422, 647, 287, 11193, 767, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 39885, 3134, 33411, 366, 43, 1531, 1, 796, 705, 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 ]
[ 2061, 373, 262, 640, 286, 262, 9422, 647, 287, 11193, 767, 30, 46506, 366, 7575, 1, 16034, 3084, 62, 39885, 3134, 33411, 366, 43, 1531, 1, 796, 705, 22, 6 ]
How many times did the Bruins play Tennessee?
SELECT COUNT("Result") FROM table_23785 WHERE "Opponent" = 'Tennessee'
[ 2437, 867, 1661, 750, 262, 27607, 711, 11287, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 1954, 41172, 33411, 366, 27524, 3471, 1, 796, 705, 43139, 10702, 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, 1661, 750, 262, 27607, 711, 11287, 30, 46506, 327, 28270, 7203, 23004, 4943, 16034, 3084, 62, 1954, 41172, 33411, 366, 27524, 3471, 1, 796, 705, 43139, 10702, 6 ]
how many patients whose admission type is emergency and procedure long title is repair of fistula involving bladder and intestine?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.long_title = "Repair of fistula involving bladder and intestine"
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 6334, 290, 8771, 890, 3670, 318, 9185, 286, 18606, 4712, 7411, 34918, 290, 45426, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 2099, 318, 6334, 290, 8771, 890, 3670, 318, 9185, 286, 18606, 4712, 7411, 34918, 290, 45426, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, ...
Who remixed a music video in 1985?
SELECT "Remixed by" FROM table_6754 WHERE "Year" = '1985' AND "Version" = 'music video'
[ 8241, 816, 2966, 257, 2647, 2008, 287, 12863, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 21, 41874, 33411, 366, 17688, 1, 796, 705, 29110, 6, 5357, 366, 14815, 1, 796, 705, 28965, 2008, 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, 816, 2966, 257, 2647, 2008, 287, 12863, 30, 46506, 366, 8413, 2966, 416, 1, 16034, 3084, 62, 21, 41874, 33411, 366, 17688, 1, 796, 705, 29110, 6, 5357, 366, 14815, 1, 796, 705, 28965, 2008, 6 ]
What are the reigns and days held of all wrestlers?
SELECT reign, days_held FROM wrestler
[ 2061, 389, 262, 13580, 82, 290, 1528, 2714, 286, 477, 41758, 30, 46506, 13580, 11, 1528, 62, 10217, 16034, 34845 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 13580, 82, 290, 1528, 2714, 286, 477, 41758, 30, 46506, 13580, 11, 1528, 62, 10217, 16034, 34845 ]
what is the name of the treatment which has been given to patient 005-77687 two times in the last month?
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, COUNT(treatment.treatmenttime) AS c1 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid ...
[ 10919, 318, 262, 1438, 286, 262, 3513, 543, 468, 587, 1813, 284, 5827, 3571, 20, 12, 3324, 39925, 734, 1661, 287, 262, 938, 1227, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 327, 28270, 7, 4248...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1438, 286, 262, 3513, 543, 468, 587, 1813, 284, 5827, 3571, 20, 12, 3324, 39925, 734, 1661, 287, 262, 938, 1227, 30, 46506, 256, 16, 13, 42487, 3672, 16034, 357, 46506, 3513, 13, 42487, 3672, 11, 327, 28270, 7, 4248...
What was the playoff result when they finished 5th, north in the regular sesason?
SELECT playoffs FROM table_15056103_1 WHERE regular_season = "5th, North"
[ 2061, 373, 262, 13119, 1255, 618, 484, 5201, 642, 400, 11, 5093, 287, 262, 3218, 264, 274, 888, 30, 46506, 12980, 16034, 3084, 62, 8628, 3980, 15197, 62, 16, 33411, 3218, 62, 6230, 796, 366, 20, 400, 11, 2258, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13119, 1255, 618, 484, 5201, 642, 400, 11, 5093, 287, 262, 3218, 264, 274, 888, 30, 46506, 12980, 16034, 3084, 62, 8628, 3980, 15197, 62, 16, 33411, 3218, 62, 6230, 796, 366, 20, 400, 11, 2258, 1 ]
Which Position has 24 Goals against, and a Played smaller than 30?
SELECT MAX("Position") FROM table_59036 WHERE "Goals against" = '24' AND "Played" < '30'
[ 13828, 23158, 468, 1987, 28510, 1028, 11, 290, 257, 33101, 4833, 621, 1542, 30, 46506, 25882, 7203, 26545, 4943, 16034, 3084, 62, 36993, 2623, 33411, 366, 5247, 874, 1028, 1, 796, 705, 1731, 6, 5357, 366, 11002, 276, 1, 1279, 705, 127...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23158, 468, 1987, 28510, 1028, 11, 290, 257, 33101, 4833, 621, 1542, 30, 46506, 25882, 7203, 26545, 4943, 16034, 3084, 62, 36993, 2623, 33411, 366, 5247, 874, 1028, 1, 796, 705, 1731, 6, 5357, 366, 11002, 276, 1, 1279, 705, 127...
systolic blood pressure exceeding 180 mmhg or diastolic blood pressure exceeding 100 mmhg at screening or baseline;
SELECT * FROM table_train_95 WHERE systolic_blood_pressure_sbp > 180 OR diastolic_blood_pressure_dbp > 100
[ 1837, 301, 4160, 2910, 3833, 23353, 11546, 8085, 71, 70, 393, 2566, 459, 4160, 2910, 3833, 23353, 1802, 8085, 71, 70, 379, 14135, 393, 14805, 26, 46506, 1635, 16034, 3084, 62, 27432, 62, 3865, 33411, 827, 301, 4160, 62, 18041, 62, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1837, 301, 4160, 2910, 3833, 23353, 11546, 8085, 71, 70, 393, 2566, 459, 4160, 2910, 3833, 23353, 1802, 8085, 71, 70, 379, 14135, 393, 14805, 26, 46506, 1635, 16034, 3084, 62, 27432, 62, 3865, 33411, 827, 301, 4160, 62, 18041, 62, 361...
Name the team with laps less than 315 and co-drivers of david brabham franck lagorce?
SELECT team FROM table_name_83 WHERE laps < 315 AND co_drivers = "david brabham franck lagorce"
[ 5376, 262, 1074, 351, 24590, 1342, 621, 32647, 290, 763, 12, 36702, 286, 21970, 865, 397, 2763, 1216, 272, 694, 19470, 8387, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5999, 33411, 24590, 1279, 32647, 5357, 763, 62, 36702, 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 ]
[ 5376, 262, 1074, 351, 24590, 1342, 621, 32647, 290, 763, 12, 36702, 286, 21970, 865, 397, 2763, 1216, 272, 694, 19470, 8387, 30, 46506, 1074, 16034, 3084, 62, 3672, 62, 5999, 33411, 24590, 1279, 32647, 5357, 763, 62, 36702, 796, 366, ...
How many points against does the club that has a try bonus of 6 and tries against of 54 have ?
SELECT "Points against" FROM table_71637 WHERE "Try bonus" = '6' AND "Tries against" = '54'
[ 2437, 867, 2173, 1028, 857, 262, 3430, 326, 468, 257, 1949, 7202, 286, 718, 290, 8404, 1028, 286, 7175, 423, 5633, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 22, 1433, 2718, 33411, 366, 23433, 7202, 1, 796, 705, 21, 6, 5357, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 2173, 1028, 857, 262, 3430, 326, 468, 257, 1949, 7202, 286, 718, 290, 8404, 1028, 286, 7175, 423, 5633, 46506, 366, 40710, 1028, 1, 16034, 3084, 62, 22, 1433, 2718, 33411, 366, 23433, 7202, 1, 796, 705, 21, 6, 5357, 366, ...
Top 50 users from Iasi (Romania).
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation, AboutMe, ProfileImageUrl FROM Users WHERE LOWER(Location) LIKE '%iasi%' ORDER BY Reputation DESC LIMIT 50
[ 9126, 2026, 2985, 422, 314, 17053, 357, 32454, 544, 737, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 7994,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 2026, 2985, 422, 314, 17053, 357, 32454, 544, 737, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 7994,...
What record has @ ottawa senators as the opponent?
SELECT record FROM table_name_93 WHERE opponent = "@ ottawa senators"
[ 2061, 1700, 468, 2488, 267, 926, 6909, 15469, 355, 262, 6125, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 6052, 33411, 6125, 796, 44212, 267, 926, 6909, 15469, 1 ]
[ 1, 1, 1, 1, 1, 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, 1700, 468, 2488, 267, 926, 6909, 15469, 355, 262, 6125, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 6052, 33411, 6125, 796, 44212, 267, 926, 6909, 15469, 1 ]
how many yes votes made up 43.18% yes?
SELECT MAX("YES votes") FROM table_73833 WHERE "% YES" = '43.18%'
[ 4919, 867, 3763, 5690, 925, 510, 5946, 13, 1507, 4, 3763, 30, 46506, 25882, 7203, 43335, 5690, 4943, 16034, 3084, 62, 22, 2548, 2091, 33411, 36521, 21560, 1, 796, 705, 3559, 13, 1507, 4, 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 ]
[ 4919, 867, 3763, 5690, 925, 510, 5946, 13, 1507, 4, 3763, 30, 46506, 25882, 7203, 43335, 5690, 4943, 16034, 3084, 62, 22, 2548, 2091, 33411, 36521, 21560, 1, 796, 705, 3559, 13, 1507, 4, 6 ]
who is the only player to play in 5 games , 1 as a sub ?
SELECT "name" FROM table_204_26 WHERE "games in campaign" = 5 AND "games in campaign" = '1 as sub'
[ 8727, 318, 262, 691, 2137, 284, 711, 287, 642, 1830, 837, 352, 355, 257, 850, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 2075, 33411, 366, 19966, 287, 1923, 1, 796, 642, 5357, 366, 19966, 287, 1923, 1, 796, 705, 16, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 691, 2137, 284, 711, 287, 642, 1830, 837, 352, 355, 257, 850, 5633, 46506, 366, 3672, 1, 16034, 3084, 62, 18638, 62, 2075, 33411, 366, 19966, 287, 1923, 1, 796, 642, 5357, 366, 19966, 287, 1923, 1, 796, 705, 16, 35...
What is the Date when christophe rochus was partner, and the score was 2 6, 7 6 (7 5) , 0 6?
SELECT "Date" FROM table_42723 WHERE "Partner" = 'christophe rochus' AND "Score" = '2–6, 7–6 (7–5) , 0–6'
[ 2061, 318, 262, 7536, 618, 33826, 43852, 686, 354, 385, 373, 5212, 11, 290, 262, 4776, 373, 362, 718, 11, 767, 718, 357, 22, 642, 8, 837, 657, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 42363, 1954, 33411, 366, 7841, 1008, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 7536, 618, 33826, 43852, 686, 354, 385, 373, 5212, 11, 290, 262, 4776, 373, 362, 718, 11, 767, 718, 357, 22, 642, 8, 837, 657, 718, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 42363, 1954, 33411, 366, 7841, 1008, 1,...
flights from ATLANTA please
SELECT DISTINCT flight.flight_id FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND flight.from_airport = airport_service.airport_code
[ 2704, 2337, 422, 5161, 25697, 5603, 3387, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 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...
[ 2704, 2337, 422, 5161, 25697, 5603, 3387, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, 62, 15271, 13, 19205, 62, 8189, 5357, 1748, 13,...
when patient 72198 first received a ot cerv fusion post/post procedure during this year?
SELECT procedures_icd.charttime FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'ot cerv fusion post/post') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 72198) AND...
[ 12518, 5827, 7724, 22337, 717, 2722, 257, 30972, 28987, 21748, 1281, 14, 7353, 8771, 1141, 428, 614, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 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...
[ 12518, 5827, 7724, 22337, 717, 2722, 257, 30972, 28987, 21748, 1281, 14, 7353, 8771, 1141, 428, 614, 30, 46506, 9021, 62, 291, 67, 13, 40926, 2435, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, ...
select count(*) from posts where posts.ViewCount > 10000 and posts.ViewCount < 20000.
SELECT COUNT(*) FROM Posts WHERE Posts.ViewCount > 10000 AND Posts.ViewCount < 20000
[ 19738, 954, 7, 28104, 422, 6851, 810, 6851, 13, 7680, 12332, 1875, 33028, 290, 6851, 13, 7680, 12332, 1279, 939, 405, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, 7680, 12332, 1875, 33028, 5357, 12043, 13, 7680, 1233...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 19738, 954, 7, 28104, 422, 6851, 810, 6851, 13, 7680, 12332, 1875, 33028, 290, 6851, 13, 7680, 12332, 1279, 939, 405, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, 7680, 12332, 1875, 33028, 5357, 12043, 13, 7680, 1233...
what are the four most frequent lab tests that patients had within 2 months after having received a vasodilating agent - iv - labetalol operation in the last year?
SELECT t3.labname FROM (SELECT t2.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'vasodilating agent - iv - labetalol' AND DATETIME(tr...
[ 10919, 389, 262, 1440, 749, 10792, 2248, 5254, 326, 3871, 550, 1626, 362, 1933, 706, 1719, 2722, 257, 34439, 375, 346, 803, 5797, 532, 21628, 532, 2248, 316, 282, 349, 4905, 287, 262, 938, 614, 30, 46506, 256, 18, 13, 23912, 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, 1, 1, 1, 1, 1, 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, 1440, 749, 10792, 2248, 5254, 326, 3871, 550, 1626, 362, 1933, 706, 1719, 2722, 257, 34439, 375, 346, 803, 5797, 532, 21628, 532, 2248, 316, 282, 349, 4905, 287, 262, 938, 614, 30, 46506, 256, 18, 13, 23912, 3672, 1...
List the number of games in each season with a line chart, and display X in asc order.
SELECT Season, COUNT(Season) FROM game GROUP BY Season ORDER BY Season
[ 8053, 262, 1271, 286, 1830, 287, 1123, 1622, 351, 257, 1627, 8262, 11, 290, 3359, 1395, 287, 10570, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 7369, 38678, 11050, 7369 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 1830, 287, 1123, 1622, 351, 257, 1627, 8262, 11, 290, 3359, 1395, 287, 10570, 1502, 13, 46506, 7369, 11, 327, 28270, 7, 18960, 8, 16034, 983, 44441, 11050, 7369, 38678, 11050, 7369 ]
get all posts tagged with inheritance.
SELECT DISTINCT Title, Body FROM Posts AS p INNER JOIN PostTags AS pt ON pt.PostId = p.Id INNER JOIN Tags AS t ON pt.TagId = t.Id WHERE t.TagName IN ('inheritance')
[ 1136, 477, 6851, 30509, 351, 24155, 13, 46506, 360, 8808, 1268, 4177, 11851, 11, 12290, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 6307, 7390, 796, 279, 13, 7390, 3268, 21479, 32357, 1268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1136, 477, 6851, 30509, 351, 24155, 13, 46506, 360, 8808, 1268, 4177, 11851, 11, 12290, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 2947, 36142, 7054, 42975, 6177, 42975, 13, 6307, 7390, 796, 279, 13, 7390, 3268, 21479, 32357, 1268...
Name the result/games for 52521
SELECT result_games FROM table_21436373_11 WHERE attendance = 52521
[ 5376, 262, 1255, 14, 19966, 329, 45719, 2481, 46506, 1255, 62, 19966, 16034, 3084, 62, 22291, 2623, 34770, 62, 1157, 33411, 14858, 796, 45719, 2481 ]
[ 1, 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, 1255, 14, 19966, 329, 45719, 2481, 46506, 1255, 62, 19966, 16034, 3084, 62, 22291, 2623, 34770, 62, 1157, 33411, 14858, 796, 45719, 2481 ]
list the flights from PITTSBURGH to SAN FRANCISCO on thursday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'SAN FRANCISCO' AND date_day.day_number = 24 AND date_day.month_number = 5...
[ 4868, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 37376, 8782, 20940, 1797, 8220, 319, 294, 3479, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4868, 262, 13956, 422, 49040, 4694, 38926, 17511, 284, 37376, 8782, 20940, 1797, 8220, 319, 294, 3479, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
On 15/04/07 in the competition Super League XII, what was the score?
SELECT score FROM table_name_94 WHERE competition = "super league xii" AND date = "15/04/07"
[ 2202, 1315, 14, 3023, 14, 2998, 287, 262, 5449, 3115, 4041, 39284, 11, 644, 373, 262, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5824, 33411, 5449, 796, 366, 16668, 4652, 2124, 4178, 1, 5357, 3128, 796, 366, 1314, 14, 3023, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1315, 14, 3023, 14, 2998, 287, 262, 5449, 3115, 4041, 39284, 11, 644, 373, 262, 4776, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5824, 33411, 5449, 796, 366, 16668, 4652, 2124, 4178, 1, 5357, 3128, 796, 366, 1314, 14, 3023, 1...
what is the location where there are over 200 cattle businesses
SELECT province FROM table_29012710_1 WHERE number_of_dairy_farms = 200
[ 10919, 318, 262, 4067, 810, 612, 389, 625, 939, 17025, 5692, 46506, 8473, 16034, 3084, 62, 1959, 486, 1983, 940, 62, 16, 33411, 1271, 62, 1659, 62, 67, 13021, 62, 69, 8357, 796, 939 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 810, 612, 389, 625, 939, 17025, 5692, 46506, 8473, 16034, 3084, 62, 1959, 486, 1983, 940, 62, 16, 33411, 1271, 62, 1659, 62, 67, 13021, 62, 69, 8357, 796, 939 ]
What was the 2002 dominant religion when the largest ethnic group (2002) was slovaks and type is village?
SELECT dominant_religion__2002_ FROM table_2562572_43 WHERE largest_ethnic_group__2002_ = "Slovaks" AND type = "village"
[ 2061, 373, 262, 6244, 11410, 5737, 618, 262, 4387, 9450, 1448, 357, 16942, 8, 373, 1017, 709, 4730, 290, 2099, 318, 7404, 30, 46506, 11410, 62, 2411, 17035, 834, 16942, 62, 16034, 3084, 62, 11645, 1495, 4761, 62, 3559, 33411, 4387, 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 ]
[ 2061, 373, 262, 6244, 11410, 5737, 618, 262, 4387, 9450, 1448, 357, 16942, 8, 373, 1017, 709, 4730, 290, 2099, 318, 7404, 30, 46506, 11410, 62, 2411, 17035, 834, 16942, 62, 16034, 3084, 62, 11645, 1495, 4761, 62, 3559, 33411, 4387, 62...
TOP 100 Most Altruistic Users.
SELECT Users.DisplayName, Users.Reputation AS "currentrep", COUNT(Votes.Id) AS "bountiesoffered", SUM(Votes.BountyAmount) AS "totalbountyrepoffered", 'http://scifi.stackexchange.com/users/' + CAST(Users.Id AS TEXT(30)) + '/?tab=bounties' AS "viewprofile" FROM Votes INNER JOIN Users ON Votes.UserId = Users.Id INNER JOIN...
[ 35222, 1802, 4042, 12344, 622, 2569, 18987, 13, 46506, 18987, 13, 23114, 5376, 11, 18987, 13, 6207, 7094, 7054, 366, 14421, 7856, 1600, 327, 28270, 7, 53, 6421, 13, 7390, 8, 7054, 366, 65, 608, 444, 2364, 1068, 1600, 35683, 7, 53, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35222, 1802, 4042, 12344, 622, 2569, 18987, 13, 46506, 18987, 13, 23114, 5376, 11, 18987, 13, 6207, 7094, 7054, 366, 14421, 7856, 1600, 327, 28270, 7, 53, 6421, 13, 7390, 8, 7054, 366, 65, 608, 444, 2364, 1068, 1600, 35683, 7, 53, 6...
how many newborn patients had spinal tap?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "NEWBORN" AND procedures.short_title = "Spinal tap"
[ 4919, 867, 23856, 3871, 550, 26234, 9814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 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...
[ 4919, 867, 23856, 3871, 550, 26234, 9814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62, 312, 796, 9021, 13, 18108, 76, 62, ...
Top 100 users from United Arab Emirates.
SELECT ROW_NUMBER() OVER (ORDER BY Reputation DESC) AS "#", Id AS "user_link", Reputation FROM Users WHERE LOWER(Location) LIKE '%united arab emirates%' OR UPPER(Location) LIKE '%PK' ORDER BY Reputation DESC LIMIT 100
[ 9126, 1802, 2985, 422, 1578, 4498, 24880, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9126, 1802, 2985, 422, 1578, 4498, 24880, 13, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 1432, 7094, 22196, 34, 8, 7054, 25113, 1600, 5121, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 16034, 18987, 33411, ...
What is Score, when Country is 'United States', and when Player is 'Mark Brooks'?
SELECT "Score" FROM table_79094 WHERE "Country" = 'united states' AND "Player" = 'mark brooks'
[ 2061, 318, 15178, 11, 618, 12946, 318, 705, 17013, 1829, 3256, 290, 618, 7853, 318, 705, 9704, 17704, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2931, 19, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 14140, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15178, 11, 618, 12946, 318, 705, 17013, 1829, 3256, 290, 618, 7853, 318, 705, 9704, 17704, 30960, 46506, 366, 26595, 1, 16034, 3084, 62, 3720, 2931, 19, 33411, 366, 33921, 1, 796, 705, 41187, 2585, 6, 5357, 366, 14140, 1, ...
Which Nationality has a Date of 8 may 1942?
SELECT nationality FROM table_name_39 WHERE date = "8 may 1942"
[ 13828, 2351, 414, 468, 257, 7536, 286, 807, 743, 22458, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2670, 33411, 3128, 796, 366, 23, 743, 22458, 1 ]
[ 1, 1, 1, 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, 2351, 414, 468, 257, 7536, 286, 807, 743, 22458, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2670, 33411, 3128, 796, 366, 23, 743, 22458, 1 ]
what date did both teams score 16 points each ?
SELECT "date" FROM table_203_720 WHERE "result" = 16 AND "result" = 16
[ 10919, 3128, 750, 1111, 3466, 4776, 1467, 2173, 1123, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 23906, 33411, 366, 20274, 1, 796, 1467, 5357, 366, 20274, 1, 796, 1467 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 750, 1111, 3466, 4776, 1467, 2173, 1123, 5633, 46506, 366, 4475, 1, 16034, 3084, 62, 22416, 62, 23906, 33411, 366, 20274, 1, 796, 1467, 5357, 366, 20274, 1, 796, 1467 ]
Which player was the forward?
SELECT "Player" FROM table_42083 WHERE "Position" = 'forward'
[ 13828, 2137, 373, 262, 2651, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 27211, 5999, 33411, 366, 26545, 1, 796, 705, 11813, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 2137, 373, 262, 2651, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 27211, 5999, 33411, 366, 26545, 1, 796, 705, 11813, 6 ]
What was the tournament that resulted in a winning score of 4 (71-72-72-69=284)?
SELECT tournament FROM table_name_34 WHERE winning_score = –4(71 - 72 - 72 - 69 = 284)
[ 2061, 373, 262, 7756, 326, 8724, 287, 257, 5442, 4776, 286, 604, 357, 4869, 12, 4761, 12, 4761, 12, 3388, 28, 30336, 19427, 46506, 7756, 16034, 3084, 62, 3672, 62, 2682, 33411, 5442, 62, 26675, 796, 784, 19, 7, 4869, 532, 7724, 532,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 7756, 326, 8724, 287, 257, 5442, 4776, 286, 604, 357, 4869, 12, 4761, 12, 4761, 12, 3388, 28, 30336, 19427, 46506, 7756, 16034, 3084, 62, 3672, 62, 2682, 33411, 5442, 62, 26675, 796, 784, 19, 7, 4869, 532, 7724, 532,...
What is the sum of Total, when Silver is greater than 1, when Nation is Germany (GER), and when Gold is less than 1?
SELECT SUM("Total") FROM table_49090 WHERE "Silver" > '1' AND "Nation" = 'germany (ger)' AND "Gold" < '1'
[ 2061, 318, 262, 2160, 286, 7472, 11, 618, 7698, 318, 3744, 621, 352, 11, 618, 8741, 318, 4486, 357, 30373, 828, 290, 618, 3561, 318, 1342, 621, 352, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 2920, 42534, 33411, 366, 26766,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 11, 618, 7698, 318, 3744, 621, 352, 11, 618, 8741, 318, 4486, 357, 30373, 828, 290, 618, 3561, 318, 1342, 621, 352, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 2920, 42534, 33411, 366, 26766,...
What medal did Michael Conlon, with a weight of fly, win?
SELECT "Medal" FROM table_36407 WHERE "Weight" = 'fly' AND "Boxer" = 'michael conlon'
[ 2061, 18279, 750, 3899, 1482, 14995, 11, 351, 257, 3463, 286, 6129, 11, 1592, 30, 46506, 366, 9921, 282, 1, 16034, 3084, 62, 2623, 30120, 33411, 366, 25844, 1, 796, 705, 12254, 6, 5357, 366, 14253, 263, 1, 796, 705, 76, 40302, 369, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18279, 750, 3899, 1482, 14995, 11, 351, 257, 3463, 286, 6129, 11, 1592, 30, 46506, 366, 9921, 282, 1, 16034, 3084, 62, 2623, 30120, 33411, 366, 25844, 1, 796, 705, 12254, 6, 5357, 366, 14253, 263, 1, 796, 705, 76, 40302, 369, ...
count the number of patients whose diagnoses short title is hx of colonic malignancy and drug route is iv?
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 = "Hx of colonic malignancy" AND prescriptions.route = "IV"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 289, 87, 286, 7633, 291, 6428, 570, 3883, 290, 2563, 6339, 318, 21628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1790, 3670, 318, 289, 87, 286, 7633, 291, 6428, 570, 3883, 290, 2563, 6339, 318, 21628, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
what was patient 031-23605's last blood, venipuncture's microbiology test time until 09/2105?
SELECT microlab.culturetakentime FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-23605')) AND microlab.culturesite = 'blood, venipuncture' AND...
[ 10919, 373, 5827, 657, 3132, 12, 1954, 32417, 338, 938, 2910, 11, 8710, 541, 39187, 338, 24559, 1435, 1332, 640, 1566, 7769, 14, 17, 13348, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 5827, 657, 3132, 12, 1954, 32417, 338, 938, 2910, 11, 8710, 541, 39187, 338, 24559, 1435, 1332, 640, 1566, 7769, 14, 17, 13348, 30, 46506, 4580, 23912, 13, 25584, 83, 461, 298, 524, 16034, 4580, 23912, 33411, 4580, 23912, ...
how many teams won at golf when wooster won soccer
SELECT COUNT("Golf") FROM table_20794 WHERE "Soccer" = 'Wooster'
[ 4919, 867, 3466, 1839, 379, 13126, 618, 24486, 6197, 1839, 11783, 46506, 327, 28270, 7203, 38, 4024, 4943, 16034, 3084, 62, 1238, 50242, 33411, 366, 37949, 2189, 1, 796, 705, 49450, 6197, 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 ]
[ 4919, 867, 3466, 1839, 379, 13126, 618, 24486, 6197, 1839, 11783, 46506, 327, 28270, 7203, 38, 4024, 4943, 16034, 3084, 62, 1238, 50242, 33411, 366, 37949, 2189, 1, 796, 705, 49450, 6197, 6 ]
What is Celta's Agg.?
SELECT agg FROM table_name_81 WHERE team_1 = "celta"
[ 2061, 318, 327, 12514, 338, 19015, 40791, 46506, 4194, 16034, 3084, 62, 3672, 62, 6659, 33411, 1074, 62, 16, 796, 366, 344, 2528, 64, 1 ]
[ 1, 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, 327, 12514, 338, 19015, 40791, 46506, 4194, 16034, 3084, 62, 3672, 62, 6659, 33411, 1074, 62, 16, 796, 366, 344, 2528, 64, 1 ]
Which College has an Overall of 308?
SELECT "College" FROM table_50979 WHERE "Overall" = '308'
[ 13828, 5535, 468, 281, 14674, 286, 35617, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 29022, 3720, 33411, 366, 16350, 1, 796, 705, 21495, 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 ]
[ 13828, 5535, 468, 281, 14674, 286, 35617, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 29022, 3720, 33411, 366, 16350, 1, 796, 705, 21495, 6 ]
What was the result when the opponent was manchester united in venue h?
SELECT result FROM table_name_45 WHERE opponent = "manchester united" AND venue = "h"
[ 2061, 373, 262, 1255, 618, 262, 6125, 373, 582, 35983, 16503, 287, 14359, 289, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2231, 33411, 6125, 796, 366, 805, 35983, 16503, 1, 5357, 14359, 796, 366, 71, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 618, 262, 6125, 373, 582, 35983, 16503, 287, 14359, 289, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2231, 33411, 6125, 796, 366, 805, 35983, 16503, 1, 5357, 14359, 796, 366, 71, 1 ]
How many episodes did Eve Weston write?
SELECT COUNT(no_in_series) FROM table_27462177_1 WHERE written_by = "Eve Weston"
[ 2437, 867, 8640, 750, 12882, 46949, 3551, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 1983, 39997, 22413, 62, 16, 33411, 3194, 62, 1525, 796, 366, 36, 303, 46949, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8640, 750, 12882, 46949, 3551, 30, 46506, 327, 28270, 7, 3919, 62, 259, 62, 25076, 8, 16034, 3084, 62, 1983, 39997, 22413, 62, 16, 33411, 3194, 62, 1525, 796, 366, 36, 303, 46949, 1 ]
what is the fare on the first flight from ATLANTA to DENVER on thursday morning
SELECT DISTINCT fare.fare_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day AS DATE_DAY_0, date_day AS DATE_DAY_1, days AS DAYS_0, days AS DAYS_1, fare, fare_basis, flight, flight_fare WHERE (((CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND ...
[ 10919, 318, 262, 14505, 319, 262, 717, 5474, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 294, 3479, 3329, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14505, 319, 262, 717, 5474, 422, 5161, 25697, 5603, 284, 37692, 5959, 319, 294, 3479, 3329, 46506, 360, 8808, 1268, 4177, 14505, 13, 9496, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, ...
Name the 2nd runner-up for july 20, 2007
SELECT "2nd Runner-up" FROM table_11280 WHERE "Premiere Date" = 'july 20, 2007'
[ 5376, 262, 362, 358, 17490, 12, 929, 329, 474, 2062, 1160, 11, 4343, 46506, 366, 17, 358, 21529, 12, 929, 1, 16034, 3084, 62, 14686, 1795, 33411, 366, 24914, 13235, 7536, 1, 796, 705, 73, 2062, 1160, 11, 4343, 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 ]
[ 5376, 262, 362, 358, 17490, 12, 929, 329, 474, 2062, 1160, 11, 4343, 46506, 366, 17, 358, 21529, 12, 929, 1, 16034, 3084, 62, 14686, 1795, 33411, 366, 24914, 13235, 7536, 1, 796, 705, 73, 2062, 1160, 11, 4343, 6 ]
Which district did William A. Burwell (Dr) belong to?
SELECT "District" FROM table_28909 WHERE "Candidates" = 'William A. Burwell (DR)'
[ 13828, 4783, 750, 3977, 317, 13, 5481, 4053, 357, 6187, 8, 5594, 284, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 27693, 2931, 33411, 366, 41572, 37051, 1, 796, 705, 17121, 317, 13, 5481, 4053, 357, 7707, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4783, 750, 3977, 317, 13, 5481, 4053, 357, 6187, 8, 5594, 284, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 27693, 2931, 33411, 366, 41572, 37051, 1, 796, 705, 17121, 317, 13, 5481, 4053, 357, 7707, 33047 ]
What team was the home team when the away team scored 17.21 (123)?
SELECT "Home team" FROM table_52493 WHERE "Away team score" = '17.21 (123)'
[ 2061, 1074, 373, 262, 1363, 1074, 618, 262, 1497, 1074, 7781, 1596, 13, 2481, 357, 10163, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 6052, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 13, 2481, 357, 10163, 3304...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 373, 262, 1363, 1074, 618, 262, 1497, 1074, 7781, 1596, 13, 2481, 357, 10163, 19427, 46506, 366, 16060, 1074, 1, 16034, 3084, 62, 48057, 6052, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 1558, 13, 2481, 357, 10163, 3304...
Attendance of 30,335 had what record?
SELECT record FROM table_name_74 WHERE attendance = "30,335"
[ 8086, 437, 590, 286, 1542, 11, 27326, 550, 644, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4524, 33411, 14858, 796, 366, 1270, 11, 27326, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8086, 437, 590, 286, 1542, 11, 27326, 550, 644, 1700, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4524, 33411, 14858, 796, 366, 1270, 11, 27326, 1 ]
Which accolade has USA as the country, with a year less than 2009?
SELECT accolade FROM table_name_61 WHERE country = "usa" AND year < 2009
[ 13828, 45667, 671, 468, 4916, 355, 262, 1499, 11, 351, 257, 614, 1342, 621, 3717, 30, 46506, 45667, 671, 16034, 3084, 62, 3672, 62, 5333, 33411, 1499, 796, 366, 22064, 1, 5357, 614, 1279, 3717 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 45667, 671, 468, 4916, 355, 262, 1499, 11, 351, 257, 614, 1342, 621, 3717, 30, 46506, 45667, 671, 16034, 3084, 62, 3672, 62, 5333, 33411, 1499, 796, 366, 22064, 1, 5357, 614, 1279, 3717 ]
JVM languages as percentage relative to Java.
SELECT *, COUNT(*) FROM (SELECT DATE(CAST(TIME_TO_STR(CreationDate, '%Y') AS TEXT) + '-' + CAST(TIME_TO_STR(CreationDate, '%m') AS TEXT) + '-01') AS Month, t.TagName FROM Posts AS p JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName IN ('scala', 'clojure', 'jruby', 'kotlin', 'fan'...
[ 41, 15996, 8950, 355, 5873, 3585, 284, 7349, 13, 46506, 1635, 11, 327, 28270, 7, 28104, 16034, 357, 46506, 360, 6158, 7, 44647, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 40383, 8, 1343, 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...
[ 41, 15996, 8950, 355, 5873, 3585, 284, 7349, 13, 46506, 1635, 11, 327, 28270, 7, 28104, 16034, 357, 46506, 360, 6158, 7, 44647, 7, 34694, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 40383, 8, 1343, 705, ...
what is the number of patients whose gender is m and diagnoses long title is seroma complicating a procedure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.long_title = "Seroma complicating a procedure"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 1055, 6086, 2299, 12364, 257, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5279, 318, 285, 290, 40567, 890, 3670, 318, 1055, 6086, 2299, 12364, 257, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
What country does Tiger Woods play for?
SELECT "Country" FROM table_79994 WHERE "Player" = 'tiger woods'
[ 2061, 1499, 857, 17030, 16483, 711, 329, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 45455, 5824, 33411, 366, 14140, 1, 796, 705, 83, 8254, 16479, 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, 1499, 857, 17030, 16483, 711, 329, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 45455, 5824, 33411, 366, 14140, 1, 796, 705, 83, 8254, 16479, 6 ]
What is the type if the transfer window is summer and the moving from category is free agent?
SELECT type FROM table_name_89 WHERE transfer_window = "summer" AND moving_from = "free agent"
[ 2061, 318, 262, 2099, 611, 262, 4351, 4324, 318, 3931, 290, 262, 3867, 422, 6536, 318, 1479, 5797, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 4531, 33411, 4351, 62, 17497, 796, 366, 16345, 647, 1, 5357, 3867, 62, 6738, 796, 366, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2099, 611, 262, 4351, 4324, 318, 3931, 290, 262, 3867, 422, 6536, 318, 1479, 5797, 30, 46506, 2099, 16034, 3084, 62, 3672, 62, 4531, 33411, 4351, 62, 17497, 796, 366, 16345, 647, 1, 5357, 3867, 62, 6738, 796, 366, 57...
Who won the XXIV Gran Premio di Pescara in the sports car class?
SELECT "Driver/s" FROM table_67327 WHERE "Class" = 'sports car' AND "Race title" = 'xxiv gran premio di pescara'
[ 8241, 1839, 262, 21044, 3824, 17113, 6929, 952, 2566, 350, 3798, 3301, 287, 262, 5701, 1097, 1398, 30, 46506, 366, 32103, 14, 82, 1, 16034, 3084, 62, 3134, 34159, 33411, 366, 9487, 1, 796, 705, 32945, 1097, 6, 5357, 366, 35157, 3670, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 21044, 3824, 17113, 6929, 952, 2566, 350, 3798, 3301, 287, 262, 5701, 1097, 1398, 30, 46506, 366, 32103, 14, 82, 1, 16034, 3084, 62, 3134, 34159, 33411, 366, 9487, 1, 796, 705, 32945, 1097, 6, 5357, 366, 35157, 3670, ...
what flights from ATLANTA to WASHINGTON
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 = 'ATLANTA' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'WASHIN...
[ 10919, 13956, 422, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 273...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 422, 5161, 25697, 5603, 284, 370, 19436, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 273...
Which Year has a Venue of bydgoszcz, poland?
SELECT AVG("Year") FROM table_14033 WHERE "Venue" = 'bydgoszcz, poland'
[ 13828, 6280, 468, 257, 9932, 518, 286, 416, 67, 70, 418, 89, 26691, 11, 755, 392, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 15187, 2091, 33411, 366, 37522, 518, 1, 796, 705, 1525, 67, 70, 418, 89, 26691, 11, 755, 392, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 257, 9932, 518, 286, 416, 67, 70, 418, 89, 26691, 11, 755, 392, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 15187, 2091, 33411, 366, 37522, 518, 1, 796, 705, 1525, 67, 70, 418, 89, 26691, 11, 755, 392, ...
A scatter chart shows the correlation between Team_ID and All_Games_Percent , and group by attribute Team_Name.
SELECT Team_ID, All_Games_Percent FROM basketball_match GROUP BY Team_Name
[ 32, 41058, 8262, 2523, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 481...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 41058, 8262, 2523, 262, 16096, 1022, 4816, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 13, 46506, 4816, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, 44441, 11050, 481...
Who had the pole position at the German Grand Prix?
SELECT "Pole Position" FROM table_16669 WHERE "Grand Prix" = 'German Grand Prix'
[ 8241, 550, 262, 16825, 2292, 379, 262, 2679, 5675, 23832, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 1433, 36657, 33411, 366, 23581, 23832, 1, 796, 705, 16010, 5675, 23832, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 16825, 2292, 379, 262, 2679, 5675, 23832, 30, 46506, 366, 47, 2305, 23158, 1, 16034, 3084, 62, 1433, 36657, 33411, 366, 23581, 23832, 1, 796, 705, 16010, 5675, 23832, 6 ]
what is maximum age of patients whose marital status is single and primary disease is gangrene?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.diagnosis = "GANGRENE"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 4165, 4369, 318, 7706, 25924, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 29555, 3722, 318, 2060, 290, 4165, 4369, 318, 7706, 25924, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, 13376, 796, 366, 50, 2751, 2538, 1, 5357,...
What was the ceased operation with a launch date of August 8, 1968?
SELECT "Ceased operation" FROM table_48806 WHERE "Launched" = 'august 8, 1968'
[ 2061, 373, 262, 24368, 4905, 351, 257, 4219, 3128, 286, 2932, 807, 11, 15963, 30, 46506, 366, 34, 68, 839, 4905, 1, 16034, 3084, 62, 2780, 37988, 33411, 366, 46182, 1740, 1, 796, 705, 7493, 436, 807, 11, 15963, 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 ]
[ 2061, 373, 262, 24368, 4905, 351, 257, 4219, 3128, 286, 2932, 807, 11, 15963, 30, 46506, 366, 34, 68, 839, 4905, 1, 16034, 3084, 62, 2780, 37988, 33411, 366, 46182, 1740, 1, 796, 705, 7493, 436, 807, 11, 15963, 6 ]
how many ras bodik papers are in popl ?
SELECT DISTINCT COUNT(paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'ras bodik' AND venue.venueid = paper.venueid AND venue.venuename = 'popl' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 4919, 867, 374, 292, 16429, 1134, 9473, 389, 287, 1461, 75, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 14359, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 8847, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 374, 292, 16429, 1134, 9473, 389, 287, 1461, 75, 5633, 46506, 360, 8808, 1268, 4177, 327, 28270, 7, 20189, 13, 20189, 312, 8, 16034, 1772, 11, 3348, 11, 14359, 11, 6797, 33411, 1772, 13, 18439, 1211, 480, 796, 705, 8847, ...
provide the number of office admission patients who have upper gi bleed primary disease.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.diagnosis = "UPPER GI BLEED"
[ 15234, 485, 262, 1271, 286, 2607, 13938, 3871, 508, 423, 6727, 308, 72, 30182, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 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, 1, 1...
[ 15234, 485, 262, 1271, 286, 2607, 13938, 3871, 508, 423, 6727, 308, 72, 30182, 4165, 4369, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, ...
what builder launched the name minerva
SELECT launched FROM table_name_97 WHERE name = "minerva"
[ 10919, 27098, 5611, 262, 1438, 949, 32775, 46506, 5611, 16034, 3084, 62, 3672, 62, 5607, 33411, 1438, 796, 366, 1084, 32775, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 27098, 5611, 262, 1438, 949, 32775, 46506, 5611, 16034, 3084, 62, 3672, 62, 5607, 33411, 1438, 796, 366, 1084, 32775, 1 ]
mention the disease that jerry deberry is primarily suffering from and his date of birth as well.
SELECT demographic.dob, demographic.diagnosis FROM demographic WHERE demographic.name = "Jerry Deberry"
[ 434, 295, 262, 4369, 326, 474, 6996, 390, 8396, 318, 7525, 7195, 422, 290, 465, 3128, 286, 4082, 355, 880, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 434, 295, 262, 4369, 326, 474, 6996, 390, 8396, 318, 7525, 7195, 422, 290, 465, 3128, 286, 4082, 355, 880, 13, 46506, 16728, 13, 67, 672, 11, 16728, 13, 47356, 5958, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 43462, 1024, 8396, ...