instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the MSRP for the laptop with storage of 128-512 GB SSD?
SELECT msrp FROM table_name_2 WHERE storage = "128-512 gb ssd"
[ 2061, 318, 262, 6579, 20031, 329, 262, 13224, 351, 6143, 286, 13108, 12, 25836, 13124, 21252, 30, 46506, 13845, 81, 79, 16034, 3084, 62, 3672, 62, 17, 33411, 6143, 796, 366, 12762, 12, 25836, 308, 65, 264, 21282, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6579, 20031, 329, 262, 13224, 351, 6143, 286, 13108, 12, 25836, 13124, 21252, 30, 46506, 13845, 81, 79, 16034, 3084, 62, 3672, 62, 17, 33411, 6143, 796, 366, 12762, 12, 25836, 308, 65, 264, 21282, 1 ]
What is the highest student GPA for every department? Return a bar chart, and list X in asc order.
SELECT DEPT_CODE, MAX(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY DEPT_CODE
[ 2061, 318, 262, 4511, 3710, 45283, 329, 790, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 1351, 1395, 287, 10570, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 3710, 45283, 329, 790, 5011, 30, 8229, 257, 2318, 8262, 11, 290, 1351, 1395, 287, 10570, 1502, 13, 46506, 5550, 11571, 62, 34, 16820, 11, 25882, 7, 2257, 52, 62, 38, 4537, 8, 16034, 49348, 3525, 44441, 11050, 5...
Name the Year which has a Label of atco records and a Type of album? Question 2
SELECT year FROM table_name_15 WHERE label = "atco records" AND type = "album"
[ 5376, 262, 6280, 543, 468, 257, 36052, 286, 379, 1073, 4406, 290, 257, 5994, 286, 5062, 30, 18233, 362, 46506, 614, 16034, 3084, 62, 3672, 62, 1314, 33411, 6167, 796, 366, 265, 1073, 4406, 1, 5357, 2099, 796, 366, 40916, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 543, 468, 257, 36052, 286, 379, 1073, 4406, 290, 257, 5994, 286, 5062, 30, 18233, 362, 46506, 614, 16034, 3084, 62, 3672, 62, 1314, 33411, 6167, 796, 366, 265, 1073, 4406, 1, 5357, 2099, 796, 366, 40916, 1 ]
provide the number of patients whose year of birth is less than 2095 and diagnoses short title is psoas muscle abscess?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.dob_year < "2095" AND diagnoses.short_title = "Psoas muscle abscess"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3865, 290, 40567, 1790, 3670, 318, 279, 568, 292, 8280, 2352, 919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 614, 286, 4082, 318, 1342, 621, 1160, 3865, 290, 40567, 1790, 3670, 318, 279, 568, 292, 8280, 2352, 919, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16...
retrieve the top five most common specimens tested since 4 years ago?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE DATETIME(microlab.culturetakentime) >= DATETIME(CURRENT_TIME(), '-4 year') GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 5
[ 1186, 30227, 262, 1353, 1936, 749, 2219, 27569, 6789, 1201, 604, 812, 2084, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1186, 30227, 262, 1353, 1936, 749, 2219, 27569, 6789, 1201, 604, 812, 2084, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11...
What is the average maximum height of the shell smaller than 12.5 lb that reached its maximum height at 25 in 10.1 seconds?
SELECT AVG(max_height__ft_) FROM table_name_24 WHERE time_to_ft__m__at_25°__seconds_ = "10.1" AND shell__lb_ < 12.5
[ 2061, 318, 262, 2811, 5415, 6001, 286, 262, 7582, 4833, 621, 1105, 13, 20, 18360, 326, 4251, 663, 5415, 6001, 379, 1679, 287, 838, 13, 16, 4201, 30, 46506, 35224, 7, 9806, 62, 17015, 834, 701, 62, 8, 16034, 3084, 62, 3672, 62, 173...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 5415, 6001, 286, 262, 7582, 4833, 621, 1105, 13, 20, 18360, 326, 4251, 663, 5415, 6001, 379, 1679, 287, 838, 13, 16, 4201, 30, 46506, 35224, 7, 9806, 62, 17015, 834, 701, 62, 8, 16034, 3084, 62, 3672, 62, 173...
What is Calvin Mokoto's average rank?
SELECT AVG("Rank") FROM table_79568 WHERE "Athletes" = 'calvin mokoto'
[ 2061, 318, 25017, 337, 482, 2069, 338, 2811, 4279, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 41544, 3104, 33411, 366, 32, 400, 40676, 1, 796, 705, 9948, 7114, 285, 482, 2069, 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, 318, 25017, 337, 482, 2069, 338, 2811, 4279, 30, 46506, 35224, 7203, 27520, 4943, 16034, 3084, 62, 41544, 3104, 33411, 366, 32, 400, 40676, 1, 796, 705, 9948, 7114, 285, 482, 2069, 6 ]
What is Far Eastern College Johnny Abarrientos' Pick number?
SELECT pick FROM table_name_55 WHERE college = "far eastern" AND player = "johnny abarrientos"
[ 2061, 318, 6755, 8345, 5535, 15470, 2275, 283, 8289, 418, 6, 12346, 1271, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 2816, 33411, 4152, 796, 366, 16370, 10183, 1, 5357, 2137, 796, 366, 30686, 3281, 450, 283, 8289, 418, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6755, 8345, 5535, 15470, 2275, 283, 8289, 418, 6, 12346, 1271, 30, 46506, 2298, 16034, 3084, 62, 3672, 62, 2816, 33411, 4152, 796, 366, 16370, 10183, 1, 5357, 2137, 796, 366, 30686, 3281, 450, 283, 8289, 418, 1 ]
What's the most recent week for the day of November 5, 1978?
SELECT MAX("Week") FROM table_7200 WHERE "Date" = 'november 5, 1978'
[ 2061, 338, 262, 749, 2274, 1285, 329, 262, 1110, 286, 3389, 642, 11, 15524, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 22, 2167, 33411, 366, 10430, 1, 796, 705, 77, 3239, 642, 11, 15524, 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, 338, 262, 749, 2274, 1285, 329, 262, 1110, 286, 3389, 642, 11, 15524, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 22, 2167, 33411, 366, 10430, 1, 796, 705, 77, 3239, 642, 11, 15524, 6 ]
Which Team has Balls smaller than 258, and Inns of 10, and Matches smaller than 12?
SELECT "Team" FROM table_61282 WHERE "Balls" < '258' AND "Inns" = '10' AND "Matches" < '12'
[ 13828, 4816, 468, 39332, 4833, 621, 37528, 11, 290, 554, 5907, 286, 838, 11, 290, 6550, 2052, 4833, 621, 1105, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 43610, 6469, 33411, 366, 33, 5691, 1, 1279, 705, 25600, 6, 5357, 366, 818, 590...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4816, 468, 39332, 4833, 621, 37528, 11, 290, 554, 5907, 286, 838, 11, 290, 6550, 2052, 4833, 621, 1105, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 43610, 6469, 33411, 366, 33, 5691, 1, 1279, 705, 25600, 6, 5357, 366, 818, 590...
Who was the opponent on april 26, 2003?
SELECT opponent FROM table_name_25 WHERE date = "april 26, 2003"
[ 8241, 373, 262, 6125, 319, 46593, 346, 2608, 11, 5816, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 499, 22379, 2608, 11, 5816, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 6125, 319, 46593, 346, 2608, 11, 5816, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 1495, 33411, 3128, 796, 366, 499, 22379, 2608, 11, 5816, 1 ]
what is the average total cost for a hospital that includes a drug called dextrose 50% until 3 years ago?
SELECT AVG(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'dextrose 50%') AND DATETIME(cost.chargetime) <= DATETIME(CURRENT_TIME(), '-3 year') GROUP BY cost.hadm_id) AS t1
[ 10919, 318, 262, 2811, 2472, 1575, 329, 257, 4436, 326, 3407, 257, 2563, 1444, 390, 742, 13698, 2026, 4, 1566, 513, 812, 2084, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1575, 329, 257, 4436, 326, 3407, 257, 2563, 1444, 390, 742, 13698, 2026, 4, 1566, 513, 812, 2084, 30, 46506, 35224, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269...
For each manufacturer's name, what are the prices of their most expensive product?, and show from low to high by the y-axis.
SELECT T2.Name, MAX(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY MAX(T1.Price)
[ 1890, 1123, 11554, 338, 1438, 11, 644, 389, 262, 4536, 286, 511, 749, 5789, 1720, 21747, 290, 905, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 309, 17, 13, 5376, 11, 25882, 7, 51, 16, 13, 18124, 8, 16034, 18675, 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...
[ 1890, 1123, 11554, 338, 1438, 11, 644, 389, 262, 4536, 286, 511, 749, 5789, 1720, 21747, 290, 905, 422, 1877, 284, 1029, 416, 262, 331, 12, 22704, 13, 46506, 309, 17, 13, 5376, 11, 25882, 7, 51, 16, 13, 18124, 8, 16034, 18675, 705...
Which week had the highest attendance with 58,701?
SELECT MAX("Week") FROM table_40112 WHERE "Attendance" = '58,701'
[ 13828, 1285, 550, 262, 4511, 14858, 351, 7618, 11, 41583, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 21844, 1065, 33411, 366, 8086, 437, 590, 1, 796, 705, 3365, 11, 41583, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1285, 550, 262, 4511, 14858, 351, 7618, 11, 41583, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 21844, 1065, 33411, 366, 8086, 437, 590, 1, 796, 705, 3365, 11, 41583, 6 ]
count the number of patients who until 4 years ago have been prescribed acd-a for crrt.
SELECT COUNT(DISTINCT admissions.subject_id) FROM admissions WHERE admissions.hadm_id IN (SELECT prescriptions.hadm_id FROM prescriptions WHERE prescriptions.drug = 'acd-a for crrt' AND DATETIME(prescriptions.startdate) <= DATETIME(CURRENT_TIME(), '-4 year'))
[ 9127, 262, 1271, 286, 3871, 508, 1566, 604, 812, 2084, 423, 587, 14798, 936, 67, 12, 64, 329, 1067, 17034, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 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...
[ 9127, 262, 1271, 286, 3871, 508, 1566, 604, 812, 2084, 423, 587, 14798, 936, 67, 12, 64, 329, 1067, 17034, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 25349, 13, 32796, 62, 312, 8, 16034, 25349, 33411, 25349, 13, 18108, 76, 62, ...
How many episode titles aired on September 25, 1967?
SELECT COUNT(title) FROM table_25800134_12 WHERE airdate = "September 25, 1967"
[ 2437, 867, 4471, 8714, 18530, 319, 2693, 1679, 11, 15904, 30, 46506, 327, 28270, 7, 7839, 8, 16034, 3084, 62, 1495, 7410, 19880, 62, 1065, 33411, 257, 1447, 378, 796, 366, 17543, 1679, 11, 15904, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4471, 8714, 18530, 319, 2693, 1679, 11, 15904, 30, 46506, 327, 28270, 7, 7839, 8, 16034, 3084, 62, 1495, 7410, 19880, 62, 1065, 33411, 257, 1447, 378, 796, 366, 17543, 1679, 11, 15904, 1 ]
How many pages does the story from 1987-08 have?
SELECT "Pages" FROM table_4634 WHERE "Date" = '1987-08'
[ 2437, 867, 5468, 857, 262, 1621, 422, 12923, 12, 2919, 423, 30, 46506, 366, 47798, 1, 16034, 3084, 62, 3510, 2682, 33411, 366, 10430, 1, 796, 705, 27301, 12, 2919, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 5468, 857, 262, 1621, 422, 12923, 12, 2919, 423, 30, 46506, 366, 47798, 1, 16034, 3084, 62, 3510, 2682, 33411, 366, 10430, 1, 796, 705, 27301, 12, 2919, 6 ]
What player has 3 wins and ranks above 3rd?
SELECT player FROM table_name_51 WHERE wins = 3 AND rank > 3
[ 2061, 2137, 468, 513, 7864, 290, 9803, 2029, 513, 4372, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4349, 33411, 7864, 796, 513, 5357, 4279, 1875, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2137, 468, 513, 7864, 290, 9803, 2029, 513, 4372, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4349, 33411, 7864, 796, 513, 5357, 4279, 1875, 513 ]
What is the Notes with a Venue that is venice, italy?
SELECT "Notes" FROM table_41087 WHERE "Venue" = 'venice, italy'
[ 2061, 318, 262, 11822, 351, 257, 9932, 518, 326, 318, 8710, 501, 11, 340, 3400, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 33289, 5774, 33411, 366, 37522, 518, 1, 796, 705, 574, 501, 11, 340, 3400, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 11822, 351, 257, 9932, 518, 326, 318, 8710, 501, 11, 340, 3400, 30, 46506, 366, 16130, 1, 16034, 3084, 62, 33289, 5774, 33411, 366, 37522, 518, 1, 796, 705, 574, 501, 11, 340, 3400, 6 ]
who was the first pick in the draft ?
SELECT "player" FROM table_204_389 WHERE "pick #" = 1
[ 8727, 373, 262, 717, 2298, 287, 262, 4538, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 29769, 33411, 366, 27729, 1303, 1, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 373, 262, 717, 2298, 287, 262, 4538, 5633, 46506, 366, 7829, 1, 16034, 3084, 62, 18638, 62, 29769, 33411, 366, 27729, 1303, 1, 796, 352 ]
What is the highest number of cuts made when her best finish is t4?
SELECT MAX(cuts_made) FROM table_14853156_2 WHERE best_finish = "T4"
[ 2061, 318, 262, 4511, 1271, 286, 6630, 925, 618, 607, 1266, 5461, 318, 256, 19, 30, 46506, 25882, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 18294, 4310, 21599, 62, 17, 33411, 1266, 62, 15643, 680, 796, 366, 51, 19, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 1271, 286, 6630, 925, 618, 607, 1266, 5461, 318, 256, 19, 30, 46506, 25882, 7, 23779, 62, 9727, 8, 16034, 3084, 62, 18294, 4310, 21599, 62, 17, 33411, 1266, 62, 15643, 680, 796, 366, 51, 19, 1 ]
What's the date of the discus throw in 2010 Georgetown?
SELECT date FROM table_name_75 WHERE games = "2010 georgetown" AND event = "discus throw"
[ 2061, 338, 262, 3128, 286, 262, 1221, 385, 3714, 287, 3050, 31393, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2425, 33411, 1830, 796, 366, 10333, 4903, 29085, 1, 5357, 1785, 796, 366, 15410, 385, 3714, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 286, 262, 1221, 385, 3714, 287, 3050, 31393, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2425, 33411, 1830, 796, 366, 10333, 4903, 29085, 1, 5357, 1785, 796, 366, 15410, 385, 3714, 1 ]
What is the maximum speed for total power of ps (kw; bhp)?
SELECT top_speed FROM table_21154679_1 WHERE max_power = "PS (kW; bhp)"
[ 2061, 318, 262, 5415, 2866, 329, 2472, 1176, 286, 26692, 357, 46265, 26, 275, 24831, 19427, 46506, 1353, 62, 12287, 16034, 3084, 62, 21895, 4051, 37601, 62, 16, 33411, 3509, 62, 6477, 796, 366, 3705, 357, 74, 54, 26, 275, 24831, 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, 1 ]
[ 2061, 318, 262, 5415, 2866, 329, 2472, 1176, 286, 26692, 357, 46265, 26, 275, 24831, 19427, 46506, 1353, 62, 12287, 16034, 3084, 62, 21895, 4051, 37601, 62, 16, 33411, 3509, 62, 6477, 796, 366, 3705, 357, 74, 54, 26, 275, 24831, 16725...
Bar chart x axis dept code y axis minimal stu gpa, could you show by the DEPT_CODE in desc?
SELECT DEPT_CODE, MIN(STU_GPA) FROM STUDENT GROUP BY DEPT_CODE ORDER BY DEPT_CODE DESC
[ 10374, 8262, 2124, 16488, 390, 457, 2438, 331, 16488, 10926, 336, 84, 308, 8957, 11, 714, 345, 905, 416, 262, 5550, 11571, 62, 34, 16820, 287, 1715, 30, 46506, 5550, 11571, 62, 34, 16820, 11, 20625, 7, 2257, 52, 62, 38, 4537, 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 ]
[ 10374, 8262, 2124, 16488, 390, 457, 2438, 331, 16488, 10926, 336, 84, 308, 8957, 11, 714, 345, 905, 416, 262, 5550, 11571, 62, 34, 16820, 287, 1715, 30, 46506, 5550, 11571, 62, 34, 16820, 11, 20625, 7, 2257, 52, 62, 38, 4537, 8, 1...
What's the date when Yelena Isinbayeva for Russia was in Beijing, China?
SELECT date FROM table_name_82 WHERE nation = "russia" AND place = "beijing, china" AND athlete = "yelena isinbayeva"
[ 2061, 338, 262, 3128, 618, 28876, 8107, 1148, 259, 24406, 48855, 329, 3284, 373, 287, 11618, 11, 2807, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6469, 33411, 3277, 796, 366, 81, 31269, 1, 5357, 1295, 796, 366, 1350, 11030, 11, 442, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3128, 618, 28876, 8107, 1148, 259, 24406, 48855, 329, 3284, 373, 287, 11618, 11, 2807, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 6469, 33411, 3277, 796, 366, 81, 31269, 1, 5357, 1295, 796, 366, 1350, 11030, 11, 442, ...
give me the number of patients whose death status is 1 and primary disease is morbid obesity/sda?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "MORBID OBESITY/SDA"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 352, 290, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, ...
Which Game is the lowest one that has a Score of 2 3 ot, and Points larger than 76?
SELECT MIN(game) FROM table_name_46 WHERE score = "2–3 ot" AND points > 76
[ 13828, 3776, 318, 262, 9016, 530, 326, 468, 257, 15178, 286, 362, 513, 30972, 11, 290, 11045, 4025, 621, 8684, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 4776, 796, 366, 17, 1906, 18, 30972, 1, 5357, 2173,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3776, 318, 262, 9016, 530, 326, 468, 257, 15178, 286, 362, 513, 30972, 11, 290, 11045, 4025, 621, 8684, 30, 46506, 20625, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 3510, 33411, 4776, 796, 366, 17, 1906, 18, 30972, 1, 5357, 2173,...
What is the nickname of the college established in 1773?
SELECT nickname FROM table_name_65 WHERE established = 1773
[ 2061, 318, 262, 21814, 286, 262, 4152, 4920, 287, 1596, 4790, 30, 46506, 21814, 16034, 3084, 62, 3672, 62, 2996, 33411, 4920, 796, 1596, 4790 ]
[ 1, 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, 21814, 286, 262, 4152, 4920, 287, 1596, 4790, 30, 46506, 21814, 16034, 3084, 62, 3672, 62, 2996, 33411, 4920, 796, 1596, 4790 ]
what place was 1a aficio and 3a aficio ?
SELECT "place" FROM table_203_783 WHERE "division" = '1a aficio'
[ 10919, 1295, 373, 352, 64, 6580, 46441, 290, 513, 64, 6580, 46441, 5633, 46506, 366, 5372, 1, 16034, 3084, 62, 22416, 62, 50165, 33411, 366, 21426, 1, 796, 705, 16, 64, 6580, 46441, 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 ]
[ 10919, 1295, 373, 352, 64, 6580, 46441, 290, 513, 64, 6580, 46441, 5633, 46506, 366, 5372, 1, 16034, 3084, 62, 22416, 62, 50165, 33411, 366, 21426, 1, 796, 705, 16, 64, 6580, 46441, 6 ]
What's the old bulgarian word for ?
SELECT "Old Bulgarian name - Meaning" FROM table_6467 WHERE "Bulgarian name" = 'октомври'
[ 2061, 338, 262, 1468, 4807, 70, 3699, 1573, 329, 5633, 46506, 366, 19620, 42119, 1438, 532, 30563, 1, 16034, 3084, 62, 2414, 3134, 33411, 366, 33481, 70, 3699, 1438, 1, 796, 705, 25443, 118, 20375, 25443, 120, 38857, 21169, 18849, 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, 338, 262, 1468, 4807, 70, 3699, 1573, 329, 5633, 46506, 366, 19620, 42119, 1438, 532, 30563, 1, 16034, 3084, 62, 2414, 3134, 33411, 366, 33481, 70, 3699, 1438, 1, 796, 705, 25443, 118, 20375, 25443, 120, 38857, 21169, 18849, 6 ]
Can you tell me the manufacturer behind Race Hill Farm Team?
SELECT manufacturer FROM table_2267465_1 WHERE team = "Race Hill Farm team"
[ 6090, 345, 1560, 502, 262, 11554, 2157, 12588, 3327, 11272, 4816, 30, 46506, 11554, 16034, 3084, 62, 1828, 3134, 42018, 62, 16, 33411, 1074, 796, 366, 35157, 3327, 11272, 1074, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 6090, 345, 1560, 502, 262, 11554, 2157, 12588, 3327, 11272, 4816, 30, 46506, 11554, 16034, 3084, 62, 1828, 3134, 42018, 62, 16, 33411, 1074, 796, 366, 35157, 3327, 11272, 1074, 1 ]
What was the UK broadcast date for the episode presented by Buck Henry?
SELECT uk_broadcast_date FROM table_15211468_3 WHERE presenter = "Buck Henry"
[ 2061, 373, 262, 3482, 7025, 3128, 329, 262, 4471, 5545, 416, 13452, 8616, 30, 46506, 334, 74, 62, 36654, 2701, 62, 4475, 16034, 3084, 62, 17827, 16562, 3104, 62, 18, 33411, 39597, 796, 366, 33, 1347, 8616, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3482, 7025, 3128, 329, 262, 4471, 5545, 416, 13452, 8616, 30, 46506, 334, 74, 62, 36654, 2701, 62, 4475, 16034, 3084, 62, 17827, 16562, 3104, 62, 18, 33411, 39597, 796, 366, 33, 1347, 8616, 1 ]
Name the visitor for detroit on february 24
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24"
[ 5376, 262, 21493, 329, 1062, 7775, 319, 730, 65, 3728, 1987, 46506, 21493, 16034, 3084, 62, 3672, 62, 2816, 33411, 1363, 796, 366, 15255, 7775, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 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 ]
[ 5376, 262, 21493, 329, 1062, 7775, 319, 730, 65, 3728, 1987, 46506, 21493, 16034, 3084, 62, 3672, 62, 2816, 33411, 1363, 796, 366, 15255, 7775, 1, 5357, 3128, 796, 366, 69, 1765, 3728, 1987, 1 ]
Which cfl team is manitoba college?
SELECT "CFL Team" FROM table_24284 WHERE "College" = 'Manitoba'
[ 13828, 269, 2704, 1074, 318, 582, 270, 19981, 4152, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 1731, 30336, 33411, 366, 38951, 1, 796, 705, 5124, 270, 19981, 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 ]
[ 13828, 269, 2704, 1074, 318, 582, 270, 19981, 4152, 30, 46506, 366, 34, 3697, 4816, 1, 16034, 3084, 62, 1731, 30336, 33411, 366, 38951, 1, 796, 705, 5124, 270, 19981, 6 ]
When the network mask is 255.255.255.224 what is the highest total usable host?
SELECT MAX("Total usable hosts") FROM table_19706 WHERE "Network mask" = '255.255.255.224'
[ 2215, 262, 3127, 9335, 318, 14280, 13, 13381, 13, 13381, 13, 24137, 644, 318, 262, 4511, 2472, 24284, 2583, 30, 46506, 25882, 7203, 14957, 24284, 11453, 4943, 16034, 3084, 62, 30986, 21, 33411, 366, 26245, 9335, 1, 796, 705, 13381, 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 ]
[ 2215, 262, 3127, 9335, 318, 14280, 13, 13381, 13, 13381, 13, 24137, 644, 318, 262, 4511, 2472, 24284, 2583, 30, 46506, 25882, 7203, 14957, 24284, 11453, 4943, 16034, 3084, 62, 30986, 21, 33411, 366, 26245, 9335, 1, 796, 705, 13381, 13, ...
what is the number of patients whose lab test chart time is 2119-05-27 18:27:00?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.charttime = "2119-05-27 18:27:00"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2248, 1332, 8262, 640, 318, 2310, 1129, 12, 2713, 12, 1983, 1248, 25, 1983, 25, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2248, 1332, 8262, 640, 318, 2310, 1129, 12, 2713, 12, 1983, 1248, 25, 1983, 25, 405, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32...
What is the greatest capacity for rooms in each building? Draw a bar chart, and list by the names in ascending please.
SELECT building, MAX(capacity) FROM classroom GROUP BY building ORDER BY building
[ 2061, 318, 262, 6000, 5339, 329, 9519, 287, 1123, 2615, 30, 15315, 257, 2318, 8262, 11, 290, 1351, 416, 262, 3891, 287, 41988, 3387, 13, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6000, 5339, 329, 9519, 287, 1123, 2615, 30, 15315, 257, 2318, 8262, 11, 290, 1351, 416, 262, 3891, 287, 41988, 3387, 13, 46506, 2615, 11, 25882, 7, 42404, 8, 16034, 15806, 44441, 11050, 2615, 38678, 11050, 2615 ]
Which Medal had a Games of 2008 beijing, and a Sport of taekwondo?
SELECT "Medal" FROM table_75001 WHERE "Games" = '2008 beijing' AND "Sport" = 'taekwondo'
[ 13828, 9064, 550, 257, 5776, 286, 3648, 307, 11030, 11, 290, 257, 12771, 286, 20486, 988, 86, 22311, 30, 46506, 366, 9921, 282, 1, 16034, 3084, 62, 2425, 8298, 33411, 366, 24474, 1, 796, 705, 11528, 307, 11030, 6, 5357, 366, 42576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9064, 550, 257, 5776, 286, 3648, 307, 11030, 11, 290, 257, 12771, 286, 20486, 988, 86, 22311, 30, 46506, 366, 9921, 282, 1, 16034, 3084, 62, 2425, 8298, 33411, 366, 24474, 1, 796, 705, 11528, 307, 11030, 6, 5357, 366, 42576, ...
What is every team with location attendance of Arco Arena 17,014?
SELECT team FROM table_27902171_5 WHERE location_attendance = "ARCO Arena 17,014"
[ 2061, 318, 790, 1074, 351, 4067, 14858, 286, 943, 1073, 10937, 1596, 11, 28645, 30, 46506, 1074, 16034, 3084, 62, 26050, 2999, 27192, 62, 20, 33411, 4067, 62, 1078, 437, 590, 796, 366, 1503, 8220, 10937, 1596, 11, 28645, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 351, 4067, 14858, 286, 943, 1073, 10937, 1596, 11, 28645, 30, 46506, 1074, 16034, 3084, 62, 26050, 2999, 27192, 62, 20, 33411, 4067, 62, 1078, 437, 590, 796, 366, 1503, 8220, 10937, 1596, 11, 28645, 1 ]
What was the last episode featuring Rob Estes?
SELECT "Final Episode" FROM table_57475 WHERE "Actor" = 'rob estes'
[ 2061, 373, 262, 938, 4471, 9593, 3851, 10062, 274, 30, 46506, 366, 19006, 7922, 1, 16034, 3084, 62, 3553, 32576, 33411, 366, 40277, 1, 796, 705, 22609, 1556, 274, 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, 938, 4471, 9593, 3851, 10062, 274, 30, 46506, 366, 19006, 7922, 1, 16034, 3084, 62, 3553, 32576, 33411, 366, 40277, 1, 796, 705, 22609, 1556, 274, 6 ]
what is the school when the team is new york yankees?
SELECT school FROM table_name_1 WHERE team = "new york yankees"
[ 10919, 318, 262, 1524, 618, 262, 1074, 318, 649, 331, 967, 331, 272, 16683, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 16, 33411, 1074, 796, 366, 3605, 331, 967, 331, 272, 16683, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1524, 618, 262, 1074, 318, 649, 331, 967, 331, 272, 16683, 30, 46506, 1524, 16034, 3084, 62, 3672, 62, 16, 33411, 1074, 796, 366, 3605, 331, 967, 331, 272, 16683, 1 ]
Find the average and minimum weight for each gender.
SELECT AVG(weight), MIN(weight), sex FROM people GROUP BY sex
[ 16742, 262, 2811, 290, 5288, 3463, 329, 1123, 5279, 13, 46506, 35224, 7, 6551, 828, 20625, 7, 6551, 828, 1714, 16034, 661, 44441, 11050, 1714 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16742, 262, 2811, 290, 5288, 3463, 329, 1123, 5279, 13, 46506, 35224, 7, 6551, 828, 20625, 7, 6551, 828, 1714, 16034, 661, 44441, 11050, 1714 ]
Just show the first name and the manager id with a bar chart, and list by the bar in asc please.
SELECT T1.FIRST_NAME, T1.MANAGER_ID FROM employees AS T1 JOIN departments AS T2 ON T1.DEPARTMENT_ID = T2.DEPARTMENT_ID WHERE T1.EMPLOYEE_ID = T2.MANAGER_ID ORDER BY T1.FIRST_NAME
[ 5703, 905, 262, 717, 1438, 290, 262, 4706, 4686, 351, 257, 2318, 8262, 11, 290, 1351, 416, 262, 2318, 287, 10570, 3387, 13, 46506, 309, 16, 13, 39776, 2257, 62, 20608, 11, 309, 16, 13, 10725, 4760, 1137, 62, 2389, 16034, 4409, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5703, 905, 262, 717, 1438, 290, 262, 4706, 4686, 351, 257, 2318, 8262, 11, 290, 1351, 416, 262, 2318, 287, 10570, 3387, 13, 46506, 309, 16, 13, 39776, 2257, 62, 20608, 11, 309, 16, 13, 10725, 4760, 1137, 62, 2389, 16034, 4409, 7054,...
What are the shipping agent names?
SELECT shipping_agent_name FROM Ref_Shipping_Agents
[ 2061, 389, 262, 8440, 5797, 3891, 30, 46506, 8440, 62, 25781, 62, 3672, 16034, 6524, 62, 45169, 62, 10262, 658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 8440, 5797, 3891, 30, 46506, 8440, 62, 25781, 62, 3672, 16034, 6524, 62, 45169, 62, 10262, 658 ]
what is the score when the opponent is ann grossman?
SELECT "Score" FROM table_13675 WHERE "Opponent" = 'ann grossman'
[ 10919, 318, 262, 4776, 618, 262, 6125, 318, 1529, 10319, 805, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 20809, 2425, 33411, 366, 27524, 3471, 1, 796, 705, 1236, 10319, 805, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 4776, 618, 262, 6125, 318, 1529, 10319, 805, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 20809, 2425, 33411, 366, 27524, 3471, 1, 796, 705, 1236, 10319, 805, 6 ]
Pie chart. what are the names and ids of customers whose address contains TN?
SELECT customer_name, customer_id FROM Customers WHERE customer_address LIKE "%TN%"
[ 48223, 8262, 13, 644, 389, 262, 3891, 290, 220, 2340, 286, 4297, 3025, 2209, 4909, 29025, 30, 46506, 6491, 62, 3672, 11, 6491, 62, 312, 16034, 36707, 33411, 6491, 62, 21975, 34178, 36521, 46559, 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 ]
[ 48223, 8262, 13, 644, 389, 262, 3891, 290, 220, 2340, 286, 4297, 3025, 2209, 4909, 29025, 30, 46506, 6491, 62, 3672, 11, 6491, 62, 312, 16034, 36707, 33411, 6491, 62, 21975, 34178, 36521, 46559, 39658 ]
What is the name of the team with a rank smaller than 5 and a time of 1:37.58.38?
SELECT "Team" FROM table_53064 WHERE "Rank" < '5' AND "Time" = '1:37.58.38'
[ 2061, 318, 262, 1438, 286, 262, 1074, 351, 257, 4279, 4833, 621, 642, 290, 257, 640, 286, 352, 25, 2718, 13, 3365, 13, 2548, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 38612, 2414, 33411, 366, 27520, 1, 1279, 705, 20, 6, 5357, 366...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1438, 286, 262, 1074, 351, 257, 4279, 4833, 621, 642, 290, 257, 640, 286, 352, 25, 2718, 13, 3365, 13, 2548, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 38612, 2414, 33411, 366, 27520, 1, 1279, 705, 20, 6, 5357, 366...
What's Blanco Encalada's main artillery?
SELECT main_artillery FROM table_23614702_1 WHERE warship = "Blanco Encalada"
[ 2061, 338, 1086, 47699, 2039, 9948, 4763, 338, 1388, 20381, 30, 46506, 1388, 62, 433, 14920, 16034, 3084, 62, 24940, 1415, 36680, 62, 16, 33411, 9976, 1056, 796, 366, 3629, 47699, 2039, 9948, 4763, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1086, 47699, 2039, 9948, 4763, 338, 1388, 20381, 30, 46506, 1388, 62, 433, 14920, 16034, 3084, 62, 24940, 1415, 36680, 62, 16, 33411, 9976, 1056, 796, 366, 3629, 47699, 2039, 9948, 4763, 1 ]
Show the name and service for all trains in order by time.
SELECT name, service FROM train ORDER BY TIME
[ 15307, 262, 1438, 290, 2139, 329, 477, 13404, 287, 1502, 416, 640, 13, 46506, 1438, 11, 2139, 16034, 4512, 38678, 11050, 20460 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1438, 290, 2139, 329, 477, 13404, 287, 1502, 416, 640, 13, 46506, 1438, 11, 2139, 16034, 4512, 38678, 11050, 20460 ]
What genre is the Banpresto game tittled Ranma : netsuretsu kakutouhen?
SELECT genre FROM table_name_34 WHERE developer = "banpresto" AND japanese_title = "ranma ½: netsuretsu kakutouhen"
[ 2061, 12121, 318, 262, 10274, 79, 2118, 78, 983, 256, 715, 992, 23075, 2611, 1058, 31720, 495, 912, 84, 479, 461, 315, 280, 831, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 2682, 33411, 8517, 796, 366, 3820, 79, 2118, 78, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 12121, 318, 262, 10274, 79, 2118, 78, 983, 256, 715, 992, 23075, 2611, 1058, 31720, 495, 912, 84, 479, 461, 315, 280, 831, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 2682, 33411, 8517, 796, 366, 3820, 79, 2118, 78, 1, 5357, ...
What is the title of the first episode of the season that begin on february 27, 1954?
SELECT "Title" FROM table_20317 WHERE "Original air date" = 'February 27, 1954'
[ 2061, 318, 262, 3670, 286, 262, 717, 4471, 286, 262, 1622, 326, 2221, 319, 730, 65, 3728, 2681, 11, 24718, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 22416, 1558, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 21816, 2681, 11, 24718, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3670, 286, 262, 717, 4471, 286, 262, 1622, 326, 2221, 319, 730, 65, 3728, 2681, 11, 24718, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 22416, 1558, 33411, 366, 20556, 1633, 3128, 1, 796, 705, 21816, 2681, 11, 24718, 6...
calculate the number of patients with stomach ulcer nos who had a lab test for blood gas
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Stomach ulcer NOS" AND lab."CATEGORY" = "Blood Gas"
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 11384, 14856, 2189, 43630, 508, 550, 257, 2248, 1332, 329, 2910, 3623, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 1271, 286, 3871, 351, 11384, 14856, 2189, 43630, 508, 550, 257, 2248, 1332, 329, 2910, 3623, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, ...
count the number of patients whose diagnoses short title is neutropenia nos and drug type is main?
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 = "Neutropenia NOS" AND prescriptions.drug_type = "MAIN"
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 22190, 1773, 268, 544, 43630, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 40567, 1790, 3670, 318, 22190, 1773, 268, 544, 43630, 290, 2563, 2099, 318, 1388, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
What date did Week 9 begin?
SELECT date FROM table_name_27 WHERE week = 9
[ 2061, 3128, 750, 6119, 860, 2221, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 1285, 796, 860 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3128, 750, 6119, 860, 2221, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1983, 33411, 1285, 796, 860 ]
What is the Week 1 result of Colorado State?
SELECT "Week 1 Sept 7" FROM table_60927 WHERE "Preseason" = 'colorado state'
[ 2061, 318, 262, 6119, 352, 1255, 286, 7492, 1812, 30, 46506, 366, 20916, 352, 2362, 767, 1, 16034, 3084, 62, 31751, 1983, 33411, 366, 6719, 6230, 1, 796, 705, 8043, 4533, 1181, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 6119, 352, 1255, 286, 7492, 1812, 30, 46506, 366, 20916, 352, 2362, 767, 1, 16034, 3084, 62, 31751, 1983, 33411, 366, 6719, 6230, 1, 796, 705, 8043, 4533, 1181, 6 ]
What was the result of the 4:27 fight?
SELECT res FROM table_name_51 WHERE time = "4:27"
[ 2061, 373, 262, 1255, 286, 262, 604, 25, 1983, 1907, 30, 46506, 581, 16034, 3084, 62, 3672, 62, 4349, 33411, 640, 796, 366, 19, 25, 1983, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 286, 262, 604, 25, 1983, 1907, 30, 46506, 581, 16034, 3084, 62, 3672, 62, 4349, 33411, 640, 796, 366, 19, 25, 1983, 1 ]
What is Tie No, when Date is 18 February 1956, and when Home Team is Charlton Athletic?
SELECT tie_no FROM table_name_10 WHERE date = "18 february 1956" AND home_team = "charlton athletic"
[ 2061, 318, 36286, 1400, 11, 618, 7536, 318, 1248, 3945, 25190, 11, 290, 618, 5995, 4816, 318, 6258, 1122, 29007, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 940, 33411, 3128, 796, 366, 1507, 730, 65, 3728, 25190, 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 ]
[ 2061, 318, 36286, 1400, 11, 618, 7536, 318, 1248, 3945, 25190, 11, 290, 618, 5995, 4816, 318, 6258, 1122, 29007, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 940, 33411, 3128, 796, 366, 1507, 730, 65, 3728, 25190, 1, 5357, ...
how many patients have received insert endotracheal tube in the same month after the first procedure of percu abdominal drainage the previous year?
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 = 'percu abdom...
[ 4919, 867, 3871, 423, 2722, 7550, 46710, 81, 4891, 282, 12403, 287, 262, 976, 1227, 706, 262, 717, 8771, 286, 583, 27399, 32692, 37664, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 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...
[ 4919, 867, 3871, 423, 2722, 7550, 46710, 81, 4891, 282, 12403, 287, 262, 976, 1227, 706, 262, 717, 8771, 286, 583, 27399, 32692, 37664, 262, 2180, 614, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 32796, 62, 312, 8, ...
What are the club number for the first round?
SELECT "Clubs" FROM table_63483 WHERE "Round" = 'first round'
[ 2061, 389, 262, 3430, 1271, 329, 262, 717, 2835, 30, 46506, 366, 2601, 23161, 1, 16034, 3084, 62, 21, 2682, 5999, 33411, 366, 22685, 1, 796, 705, 11085, 2835, 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, 389, 262, 3430, 1271, 329, 262, 717, 2835, 30, 46506, 366, 2601, 23161, 1, 16034, 3084, 62, 21, 2682, 5999, 33411, 366, 22685, 1, 796, 705, 11085, 2835, 6 ]
Compare the average of maximum score of wines each year, bin the year into the weekday interval.
SELECT Year, AVG(MAX(Score)) FROM wine
[ 41488, 262, 2811, 286, 5415, 4776, 286, 30680, 1123, 614, 11, 9874, 262, 614, 656, 262, 28269, 16654, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 26595, 4008, 16034, 8237 ]
[ 1, 1, 1, 1, 1, 1, 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, 2811, 286, 5415, 4776, 286, 30680, 1123, 614, 11, 9874, 262, 614, 656, 262, 28269, 16654, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 26595, 4008, 16034, 8237 ]
What Song's Index is F6?
SELECT song FROM table_name_58 WHERE index = "f6"
[ 2061, 10940, 338, 12901, 318, 376, 21, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 3365, 33411, 6376, 796, 366, 69, 21, 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, 10940, 338, 12901, 318, 376, 21, 30, 46506, 3496, 16034, 3084, 62, 3672, 62, 3365, 33411, 6376, 796, 366, 69, 21, 1 ]
Which name is 51.89 (2.043) long?
SELECT name FROM table_name_57 WHERE length = "51.89 (2.043)"
[ 13828, 1438, 318, 6885, 13, 4531, 357, 17, 13, 48768, 8, 890, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3553, 33411, 4129, 796, 366, 4349, 13, 4531, 357, 17, 13, 48768, 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 ]
[ 13828, 1438, 318, 6885, 13, 4531, 357, 17, 13, 48768, 8, 890, 30, 46506, 1438, 16034, 3084, 62, 3672, 62, 3553, 33411, 4129, 796, 366, 4349, 13, 4531, 357, 17, 13, 48768, 16725 ]
Who is the constructor for driver Niki Lauda and a chassis of mp4/1c?
SELECT "Constructor" FROM table_77628 WHERE "Chassis" = 'mp4/1c' AND "Driver" = 'niki lauda'
[ 8241, 318, 262, 23772, 329, 4639, 399, 5580, 406, 3885, 64, 290, 257, 24587, 286, 29034, 19, 14, 16, 66, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 39509, 2078, 33411, 366, 1925, 20297, 1, 796, 705, 3149, 19, 14, 16, 66, 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 ]
[ 8241, 318, 262, 23772, 329, 4639, 399, 5580, 406, 3885, 64, 290, 257, 24587, 286, 29034, 19, 14, 16, 66, 30, 46506, 366, 42316, 273, 1, 16034, 3084, 62, 39509, 2078, 33411, 366, 1925, 20297, 1, 796, 705, 3149, 19, 14, 16, 66, 6, ...
What is the Power (kW) for the station with a frequency of 95.1mhz?
SELECT power__kw_ FROM table_name_72 WHERE frequency = "95.1mhz"
[ 2061, 318, 262, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 257, 8373, 286, 6957, 13, 16, 76, 32179, 30, 46506, 1176, 834, 46265, 62, 16034, 3084, 62, 3672, 62, 4761, 33411, 8373, 796, 366, 3865, 13, 16, 76, 32179, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 257, 8373, 286, 6957, 13, 16, 76, 32179, 30, 46506, 1176, 834, 46265, 62, 16034, 3084, 62, 3672, 62, 4761, 33411, 8373, 796, 366, 3865, 13, 16, 76, 32179, 1 ]
What shows for 1980 81 when 1973 74, and 2001 02 did not participate?
SELECT "1980\u201381" FROM table_44463 WHERE "1973\u201374" = 'did not participate' AND "2001\u201302" = 'did not participate'
[ 2061, 2523, 329, 7169, 9773, 618, 15674, 8915, 11, 290, 5878, 7816, 750, 407, 8277, 30, 46506, 366, 23664, 59, 84, 1264, 36626, 1, 16034, 3084, 62, 2598, 38380, 33411, 366, 40220, 59, 84, 1264, 31020, 1, 796, 705, 20839, 407, 8277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7169, 9773, 618, 15674, 8915, 11, 290, 5878, 7816, 750, 407, 8277, 30, 46506, 366, 23664, 59, 84, 1264, 36626, 1, 16034, 3084, 62, 2598, 38380, 33411, 366, 40220, 59, 84, 1264, 31020, 1, 796, 705, 20839, 407, 8277, ...
Which Sydney has Auckland cancelled and Perth yes?
SELECT "Sydney" FROM table_70887 WHERE "Auckland" = 'cancelled' AND "Perth" = 'yes'
[ 13828, 11852, 468, 30422, 16769, 290, 29913, 3763, 30, 46506, 366, 50, 5173, 1681, 1, 16034, 3084, 62, 2154, 46660, 33411, 366, 32, 28789, 1, 796, 705, 66, 590, 3353, 6, 5357, 366, 5990, 400, 1, 796, 705, 8505, 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 ]
[ 13828, 11852, 468, 30422, 16769, 290, 29913, 3763, 30, 46506, 366, 50, 5173, 1681, 1, 16034, 3084, 62, 2154, 46660, 33411, 366, 32, 28789, 1, 796, 705, 66, 590, 3353, 6, 5357, 366, 5990, 400, 1, 796, 705, 8505, 6 ]
what is the correct year for # / county of 09 cass?
SELECT year_joined FROM table_name_65 WHERE _number___county = "09 cass"
[ 10919, 318, 262, 3376, 614, 329, 1303, 1220, 7968, 286, 7769, 30606, 30, 46506, 614, 62, 46416, 16034, 3084, 62, 3672, 62, 2996, 33411, 4808, 17618, 17569, 9127, 88, 796, 366, 2931, 30606, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3376, 614, 329, 1303, 1220, 7968, 286, 7769, 30606, 30, 46506, 614, 62, 46416, 16034, 3084, 62, 3672, 62, 2996, 33411, 4808, 17618, 17569, 9127, 88, 796, 366, 2931, 30606, 1 ]
what are the three most frequently prescribed drugs for patients, who were also prescribed succinylcholine at the same time, until 1 year ago?
SELECT t3.drugname FROM (SELECT t2.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'succinylcholine' AND DATETIME(medication.drugstartt...
[ 10919, 389, 262, 1115, 749, 6777, 14798, 5010, 329, 3871, 11, 508, 547, 635, 14798, 17458, 19754, 354, 14453, 379, 262, 976, 640, 11, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1115, 749, 6777, 14798, 5010, 329, 3871, 11, 508, 547, 635, 14798, 17458, 19754, 354, 14453, 379, 262, 976, 640, 11, 1566, 352, 614, 2084, 30, 46506, 256, 18, 13, 30349, 3672, 16034, 357, 46506, 256, 17, 13, 30349, ...
how many patients was given glucose - d50 until 3 years ago for two times?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, COUNT(*) AS c1 FROM patient WHERE patient.patientunitstayid = (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'glucose - d50' AND DATETIME(treatment.treatmenttime) <= DATETIME(CURRENT_TIME(), '-3 year')) GROUP BY pati...
[ 4919, 867, 3871, 373, 1813, 15701, 532, 288, 1120, 1566, 513, 812, 2084, 329, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 373, 1813, 15701, 532, 288, 1120, 1566, 513, 812, 2084, 329, 734, 1661, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8, 16034, 357, 46506, 5827, 13, 403, 1557, 538, 312, 11, 32...
how many patients whose gender is f and lab test name is nucleated red cells?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Nucleated Red Cells"
[ 4919, 867, 3871, 3025, 5279, 318, 277, 290, 2248, 1332, 1438, 318, 17751, 515, 2266, 4778, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5279, 318, 277, 290, 2248, 1332, 1438, 318, 17751, 515, 2266, 4778, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18...
Find the schools that were either founded after 1850 or public.
SELECT school FROM university WHERE founded > 1850 OR affiliation = 'Public'
[ 16742, 262, 4266, 326, 547, 2035, 9393, 706, 35745, 393, 1171, 13, 46506, 1524, 16034, 6403, 33411, 9393, 1875, 35745, 6375, 26218, 796, 705, 15202, 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 ]
[ 16742, 262, 4266, 326, 547, 2035, 9393, 706, 35745, 393, 1171, 13, 46506, 1524, 16034, 6403, 33411, 9393, 1875, 35745, 6375, 26218, 796, 705, 15202, 6 ]
Compare the average age of drivers from the same home city with a bar chart, sort in descending by the X.
SELECT Home_city, AVG(Age) FROM driver GROUP BY Home_city ORDER BY Home_city DESC
[ 41488, 262, 2811, 2479, 286, 6643, 422, 262, 976, 1363, 1748, 351, 257, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 1395, 13, 46506, 5995, 62, 19205, 11, 35224, 7, 23396, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205, 38678, 11050, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2479, 286, 6643, 422, 262, 976, 1363, 1748, 351, 257, 2318, 8262, 11, 3297, 287, 31491, 416, 262, 1395, 13, 46506, 5995, 62, 19205, 11, 35224, 7, 23396, 8, 16034, 4639, 44441, 11050, 5995, 62, 19205, 38678, 11050, 59...
what 's the number of people who attended the chelsea game in 29 august 1987 ?
SELECT "attendance" FROM table_204_495 WHERE "opponent" = 'chelsea' AND "date" = '29 august 1987'
[ 10919, 705, 82, 262, 1271, 286, 661, 508, 9141, 262, 1125, 75, 8583, 983, 287, 2808, 16339, 436, 12923, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 33781, 33411, 366, 10365, 3471, 1, 796, 705, 29232, 8583, 6, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 705, 82, 262, 1271, 286, 661, 508, 9141, 262, 1125, 75, 8583, 983, 287, 2808, 16339, 436, 12923, 5633, 46506, 366, 1078, 437, 590, 1, 16034, 3084, 62, 18638, 62, 33781, 33411, 366, 10365, 3471, 1, 796, 705, 29232, 8583, 6, 53...
What was the score when Altrincham was home?
SELECT score FROM table_name_26 WHERE home_team = "altrincham"
[ 2061, 373, 262, 4776, 618, 978, 2213, 8589, 321, 373, 1363, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2075, 33411, 1363, 62, 15097, 796, 366, 282, 2213, 8589, 321, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 978, 2213, 8589, 321, 373, 1363, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 2075, 33411, 1363, 62, 15097, 796, 366, 282, 2213, 8589, 321, 1 ]
Who led with the highest points during the game against Indiana?
SELECT "High points" FROM table_2856 WHERE "Team" = 'Indiana'
[ 8241, 2957, 351, 262, 4511, 2173, 1141, 262, 983, 1028, 10278, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 2078, 3980, 33411, 366, 15592, 1, 796, 705, 49153, 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 ]
[ 8241, 2957, 351, 262, 4511, 2173, 1141, 262, 983, 1028, 10278, 30, 46506, 366, 11922, 2173, 1, 16034, 3084, 62, 2078, 3980, 33411, 366, 15592, 1, 796, 705, 49153, 6 ]
what is the total number of gold medals awarded ?
SELECT SUM("gold") FROM table_204_785
[ 10919, 318, 262, 2472, 1271, 286, 3869, 28057, 11343, 5633, 46506, 35683, 7203, 24267, 4943, 16034, 3084, 62, 18638, 62, 41172 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 1271, 286, 3869, 28057, 11343, 5633, 46506, 35683, 7203, 24267, 4943, 16034, 3084, 62, 18638, 62, 41172 ]
which club scored the highest number of goals ?
SELECT "club" FROM table_204_256 ORDER BY "goals for" DESC LIMIT 1
[ 4758, 3430, 7781, 262, 4511, 1271, 286, 4661, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 11645, 38678, 11050, 366, 2188, 874, 329, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 3430, 7781, 262, 4511, 1271, 286, 4661, 5633, 46506, 366, 18664, 1, 16034, 3084, 62, 18638, 62, 11645, 38678, 11050, 366, 2188, 874, 329, 1, 22196, 34, 27564, 2043, 352 ]
Which Segment B has a Segment D of stone wool insulation?
SELECT segment_b FROM table_name_92 WHERE segment_d = "stone wool insulation"
[ 13828, 1001, 5154, 347, 468, 257, 1001, 5154, 360, 286, 7815, 25749, 32806, 30, 46506, 10618, 62, 65, 16034, 3084, 62, 3672, 62, 5892, 33411, 10618, 62, 67, 796, 366, 6440, 25749, 32806, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1001, 5154, 347, 468, 257, 1001, 5154, 360, 286, 7815, 25749, 32806, 30, 46506, 10618, 62, 65, 16034, 3084, 62, 3672, 62, 5892, 33411, 10618, 62, 67, 796, 366, 6440, 25749, 32806, 1 ]
What was the opponent of the game when the reocrd was 0-12?
SELECT "Opponent" FROM table_49568 WHERE "Record" = '0-12'
[ 2061, 373, 262, 6125, 286, 262, 983, 618, 262, 302, 1696, 67, 373, 657, 12, 1065, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 33781, 3104, 33411, 366, 23739, 1, 796, 705, 15, 12, 1065, 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, 6125, 286, 262, 983, 618, 262, 302, 1696, 67, 373, 657, 12, 1065, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 33781, 3104, 33411, 366, 23739, 1, 796, 705, 15, 12, 1065, 6 ]
For those employees who was hired before 2002-06-21, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id by a bar chart, sort by the X in desc.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1693, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 3297, 416,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1693, 62, 312, 625, 262, 1693, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 416, 257, 2318, 8262, 11, 3297, 416,...
Which club has 1 runners-up with 0 winners and 2 third place earned?
SELECT "Club" FROM table_50722 WHERE "Runners-up" = '1' AND "Winners" = '0' AND "Third" = '2'
[ 13828, 3430, 468, 352, 19323, 12, 929, 351, 657, 14591, 290, 362, 2368, 1295, 7366, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 35378, 1828, 33411, 366, 10987, 2741, 12, 929, 1, 796, 705, 16, 6, 5357, 366, 16643, 2741, 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 ]
[ 13828, 3430, 468, 352, 19323, 12, 929, 351, 657, 14591, 290, 362, 2368, 1295, 7366, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 35378, 1828, 33411, 366, 10987, 2741, 12, 929, 1, 796, 705, 16, 6, 5357, 366, 16643, 2741, 1, 796, 705, ...
In the year 2006, the womens singles had no competition and the mens doubles were roland hilti kilian pfister, what were the womens doubles
SELECT womens_doubles FROM table_15001681_1 WHERE womens_singles = "no competition" AND mens_doubles = "Roland Hilti Kilian Pfister" AND year = 2006
[ 818, 262, 614, 4793, 11, 262, 1116, 641, 25287, 550, 645, 5449, 290, 262, 285, 641, 21938, 547, 686, 1044, 289, 2326, 72, 8769, 666, 279, 69, 1694, 11, 644, 547, 262, 1116, 641, 21938, 46506, 1116, 641, 62, 67, 280, 7689, 16034, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 818, 262, 614, 4793, 11, 262, 1116, 641, 25287, 550, 645, 5449, 290, 262, 285, 641, 21938, 547, 686, 1044, 289, 2326, 72, 8769, 666, 279, 69, 1694, 11, 644, 547, 262, 1116, 641, 21938, 46506, 1116, 641, 62, 67, 280, 7689, 16034, 3...
Which Mission has a Apogee of 705 km?
SELECT mission FROM table_name_3 WHERE apogee = "705 km"
[ 13828, 12633, 468, 257, 5949, 78, 29622, 286, 767, 2713, 10571, 30, 46506, 4365, 16034, 3084, 62, 3672, 62, 18, 33411, 2471, 78, 29622, 796, 366, 34801, 10571, 1 ]
[ 1, 1, 1, 1, 1, 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, 12633, 468, 257, 5949, 78, 29622, 286, 767, 2713, 10571, 30, 46506, 4365, 16034, 3084, 62, 3672, 62, 18, 33411, 2471, 78, 29622, 796, 366, 34801, 10571, 1 ]
18 years of age or older with a diagnosis of septic shock
SELECT * FROM table_train_65 WHERE age >= 18 AND septic_shock = 1
[ 1507, 812, 286, 2479, 393, 4697, 351, 257, 13669, 286, 384, 17459, 6380, 46506, 1635, 16034, 3084, 62, 27432, 62, 2996, 33411, 2479, 18189, 1248, 5357, 384, 17459, 62, 39563, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1507, 812, 286, 2479, 393, 4697, 351, 257, 13669, 286, 384, 17459, 6380, 46506, 1635, 16034, 3084, 62, 27432, 62, 2996, 33411, 2479, 18189, 1248, 5357, 384, 17459, 62, 39563, 796, 352 ]
What is the launched date of the station in cora huichol tepehuano nahuatl language?
SELECT "Launched" FROM table_39697 WHERE "Languages" = 'cora huichol tepehuano nahuatl'
[ 2061, 318, 262, 5611, 3128, 286, 262, 4429, 287, 1162, 64, 289, 84, 488, 349, 573, 431, 13415, 5733, 299, 12196, 25864, 3303, 30, 46506, 366, 46182, 1740, 1, 16034, 3084, 62, 2670, 40035, 33411, 366, 43, 33213, 1, 796, 705, 66, 5799...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5611, 3128, 286, 262, 4429, 287, 1162, 64, 289, 84, 488, 349, 573, 431, 13415, 5733, 299, 12196, 25864, 3303, 30, 46506, 366, 46182, 1740, 1, 16034, 3084, 62, 2670, 40035, 33411, 366, 43, 33213, 1, 796, 705, 66, 5799...
how many players were signed in march ?
SELECT COUNT("player") FROM table_204_783 WHERE "date signed" = 3
[ 4919, 867, 1938, 547, 4488, 287, 9960, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 50165, 33411, 366, 4475, 4488, 1, 796, 513 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 1938, 547, 4488, 287, 9960, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 18638, 62, 50165, 33411, 366, 4475, 4488, 1, 796, 513 ]
what are the specimen tests top three most frequently ordered until 2 years ago?
SELECT t1.culturesite FROM (SELECT microlab.culturesite, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM microlab WHERE DATETIME(microlab.culturetakentime) <= DATETIME(CURRENT_TIME(), '-2 year') GROUP BY microlab.culturesite) AS t1 WHERE t1.c1 <= 3
[ 10919, 389, 262, 31674, 5254, 1353, 1115, 749, 6777, 6149, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31674, 5254, 1353, 1115, 749, 6777, 6149, 1566, 362, 812, 2084, 30, 46506, 256, 16, 13, 40820, 942, 578, 16034, 357, 46506, 4580, 23912, 13, 40820, 942, 578, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 113...
what was the name of the organism found in the microbiology test of the last throat culture of patient 4469 since 168 months ago?
SELECT microbiologyevents.org_name FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 4469) AND microbiologyevents.spec_type_desc = 'throat culture' AND NOT microbiologyevents.org_name IS NULL AND DATETIME(microbiologyevents.charttime) >=...
[ 10919, 373, 262, 1438, 286, 262, 26433, 1043, 287, 262, 24559, 1435, 1332, 286, 262, 938, 13589, 3968, 286, 5827, 5846, 3388, 1201, 23378, 1933, 2084, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 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...
[ 10919, 373, 262, 1438, 286, 262, 26433, 1043, 287, 262, 24559, 1435, 1332, 286, 262, 938, 13589, 3968, 286, 5827, 5846, 3388, 1201, 23378, 1933, 2084, 30, 46506, 24559, 1435, 31534, 13, 2398, 62, 3672, 16034, 24559, 1435, 31534, 33411, ...
What is the Country of the Half Marathon Event?
SELECT country FROM table_name_97 WHERE event = "half marathon"
[ 2061, 318, 262, 12946, 286, 262, 13139, 24828, 8558, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5607, 33411, 1785, 796, 366, 13959, 22336, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 12946, 286, 262, 13139, 24828, 8558, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 5607, 33411, 1785, 796, 366, 13959, 22336, 1 ]
What is the 2011 number (,000) when the status is separated?
SELECT "2011 number (,000)" FROM table_74104 WHERE "Status" = 'Separated'
[ 2061, 318, 262, 2813, 1271, 357, 11, 830, 8, 618, 262, 3722, 318, 11266, 30, 46506, 366, 9804, 1271, 357, 11, 830, 16725, 16034, 3084, 62, 4524, 13464, 33411, 366, 19580, 1, 796, 705, 19117, 283, 515, 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, 2813, 1271, 357, 11, 830, 8, 618, 262, 3722, 318, 11266, 30, 46506, 366, 9804, 1271, 357, 11, 830, 16725, 16034, 3084, 62, 4524, 13464, 33411, 366, 19580, 1, 796, 705, 19117, 283, 515, 6 ]
What day did they play the bolton wanderers with a result F A of 1 2?
SELECT date FROM table_name_78 WHERE result_f_a = "1–2" AND opponent = "bolton wanderers"
[ 2061, 1110, 750, 484, 711, 262, 11572, 1122, 11569, 19288, 351, 257, 1255, 376, 317, 286, 352, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 1255, 62, 69, 62, 64, 796, 366, 16, 1906, 17, 1, 5357, 6125, 796, 366, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1110, 750, 484, 711, 262, 11572, 1122, 11569, 19288, 351, 257, 1255, 376, 317, 286, 352, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 1255, 62, 69, 62, 64, 796, 366, 16, 1906, 17, 1, 5357, 6125, 796, 366, 28...
What was the Result on September 24?
SELECT result FROM table_name_21 WHERE date = "september 24"
[ 2061, 373, 262, 25414, 319, 2693, 1987, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2481, 33411, 3128, 796, 366, 325, 457, 1491, 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 ]
[ 2061, 373, 262, 25414, 319, 2693, 1987, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2481, 33411, 3128, 796, 366, 325, 457, 1491, 1987, 1 ]
what is the combined result on 9/28 ?
SELECT "result" FROM table_204_157 WHERE "date" = '09/28/1946'
[ 10919, 318, 262, 5929, 1255, 319, 860, 14, 2078, 5633, 46506, 366, 20274, 1, 16034, 3084, 62, 18638, 62, 18458, 33411, 366, 4475, 1, 796, 705, 2931, 14, 2078, 14, 1129, 3510, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 5929, 1255, 319, 860, 14, 2078, 5633, 46506, 366, 20274, 1, 16034, 3084, 62, 18638, 62, 18458, 33411, 366, 4475, 1, 796, 705, 2931, 14, 2078, 14, 1129, 3510, 6 ]
What hame has points larger than 81?
SELECT SUM("Game") FROM table_9393 WHERE "Points" > '81'
[ 2061, 289, 480, 468, 2173, 4025, 621, 9773, 30, 46506, 35683, 7203, 8777, 4943, 16034, 3084, 62, 24, 26007, 33411, 366, 40710, 1, 1875, 705, 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 ]
[ 2061, 289, 480, 468, 2173, 4025, 621, 9773, 30, 46506, 35683, 7203, 8777, 4943, 16034, 3084, 62, 24, 26007, 33411, 366, 40710, 1, 1875, 705, 6659, 6 ]
What was the lowest pick number for Marc Pilon?
SELECT MIN(pick__number) FROM table_name_69 WHERE player = "marc pilon"
[ 2061, 373, 262, 9016, 2298, 1271, 329, 13067, 12693, 261, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 2137, 796, 366, 3876, 66, 5560, 261, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9016, 2298, 1271, 329, 13067, 12693, 261, 30, 46506, 20625, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 3672, 62, 3388, 33411, 2137, 796, 366, 3876, 66, 5560, 261, 1 ]
When Venue of A has Attendance of 4,365?
SELECT date FROM table_name_53 WHERE venue = "a" AND attendance = "4,365"
[ 2215, 9932, 518, 286, 317, 468, 46502, 590, 286, 604, 11, 24760, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4310, 33411, 14359, 796, 366, 64, 1, 5357, 14858, 796, 366, 19, 11, 24760, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 286, 317, 468, 46502, 590, 286, 604, 11, 24760, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 4310, 33411, 14359, 796, 366, 64, 1, 5357, 14858, 796, 366, 19, 11, 24760, 1 ]
Low rep users using tag.
SELECT (SELECT COUNT(*) FROM Posts, Users AS u WHERE Tags LIKE '%<##tag##>%' AND OwnerUserId = u.Id AND u.Reputation < 300) AS "below 300 rep", (SELECT COUNT(*) FROM Posts, Users AS u WHERE Tags LIKE '%<##tag##>%' AND OwnerUserId = u.Id) AS "total"
[ 20535, 1128, 2985, 1262, 7621, 13, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 11, 18987, 7054, 334, 33411, 44789, 34178, 705, 4, 27, 2235, 12985, 2235, 29, 4, 6, 5357, 23853, 12982, 7390, 796, 334, 13, 7390, 5357, 334, 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...
[ 20535, 1128, 2985, 1262, 7621, 13, 46506, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 11, 18987, 7054, 334, 33411, 44789, 34178, 705, 4, 27, 2235, 12985, 2235, 29, 4, 6, 5357, 23853, 12982, 7390, 796, 334, 13, 7390, 5357, 334, 13,...
Name the number in the series for when the viewers is 7.78
SELECT "No. in series" FROM table_72673 WHERE "U.S. viewers (millions)" = '7.78'
[ 5376, 262, 1271, 287, 262, 2168, 329, 618, 262, 10209, 318, 767, 13, 3695, 46506, 366, 2949, 13, 287, 2168, 1, 16034, 3084, 62, 22, 2075, 4790, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 22, 13, 3695, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 287, 262, 2168, 329, 618, 262, 10209, 318, 767, 13, 3695, 46506, 366, 2949, 13, 287, 2168, 1, 16034, 3084, 62, 22, 2075, 4790, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796, 705, 22, 13, 3695, 6 ]
ACL papers with less than 5 citations
SELECT DISTINCT cite.citingpaperid FROM cite, paper, venue WHERE paper.paperid = cite.citedpaperid AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' GROUP BY cite.citingpaperid HAVING COUNT(DISTINCT cite.citedpaperid) < 5
[ 2246, 43, 9473, 351, 1342, 621, 642, 33499, 46506, 360, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 16034, 21729, 11, 3348, 11, 14359, 33411, 3348, 13, 20189, 312, 796, 21729, 13, 66, 863, 20189, 312, 5357, 14359, 13, 4080, 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...
[ 2246, 43, 9473, 351, 1342, 621, 642, 33499, 46506, 360, 8808, 1268, 4177, 21729, 13, 66, 1780, 20189, 312, 16034, 21729, 11, 3348, 11, 14359, 33411, 3348, 13, 20189, 312, 796, 21729, 13, 66, 863, 20189, 312, 5357, 14359, 13, 4080, 312...
Top User Of a Peticular Tag In Iran.
WITH USER_BY_TAG AS (SELECT ROW_NUMBER() OVER (ORDER BY COUNT(*) DESC) AS Rank, u.Id AS "user_link", TagName, COUNT(*) AS UpVotes FROM Tags AS t INNER JOIN PostTags AS pt ON pt.TagId = t.Id INNER JOIN Posts AS p ON p.ParentId = pt.PostId INNER JOIN Votes AS v ON v.PostId = p.Id AND VoteTypeId = 2 INNER JOIN Users AS u ...
[ 9126, 11787, 3226, 257, 4767, 13174, 17467, 554, 4068, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11787, 3226, 257, 4767, 13174, 17467, 554, 4068, 13, 54, 10554, 1294, 1137, 62, 17513, 62, 42197, 7054, 357, 46506, 371, 3913, 62, 41359, 13246, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 10916...