instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
How many field goals were made by the person with 100 points in total?
SELECT MAX(field_goals__5_points_) FROM table_14342210_14 WHERE total_points = 100
[ 2437, 867, 2214, 4661, 547, 925, 416, 262, 1048, 351, 1802, 2173, 287, 2472, 30, 46506, 25882, 7, 3245, 62, 2188, 874, 834, 20, 62, 13033, 62, 8, 16034, 3084, 62, 1415, 2682, 1828, 940, 62, 1415, 33411, 2472, 62, 13033, 796, 1802 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2214, 4661, 547, 925, 416, 262, 1048, 351, 1802, 2173, 287, 2472, 30, 46506, 25882, 7, 3245, 62, 2188, 874, 834, 20, 62, 13033, 62, 8, 16034, 3084, 62, 1415, 2682, 1828, 940, 62, 1415, 33411, 2472, 62, 13033, 796, 1802 ]
What was the result of the game in Stuttgart, West Germany and a goal number of less than 9?
SELECT result FROM table_name_12 WHERE venue = "stuttgart, west germany" AND goal < 9
[ 2061, 373, 262, 1255, 286, 262, 983, 287, 520, 15318, 41651, 11, 2688, 4486, 290, 257, 3061, 1271, 286, 1342, 621, 860, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1065, 33411, 14359, 796, 366, 301, 15318, 41651, 11, 7421, 308, 2224, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 983, 287, 520, 15318, 41651, 11, 2688, 4486, 290, 257, 3061, 1271, 286, 1342, 621, 860, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1065, 33411, 14359, 796, 366, 301, 15318, 41651, 11, 7421, 308, 2224, ...
A bar chart about what are the statuses and average populations of each city?, display by the x axis from low to high.
SELECT Status, AVG(Population) FROM city GROUP BY Status ORDER BY Status
[ 32, 2318, 8262, 546, 644, 389, 262, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 21747, 3359, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 13, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678, 38678, 11050, 12678 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2318, 8262, 546, 644, 389, 262, 1185, 2664, 290, 2811, 9684, 286, 1123, 1748, 21747, 3359, 416, 262, 2124, 16488, 422, 1877, 284, 1029, 13, 46506, 12678, 11, 35224, 7, 45251, 8, 16034, 1748, 44441, 11050, 12678, 38678, 11050, 12678 ...
What is Australia s finish?
SELECT finish FROM table_name_79 WHERE country = "australia"
[ 2061, 318, 4505, 264, 5461, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 796, 366, 64, 436, 1373, 544, 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, 4505, 264, 5461, 30, 46506, 5461, 16034, 3084, 62, 3672, 62, 3720, 33411, 1499, 796, 366, 64, 436, 1373, 544, 1 ]
Can you tell me the highest Total votes that has the % of popular vote of 0.86%, and the # of seats won larger than 0?
SELECT MAX(total_votes) FROM table_name_48 WHERE _percentage_of_popular_vote = "0.86%" AND _number_of_seats_won > 0
[ 6090, 345, 1560, 502, 262, 4511, 7472, 5690, 326, 468, 262, 4064, 286, 2968, 3015, 286, 657, 13, 4521, 7441, 290, 262, 1303, 286, 8632, 1839, 4025, 621, 657, 30, 46506, 25882, 7, 23350, 62, 29307, 8, 16034, 3084, 62, 3672, 62, 2780,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4511, 7472, 5690, 326, 468, 262, 4064, 286, 2968, 3015, 286, 657, 13, 4521, 7441, 290, 262, 1303, 286, 8632, 1839, 4025, 621, 657, 30, 46506, 25882, 7, 23350, 62, 29307, 8, 16034, 3084, 62, 3672, 62, 2780,...
what is the five most frequent drugs prescribed within the same month to the female patient with age 20s after they have been diagnosed with aortic valve disorder?
SELECT t3.drug FROM (SELECT t2.drug, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 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 ...
[ 10919, 318, 262, 1936, 749, 10792, 5010, 14798, 1626, 262, 976, 1227, 284, 262, 4048, 5827, 351, 2479, 1160, 82, 706, 484, 423, 587, 14641, 351, 257, 419, 291, 22580, 8967, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1936, 749, 10792, 5010, 14798, 1626, 262, 976, 1227, 284, 262, 4048, 5827, 351, 2479, 1160, 82, 706, 484, 423, 587, 14641, 351, 257, 419, 291, 22580, 8967, 30, 46506, 256, 18, 13, 30349, 16034, 357, 46506, 256, 17, ...
What is the highest Number of seasons in Liga MX for Club cruz azul?
SELECT MAX("Number of seasons in Liga MX") FROM table_61362 WHERE "Club" = 'cruz azul'
[ 2061, 318, 262, 4511, 7913, 286, 7028, 287, 39249, 26135, 329, 6289, 4630, 89, 35560, 377, 30, 46506, 25882, 7203, 15057, 286, 7028, 287, 39249, 26135, 4943, 16034, 3084, 62, 47512, 5237, 33411, 366, 42350, 1, 796, 705, 32838, 89, 35560...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7913, 286, 7028, 287, 39249, 26135, 329, 6289, 4630, 89, 35560, 377, 30, 46506, 25882, 7203, 15057, 286, 7028, 287, 39249, 26135, 4943, 16034, 3084, 62, 47512, 5237, 33411, 366, 42350, 1, 796, 705, 32838, 89, 35560...
Sandbox: Inactive >3 years && Score < 2.
SELECT SUM(CASE WHEN LastActivityDate < DATEADD(mm, -36, GETDATE()) AND Score < 2 THEN 1 ELSE 0 END) FROM Posts WHERE ParentId = 2140
[ 18471, 3524, 25, 554, 5275, 1875, 18, 812, 11405, 15178, 1279, 362, 13, 46506, 35683, 7, 34, 11159, 42099, 4586, 16516, 10430, 1279, 360, 6158, 29266, 7, 3020, 11, 532, 2623, 11, 17151, 35, 6158, 28955, 5357, 15178, 1279, 362, 42243, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 18471, 3524, 25, 554, 5275, 1875, 18, 812, 11405, 15178, 1279, 362, 13, 46506, 35683, 7, 34, 11159, 42099, 4586, 16516, 10430, 1279, 360, 6158, 29266, 7, 3020, 11, 532, 2623, 11, 17151, 35, 6158, 28955, 5357, 15178, 1279, 362, 42243, ...
what is the salary and name of the employee who has the most number of aircraft certificates?
SELECT T1.name, T1.salary FROM Employee AS T1 JOIN Certificate AS T2 ON T1.eid = T2.eid GROUP BY T1.eid ORDER BY COUNT(*) DESC LIMIT 1
[ 10919, 318, 262, 9588, 290, 1438, 286, 262, 6538, 508, 468, 262, 749, 1271, 286, 6215, 20835, 30, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 21680, 560, 16034, 36824, 7054, 309, 16, 32357, 1268, 27895, 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...
[ 10919, 318, 262, 9588, 290, 1438, 286, 262, 6538, 508, 468, 262, 749, 1271, 286, 6215, 20835, 30, 46506, 309, 16, 13, 3672, 11, 309, 16, 13, 21680, 560, 16034, 36824, 7054, 309, 16, 32357, 1268, 27895, 7054, 309, 17, 6177, 309, 16, ...
Find the number of students in each department that has the top 3 highest number of students with a pie chart.
SELECT DEPT_NAME, COUNT(*) FROM STUDENT AS T1 JOIN DEPARTMENT AS T2 ON T1.DEPT_CODE = T2.DEPT_CODE GROUP BY T1.DEPT_CODE ORDER BY COUNT(*) DESC LIMIT 3
[ 16742, 262, 1271, 286, 2444, 287, 1123, 5011, 326, 468, 262, 1353, 513, 4511, 1271, 286, 2444, 351, 257, 2508, 8262, 13, 46506, 5550, 11571, 62, 20608, 11, 327, 28270, 7, 28104, 16034, 49348, 3525, 7054, 309, 16, 32357, 1268, 5550, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 1271, 286, 2444, 287, 1123, 5011, 326, 468, 262, 1353, 513, 4511, 1271, 286, 2444, 351, 257, 2508, 8262, 13, 46506, 5550, 11571, 62, 20608, 11, 327, 28270, 7, 28104, 16034, 49348, 3525, 7054, 309, 16, 32357, 1268, 5550, 30...
Who wrote the episode that had 8.84 million viewers?
SELECT "Written by" FROM table_2404 WHERE "Viewers (millions)" = '8.84'
[ 8241, 2630, 262, 4471, 326, 550, 807, 13, 5705, 1510, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1731, 3023, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 23, 13, 5705, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 2630, 262, 4471, 326, 550, 807, 13, 5705, 1510, 10209, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 1731, 3023, 33411, 366, 7680, 364, 357, 17805, 507, 16725, 796, 705, 23, 13, 5705, 6 ]
How many times has Watney made the top 25 for a tournament in which he as also been cut 6 times?
SELECT SUM(top_25) FROM table_name_47 WHERE cuts_made = 6
[ 2437, 867, 1661, 468, 12242, 1681, 925, 262, 1353, 1679, 329, 257, 7756, 287, 543, 339, 355, 635, 587, 2005, 718, 1661, 30, 46506, 35683, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 6630, 62, 9727, 796, 718 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 12242, 1681, 925, 262, 1353, 1679, 329, 257, 7756, 287, 543, 339, 355, 635, 587, 2005, 718, 1661, 30, 46506, 35683, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2857, 33411, 6630, 62, 9727, 796, 718 ]
WHAT EPISODE HAS A REGION NUMBER BIGGER THAN 1, AND 32 DVDS?
SELECT "Episode No." FROM table_48191 WHERE "Region No." > '1' AND "No. of DVDs" = '32'
[ 32971, 14724, 1797, 16820, 33930, 317, 23337, 2849, 36871, 13246, 26746, 30373, 2320, 1565, 352, 11, 5357, 3933, 29854, 5258, 30, 46506, 366, 23758, 1400, 526, 16034, 3084, 62, 2780, 26492, 33411, 366, 47371, 1400, 526, 1875, 705, 16, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32971, 14724, 1797, 16820, 33930, 317, 23337, 2849, 36871, 13246, 26746, 30373, 2320, 1565, 352, 11, 5357, 3933, 29854, 5258, 30, 46506, 366, 23758, 1400, 526, 16034, 3084, 62, 2780, 26492, 33411, 366, 47371, 1400, 526, 1875, 705, 16, 6, ...
Which Tournament has a Winner and score of goran ivani evi 6 4, 6 2, 7 6(2)?
SELECT "Tournament" FROM table_8540 WHERE "Winner and score" = 'goran ivanišević 6–4, 6–2, 7–6(2)'
[ 13828, 9595, 468, 257, 25358, 290, 4776, 286, 30344, 272, 21628, 3216, 819, 72, 718, 604, 11, 718, 362, 11, 767, 718, 7, 17, 19427, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 5332, 1821, 33411, 366, 48056, 290, 4776, 1, 796, 705, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 9595, 468, 257, 25358, 290, 4776, 286, 30344, 272, 21628, 3216, 819, 72, 718, 604, 11, 718, 362, 11, 767, 718, 7, 17, 19427, 46506, 366, 51, 5138, 1, 16034, 3084, 62, 5332, 1821, 33411, 366, 48056, 290, 4776, 1, 796, 705, 7...
patients with a body mass index ( bmi ) of greater than 26 .
SELECT * FROM table_train_239 WHERE body_mass_index_bmi > 26
[ 8071, 2334, 351, 257, 1767, 2347, 6376, 357, 275, 11632, 1267, 286, 3744, 621, 2608, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 23516, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1875, 2608 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8071, 2334, 351, 257, 1767, 2347, 6376, 357, 275, 11632, 1267, 286, 3744, 621, 2608, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 23516, 33411, 1767, 62, 22208, 62, 9630, 62, 65, 11632, 1875, 2608 ]
Which Top Division debut for Kitazakura has Tournaments less than 88?
SELECT top_division_debut FROM table_name_12 WHERE tournaments < 88 AND name = "kitazakura"
[ 13828, 5849, 7458, 8886, 329, 10897, 1031, 47754, 468, 309, 16950, 1342, 621, 9193, 30, 46506, 1353, 62, 21426, 62, 11275, 315, 16034, 3084, 62, 3672, 62, 1065, 33411, 18130, 1279, 9193, 5357, 1438, 796, 366, 15813, 1031, 47754, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5849, 7458, 8886, 329, 10897, 1031, 47754, 468, 309, 16950, 1342, 621, 9193, 30, 46506, 1353, 62, 21426, 62, 11275, 315, 16034, 3084, 62, 3672, 62, 1065, 33411, 18130, 1279, 9193, 5357, 1438, 796, 366, 15813, 1031, 47754, 1 ]
Which version has a KINKA pre-release of no*?
SELECT version FROM table_name_42 WHERE kinka_pre_release = "no*"
[ 13828, 2196, 468, 257, 509, 17248, 32, 662, 12, 20979, 286, 645, 9, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 3682, 33411, 479, 48955, 62, 3866, 62, 20979, 796, 366, 3919, 9, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2196, 468, 257, 509, 17248, 32, 662, 12, 20979, 286, 645, 9, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 3682, 33411, 479, 48955, 62, 3866, 62, 20979, 796, 366, 3919, 9, 1 ]
Give me a bar chart to compare the number of state provinces located in different cities, list y-axis in desc order.
SELECT STATE_PROVINCE, COUNT(STATE_PROVINCE) FROM locations GROUP BY STATE_PROVINCE ORDER BY COUNT(STATE_PROVINCE) DESC
[ 23318, 502, 257, 2318, 8262, 284, 8996, 262, 1271, 286, 1181, 17812, 5140, 287, 1180, 4736, 11, 1351, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 502, 257, 2318, 8262, 284, 8996, 262, 1271, 286, 1181, 17812, 5140, 287, 1180, 4736, 11, 1351, 331, 12, 22704, 287, 1715, 1502, 13, 46506, 35454, 62, 41283, 1268, 5222, 11, 327, 28270, 7, 44724, 62, 41283, 1268, 5222, 8, 16034,...
What is the barrel length for a cold model le6921sp?
SELECT "Barrel length" FROM table_17838 WHERE "Colt model no." = 'LE6921SP'
[ 2061, 318, 262, 9036, 4129, 329, 257, 4692, 2746, 443, 3388, 2481, 2777, 30, 46506, 366, 10374, 2411, 4129, 1, 16034, 3084, 62, 23188, 2548, 33411, 366, 5216, 83, 2746, 645, 526, 796, 705, 2538, 3388, 2481, 4303, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9036, 4129, 329, 257, 4692, 2746, 443, 3388, 2481, 2777, 30, 46506, 366, 10374, 2411, 4129, 1, 16034, 3084, 62, 23188, 2548, 33411, 366, 5216, 83, 2746, 645, 526, 796, 705, 2538, 3388, 2481, 4303, 6 ]
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, 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 JOB_ID in ascending order.
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID
[ 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, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1693, 62, 312, 625, 262, 1693, 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...
[ 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, 1577, 502, 262, 7208, 546, 262, 2033, 286, 1693, 62, 312, 625, 262, 1693, 62, ...
What is the Panthers' Division Record?
SELECT "Division Record" FROM table_68043 WHERE "Team" = 'panthers'
[ 2061, 318, 262, 17782, 6, 7458, 13266, 30, 46506, 366, 24095, 1166, 13266, 1, 16034, 3084, 62, 37397, 3559, 33411, 366, 15592, 1, 796, 705, 79, 415, 7084, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 17782, 6, 7458, 13266, 30, 46506, 366, 24095, 1166, 13266, 1, 16034, 3084, 62, 37397, 3559, 33411, 366, 15592, 1, 796, 705, 79, 415, 7084, 6 ]
how many years has been nominated?
SELECT COUNT("Year (Ceremony)") FROM table_19689 WHERE "Original title" = 'Сенки'
[ 4919, 867, 812, 468, 587, 19332, 30, 46506, 327, 28270, 7203, 17688, 357, 34, 567, 9926, 8, 4943, 16034, 3084, 62, 1129, 40523, 33411, 366, 20556, 3670, 1, 796, 705, 140, 94, 16843, 22177, 31583, 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 ]
[ 4919, 867, 812, 468, 587, 19332, 30, 46506, 327, 28270, 7203, 17688, 357, 34, 567, 9926, 8, 4943, 16034, 3084, 62, 1129, 40523, 33411, 366, 20556, 3670, 1, 796, 705, 140, 94, 16843, 22177, 31583, 18849, 6 ]
How many production codes are there for episode number 45?
SELECT COUNT(prod_code) FROM table_2602958_4 WHERE no = 45
[ 2437, 867, 3227, 12416, 389, 612, 329, 4471, 1271, 4153, 30, 46506, 327, 28270, 7, 1676, 67, 62, 8189, 8, 16034, 3084, 62, 21719, 1959, 3365, 62, 19, 33411, 645, 796, 4153 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 3227, 12416, 389, 612, 329, 4471, 1271, 4153, 30, 46506, 327, 28270, 7, 1676, 67, 62, 8189, 8, 16034, 3084, 62, 21719, 1959, 3365, 62, 19, 33411, 645, 796, 4153 ]
Name the 2009 for 2007 of 2r and tournament of wimbledon
SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon"
[ 5376, 262, 3717, 329, 4343, 286, 362, 81, 290, 7756, 286, 266, 320, 49258, 46506, 3717, 16034, 3084, 62, 3672, 62, 2327, 33411, 4343, 796, 366, 17, 81, 1, 5357, 7756, 796, 366, 86, 320, 49258, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3717, 329, 4343, 286, 362, 81, 290, 7756, 286, 266, 320, 49258, 46506, 3717, 16034, 3084, 62, 3672, 62, 2327, 33411, 4343, 796, 366, 17, 81, 1, 5357, 7756, 796, 366, 86, 320, 49258, 1 ]
Name the record for verizon center 20,173
SELECT record FROM table_17288845_8 WHERE location_attendance = "Verizon Center 20,173"
[ 5376, 262, 1700, 329, 3326, 8637, 3641, 1160, 11, 25399, 46506, 1700, 16034, 3084, 62, 1558, 2078, 3459, 2231, 62, 23, 33411, 4067, 62, 1078, 437, 590, 796, 366, 13414, 8637, 3337, 1160, 11, 25399, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 329, 3326, 8637, 3641, 1160, 11, 25399, 46506, 1700, 16034, 3084, 62, 1558, 2078, 3459, 2231, 62, 23, 33411, 4067, 62, 1078, 437, 590, 796, 366, 13414, 8637, 3337, 1160, 11, 25399, 1 ]
What is the total number of Area (km ), when Population (2007) is 6,176?
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
[ 2061, 318, 262, 2472, 1271, 286, 9498, 357, 13276, 10612, 618, 20133, 357, 12726, 8, 318, 718, 11, 24096, 30, 46506, 327, 28270, 7, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 3265, 834, 12726, 62, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 9498, 357, 13276, 10612, 618, 20133, 357, 12726, 8, 318, 718, 11, 24096, 30, 46506, 327, 28270, 7, 20337, 834, 13276, 31185, 62, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 3265, 834, 12726, 62, 796, ...
today, has patient 016-19343's systemicmean been ever less than 95.0?
SELECT COUNT(*) > 0 FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-19343')) AND vitalperiodic.systemicmean < 95.0 AND NOT vitalperi...
[ 40838, 11, 468, 5827, 5534, 21, 12, 1129, 32118, 338, 21971, 32604, 587, 1683, 1342, 621, 6957, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40838, 11, 468, 5827, 5534, 21, 12, 1129, 32118, 338, 21971, 32604, 587, 1683, 1342, 621, 6957, 13, 15, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26029, 20850, 31712, 312, 3268, ...
what is patient 25814 last diagnosis time of long-term use meds nec since 2105?
SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'long-term use meds nec') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 25814) AND STRFTIME...
[ 10919, 318, 5827, 37528, 1415, 938, 13669, 640, 286, 890, 12, 4354, 779, 1117, 82, 27576, 1201, 362, 13348, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 5827, 37528, 1415, 938, 13669, 640, 286, 890, 12, 4354, 779, 1117, 82, 27576, 1201, 362, 13348, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, ...
Find the number of patients who survived and had the procedure endovascular (total) embolization or occlusion of head and neck vessels?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.expire_flag = "0" AND procedures.long_title = "Endovascular (total) embolization or occlusion of head and neck vessels"
[ 16742, 262, 1271, 286, 3871, 508, 11803, 290, 550, 262, 8771, 886, 709, 14767, 357, 23350, 8, 4072, 349, 1634, 393, 1609, 75, 4241, 286, 1182, 290, 7393, 14891, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 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...
[ 16742, 262, 1271, 286, 3871, 508, 11803, 290, 550, 262, 8771, 886, 709, 14767, 357, 23350, 8, 4072, 349, 1634, 393, 1609, 75, 4241, 286, 1182, 290, 7393, 14891, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 3...
What are the distinct names of products purchased by at least two different customers?
SELECT DISTINCT T3.product_name FROM customer_orders AS T1 JOIN order_items AS T2 ON T1.order_id = T2.order_id JOIN products AS T3 ON T2.product_id = T3.product_id GROUP BY T3.product_id HAVING COUNT(DISTINCT T1.customer_id) >= 2
[ 2061, 389, 262, 7310, 3891, 286, 3186, 8155, 416, 379, 1551, 734, 1180, 4297, 30, 46506, 360, 8808, 1268, 4177, 309, 18, 13, 11167, 62, 3672, 16034, 6491, 62, 6361, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 6177, 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...
[ 2061, 389, 262, 7310, 3891, 286, 3186, 8155, 416, 379, 1551, 734, 1180, 4297, 30, 46506, 360, 8808, 1268, 4177, 309, 18, 13, 11167, 62, 3672, 16034, 6491, 62, 6361, 7054, 309, 16, 32357, 1268, 1502, 62, 23814, 7054, 309, 17, 6177, 3...
What was the away team's score at the game held at MCG?
SELECT away_team AS score FROM table_name_44 WHERE venue = "mcg"
[ 2061, 373, 262, 1497, 1074, 338, 4776, 379, 262, 983, 2714, 379, 13122, 38, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2598, 33411, 14359, 796, 366, 23209, 70, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1497, 1074, 338, 4776, 379, 262, 983, 2714, 379, 13122, 38, 30, 46506, 1497, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 2598, 33411, 14359, 796, 366, 23209, 70, 1 ]
Which storm has a clash of 3 and a dance of 4?
SELECT storm FROM table_name_58 WHERE dance = "4" AND clash = "3"
[ 13828, 6388, 468, 257, 19122, 286, 513, 290, 257, 9280, 286, 604, 30, 46506, 6388, 16034, 3084, 62, 3672, 62, 3365, 33411, 9280, 796, 366, 19, 1, 5357, 19122, 796, 366, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6388, 468, 257, 19122, 286, 513, 290, 257, 9280, 286, 604, 30, 46506, 6388, 16034, 3084, 62, 3672, 62, 3365, 33411, 9280, 796, 366, 19, 1, 5357, 19122, 796, 366, 18, 1 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of founder and the amount of founder , and group by attribute founder, display in descending by the Founder.
SELECT Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2033, 286, 9119, 837, 290, 1448, 416, 11688, 9119, 11, 3359, 287, 31491, 416, 262, 30153, 13, 46506, 30153, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2033, 286, 9119, 837, 290, 1448, 416, 11688, 9119, 11, 3359, 287, 31491, 416, 262, 30153, 13, 46506, 30153, ...
Draw a bar chart about the distribution of ACC_Road and the amount of ACC_Road , and group by attribute ACC_Road, and could you order how many acc road in ascending order?
SELECT ACC_Road, COUNT(ACC_Road) FROM basketball_match GROUP BY ACC_Road ORDER BY COUNT(ACC_Road)
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2033, 286, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 714, 345, 1502, 703, 867, 697, 2975, 287, 41988, 1502, 30, 46506, 15859, 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...
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 15859, 62, 29197, 290, 262, 2033, 286, 15859, 62, 29197, 837, 290, 1448, 416, 11688, 15859, 62, 29197, 11, 290, 714, 345, 1502, 703, 867, 697, 2975, 287, 41988, 1502, 30, 46506, 15859, 62, ...
What is the rating/share for 18-49 for Week 6, Part 1?
SELECT "Rating/Share (18\u201349)" FROM table_3270 WHERE "Episode" = 'Week 6, Part 1'
[ 2061, 318, 262, 7955, 14, 20077, 329, 1248, 12, 2920, 329, 6119, 718, 11, 2142, 352, 30, 46506, 366, 29321, 14, 11649, 357, 1507, 59, 84, 1264, 27371, 16725, 16034, 3084, 62, 18, 20233, 33411, 366, 23758, 1, 796, 705, 20916, 718, 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 ]
[ 2061, 318, 262, 7955, 14, 20077, 329, 1248, 12, 2920, 329, 6119, 718, 11, 2142, 352, 30, 46506, 366, 29321, 14, 11649, 357, 1507, 59, 84, 1264, 27371, 16725, 16034, 3084, 62, 18, 20233, 33411, 366, 23758, 1, 796, 705, 20916, 718, 11...
how many directors are in the england films ?
SELECT COUNT("director") FROM table_204_652 WHERE "country" = 'england'
[ 4919, 867, 13445, 389, 287, 262, 1786, 1044, 7328, 5633, 46506, 327, 28270, 7203, 35248, 4943, 16034, 3084, 62, 18638, 62, 43193, 33411, 366, 19315, 1, 796, 705, 1516, 1044, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 13445, 389, 287, 262, 1786, 1044, 7328, 5633, 46506, 327, 28270, 7203, 35248, 4943, 16034, 3084, 62, 18638, 62, 43193, 33411, 366, 19315, 1, 796, 705, 1516, 1044, 6 ]
Which Road Team has a Home Team of rochester, and a Game of game 2?
SELECT "Road Team" FROM table_77454 WHERE "Home Team" = 'rochester' AND "Game" = 'game 2'
[ 13828, 5567, 4816, 468, 257, 5995, 4816, 286, 686, 35983, 11, 290, 257, 3776, 286, 983, 362, 30, 46506, 366, 29197, 4816, 1, 16034, 3084, 62, 3324, 34229, 33411, 366, 16060, 4816, 1, 796, 705, 305, 35983, 6, 5357, 366, 8777, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 5567, 4816, 468, 257, 5995, 4816, 286, 686, 35983, 11, 290, 257, 3776, 286, 983, 362, 30, 46506, 366, 29197, 4816, 1, 16034, 3084, 62, 3324, 34229, 33411, 366, 16060, 4816, 1, 796, 705, 305, 35983, 6, 5357, 366, 8777, 1, 796,...
What is the total grid of the team with a time/retired of +7.346?
SELECT COUNT(grid) FROM table_name_53 WHERE time_retired = "+7.346"
[ 2061, 318, 262, 2472, 10706, 286, 262, 1074, 351, 257, 640, 14, 1186, 1202, 286, 1343, 22, 13, 30557, 30, 46506, 327, 28270, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 640, 62, 1186, 1202, 796, 43825, 22, 13, 30557, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 10706, 286, 262, 1074, 351, 257, 640, 14, 1186, 1202, 286, 1343, 22, 13, 30557, 30, 46506, 327, 28270, 7, 25928, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 640, 62, 1186, 1202, 796, 43825, 22, 13, 30557, 1 ]
history of bleeding disorder
SELECT * FROM table_test_27 WHERE bleeding = 1
[ 23569, 286, 16832, 8967, 46506, 1635, 16034, 3084, 62, 9288, 62, 1983, 33411, 16832, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23569, 286, 16832, 8967, 46506, 1635, 16034, 3084, 62, 9288, 62, 1983, 33411, 16832, 796, 352 ]
How many locations have the Sun Life Stadium?
SELECT COUNT("Location") FROM table_20210 WHERE "Stadium" = 'Sun Life Stadium'
[ 2437, 867, 7064, 423, 262, 3825, 5155, 10499, 30, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 19004, 940, 33411, 366, 1273, 6271, 1, 796, 705, 16012, 5155, 10499, 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, 7064, 423, 262, 3825, 5155, 10499, 30, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 19004, 940, 33411, 366, 1273, 6271, 1, 796, 705, 16012, 5155, 10499, 6 ]
How many seasons have goals of 261-338 with more than 111 losses?
SELECT COUNT(seasons) FROM table_name_77 WHERE goals = "261-338" AND lost > 111
[ 2437, 867, 7028, 423, 4661, 286, 39166, 12, 28460, 351, 517, 621, 13374, 9089, 30, 46506, 327, 28270, 7, 325, 2812, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 4661, 796, 366, 30057, 12, 28460, 1, 5357, 2626, 1875, 13374 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7028, 423, 4661, 286, 39166, 12, 28460, 351, 517, 621, 13374, 9089, 30, 46506, 327, 28270, 7, 325, 2812, 8, 16034, 3084, 62, 3672, 62, 3324, 33411, 4661, 796, 366, 30057, 12, 28460, 1, 5357, 2626, 1875, 13374 ]
What is the Race on July 30, 1950 with a Formula 2 Fia, non-championship?
SELECT race FROM table_name_47 WHERE category = "formula 2 fia, non-championship" AND date = "july 30, 1950"
[ 2061, 318, 262, 12588, 319, 2901, 1542, 11, 11445, 351, 257, 19639, 362, 376, 544, 11, 1729, 12, 354, 4350, 1056, 30, 46506, 3234, 16034, 3084, 62, 3672, 62, 2857, 33411, 6536, 796, 366, 687, 4712, 362, 277, 544, 11, 1729, 12, 354, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12588, 319, 2901, 1542, 11, 11445, 351, 257, 19639, 362, 376, 544, 11, 1729, 12, 354, 4350, 1056, 30, 46506, 3234, 16034, 3084, 62, 3672, 62, 2857, 33411, 6536, 796, 366, 687, 4712, 362, 277, 544, 11, 1729, 12, 354, ...
Return the results of all music festivals using a bar chart, and show Y in desc order.
SELECT Result, COUNT(Result) FROM music_festival GROUP BY Result ORDER BY COUNT(Result) DESC
[ 13615, 262, 2482, 286, 477, 2647, 25575, 1262, 257, 2318, 8262, 11, 290, 905, 575, 287, 1715, 1502, 13, 46506, 25414, 11, 327, 28270, 7, 23004, 8, 16034, 2647, 62, 69, 6743, 44441, 11050, 25414, 38678, 11050, 327, 28270, 7, 23004, 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 ]
[ 13615, 262, 2482, 286, 477, 2647, 25575, 1262, 257, 2318, 8262, 11, 290, 905, 575, 287, 1715, 1502, 13, 46506, 25414, 11, 327, 28270, 7, 23004, 8, 16034, 2647, 62, 69, 6743, 44441, 11050, 25414, 38678, 11050, 327, 28270, 7, 23004, 8, ...
what was the att-cmp-int for the qb with an effic of 127.89?
SELECT att_cmp_int FROM table_name_85 WHERE effic = 127.89
[ 10919, 373, 262, 708, 12, 48991, 12, 600, 329, 262, 10662, 65, 351, 281, 4396, 286, 18112, 13, 4531, 30, 46506, 708, 62, 48991, 62, 600, 16034, 3084, 62, 3672, 62, 5332, 33411, 4396, 796, 18112, 13, 4531 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 708, 12, 48991, 12, 600, 329, 262, 10662, 65, 351, 281, 4396, 286, 18112, 13, 4531, 30, 46506, 708, 62, 48991, 62, 600, 16034, 3084, 62, 3672, 62, 5332, 33411, 4396, 796, 18112, 13, 4531 ]
how many hours has time elapsed since patient 013-11660's hospital admission?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '013-11660' AND patient.hospitaldischargetime IS NULL
[ 4919, 867, 2250, 468, 640, 42118, 1201, 5827, 5534, 18, 12, 18298, 1899, 338, 4436, 13938, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 2250, 468, 640, 42118, 1201, 5827, 5534, 18, 12, 18298, 1899, 338, 4436, 13938, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 28955, 532, 19269, 9792, 12789, 10786, 4, 73, 3256, ...
find the number of patients who are wheelchair dependent and whose drug type is base.
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 = "Wheelchair dependence" AND prescriptions.drug_type = "BASE"
[ 19796, 262, 1271, 286, 3871, 508, 389, 27181, 10795, 290, 3025, 2563, 2099, 318, 2779, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 19796, 262, 1271, 286, 3871, 508, 389, 27181, 10795, 290, 3025, 2563, 2099, 318, 2779, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, ...
Show the names of people and the number of times they have been on the affirmative side of debates. Show a pie chart.
SELECT Name, COUNT(*) FROM debate_people AS T1 JOIN people AS T2 ON T1.Affirmative = T2.People_ID GROUP BY T2.Name
[ 15307, 262, 3891, 286, 661, 290, 262, 1271, 286, 1661, 484, 423, 587, 319, 262, 27990, 1735, 286, 15389, 13, 5438, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 661, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 3891, 286, 661, 290, 262, 1271, 286, 1661, 484, 423, 587, 319, 262, 27990, 1735, 286, 15389, 13, 5438, 257, 2508, 8262, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 4384, 62, 15332, 7054, 309, 16, 32357, 1268, 661, ...
What was the Maple Leafs' record on game 52?
SELECT record FROM table_name_51 WHERE game = 52
[ 2061, 373, 262, 21249, 25479, 6, 1700, 319, 983, 6740, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4349, 33411, 983, 796, 6740 ]
[ 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, 21249, 25479, 6, 1700, 319, 983, 6740, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 4349, 33411, 983, 796, 6740 ]
For each headquarter, what are the headquarter and how many companies are centered there. Show the proportion.
SELECT Headquarters, COUNT(*) FROM company GROUP BY Headquarters
[ 1890, 1123, 1182, 24385, 11, 644, 389, 262, 1182, 24385, 290, 703, 867, 2706, 389, 19254, 612, 13, 5438, 262, 9823, 13, 46506, 32193, 11, 327, 28270, 7, 28104, 16034, 1664, 44441, 11050, 32193 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1182, 24385, 11, 644, 389, 262, 1182, 24385, 290, 703, 867, 2706, 389, 19254, 612, 13, 5438, 262, 9823, 13, 46506, 32193, 11, 327, 28270, 7, 28104, 16034, 1664, 44441, 11050, 32193 ]
What year did Ivanovic win with Ivanovic greater than 4 and round of R16?
SELECT SUM("Year") FROM table_8146 WHERE "Winner" = 'ivanovic' AND "Ivanovic" > '4' AND "Round" = 'r16'
[ 2061, 614, 750, 21798, 17215, 1592, 351, 21798, 17215, 3744, 621, 604, 290, 2835, 286, 371, 1433, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 23, 20964, 33411, 366, 48056, 1, 796, 705, 13809, 17215, 6, 5357, 366, 40, 10438, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 750, 21798, 17215, 1592, 351, 21798, 17215, 3744, 621, 604, 290, 2835, 286, 371, 1433, 30, 46506, 35683, 7203, 17688, 4943, 16034, 3084, 62, 23, 20964, 33411, 366, 48056, 1, 796, 705, 13809, 17215, 6, 5357, 366, 40, 10438, ...
What is the total number of years that prof. aditya naraian purohit won?
SELECT COUNT("Year") FROM table_44279 WHERE "Name" = 'prof. aditya naraian purohit'
[ 2061, 318, 262, 2472, 1271, 286, 812, 326, 1534, 13, 512, 414, 64, 299, 3301, 666, 279, 1434, 17945, 1839, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2598, 26050, 33411, 366, 5376, 1, 796, 705, 5577, 13, 512, 414, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 812, 326, 1534, 13, 512, 414, 64, 299, 3301, 666, 279, 1434, 17945, 1839, 30, 46506, 327, 28270, 7203, 17688, 4943, 16034, 3084, 62, 2598, 26050, 33411, 366, 5376, 1, 796, 705, 5577, 13, 512, 414, 64...
what is the maximum total cost of the hospital involving a laboratory test of chloride, whole blood until 2103?
SELECT MAX(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.hadm_id IN (SELECT labevents.hadm_id FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'chloride, whole blood')) AND STRFTIME('%y', cost.chargetime) <= '2103' GROUP BY cost.hadm_id) AS t1
[ 10919, 318, 262, 5415, 2472, 1575, 286, 262, 4436, 7411, 257, 14010, 1332, 286, 44921, 11, 2187, 2910, 1566, 362, 15197, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 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...
[ 10919, 318, 262, 5415, 2472, 1575, 286, 262, 4436, 7411, 257, 14010, 1332, 286, 44921, 11, 2187, 2910, 1566, 362, 15197, 30, 46506, 25882, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 35683, 7, 15805, 13, 15805, 8, 7054, 269, 16, ...
has patient 83466 undergone any procedures for excise lg intestine les in a year before?
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'excise lg intestine les') AND procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 83466) AND DATETIME(pro...
[ 10134, 5827, 807, 2682, 2791, 29900, 597, 9021, 329, 47547, 300, 70, 45426, 10287, 287, 257, 614, 878, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 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...
[ 10134, 5827, 807, 2682, 2791, 29900, 597, 9021, 329, 47547, 300, 70, 45426, 10287, 287, 257, 614, 878, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 291, 67, 24, 62, 8189, 796, ...
What camera has the highest Mpix with an aspect ratio of 2:1, a height less than 1536, and a width smaller than 2048?
SELECT MAX(mpix) FROM table_name_51 WHERE aspect_ratio = "2:1" AND height < 1536 AND width < 2048
[ 2061, 4676, 468, 262, 4511, 337, 79, 844, 351, 281, 4843, 8064, 286, 362, 25, 16, 11, 257, 6001, 1342, 621, 1315, 2623, 11, 290, 257, 9647, 4833, 621, 36117, 30, 46506, 25882, 7, 3149, 844, 8, 16034, 3084, 62, 3672, 62, 4349, 3341...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 4676, 468, 262, 4511, 337, 79, 844, 351, 281, 4843, 8064, 286, 362, 25, 16, 11, 257, 6001, 1342, 621, 1315, 2623, 11, 290, 257, 9647, 4833, 621, 36117, 30, 46506, 25882, 7, 3149, 844, 8, 16034, 3084, 62, 3672, 62, 4349, 3341...
What is every year for joined with the Ravens nickname?
SELECT joined FROM table_262514_1 WHERE nickname = "Ravens"
[ 2061, 318, 790, 614, 329, 5399, 351, 262, 20091, 21814, 30, 46506, 5399, 16034, 3084, 62, 2075, 1495, 1415, 62, 16, 33411, 21814, 796, 366, 49098, 82, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 614, 329, 5399, 351, 262, 20091, 21814, 30, 46506, 5399, 16034, 3084, 62, 2075, 1495, 1415, 62, 16, 33411, 21814, 796, 366, 49098, 82, 1 ]
Show different carriers of phones together with the number of phones with each carrier.
SELECT carrier, COUNT(*) FROM phone GROUP BY carrier
[ 15307, 1180, 16651, 286, 9512, 1978, 351, 262, 1271, 286, 9512, 351, 1123, 11920, 13, 46506, 11920, 11, 327, 28270, 7, 28104, 16034, 3072, 44441, 11050, 11920 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 1180, 16651, 286, 9512, 1978, 351, 262, 1271, 286, 9512, 351, 1123, 11920, 13, 46506, 11920, 11, 327, 28270, 7, 28104, 16034, 3072, 44441, 11050, 11920 ]
What is the largest number for trine dehli cleve?
SELECT MAX(trine_dehli_cleve) FROM table_28677723_5
[ 2061, 318, 262, 4387, 1271, 329, 491, 500, 390, 71, 4528, 1190, 303, 30, 46506, 25882, 7, 2213, 500, 62, 2934, 71, 4528, 62, 2375, 303, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 20 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 1271, 329, 491, 500, 390, 71, 4528, 1190, 303, 30, 46506, 25882, 7, 2213, 500, 62, 2934, 71, 4528, 62, 2375, 303, 8, 16034, 3084, 62, 2078, 3134, 3324, 1954, 62, 20 ]
Who was on the pole at Chicagoland?
SELECT "Pole position" FROM table_72755 WHERE "Race" = 'Chicagoland'
[ 8241, 373, 319, 262, 16825, 379, 48854, 363, 23573, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 47760, 2816, 33411, 366, 35157, 1, 796, 705, 1925, 291, 363, 23573, 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 ]
[ 8241, 373, 319, 262, 16825, 379, 48854, 363, 23573, 30, 46506, 366, 47, 2305, 2292, 1, 16034, 3084, 62, 47760, 2816, 33411, 366, 35157, 1, 796, 705, 1925, 291, 363, 23573, 6 ]
What kind of IHSAA Class has a School of decatur central?
SELECT ihsaa_class FROM table_name_2 WHERE school = "decatur central"
[ 2061, 1611, 286, 314, 7998, 3838, 5016, 468, 257, 3961, 286, 875, 2541, 4318, 30, 46506, 1312, 11994, 7252, 62, 4871, 16034, 3084, 62, 3672, 62, 17, 33411, 1524, 796, 366, 12501, 2541, 4318, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1611, 286, 314, 7998, 3838, 5016, 468, 257, 3961, 286, 875, 2541, 4318, 30, 46506, 1312, 11994, 7252, 62, 4871, 16034, 3084, 62, 3672, 62, 17, 33411, 1524, 796, 366, 12501, 2541, 4318, 1 ]
When Mark Stimson started his job in 2007-08 what posiiton was the team on the table
SELECT "Position in table" FROM table_30374 WHERE "Replaced by" = 'Mark Stimson'
[ 2215, 2940, 41669, 1559, 2067, 465, 1693, 287, 4343, 12, 2919, 644, 1426, 72, 37752, 373, 262, 1074, 319, 262, 3084, 46506, 366, 26545, 287, 3084, 1, 16034, 3084, 62, 1270, 31020, 33411, 366, 3041, 21820, 416, 1, 796, 705, 9704, 41669...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2940, 41669, 1559, 2067, 465, 1693, 287, 4343, 12, 2919, 644, 1426, 72, 37752, 373, 262, 1074, 319, 262, 3084, 46506, 366, 26545, 287, 3084, 1, 16034, 3084, 62, 1270, 31020, 33411, 366, 3041, 21820, 416, 1, 796, 705, 9704, 41669...
What is the highest Games, when Rebounds is greater than 100, when Name is Nikola Pekovi , and when Rank is less than 4?
SELECT MAX(games) FROM table_name_26 WHERE rebounds > 100 AND name = "nikola peković" AND rank < 4
[ 2061, 318, 262, 4511, 5776, 11, 618, 15652, 3733, 318, 3744, 621, 1802, 11, 618, 6530, 318, 47817, 350, 988, 47297, 837, 290, 618, 10916, 318, 1342, 621, 604, 30, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 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 ]
[ 2061, 318, 262, 4511, 5776, 11, 618, 15652, 3733, 318, 3744, 621, 1802, 11, 618, 6530, 318, 47817, 350, 988, 47297, 837, 290, 618, 10916, 318, 1342, 621, 604, 30, 46506, 25882, 7, 19966, 8, 16034, 3084, 62, 3672, 62, 2075, 33411, 18...
What is the date when the opponent is the New England Patriots?
SELECT date FROM table_18847736_2 WHERE opponent = "New England Patriots"
[ 2061, 318, 262, 3128, 618, 262, 6125, 318, 262, 968, 4492, 13104, 30, 46506, 3128, 16034, 3084, 62, 20356, 32883, 2623, 62, 17, 33411, 6125, 796, 366, 3791, 4492, 13104, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 618, 262, 6125, 318, 262, 968, 4492, 13104, 30, 46506, 3128, 16034, 3084, 62, 20356, 32883, 2623, 62, 17, 33411, 6125, 796, 366, 3791, 4492, 13104, 1 ]
count the number of patients admitted before 2110 with the diagnoses of mitral valve disorders.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2110" AND diagnoses.long_title = "Mitral valve disorders"
[ 9127, 262, 1271, 286, 3871, 6848, 878, 2310, 940, 351, 262, 40567, 286, 10255, 1373, 22580, 11916, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6848, 878, 2310, 940, 351, 262, 40567, 286, 10255, 1373, 22580, 11916, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728,...
What is the total number of laps done by Massimo Roccoli when his grid was smaller than 4?
SELECT COUNT("Laps") FROM table_49649 WHERE "Rider" = 'massimo roccoli' AND "Grid" < '4'
[ 2061, 318, 262, 2472, 1271, 286, 24590, 1760, 416, 5674, 25147, 13545, 4033, 72, 618, 465, 10706, 373, 4833, 621, 604, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 2920, 33300, 33411, 366, 49, 1304, 1, 796, 705, 22208...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 24590, 1760, 416, 5674, 25147, 13545, 4033, 72, 618, 465, 10706, 373, 4833, 621, 604, 30, 46506, 327, 28270, 7203, 43, 1686, 4943, 16034, 3084, 62, 2920, 33300, 33411, 366, 49, 1304, 1, 796, 705, 22208...
Which date has opponents, Claire De Gubernatis Alexandra Dulgheru, in the final?
SELECT "Date" FROM table_71401 WHERE "Opponents in the final" = 'claire de gubernatis alexandra dulgheru'
[ 13828, 3128, 468, 7691, 11, 20758, 1024, 1962, 527, 32353, 271, 44075, 42148, 70, 372, 84, 11, 287, 262, 2457, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 45722, 486, 33411, 366, 27524, 3906, 287, 262, 2457, 1, 796, 705, 565, 7626, 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 ]
[ 13828, 3128, 468, 7691, 11, 20758, 1024, 1962, 527, 32353, 271, 44075, 42148, 70, 372, 84, 11, 287, 262, 2457, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 45722, 486, 33411, 366, 27524, 3906, 287, 262, 2457, 1, 796, 705, 565, 7626, 3...
What the round with the time 1:15?
SELECT AVG("Round") FROM table_63397 WHERE "Time" = '1:15'
[ 2061, 262, 2835, 351, 262, 640, 352, 25, 1314, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 21, 2091, 5607, 33411, 366, 7575, 1, 796, 705, 16, 25, 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 ]
[ 2061, 262, 2835, 351, 262, 640, 352, 25, 1314, 30, 46506, 35224, 7203, 22685, 4943, 16034, 3084, 62, 21, 2091, 5607, 33411, 366, 7575, 1, 796, 705, 16, 25, 1314, 6 ]
for the first time since 06/2104, when was patient 006-76924 given a lab test?
SELECT lab.labresulttime FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-76924')) AND STRFTIME('%y-%m', lab.labresulttime) >= '2104-06' ORDER BY lab.lab...
[ 1640, 262, 717, 640, 1201, 9130, 14, 17, 13464, 11, 618, 373, 5827, 3571, 21, 12, 22, 3388, 1731, 1813, 257, 2248, 1332, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 717, 640, 1201, 9130, 14, 17, 13464, 11, 618, 373, 5827, 3571, 21, 12, 22, 3388, 1731, 1813, 257, 2248, 1332, 30, 46506, 2248, 13, 23912, 20274, 2435, 16034, 2248, 33411, 2248, 13, 26029, 20850, 31712, 312, 3268, 357, 46506...
At what venue did a crowd larger than 11,000 see the away team score 11.10 (76)?
SELECT "Venue" FROM table_32692 WHERE "Crowd" > '11,000' AND "Away team score" = '11.10 (76)'
[ 2953, 644, 14359, 750, 257, 4315, 4025, 621, 1367, 11, 830, 766, 262, 1497, 1074, 4776, 1367, 13, 940, 357, 4304, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 39195, 5892, 33411, 366, 34, 3986, 1, 1875, 705, 1157, 11, 830, 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 ]
[ 2953, 644, 14359, 750, 257, 4315, 4025, 621, 1367, 11, 830, 766, 262, 1497, 1074, 4776, 1367, 13, 940, 357, 4304, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 39195, 5892, 33411, 366, 34, 3986, 1, 1875, 705, 1157, 11, 830, 6, ...
Return a line chart about the change of the sum of monthly_rental over date_address_to , and group by attribute other_details.
SELECT date_address_to, SUM(monthly_rental) FROM Student_Addresses GROUP BY other_details, date_address_to ORDER BY monthly_rental DESC
[ 13615, 257, 1627, 8262, 546, 262, 1487, 286, 262, 2160, 286, 9651, 62, 1156, 282, 625, 3128, 62, 21975, 62, 1462, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 3128, 62, 21975, 62, 1462, 11, 35683, 7, 8424, 306, 62, 1156, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13615, 257, 1627, 8262, 546, 262, 1487, 286, 262, 2160, 286, 9651, 62, 1156, 282, 625, 3128, 62, 21975, 62, 1462, 837, 290, 1448, 416, 11688, 584, 62, 36604, 13, 46506, 3128, 62, 21975, 62, 1462, 11, 35683, 7, 8424, 306, 62, 1156, ...
count the number of patients who were diagnosed with acute necrosis of liver in the same hospital visit after they were diagnosed with nb obsrv suspct infect during this year.
SELECT COUNT(DISTINCT t1.subject_id) FROM (SELECT admissions.subject_id, diagnoses_icd.charttime, admissions.hadm_id 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 =...
[ 9127, 262, 1271, 286, 3871, 508, 547, 14641, 351, 14352, 27576, 37172, 286, 14383, 287, 262, 976, 4436, 3187, 706, 484, 547, 14641, 351, 299, 65, 10201, 81, 85, 4012, 310, 7580, 1141, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 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...
[ 9127, 262, 1271, 286, 3871, 508, 547, 14641, 351, 14352, 27576, 37172, 286, 14383, 287, 262, 976, 4436, 3187, 706, 484, 547, 14641, 351, 299, 65, 10201, 81, 85, 4012, 310, 7580, 1141, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 12...
How many entrepreneurs correspond to each investor, could you display Y in asc order?
SELECT Investor, COUNT(*) FROM entrepreneur GROUP BY Investor ORDER BY COUNT(*)
[ 2437, 867, 17038, 6053, 284, 1123, 15811, 11, 714, 345, 3359, 575, 287, 10570, 1502, 30, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 28104 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17038, 6053, 284, 1123, 15811, 11, 714, 345, 3359, 575, 287, 10570, 1502, 30, 46506, 47979, 11, 327, 28270, 7, 28104, 16034, 19500, 44441, 11050, 47979, 38678, 11050, 327, 28270, 7, 28104 ]
which lyricist has the largest amount of tracks ?
SELECT "lyrics" FROM table_203_574 GROUP BY "lyrics" ORDER BY COUNT("track number") DESC LIMIT 1
[ 4758, 43086, 396, 468, 262, 4387, 2033, 286, 8339, 5633, 46506, 366, 306, 10466, 1, 16034, 3084, 62, 22416, 62, 46900, 44441, 11050, 366, 306, 10466, 1, 38678, 11050, 327, 28270, 7203, 11659, 1271, 4943, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 43086, 396, 468, 262, 4387, 2033, 286, 8339, 5633, 46506, 366, 306, 10466, 1, 16034, 3084, 62, 22416, 62, 46900, 44441, 11050, 366, 306, 10466, 1, 38678, 11050, 327, 28270, 7203, 11659, 1271, 4943, 22196, 34, 27564, 2043, 352 ]
What team were the Opponent in Game 29?
SELECT opponent FROM table_name_37 WHERE game = 29
[ 2061, 1074, 547, 262, 9385, 3471, 287, 3776, 2808, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2718, 33411, 983, 796, 2808 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 547, 262, 9385, 3471, 287, 3776, 2808, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 2718, 33411, 983, 796, 2808 ]
an a1c score greater than 7 and less than 14 .
SELECT * FROM table_train_227 WHERE a1c > 7 AND a1c < 14
[ 272, 257, 16, 66, 4776, 3744, 621, 767, 290, 1342, 621, 1478, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 24403, 33411, 257, 16, 66, 1875, 767, 5357, 257, 16, 66, 1279, 1478 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 272, 257, 16, 66, 4776, 3744, 621, 767, 290, 1342, 621, 1478, 764, 46506, 1635, 16034, 3084, 62, 27432, 62, 24403, 33411, 257, 16, 66, 1875, 767, 5357, 257, 16, 66, 1279, 1478 ]
What was the earliest year that T rlea took 7th place?
SELECT MIN(year) FROM table_name_6 WHERE position = "7th"
[ 2061, 373, 262, 14555, 614, 326, 309, 374, 293, 64, 1718, 767, 400, 1295, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 2292, 796, 366, 22, 400, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14555, 614, 326, 309, 374, 293, 64, 1718, 767, 400, 1295, 30, 46506, 20625, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 21, 33411, 2292, 796, 366, 22, 400, 1 ]
what is the number of passengers when the capacity is 81.2%?
SELECT SUM(total_passengers) FROM table_name_88 WHERE capacity_in_use = "81.2%"
[ 10919, 318, 262, 1271, 286, 10405, 618, 262, 5339, 318, 9773, 13, 17, 4, 30, 46506, 35683, 7, 23350, 62, 6603, 9302, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 5339, 62, 259, 62, 1904, 796, 366, 6659, 13, 17, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 1271, 286, 10405, 618, 262, 5339, 318, 9773, 13, 17, 4, 30, 46506, 35683, 7, 23350, 62, 6603, 9302, 8, 16034, 3084, 62, 3672, 62, 3459, 33411, 5339, 62, 259, 62, 1904, 796, 366, 6659, 13, 17, 39658 ]
what was the last time patient 31300 was prescribed pantoprazole and furosemide in 03/2103, at the same time?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'pantoprazole' AND admissions.subject_id = 31300 AND STRFTIME('%y-%m', prescriptions.startdate) = '2103-03') AS t1 JOIN (SELECT admi...
[ 10919, 373, 262, 938, 640, 5827, 35897, 405, 373, 14798, 15857, 404, 3247, 2305, 290, 277, 1434, 43616, 485, 287, 7643, 14, 17, 15197, 11, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 373, 262, 938, 640, 5827, 35897, 405, 373, 14798, 15857, 404, 3247, 2305, 290, 277, 1434, 43616, 485, 287, 7643, 14, 17, 15197, 11, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, ...
Create a bar chart showing all_games_percent across acc regular season
SELECT ACC_Regular_Season, All_Games_Percent FROM basketball_match
[ 16447, 257, 2318, 8262, 4478, 477, 62, 19966, 62, 25067, 1973, 697, 3218, 1622, 46506, 15859, 62, 40164, 62, 18960, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 16447, 257, 2318, 8262, 4478, 477, 62, 19966, 62, 25067, 1973, 697, 3218, 1622, 46506, 15859, 62, 40164, 62, 18960, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699 ]
What Date has a Circuit of cremona?
SELECT date FROM table_name_36 WHERE circuit = "cremona"
[ 2061, 7536, 468, 257, 13588, 286, 1126, 2144, 64, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2623, 33411, 10349, 796, 366, 7513, 2144, 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, 1 ]
[ 2061, 7536, 468, 257, 13588, 286, 1126, 2144, 64, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2623, 33411, 10349, 796, 366, 7513, 2144, 64, 1 ]
What is the highest November date that has a game under 19 and opponents of the Minnesota North Stars?
SELECT MAX("November") FROM table_8805 WHERE "Game" < '19' AND "Opponent" = 'minnesota north stars'
[ 2061, 318, 262, 4511, 3389, 3128, 326, 468, 257, 983, 739, 678, 290, 7691, 286, 262, 8919, 2258, 10271, 30, 46506, 25882, 7203, 21159, 4943, 16034, 3084, 62, 23, 28256, 33411, 366, 8777, 1, 1279, 705, 1129, 6, 5357, 366, 27524, 3471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3389, 3128, 326, 468, 257, 983, 739, 678, 290, 7691, 286, 262, 8919, 2258, 10271, 30, 46506, 25882, 7203, 21159, 4943, 16034, 3084, 62, 23, 28256, 33411, 366, 8777, 1, 1279, 705, 1129, 6, 5357, 366, 27524, 3471, ...
provide the number of patients whose admission location is phys referral/normal deli and drug name is vecuronium bromide?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND prescriptions.drug = "Vecuronium Bromide"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2563, 1438, 318, 1569, 22019, 261, 1505, 275, 398, 485, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 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, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 2281, 31413, 14, 11265, 1619, 72, 290, 2563, 1438, 318, 1569, 22019, 261, 1505, 275, 398, 485, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 1...
How many 300 -level classes are being offered in Fall and Winter term ?
SELECT COUNT(DISTINCT course.course_id, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'EECS' AND course.number BETWEEN 300 AND 300 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_id = course_offering.semester AND se...
[ 2437, 867, 5867, 532, 5715, 6097, 389, 852, 4438, 287, 7218, 290, 10633, 3381, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 11, 24878, 13, 325, 6880, 353, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 5867, 532, 5715, 6097, 389, 852, 4438, 287, 7218, 290, 10633, 3381, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 17319, 62, 312, 11, 24878, 13, 325, 6880, 353, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, ...
Who won the regular season when Maryland won the tournament?
SELECT regular_season_winner FROM table_22779004_1 WHERE tournament_winner = "Maryland"
[ 8241, 1839, 262, 3218, 1622, 618, 10769, 1839, 262, 7756, 30, 46506, 3218, 62, 6230, 62, 39791, 16034, 3084, 62, 1828, 3324, 12865, 19, 62, 16, 33411, 7756, 62, 39791, 796, 366, 24119, 1044, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 3218, 1622, 618, 10769, 1839, 262, 7756, 30, 46506, 3218, 62, 6230, 62, 39791, 16034, 3084, 62, 1828, 3324, 12865, 19, 62, 16, 33411, 7756, 62, 39791, 796, 366, 24119, 1044, 1 ]
In what Year was the Result of the game 16-14?
SELECT MAX("Year") FROM table_46976 WHERE "Result" = '16-14'
[ 818, 644, 6280, 373, 262, 25414, 286, 262, 983, 1467, 12, 1415, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 42947, 4304, 33411, 366, 23004, 1, 796, 705, 1433, 12, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 6280, 373, 262, 25414, 286, 262, 983, 1467, 12, 1415, 30, 46506, 25882, 7203, 17688, 4943, 16034, 3084, 62, 42947, 4304, 33411, 366, 23004, 1, 796, 705, 1433, 12, 1415, 6 ]
What is the average number of silver medals for countries with 0 gold and rank under 3?
SELECT AVG("Silver") FROM table_74892 WHERE "Gold" = '0' AND "Rank" < '3'
[ 2061, 318, 262, 2811, 1271, 286, 8465, 28057, 329, 2678, 351, 657, 3869, 290, 4279, 739, 513, 30, 46506, 35224, 7203, 26766, 4943, 16034, 3084, 62, 48246, 5892, 33411, 366, 13306, 1, 796, 705, 15, 6, 5357, 366, 27520, 1, 1279, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2811, 1271, 286, 8465, 28057, 329, 2678, 351, 657, 3869, 290, 4279, 739, 513, 30, 46506, 35224, 7203, 26766, 4943, 16034, 3084, 62, 48246, 5892, 33411, 366, 13306, 1, 796, 705, 15, 6, 5357, 366, 27520, 1, 1279, 705, ...
Who is the television commentator when the radio commentator is Galyna Babiy?
SELECT "Television commentator" FROM table_23459 WHERE "Radio commentator" = 'Galyna Babiy'
[ 8241, 318, 262, 5581, 28823, 618, 262, 5243, 28823, 318, 5027, 46434, 12400, 7745, 30, 46506, 366, 6767, 5024, 28823, 1, 16034, 3084, 62, 1954, 33459, 33411, 366, 26093, 28823, 1, 796, 705, 26552, 46434, 12400, 7745, 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 ]
[ 8241, 318, 262, 5581, 28823, 618, 262, 5243, 28823, 318, 5027, 46434, 12400, 7745, 30, 46506, 366, 6767, 5024, 28823, 1, 16034, 3084, 62, 1954, 33459, 33411, 366, 26093, 28823, 1, 796, 705, 26552, 46434, 12400, 7745, 6 ]
Name the Event of sudesh peiris?
SELECT "Event" FROM table_64171 WHERE "Name" = 'sudesh peiris'
[ 5376, 262, 8558, 286, 424, 67, 5069, 613, 29616, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2414, 27192, 33411, 366, 5376, 1, 796, 705, 82, 463, 5069, 613, 29616, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 8558, 286, 424, 67, 5069, 613, 29616, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 2414, 27192, 33411, 366, 5376, 1, 796, 705, 82, 463, 5069, 613, 29616, 6 ]
A bar chart shows the distribution of Date_of_Birth and Weight .
SELECT Date_of_Birth, Weight FROM people
[ 32, 2318, 8262, 2523, 262, 6082, 286, 7536, 62, 1659, 62, 38480, 290, 14331, 764, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661 ]
[ 1, 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, 2318, 8262, 2523, 262, 6082, 286, 7536, 62, 1659, 62, 38480, 290, 14331, 764, 46506, 7536, 62, 1659, 62, 38480, 11, 14331, 16034, 661 ]
at most , what is spain 's win percentage against another country .
SELECT "win %" FROM table_203_378 ORDER BY "win %" DESC LIMIT 1
[ 265, 749, 837, 644, 318, 599, 391, 705, 82, 1592, 5873, 1028, 1194, 1499, 764, 46506, 366, 5404, 4064, 1, 16034, 3084, 62, 22416, 62, 30695, 38678, 11050, 366, 5404, 4064, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 265, 749, 837, 644, 318, 599, 391, 705, 82, 1592, 5873, 1028, 1194, 1499, 764, 46506, 366, 5404, 4064, 1, 16034, 3084, 62, 22416, 62, 30695, 38678, 11050, 366, 5404, 4064, 1, 22196, 34, 27564, 2043, 352 ]
what is the name of the output that patient 73713 first got on 05/14/this year?
SELECT d_items.label FROM d_items WHERE d_items.itemid IN (SELECT outputevents.itemid FROM outputevents WHERE outputevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 73713)) AND DATETIME(outputevents.charttim...
[ 10919, 318, 262, 1438, 286, 262, 5072, 326, 5827, 37517, 1485, 717, 1392, 319, 8870, 14, 1415, 14, 5661, 614, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 38701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5072, 326, 5827, 37517, 1485, 717, 1392, 319, 8870, 14, 1415, 14, 5661, 614, 30, 46506, 288, 62, 23814, 13, 18242, 16034, 288, 62, 23814, 33411, 288, 62, 23814, 13, 9186, 312, 3268, 357, 46506, 38701, ...
What june 21 22, 2011 polling has green smaller than 13?
SELECT "Polling Firm" FROM table_35787 WHERE "Green" < '13' AND "Date of Polling" = 'june 21–22, 2011'
[ 2061, 474, 1726, 2310, 2534, 11, 2813, 13985, 468, 4077, 4833, 621, 1511, 30, 46506, 366, 39176, 278, 31623, 1, 16034, 3084, 62, 2327, 41019, 33411, 366, 13719, 1, 1279, 705, 1485, 6, 5357, 366, 10430, 286, 12868, 278, 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 ]
[ 2061, 474, 1726, 2310, 2534, 11, 2813, 13985, 468, 4077, 4833, 621, 1511, 30, 46506, 366, 39176, 278, 31623, 1, 16034, 3084, 62, 2327, 41019, 33411, 366, 13719, 1, 1279, 705, 1485, 6, 5357, 366, 10430, 286, 12868, 278, 1, 796, 705, ...
are there any results of patient 031-3355's microbiological test on the first hospital visit?
SELECT COUNT(*) > 0 FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospi...
[ 533, 612, 597, 2482, 286, 5827, 657, 3132, 12, 2091, 2816, 338, 24559, 2770, 1332, 319, 262, 717, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 533, 612, 597, 2482, 286, 5827, 657, 3132, 12, 2091, 2816, 338, 24559, 2770, 1332, 319, 262, 717, 4436, 3187, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 4580, 23912, 33411, 4580, 23912, 13, 26029, 20850, 31712, 312, 3268, 357, ...
who is the frist country to have a 1st runner up of 2
SELECT "country/territory" FROM table_204_225 WHERE "1st runner-up" = 2
[ 8727, 318, 262, 1216, 396, 1499, 284, 423, 257, 352, 301, 17490, 510, 286, 362, 46506, 366, 19315, 14, 353, 799, 652, 1, 16034, 3084, 62, 18638, 62, 18182, 33411, 366, 16, 301, 17490, 12, 929, 1, 796, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 1216, 396, 1499, 284, 423, 257, 352, 301, 17490, 510, 286, 362, 46506, 366, 19315, 14, 353, 799, 652, 1, 16034, 3084, 62, 18638, 62, 18182, 33411, 366, 16, 301, 17490, 12, 929, 1, 796, 362 ]
how many patients whose admission year is less than 2174 and drug name is cefpodoxime proxetil?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admityear < "2174" AND prescriptions.drug = "Cefpodoxime Proxetil"
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 22985, 290, 2563, 1438, 318, 269, 891, 79, 11430, 524, 14793, 316, 346, 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...
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 22985, 290, 2563, 1438, 318, 269, 891, 79, 11430, 524, 14793, 316, 346, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
What are the names and locations of festivals?
SELECT festival_name, location FROM festival_detail
[ 2061, 389, 262, 3891, 290, 7064, 286, 25575, 30, 46506, 10876, 62, 3672, 11, 4067, 16034, 10876, 62, 49170 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 3891, 290, 7064, 286, 25575, 30, 46506, 10876, 62, 3672, 11, 4067, 16034, 10876, 62, 49170 ]
What is the lowest number of f/laps with more than 4 podiums and more than 14 races?
SELECT MIN("F/Laps") FROM table_13968 WHERE "Podiums" > '4' AND "Races" > '14'
[ 2061, 318, 262, 9016, 1271, 286, 277, 14, 75, 1686, 351, 517, 621, 604, 27941, 82, 290, 517, 621, 1478, 9558, 30, 46506, 20625, 7203, 37, 14, 43, 1686, 4943, 16034, 3084, 62, 20219, 3104, 33411, 366, 47, 12664, 82, 1, 1875, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 1271, 286, 277, 14, 75, 1686, 351, 517, 621, 604, 27941, 82, 290, 517, 621, 1478, 9558, 30, 46506, 20625, 7203, 37, 14, 43, 1686, 4943, 16034, 3084, 62, 20219, 3104, 33411, 366, 47, 12664, 82, 1, 1875, 705, 1...
hat is the Airline when the EASA (EU) is yes?
SELECT airline FROM table_name_55 WHERE easa__eu_ = "yes"
[ 5183, 318, 262, 3701, 1370, 618, 262, 412, 1921, 32, 357, 19684, 8, 318, 3763, 30, 46506, 18091, 16034, 3084, 62, 3672, 62, 2816, 33411, 1396, 64, 834, 12496, 62, 796, 366, 8505, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5183, 318, 262, 3701, 1370, 618, 262, 412, 1921, 32, 357, 19684, 8, 318, 3763, 30, 46506, 18091, 16034, 3084, 62, 3672, 62, 2816, 33411, 1396, 64, 834, 12496, 62, 796, 366, 8505, 1 ]
When 64 is the entries what is the winning boat?
SELECT winning_boat FROM table_24673710_1 WHERE entries = 64
[ 2215, 5598, 318, 262, 12784, 644, 318, 262, 5442, 8848, 30, 46506, 5442, 62, 24482, 16034, 3084, 62, 1731, 3134, 2718, 940, 62, 16, 33411, 12784, 796, 5598 ]
[ 1, 1, 1, 1, 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, 5598, 318, 262, 12784, 644, 318, 262, 5442, 8848, 30, 46506, 5442, 62, 24482, 16034, 3084, 62, 1731, 3134, 2718, 940, 62, 16, 33411, 12784, 796, 5598 ]
What club had 0 goals?
SELECT "Club" FROM table_5444 WHERE "Goals" = '0'
[ 2061, 3430, 550, 657, 4661, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 20, 30272, 33411, 366, 5247, 874, 1, 796, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 3430, 550, 657, 4661, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 20, 30272, 33411, 366, 5247, 874, 1, 796, 705, 15, 6 ]
What is the Power (kW) for the station with the frequency of 98.7mhz?
SELECT "Power (kW)" FROM table_47028 WHERE "Frequency" = '98.7mhz'
[ 2061, 318, 262, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 262, 8373, 286, 9661, 13, 22, 76, 32179, 30, 46506, 366, 13434, 357, 74, 54, 16725, 16034, 3084, 62, 27790, 2078, 33411, 366, 37, 28707, 1, 796, 705, 4089, 13, 22, 76, 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 ]
[ 2061, 318, 262, 4333, 357, 74, 54, 8, 329, 262, 4429, 351, 262, 8373, 286, 9661, 13, 22, 76, 32179, 30, 46506, 366, 13434, 357, 74, 54, 16725, 16034, 3084, 62, 27790, 2078, 33411, 366, 37, 28707, 1, 796, 705, 4089, 13, 22, 76, 3...