instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
in what year did roche win his first doubles title ?
SELECT MIN("date") FROM table_204_196 WHERE "outcome" = 'winner'
[ 259, 644, 614, 750, 686, 2395, 1592, 465, 717, 21938, 3670, 5633, 46506, 20625, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 25272, 33411, 366, 448, 2958, 1, 796, 705, 39791, 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 ]
[ 259, 644, 614, 750, 686, 2395, 1592, 465, 717, 21938, 3670, 5633, 46506, 20625, 7203, 4475, 4943, 16034, 3084, 62, 18638, 62, 25272, 33411, 366, 448, 2958, 1, 796, 705, 39791, 6 ]
Which label has a catalog of y8hr 1006 in 1972?
SELECT "Label" FROM table_47063 WHERE "Catalog" = 'y8hr 1006' AND "Date" = '1972'
[ 13828, 6167, 468, 257, 18388, 286, 331, 23, 11840, 1802, 21, 287, 16101, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 27790, 5066, 33411, 366, 49015, 1, 796, 705, 88, 23, 11840, 1802, 21, 6, 5357, 366, 10430, 1, 796, 705, 41023, 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 ]
[ 13828, 6167, 468, 257, 18388, 286, 331, 23, 11840, 1802, 21, 287, 16101, 30, 46506, 366, 33986, 1, 16034, 3084, 62, 27790, 5066, 33411, 366, 49015, 1, 796, 705, 88, 23, 11840, 1802, 21, 6, 5357, 366, 10430, 1, 796, 705, 41023, 6 ]
Compute how many attributes in each name of the attribute definitions with attribute value 0 Show the result with a bar chart, I want to display the number of attribute name in descending order.
SELECT attribute_name, COUNT(attribute_name) FROM Attribute_Definitions AS t1 JOIN Catalog_Contents_Additional_Attributes AS t2 ON t1.attribute_id = t2.attribute_id WHERE t2.attribute_value = 0 GROUP BY attribute_name ORDER BY COUNT(attribute_name) DESC
[ 7293, 1133, 703, 867, 12608, 287, 1123, 1438, 286, 262, 11688, 17336, 351, 11688, 1988, 657, 5438, 262, 1255, 351, 257, 2318, 8262, 11, 314, 765, 284, 3359, 262, 1271, 286, 11688, 1438, 287, 31491, 1502, 13, 46506, 11688, 62, 3672, 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...
[ 7293, 1133, 703, 867, 12608, 287, 1123, 1438, 286, 262, 11688, 17336, 351, 11688, 1988, 657, 5438, 262, 1255, 351, 257, 2318, 8262, 11, 314, 765, 284, 3359, 262, 1271, 286, 11688, 1438, 287, 31491, 1502, 13, 46506, 11688, 62, 3672, 11...
Who is the person that has 119.5 m?
SELECT "Name" FROM table_34892 WHERE "1st (m)" = '119.5'
[ 8241, 318, 262, 1048, 326, 468, 15136, 13, 20, 285, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2682, 4531, 17, 33411, 366, 16, 301, 357, 76, 16725, 796, 705, 16315, 13, 20, 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 ]
[ 8241, 318, 262, 1048, 326, 468, 15136, 13, 20, 285, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2682, 4531, 17, 33411, 366, 16, 301, 357, 76, 16725, 796, 705, 16315, 13, 20, 6 ]
List the official name and status of the city with the largest population.
SELECT Official_Name, Status FROM city ORDER BY Population DESC LIMIT 1
[ 8053, 262, 1743, 1438, 290, 3722, 286, 262, 1748, 351, 262, 4387, 3265, 13, 46506, 15934, 62, 5376, 11, 12678, 16034, 1748, 38678, 11050, 20133, 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 ]
[ 8053, 262, 1743, 1438, 290, 3722, 286, 262, 1748, 351, 262, 4387, 3265, 13, 46506, 15934, 62, 5376, 11, 12678, 16034, 1748, 38678, 11050, 20133, 22196, 34, 27564, 2043, 352 ]
What is the number of patients on multivitamins prescription who died in or before the year the year 2164?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2164.0" AND prescriptions.drug = "Multivitamins"
[ 2061, 318, 262, 1271, 286, 3871, 319, 1963, 452, 270, 24937, 15077, 508, 3724, 287, 393, 878, 262, 614, 262, 614, 362, 23237, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 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, 318, 262, 1271, 286, 3871, 319, 1963, 452, 270, 24937, 15077, 508, 3724, 287, 393, 878, 262, 614, 262, 614, 362, 23237, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3...
what is days of hospital stay and admission time of subject name michael witt?
SELECT demographic.days_stay, demographic.admittime FROM demographic WHERE demographic.name = "Michael Witt"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 13938, 640, 286, 2426, 1438, 285, 40302, 266, 715, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 13256, 38005, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 1528, 286, 4436, 2652, 290, 13938, 640, 286, 2426, 1438, 285, 40302, 266, 715, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 324, 20124, 524, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 13256, 38005, 1 ]
how many patients whose age is less than 61 and procedure icd9 code is 8619?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.age < "61" AND procedures.icd9_code = "8619"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 8454, 290, 8771, 14158, 67, 24, 2438, 318, 9849, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2479, 318, 1342, 621, 8454, 290, 8771, 14158, 67, 24, 2438, 318, 9849, 1129, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
patients with a history of hypersensitivity to vitamin c or thiamine
SELECT * FROM table_train_42 WHERE allergy_to_vitamin_c = 1 OR allergy_to_thiamine = 1
[ 8071, 2334, 351, 257, 2106, 286, 45086, 40545, 284, 14411, 269, 393, 294, 1789, 500, 46506, 1635, 16034, 3084, 62, 27432, 62, 3682, 33411, 36197, 62, 1462, 62, 85, 40746, 62, 66, 796, 352, 6375, 36197, 62, 1462, 62, 400, 1789, 500, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2106, 286, 45086, 40545, 284, 14411, 269, 393, 294, 1789, 500, 46506, 1635, 16034, 3084, 62, 27432, 62, 3682, 33411, 36197, 62, 1462, 62, 85, 40746, 62, 66, 796, 352, 6375, 36197, 62, 1462, 62, 400, 1789, 500, ...
Who is every high points for the Pistons team?
SELECT high_points FROM table_23248910_9 WHERE team = "Pistons"
[ 8241, 318, 790, 1029, 2173, 329, 262, 36429, 1074, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1954, 1731, 4531, 940, 62, 24, 33411, 1074, 796, 366, 47, 396, 684, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 790, 1029, 2173, 329, 262, 36429, 1074, 30, 46506, 1029, 62, 13033, 16034, 3084, 62, 1954, 1731, 4531, 940, 62, 24, 33411, 1074, 796, 366, 47, 396, 684, 1 ]
What is the To Par for Player Chris Riley?
SELECT "To par" FROM table_6840 WHERE "Player" = 'chris riley'
[ 2061, 318, 262, 1675, 2547, 329, 7853, 5180, 22637, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 3104, 1821, 33411, 366, 14140, 1, 796, 705, 354, 2442, 374, 9618, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1675, 2547, 329, 7853, 5180, 22637, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 3104, 1821, 33411, 366, 14140, 1, 796, 705, 354, 2442, 374, 9618, 6 ]
Name the date for week 9
SELECT "Date" FROM table_20178 WHERE "Week" = '9'
[ 5376, 262, 3128, 329, 1285, 860, 46506, 366, 10430, 1, 16034, 3084, 62, 1264, 3695, 33411, 366, 20916, 1, 796, 705, 24, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3128, 329, 1285, 860, 46506, 366, 10430, 1, 16034, 3084, 62, 1264, 3695, 33411, 366, 20916, 1, 796, 705, 24, 6 ]
How many 5K wins did Emily Chebet, who had more than 2 total, have?
SELECT COUNT("5K Wins") FROM table_52895 WHERE "Runner" = 'emily chebet' AND "Total" > '2'
[ 2437, 867, 642, 42, 7864, 750, 17608, 2580, 11181, 11, 508, 550, 517, 621, 362, 2472, 11, 423, 30, 46506, 327, 28270, 7203, 20, 42, 24423, 4943, 16034, 3084, 62, 49351, 3865, 33411, 366, 49493, 1, 796, 705, 368, 813, 1125, 11181, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 642, 42, 7864, 750, 17608, 2580, 11181, 11, 508, 550, 517, 621, 362, 2472, 11, 423, 30, 46506, 327, 28270, 7203, 20, 42, 24423, 4943, 16034, 3084, 62, 49351, 3865, 33411, 366, 49493, 1, 796, 705, 368, 813, 1125, 11181, 6,...
how many times did erbedija win best foreign performer between 1994 and 2012 ?
SELECT COUNT(*) FROM table_203_191 WHERE "award" = 'best foreign performer'
[ 4919, 867, 1661, 750, 1931, 3077, 34655, 1592, 1266, 3215, 26960, 1022, 9162, 290, 2321, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 26492, 33411, 366, 707, 446, 1, 796, 705, 13466, 3215, 26960, 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 ]
[ 4919, 867, 1661, 750, 1931, 3077, 34655, 1592, 1266, 3215, 26960, 1022, 9162, 290, 2321, 5633, 46506, 327, 28270, 7, 28104, 16034, 3084, 62, 22416, 62, 26492, 33411, 366, 707, 446, 1, 796, 705, 13466, 3215, 26960, 6 ]
how many patients speak cape language and their addmission location is clinic referral/premature?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "CAPE" AND demographic.admission_location = "CLINIC REFERRAL/PREMATURE"
[ 4919, 867, 3871, 2740, 36023, 3303, 290, 511, 751, 3411, 4067, 318, 15760, 31413, 14, 31605, 1300, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 33177, 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 ]
[ 4919, 867, 3871, 2740, 36023, 3303, 290, 511, 751, 3411, 4067, 318, 15760, 31413, 14, 31605, 1300, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 33177, 3...
what's the district with first elected being 1938
SELECT district FROM table_1342292_2 WHERE first_elected = 1938
[ 10919, 338, 262, 4783, 351, 717, 7018, 852, 28017, 46506, 4783, 16034, 3084, 62, 19880, 1828, 5892, 62, 17, 33411, 717, 62, 28604, 796, 28017 ]
[ 1, 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, 338, 262, 4783, 351, 717, 7018, 852, 28017, 46506, 4783, 16034, 3084, 62, 19880, 1828, 5892, 62, 17, 33411, 717, 62, 28604, 796, 28017 ]
When n is 3, what are all the coaliton parties?
SELECT "Coalition parties" FROM table_2452 WHERE "N\u00ba" = '3'
[ 2215, 299, 318, 513, 11, 644, 389, 477, 262, 5655, 37752, 4671, 30, 46506, 366, 7222, 282, 653, 4671, 1, 16034, 3084, 62, 1731, 4309, 33411, 366, 45, 59, 84, 405, 7012, 1, 796, 705, 18, 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 ]
[ 2215, 299, 318, 513, 11, 644, 389, 477, 262, 5655, 37752, 4671, 30, 46506, 366, 7222, 282, 653, 4671, 1, 16034, 3084, 62, 1731, 4309, 33411, 366, 45, 59, 84, 405, 7012, 1, 796, 705, 18, 6 ]
Are undergraduates able to take 504 ?
SELECT DISTINCT advisory_requirement, enforced_requirement, name FROM course WHERE department = 'EECS' AND number = 504
[ 8491, 43485, 12632, 1498, 284, 1011, 41612, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 41612 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8491, 43485, 12632, 1498, 284, 1011, 41612, 5633, 46506, 360, 8808, 1268, 4177, 20852, 62, 8897, 24615, 11, 20326, 62, 8897, 24615, 11, 1438, 16034, 1781, 33411, 5011, 796, 705, 36, 2943, 50, 6, 5357, 1271, 796, 41612 ]
how many patients whose marital status is married and ethnicity is american indian/alaska native?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE"
[ 4919, 867, 3871, 3025, 29555, 3722, 318, 6405, 290, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 29555, 3722, 318, 6405, 290, 26289, 318, 45630, 272, 773, 666, 14, 282, 8480, 6868, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 3876, 1287, 62, ...
Users with highest percentage of approved edits.
WITH perc_cte AS (SELECT OwnerUserId AS uid, COUNT(Id) AS Total, COUNT(ApprovalDate) AS Approved, COUNT(RejectionDate) AS Rejected, ROUND((COUNT(ApprovalDate)) * 100.0 / (COUNT(Id)), 2) AS PercApproved, ROUND((COUNT(RejectionDate)) * 100.0 / (COUNT(Id)), 2) AS PercRejected FROM SuggestedEdits GROUP BY OwnerUserId) SELE...
[ 14490, 351, 4511, 5873, 286, 6325, 31671, 13, 54, 10554, 583, 66, 62, 310, 68, 7054, 357, 46506, 23853, 12982, 7390, 7054, 334, 312, 11, 327, 28270, 7, 7390, 8, 7054, 7472, 11, 327, 28270, 7, 4677, 305, 2100, 10430, 8, 7054, 20010, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 351, 4511, 5873, 286, 6325, 31671, 13, 54, 10554, 583, 66, 62, 310, 68, 7054, 357, 46506, 23853, 12982, 7390, 7054, 334, 312, 11, 327, 28270, 7, 7390, 8, 7054, 7472, 11, 327, 28270, 7, 4677, 305, 2100, 10430, 8, 7054, 20010, ...
What number draft pick was linebacker Steve Maidlow in the 1983 NFL Draft?
SELECT position FROM table_2508633_4 WHERE player = "Steve Maidlow"
[ 2061, 1271, 4538, 2298, 373, 18961, 6542, 28454, 9319, 287, 262, 13540, 5134, 13650, 30, 46506, 2292, 16034, 3084, 62, 9031, 4521, 2091, 62, 19, 33411, 2137, 796, 366, 19206, 28454, 9319, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1271, 4538, 2298, 373, 18961, 6542, 28454, 9319, 287, 262, 13540, 5134, 13650, 30, 46506, 2292, 16034, 3084, 62, 9031, 4521, 2091, 62, 19, 33411, 2137, 796, 366, 19206, 28454, 9319, 1 ]
What is the highest total for evm votes
SELECT MAX(total_evm_votes) FROM table_24051013_3
[ 2061, 318, 262, 4511, 2472, 329, 819, 76, 5690, 46506, 25882, 7, 23350, 62, 1990, 76, 62, 29307, 8, 16034, 3084, 62, 1731, 2713, 8784, 18, 62, 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 ]
[ 2061, 318, 262, 4511, 2472, 329, 819, 76, 5690, 46506, 25882, 7, 23350, 62, 1990, 76, 62, 29307, 8, 16034, 3084, 62, 1731, 2713, 8784, 18, 62, 18 ]
What team won the regular season when georgia state won the tournament?
SELECT regular_season_winner FROM table_24348134_3 WHERE tournament_winner = "Georgia State"
[ 2061, 1074, 1839, 262, 3218, 1622, 618, 4903, 2398, 544, 1181, 1839, 262, 7756, 30, 46506, 3218, 62, 6230, 62, 39791, 16034, 3084, 62, 1731, 28978, 19880, 62, 18, 33411, 7756, 62, 39791, 796, 366, 41072, 1812, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 1839, 262, 3218, 1622, 618, 4903, 2398, 544, 1181, 1839, 262, 7756, 30, 46506, 3218, 62, 6230, 62, 39791, 16034, 3084, 62, 1731, 28978, 19880, 62, 18, 33411, 7756, 62, 39791, 796, 366, 41072, 1812, 1 ]
Which government is number 6?
SELECT "Government" FROM table_31571 WHERE "Number" = '6'
[ 13828, 1230, 318, 1271, 718, 30, 46506, 366, 28848, 1, 16034, 3084, 62, 27936, 4869, 33411, 366, 15057, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1230, 318, 1271, 718, 30, 46506, 366, 28848, 1, 16034, 3084, 62, 27936, 4869, 33411, 366, 15057, 1, 796, 705, 21, 6 ]
Users by number of a specific badge.
SELECT RANK() OVER (ORDER BY COUNT(*) DESC) AS "Rank", UserId AS "user_link", COUNT(*) AS "Number of badges", MIN(Date) AS "First award", MAX(Date) AS "Last award" FROM Badges WHERE Name = '##BadgeName:string##' GROUP BY UserId ORDER BY COUNT(*) DESC, MAX(Date) DESC LIMIT 1000
[ 14490, 416, 1271, 286, 257, 2176, 23009, 13, 46506, 371, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 366, 27520, 1600, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 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...
[ 14490, 416, 1271, 286, 257, 2176, 23009, 13, 46506, 371, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, 7, 28104, 22196, 34, 8, 7054, 366, 27520, 1600, 11787, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, ...
What is the set 5 of the match with a set 2 of 26-24 and a set 1 of 27-25?
SELECT "Set 5" FROM table_41984 WHERE "Set 2" = '26-24' AND "Set 1" = '27-25'
[ 2061, 318, 262, 900, 642, 286, 262, 2872, 351, 257, 900, 362, 286, 2608, 12, 1731, 290, 257, 900, 352, 286, 2681, 12, 1495, 30, 46506, 366, 7248, 642, 1, 16034, 3084, 62, 19, 28296, 33411, 366, 7248, 362, 1, 796, 705, 2075, 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 ]
[ 2061, 318, 262, 900, 642, 286, 262, 2872, 351, 257, 900, 362, 286, 2608, 12, 1731, 290, 257, 900, 352, 286, 2681, 12, 1495, 30, 46506, 366, 7248, 642, 1, 16034, 3084, 62, 19, 28296, 33411, 366, 7248, 362, 1, 796, 705, 2075, 12, ...
What lbum was in the year 1996?
SELECT álbum FROM table_name_65 WHERE year = 1996
[ 2061, 300, 4435, 373, 287, 262, 614, 8235, 30, 46506, 6184, 94, 75, 4435, 16034, 3084, 62, 3672, 62, 2996, 33411, 614, 796, 8235 ]
[ 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, 300, 4435, 373, 287, 262, 614, 8235, 30, 46506, 6184, 94, 75, 4435, 16034, 3084, 62, 3672, 62, 2996, 33411, 614, 796, 8235 ]
is the level of arterial bp [systolic] in patient 9566 last measured on the current icu visit less than the value first measured on the current icu visit?
SELECT (SELECT chartevents.valuenum FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 9566) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_it...
[ 271, 262, 1241, 286, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 287, 5827, 6957, 2791, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 1241, 286, 30675, 498, 275, 79, 685, 1837, 301, 4160, 60, 287, 5827, 6957, 2791, 938, 8630, 319, 262, 1459, 14158, 84, 3187, 1342, 621, 262, 1988, 717, 8630, 319, 262, 1459, 14158, 84, 3187, 30, 46506, 357, 46506, 8262, 31...
What was the attendance when the VFL played MCG?
SELECT COUNT(crowd) FROM table_name_70 WHERE venue = "mcg"
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 13122, 38, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2154, 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 ]
[ 2061, 373, 262, 14858, 618, 262, 569, 3697, 2826, 13122, 38, 30, 46506, 327, 28270, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 14359, 796, 366, 23209, 70, 1 ]
Who had the fastest lap when Al Unser won?
SELECT fastest_lap FROM table_name_40 WHERE winning_driver = "al unser"
[ 8241, 550, 262, 14162, 14779, 618, 978, 791, 2655, 1839, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 3672, 62, 1821, 33411, 5442, 62, 26230, 796, 366, 282, 555, 2655, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 14162, 14779, 618, 978, 791, 2655, 1839, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 3672, 62, 1821, 33411, 5442, 62, 26230, 796, 366, 282, 555, 2655, 1 ]
Thank-you comment by OP without upvote.
SELECT p.CreationDate, p.Id AS "post_link", c.Text FROM Posts AS p INNER JOIN Comments AS c ON c.PostId = p.Id INNER JOIN Posts AS q ON c.UserId = q.OwnerUserId AND p.ParentId = q.Id WHERE c.Text LIKE '%Thank%' AND p.Score = 0 ORDER BY CreationDate DESC
[ 10449, 12, 5832, 2912, 416, 13349, 1231, 510, 27257, 13, 46506, 279, 13, 12443, 341, 10430, 11, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 8206, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 19502, 7054, 269, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10449, 12, 5832, 2912, 416, 13349, 1231, 510, 27257, 13, 46506, 279, 13, 12443, 341, 10430, 11, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 8206, 16034, 12043, 7054, 279, 3268, 21479, 32357, 1268, 19502, 7054, 269, 6177, ...
List names of all pilot in descending order of age.
SELECT name FROM pilot ORDER BY age DESC
[ 8053, 3891, 286, 477, 8022, 287, 31491, 1502, 286, 2479, 13, 46506, 1438, 16034, 8022, 38678, 11050, 2479, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 3891, 286, 477, 8022, 287, 31491, 1502, 286, 2479, 13, 46506, 1438, 16034, 8022, 38678, 11050, 2479, 22196, 34 ]
active chemotherapy
SELECT * FROM table_train_212 WHERE chemotherapy = 1
[ 5275, 34696, 46506, 1635, 16034, 3084, 62, 27432, 62, 21777, 33411, 34696, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5275, 34696, 46506, 1635, 16034, 3084, 62, 27432, 62, 21777, 33411, 34696, 796, 352 ]
What is the ERP W for the frequency of 91.3MHz?
SELECT "ERP W" FROM table_70198 WHERE "Frequency MHz" = '91.3'
[ 2061, 318, 262, 13793, 47, 370, 329, 262, 8373, 286, 10495, 13, 18, 25983, 30, 46506, 366, 1137, 47, 370, 1, 16034, 3084, 62, 41583, 4089, 33411, 366, 37, 28707, 19805, 1, 796, 705, 6420, 13, 18, 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, 13793, 47, 370, 329, 262, 8373, 286, 10495, 13, 18, 25983, 30, 46506, 366, 1137, 47, 370, 1, 16034, 3084, 62, 41583, 4089, 33411, 366, 37, 28707, 19805, 1, 796, 705, 6420, 13, 18, 6 ]
What theme had an issue price of $489.95 after 2005?
SELECT "Theme" FROM table_58376 WHERE "Issue Price" = '$489.95' AND "Year" > '2005'
[ 2061, 7505, 550, 281, 2071, 2756, 286, 720, 35890, 13, 3865, 706, 5075, 30, 46506, 366, 47863, 1, 16034, 3084, 62, 3365, 32128, 33411, 366, 45147, 7886, 1, 796, 705, 3, 35890, 13, 3865, 6, 5357, 366, 17688, 1, 1875, 705, 14315, 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, 7505, 550, 281, 2071, 2756, 286, 720, 35890, 13, 3865, 706, 5075, 30, 46506, 366, 47863, 1, 16034, 3084, 62, 3365, 32128, 33411, 366, 45147, 7886, 1, 796, 705, 3, 35890, 13, 3865, 6, 5357, 366, 17688, 1, 1875, 705, 14315, 6 ]
do i get a meal on the ATLANTA to BWI flight EA 210
SELECT DISTINCT food_service.compartment, food_service.meal_code, food_service.meal_number FROM airport, airport_service, city, flight, food_service WHERE ((airport.airport_code = 'BWI' AND flight.flight_number = 210 AND flight.to_airport = airport.airport_code) AND city.city_code = airport_service.city_code AND city.c...
[ 4598, 1312, 651, 257, 9799, 319, 262, 5161, 25697, 5603, 284, 347, 36326, 5474, 19814, 20064, 46506, 360, 8808, 1268, 4177, 2057, 62, 15271, 13, 5589, 1823, 11, 2057, 62, 15271, 13, 28208, 62, 8189, 11, 2057, 62, 15271, 13, 28208, 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...
[ 4598, 1312, 651, 257, 9799, 319, 262, 5161, 25697, 5603, 284, 347, 36326, 5474, 19814, 20064, 46506, 360, 8808, 1268, 4177, 2057, 62, 15271, 13, 5589, 1823, 11, 2057, 62, 15271, 13, 28208, 62, 8189, 11, 2057, 62, 15271, 13, 28208, 62,...
What country is the player, with an undisclosed transfer fee and moving to Nacional, from?
SELECT "Country" FROM table_55287 WHERE "Transfer fee" = 'undisclosed' AND "Moving to" = 'nacional'
[ 2061, 1499, 318, 262, 2137, 11, 351, 281, 33457, 4351, 6838, 290, 3867, 284, 399, 330, 1538, 11, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2816, 27800, 33411, 366, 43260, 6838, 1, 796, 705, 917, 271, 20225, 6, 5357, 366, 33622...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1499, 318, 262, 2137, 11, 351, 281, 33457, 4351, 6838, 290, 3867, 284, 399, 330, 1538, 11, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 2816, 27800, 33411, 366, 43260, 6838, 1, 796, 705, 917, 271, 20225, 6, 5357, 366, 33622...
provide the number of patients whose gender is f and days of hospital stay is greater than 16?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.days_stay > "16"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1467, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 1528, 286, 4436, 2652, 318, 3744, 621, 1467, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, ...
Are there any morning CHEM 521 classes ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'CHEM' AND course.number = 521 AND semester.semester = 'WN' AND semester.semester_id = course_off...
[ 8491, 612, 597, 3329, 5870, 3620, 642, 2481, 6097, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 405, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8491, 612, 597, 3329, 5870, 3620, 642, 2481, 6097, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 405, 6...
what year is 4:00 long
SELECT COUNT(year) FROM table_name_16 WHERE length = "4:00"
[ 10919, 614, 318, 604, 25, 405, 890, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 4129, 796, 366, 19, 25, 405, 1 ]
[ 1, 1, 1, 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, 614, 318, 604, 25, 405, 890, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1433, 33411, 4129, 796, 366, 19, 25, 405, 1 ]
For those records from the products and each product's manufacturer, give me the comparison about the average of manufacturer over the headquarter , and group by attribute headquarter, and could you list in ascending by the X?
SELECT Headquarter, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 11554, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 714, 345, 1351, 287, 41988, 416, 262, 1395, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1577, 502, 262, 7208, 546, 262, 2811, 286, 11554, 625, 262, 1182, 24385, 837, 290, 1448, 416, 11688, 1182, 24385, 11, 290, 714, 345, 1351, 287, 41988, 416, 262, 1395, ...
Which Variant id has the GenBank id of nm_005411.4?
SELECT variant_id FROM table_name_40 WHERE genbank_id = "nm_005411.4"
[ 13828, 38215, 4686, 468, 262, 5215, 28650, 4686, 286, 28642, 62, 405, 4051, 1157, 13, 19, 30, 46506, 15304, 62, 312, 16034, 3084, 62, 3672, 62, 1821, 33411, 2429, 17796, 62, 312, 796, 366, 21533, 62, 405, 4051, 1157, 13, 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, 1 ]
[ 13828, 38215, 4686, 468, 262, 5215, 28650, 4686, 286, 28642, 62, 405, 4051, 1157, 13, 19, 30, 46506, 15304, 62, 312, 16034, 3084, 62, 3672, 62, 1821, 33411, 2429, 17796, 62, 312, 796, 366, 21533, 62, 405, 4051, 1157, 13, 19, 1 ]
What is the Version of the CD release?
SELECT version FROM table_name_99 WHERE format = "cd"
[ 2061, 318, 262, 10628, 286, 262, 6458, 2650, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 2079, 33411, 5794, 796, 366, 10210, 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, 10628, 286, 262, 6458, 2650, 30, 46506, 2196, 16034, 3084, 62, 3672, 62, 2079, 33411, 5794, 796, 366, 10210, 1 ]
Name the total location for dynamic events winner
SELECT COUNT("Location") FROM table_22960 WHERE "Class 1-200" = 'Dynamic Events Winner'
[ 5376, 262, 2472, 4067, 329, 8925, 2995, 8464, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 23539, 1899, 33411, 366, 9487, 352, 12, 2167, 1, 796, 705, 44090, 18715, 25358, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 4067, 329, 8925, 2995, 8464, 46506, 327, 28270, 7203, 14749, 4943, 16034, 3084, 62, 23539, 1899, 33411, 366, 9487, 352, 12, 2167, 1, 796, 705, 44090, 18715, 25358, 6 ]
Who can achieve the most reputation with just one question in his lifetime in SO?. Who can achieve the most reputation with just one question in his lifetime in SO?
SELECT Users.Id AS "user_link", Users.Reputation AS UserReputation, Posts.Score AS PostScore FROM Users INNER JOIN Posts ON Posts.OwnerUserId = Users.Id WHERE Posts.PostTypeId = 1 AND (SELECT COUNT(Posts.Id) FROM Posts WHERE OwnerUserId = Users.Id) = 1 AND Users.Reputation > 10000 ORDER BY UserReputation DESC
[ 8241, 460, 4620, 262, 749, 8507, 351, 655, 530, 1808, 287, 465, 10869, 287, 12809, 30, 13, 5338, 460, 4620, 262, 749, 8507, 351, 655, 530, 1808, 287, 465, 10869, 287, 12809, 30, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 160...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 460, 4620, 262, 749, 8507, 351, 655, 530, 1808, 287, 465, 10869, 287, 12809, 30, 13, 5338, 460, 4620, 262, 749, 8507, 351, 655, 530, 1808, 287, 465, 10869, 287, 12809, 30, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 160...
Name the directed by for production code for 3t7509
SELECT directed_by FROM table_19396259_1 WHERE production_code = "3T7509"
[ 5376, 262, 7924, 416, 329, 3227, 2438, 329, 513, 83, 15426, 24, 46506, 7924, 62, 1525, 16034, 3084, 62, 1129, 34107, 25191, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 15426, 24, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7924, 416, 329, 3227, 2438, 329, 513, 83, 15426, 24, 46506, 7924, 62, 1525, 16034, 3084, 62, 1129, 34107, 25191, 62, 16, 33411, 3227, 62, 8189, 796, 366, 18, 51, 15426, 24, 1 ]
which songwriters are credited with the least songs ?
SELECT "songwriters" FROM table_203_228 GROUP BY "songwriters" HAVING COUNT("title") = (SELECT COUNT("title") FROM table_203_228 GROUP BY "songwriters" ORDER BY COUNT("title") LIMIT 1)
[ 4758, 3496, 34422, 389, 18141, 351, 262, 1551, 7259, 5633, 46506, 366, 34050, 34422, 1, 16034, 3084, 62, 22416, 62, 23815, 44441, 11050, 366, 34050, 34422, 1, 367, 10116, 2751, 327, 28270, 7203, 7839, 4943, 796, 357, 46506, 327, 28270, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4758, 3496, 34422, 389, 18141, 351, 262, 1551, 7259, 5633, 46506, 366, 34050, 34422, 1, 16034, 3084, 62, 22416, 62, 23815, 44441, 11050, 366, 34050, 34422, 1, 367, 10116, 2751, 327, 28270, 7203, 7839, 4943, 796, 357, 46506, 327, 28270, ...
What player is from Scotland and has a score of 74-70=144?
SELECT "Player" FROM table_62493 WHERE "Score" = '74-70=144' AND "Country" = 'scotland'
[ 2061, 2137, 318, 422, 8838, 290, 468, 257, 4776, 286, 8915, 12, 2154, 28, 18444, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 21, 1731, 6052, 33411, 366, 26595, 1, 796, 705, 4524, 12, 2154, 28, 18444, 6, 5357, 366, 33921, 1, 796, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2137, 318, 422, 8838, 290, 468, 257, 4776, 286, 8915, 12, 2154, 28, 18444, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 21, 1731, 6052, 33411, 366, 26595, 1, 796, 705, 4524, 12, 2154, 28, 18444, 6, 5357, 366, 33921, 1, 796, 70...
Which printer issued sheets on October 5, 2006?
SELECT printer FROM table_name_79 WHERE date_of_issue = "october 5, 2006"
[ 13828, 20632, 4884, 15747, 319, 3267, 642, 11, 4793, 30, 46506, 20632, 16034, 3084, 62, 3672, 62, 3720, 33411, 3128, 62, 1659, 62, 21949, 796, 366, 38441, 2023, 642, 11, 4793, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 20632, 4884, 15747, 319, 3267, 642, 11, 4793, 30, 46506, 20632, 16034, 3084, 62, 3672, 62, 3720, 33411, 3128, 62, 1659, 62, 21949, 796, 366, 38441, 2023, 642, 11, 4793, 1 ]
Which Info has an Album of romeo?
SELECT "Info" FROM table_38812 WHERE "Album" = 'romeo'
[ 13828, 14151, 468, 281, 23999, 286, 374, 462, 78, 30, 46506, 366, 12360, 1, 16034, 3084, 62, 30460, 1065, 33411, 366, 2348, 4435, 1, 796, 705, 5998, 78, 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 ]
[ 13828, 14151, 468, 281, 23999, 286, 374, 462, 78, 30, 46506, 366, 12360, 1, 16034, 3084, 62, 30460, 1065, 33411, 366, 2348, 4435, 1, 796, 705, 5998, 78, 6 ]
What home has 122-28 as the score?
SELECT home FROM table_name_96 WHERE score = "122-28"
[ 2061, 1363, 468, 19409, 12, 2078, 355, 262, 4776, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 4846, 33411, 4776, 796, 366, 18376, 12, 2078, 1 ]
[ 1, 1, 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, 1363, 468, 19409, 12, 2078, 355, 262, 4776, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 4846, 33411, 4776, 796, 366, 18376, 12, 2078, 1 ]
Record of 20 4 involved what highest game?
SELECT MAX(game) FROM table_name_44 WHERE record = "20–4"
[ 23739, 286, 1160, 604, 2950, 644, 4511, 983, 30, 46506, 25882, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1700, 796, 366, 1238, 1906, 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 ]
[ 23739, 286, 1160, 604, 2950, 644, 4511, 983, 30, 46506, 25882, 7, 6057, 8, 16034, 3084, 62, 3672, 62, 2598, 33411, 1700, 796, 366, 1238, 1906, 19, 1 ]
In what stadium did a game result in a final scoreline reading 27-34?
SELECT stadium FROM table_name_30 WHERE final_score = "27-34"
[ 818, 644, 10308, 750, 257, 983, 1255, 287, 257, 2457, 4776, 1370, 3555, 2681, 12, 2682, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 1270, 33411, 2457, 62, 26675, 796, 366, 1983, 12, 2682, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 10308, 750, 257, 983, 1255, 287, 257, 2457, 4776, 1370, 3555, 2681, 12, 2682, 30, 46506, 10308, 16034, 3084, 62, 3672, 62, 1270, 33411, 2457, 62, 26675, 796, 366, 1983, 12, 2682, 1 ]
which airline has the most arrivals in ATLANTA
SELECT DISTINCT COUNT(*), flight.airline_code FROM airport_service, city, flight WHERE city.city_code = airport_service.city_code AND city.city_name = 'ATLANTA' AND flight.to_airport = airport_service.airport_code GROUP BY flight.airline_code
[ 4758, 18091, 468, 262, 749, 34462, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 327, 28270, 46491, 828, 5474, 13, 958, 1370, 62, 8189, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18091, 468, 262, 749, 34462, 287, 41051, 8643, 11159, 16779, 360, 8808, 1268, 4177, 327, 28270, 46491, 828, 5474, 13, 958, 1370, 62, 8189, 16034, 9003, 62, 15271, 11, 1748, 11, 5474, 33411, 1748, 13, 19205, 62, 8189, 796, 9003, ...
Visualize a bar chart about the distribution of meter_200 and the average of ID , and group by attribute meter_200, display from low to high by the X-axis.
SELECT meter_200, AVG(ID) FROM swimmer GROUP BY meter_200 ORDER BY meter_200
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2811, 286, 4522, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 3359, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 13, 46506, 16430, 62, 2167, 11, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 546, 262, 6082, 286, 16430, 62, 2167, 290, 262, 2811, 286, 4522, 837, 290, 1448, 416, 11688, 16430, 62, 2167, 11, 3359, 422, 1877, 284, 1029, 416, 262, 1395, 12, 22704, 13, 46506, 16430, 62, 2167, 11, 3...
what is the number of patients whose primary disease is morbid obesity/sda and year of death is less than or equal to 2148?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND demographic.dod_year <= "2148.0"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 1603...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 4165, 4369, 318, 34813, 13825, 14, 82, 6814, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18294, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 1603...
what is the title of the episode where b b is 20/16
SELECT "Title (French) / (English)" FROM table_23006 WHERE "B B = Corresponds to TF1s broadcast schedule." = '20/16'
[ 10919, 318, 262, 3670, 286, 262, 4471, 810, 275, 275, 318, 1160, 14, 1433, 46506, 366, 19160, 357, 24111, 8, 1220, 357, 15823, 16725, 16034, 3084, 62, 1954, 28041, 33411, 366, 33, 347, 796, 34428, 82, 284, 24958, 16, 82, 7025, 7269, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3670, 286, 262, 4471, 810, 275, 275, 318, 1160, 14, 1433, 46506, 366, 19160, 357, 24111, 8, 1220, 357, 15823, 16725, 16034, 3084, 62, 1954, 28041, 33411, 366, 33, 347, 796, 34428, 82, 284, 24958, 16, 82, 7025, 7269, ...
favero finished in 1:57.08 . what was the next time ?
SELECT "time" FROM table_204_834 WHERE id = (SELECT id FROM table_204_834 WHERE "time" = '1:57.08') + 1
[ 69, 8770, 78, 5201, 287, 352, 25, 3553, 13, 2919, 764, 644, 373, 262, 1306, 640, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 23, 2682, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 23, 2682, 33411, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 69, 8770, 78, 5201, 287, 352, 25, 3553, 13, 2919, 764, 644, 373, 262, 1306, 640, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 23, 2682, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 23, 2682, 33411, 366, ...
What is the location of the tournament that the share of winning is 7000?
SELECT "Tournament location" FROM table_469 WHERE "Winners share ($)" = '7000'
[ 2061, 318, 262, 4067, 286, 262, 7756, 326, 262, 2648, 286, 5442, 318, 50205, 30, 46506, 366, 51, 5138, 4067, 1, 16034, 3084, 62, 42947, 33411, 366, 16643, 2741, 2648, 7198, 16725, 796, 705, 22, 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 ]
[ 2061, 318, 262, 4067, 286, 262, 7756, 326, 262, 2648, 286, 5442, 318, 50205, 30, 46506, 366, 51, 5138, 4067, 1, 16034, 3084, 62, 42947, 33411, 366, 16643, 2741, 2648, 7198, 16725, 796, 705, 22, 830, 6 ]
how many stations have at least 5 kw or more listed in the power column ?
SELECT COUNT("branding") FROM table_204_164 WHERE "power (kw)" >= 5
[ 4919, 867, 8985, 423, 379, 1551, 642, 479, 86, 393, 517, 5610, 287, 262, 1176, 5721, 5633, 46506, 327, 28270, 7203, 17938, 278, 4943, 16034, 3084, 62, 18638, 62, 23237, 33411, 366, 6477, 357, 46265, 16725, 18189, 642 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8985, 423, 379, 1551, 642, 479, 86, 393, 517, 5610, 287, 262, 1176, 5721, 5633, 46506, 327, 28270, 7203, 17938, 278, 4943, 16034, 3084, 62, 18638, 62, 23237, 33411, 366, 6477, 357, 46265, 16725, 18189, 642 ]
A bar chart for what are the number of the descriptions of the categories that products with product descriptions that contain the letter t are in?, and display by the y-axis from high to low.
SELECT product_category_description, COUNT(product_category_description) FROM Ref_Product_Categories AS T1 JOIN Products AS T2 ON T1.product_category_code = T2.product_category_code WHERE T2.product_description LIKE '%t%' GROUP BY product_category_description ORDER BY COUNT(product_category_description) DESC
[ 32, 2318, 8262, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 9376, 326, 3186, 351, 1720, 16969, 326, 3994, 262, 3850, 256, 389, 287, 21747, 290, 3359, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 1720, 62, 2287...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 9376, 326, 3186, 351, 1720, 16969, 326, 3994, 262, 3850, 256, 389, 287, 21747, 290, 3359, 416, 262, 331, 12, 22704, 422, 1029, 284, 1877, 13, 46506, 1720, 62, 2287...
What is the grid associated with a Time/Retired of + 1 lap, and under 7 points?
SELECT MIN("Grid") FROM table_67754 WHERE "Time/Retired" = '+ 1 lap' AND "Points" < '7'
[ 2061, 318, 262, 10706, 3917, 351, 257, 3862, 14, 9781, 1202, 286, 1343, 352, 14779, 11, 290, 739, 767, 2173, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 3134, 41874, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 10706, 3917, 351, 257, 3862, 14, 9781, 1202, 286, 1343, 352, 14779, 11, 290, 739, 767, 2173, 30, 46506, 20625, 7203, 41339, 4943, 16034, 3084, 62, 3134, 41874, 33411, 366, 7575, 14, 9781, 1202, 1, 796, 705, 10, 352, ...
What is the total weeks with more 56,134 attendees against the minnesota vikings?
SELECT SUM("Week") FROM table_64302 WHERE "Attendance" > '56,134' AND "Opponent" = 'minnesota vikings'
[ 2061, 318, 262, 2472, 2745, 351, 517, 7265, 11, 19880, 21736, 1028, 262, 949, 8360, 410, 1134, 654, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 2414, 22709, 33411, 366, 8086, 437, 590, 1, 1875, 705, 3980, 11, 19880, 6, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 2745, 351, 517, 7265, 11, 19880, 21736, 1028, 262, 949, 8360, 410, 1134, 654, 30, 46506, 35683, 7203, 20916, 4943, 16034, 3084, 62, 2414, 22709, 33411, 366, 8086, 437, 590, 1, 1875, 705, 3980, 11, 19880, 6, 5357,...
Select * from Users where Location = 'india'.
SELECT * FROM Users WHERE Location = 'india'
[ 17563, 1635, 422, 18987, 810, 13397, 796, 705, 521, 544, 4458, 46506, 1635, 16034, 18987, 33411, 13397, 796, 705, 521, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 17563, 1635, 422, 18987, 810, 13397, 796, 705, 521, 544, 4458, 46506, 1635, 16034, 18987, 33411, 13397, 796, 705, 521, 544, 6 ]
Which driver had points over 252 in the season of 2012 with a percentage of possible points at 55.60%?
SELECT driver FROM table_name_40 WHERE points > 252 AND season = "2012" AND percentage_of_possible_points = "55.60%"
[ 13828, 4639, 550, 2173, 625, 25264, 287, 262, 1622, 286, 2321, 351, 257, 5873, 286, 1744, 2173, 379, 5996, 13, 1899, 4, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 1821, 33411, 2173, 1875, 25264, 5357, 1622, 796, 366, 6999, 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 ]
[ 13828, 4639, 550, 2173, 625, 25264, 287, 262, 1622, 286, 2321, 351, 257, 5873, 286, 1744, 2173, 379, 5996, 13, 1899, 4, 30, 46506, 4639, 16034, 3084, 62, 3672, 62, 1821, 33411, 2173, 1875, 25264, 5357, 1622, 796, 366, 6999, 1, 5357, ...
What was the manner of departure for notts county with an incoming manager of martin allen
SELECT manner_of_departure FROM table_26914759_3 WHERE team = "Notts County" AND incoming_manager = "Martin Allen"
[ 2061, 373, 262, 5642, 286, 12928, 329, 407, 912, 7968, 351, 281, 15619, 4706, 286, 11277, 259, 477, 268, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 26276, 1415, 38314, 62, 18, 33411, 1074, 796, 366, 3673, 912, 3418, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5642, 286, 12928, 329, 407, 912, 7968, 351, 281, 15619, 4706, 286, 11277, 259, 477, 268, 46506, 5642, 62, 1659, 62, 10378, 433, 495, 16034, 3084, 62, 26276, 1415, 38314, 62, 18, 33411, 1074, 796, 366, 3673, 912, 3418, ...
Plot the average of age by grouped by class as a bar graph
SELECT Class, AVG(age) FROM captain GROUP BY Class
[ 43328, 262, 2811, 286, 2479, 416, 32824, 416, 1398, 355, 257, 2318, 4823, 46506, 5016, 11, 35224, 7, 496, 8, 16034, 10654, 44441, 11050, 5016 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43328, 262, 2811, 286, 2479, 416, 32824, 416, 1398, 355, 257, 2318, 4823, 46506, 5016, 11, 35224, 7, 496, 8, 16034, 10654, 44441, 11050, 5016 ]
What was the final score (result) for the game where 51,100 attended?
SELECT "Result" FROM table_15781 WHERE "Attendance" = '51,100'
[ 2061, 373, 262, 2457, 4776, 357, 20274, 8, 329, 262, 983, 810, 6885, 11, 3064, 9141, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1314, 49703, 33411, 366, 8086, 437, 590, 1, 796, 705, 4349, 11, 3064, 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, 373, 262, 2457, 4776, 357, 20274, 8, 329, 262, 983, 810, 6885, 11, 3064, 9141, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 1314, 49703, 33411, 366, 8086, 437, 590, 1, 796, 705, 4349, 11, 3064, 6 ]
When were the Avenging Angels founded?
SELECT MAX("Founded") FROM table_27723 WHERE "Nickname" = 'Avenging Angels'
[ 2215, 547, 262, 15053, 2667, 17654, 9393, 30, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 27019, 1954, 33411, 366, 23609, 3672, 1, 796, 705, 32, 574, 2667, 17654, 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 ]
[ 2215, 547, 262, 15053, 2667, 17654, 9393, 30, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 27019, 1954, 33411, 366, 23609, 3672, 1, 796, 705, 32, 574, 2667, 17654, 6 ]
is the heartrate of patient 011-23193 last measured on the first icu visit less than the value second to last measured on the first icu visit?
SELECT (SELECT vitalperiodic.heartrate FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-23193') AND NOT patient.unitdischargetime IS ...
[ 271, 262, 2612, 4873, 286, 5827, 5534, 16, 12, 1954, 24943, 938, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 262, 1988, 1218, 284, 938, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 271, 262, 2612, 4873, 286, 5827, 5534, 16, 12, 1954, 24943, 938, 8630, 319, 262, 717, 14158, 84, 3187, 1342, 621, 262, 1988, 1218, 284, 938, 8630, 319, 262, 717, 14158, 84, 3187, 30, 46506, 357, 46506, 9204, 41007, 291, 13, 11499, 4...
Who has 187kg and a Snatch of Clean & Jerk?
SELECT "187kg" FROM table_65876 WHERE "Snatch" = 'clean & jerk'
[ 8241, 468, 27649, 10025, 290, 257, 5489, 963, 286, 5985, 1222, 4230, 74, 30, 46506, 366, 23451, 10025, 1, 16034, 3084, 62, 38431, 4304, 33411, 366, 16501, 963, 1, 796, 705, 27773, 1222, 29757, 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 ]
[ 8241, 468, 27649, 10025, 290, 257, 5489, 963, 286, 5985, 1222, 4230, 74, 30, 46506, 366, 23451, 10025, 1, 16034, 3084, 62, 38431, 4304, 33411, 366, 16501, 963, 1, 796, 705, 27773, 1222, 29757, 6 ]
how much is the cost of a procedure called proximal gastrectomy?
SELECT DISTINCT cost.cost FROM cost WHERE cost.event_type = 'procedures_icd' AND cost.event_id IN (SELECT procedures_icd.row_id FROM procedures_icd WHERE procedures_icd.icd9_code = (SELECT d_icd_procedures.icd9_code FROM d_icd_procedures WHERE d_icd_procedures.short_title = 'proximal gastrectomy'))
[ 4919, 881, 318, 262, 1575, 286, 257, 8771, 1444, 14793, 4402, 21956, 2554, 9145, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 1676, 771, 942, 62, 291, 67, 6, 5357, 1575, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 881, 318, 262, 1575, 286, 257, 8771, 1444, 14793, 4402, 21956, 2554, 9145, 30, 46506, 360, 8808, 1268, 4177, 1575, 13, 15805, 16034, 1575, 33411, 1575, 13, 15596, 62, 4906, 796, 705, 1676, 771, 942, 62, 291, 67, 6, 5357, 1575, ...
What was the player's team's opponent for Week 12?
SELECT "Opponent" FROM table_24022 WHERE "Week" = '12'
[ 2061, 373, 262, 2137, 338, 1074, 338, 6125, 329, 6119, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 16102, 1828, 33411, 366, 20916, 1, 796, 705, 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 ]
[ 2061, 373, 262, 2137, 338, 1074, 338, 6125, 329, 6119, 1105, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 16102, 1828, 33411, 366, 20916, 1, 796, 705, 1065, 6 ]
What is the lowest ERP W of the 67829 Facility ID?
SELECT MIN("ERP W") FROM table_33299 WHERE "Facility ID" = '67829'
[ 2061, 318, 262, 9016, 13793, 47, 370, 286, 262, 718, 3695, 1959, 29118, 4522, 30, 46506, 20625, 7203, 1137, 47, 370, 4943, 16034, 3084, 62, 2091, 22579, 33411, 366, 47522, 879, 4522, 1, 796, 705, 30924, 1959, 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, 9016, 13793, 47, 370, 286, 262, 718, 3695, 1959, 29118, 4522, 30, 46506, 20625, 7203, 1137, 47, 370, 4943, 16034, 3084, 62, 2091, 22579, 33411, 366, 47522, 879, 4522, 1, 796, 705, 30924, 1959, 6 ]
Show the number of document types.
SELECT COUNT(*) FROM Ref_document_types
[ 15307, 262, 1271, 286, 3188, 3858, 13, 46506, 327, 28270, 7, 28104, 16034, 6524, 62, 22897, 62, 19199 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 1271, 286, 3188, 3858, 13, 46506, 327, 28270, 7, 28104, 16034, 6524, 62, 22897, 62, 19199 ]
What year was the developer(s) Bioware?
SELECT AVG("Year") FROM table_64172 WHERE "Developer(s)" = 'bioware'
[ 2061, 614, 373, 262, 8517, 7, 82, 8, 8436, 322, 533, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 2414, 23628, 33411, 366, 45351, 7, 82, 16725, 796, 705, 8482, 322, 533, 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, 614, 373, 262, 8517, 7, 82, 8, 8436, 322, 533, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 2414, 23628, 33411, 366, 45351, 7, 82, 16725, 796, 705, 8482, 322, 533, 6 ]
Who was the visiting team when Winnipeg was the home team?
SELECT visitor FROM table_name_33 WHERE home = "winnipeg"
[ 8241, 373, 262, 10013, 1074, 618, 23434, 373, 262, 1363, 1074, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 2091, 33411, 1363, 796, 366, 86, 3732, 21700, 1 ]
[ 1, 1, 1, 1, 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, 10013, 1074, 618, 23434, 373, 262, 1363, 1074, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 2091, 33411, 1363, 796, 366, 86, 3732, 21700, 1 ]
Name the total number of goals which have played more than 44
SELECT COUNT(goals_for) FROM table_name_13 WHERE played > 44
[ 5376, 262, 2472, 1271, 286, 4661, 543, 423, 2826, 517, 621, 5846, 46506, 327, 28270, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 2826, 1875, 5846 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2472, 1271, 286, 4661, 543, 423, 2826, 517, 621, 5846, 46506, 327, 28270, 7, 2188, 874, 62, 1640, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 2826, 1875, 5846 ]
What venue has Scotland as the opposing teams?
SELECT venue FROM table_name_95 WHERE opposing_teams = "scotland"
[ 2061, 14359, 468, 8838, 355, 262, 12330, 3466, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3865, 33411, 12330, 62, 660, 4105, 796, 366, 1416, 313, 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 ]
[ 2061, 14359, 468, 8838, 355, 262, 12330, 3466, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 3865, 33411, 12330, 62, 660, 4105, 796, 366, 1416, 313, 1044, 1 ]
What is the location of the tiruchirappalli district?
SELECT location FROM table_name_73 WHERE district = "tiruchirappalli district"
[ 2061, 318, 262, 4067, 286, 262, 48965, 794, 343, 1324, 36546, 4783, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4790, 33411, 4783, 796, 366, 83, 343, 794, 343, 1324, 36546, 4783, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4067, 286, 262, 48965, 794, 343, 1324, 36546, 4783, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4790, 33411, 4783, 796, 366, 83, 343, 794, 343, 1324, 36546, 4783, 1 ]
provide the number of patients whose admission type is urgent and lab test name is albumin, pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "URGENT" AND lab.label = "Albumin, Pleural"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 2248, 1332, 1438, 318, 5062, 259, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 13938, 2099, 318, 18039, 290, 2248, 1332, 1438, 318, 5062, 259, 11, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
Finding code blocks for particular language.
SELECT p.Id AS "post_link", q.ParentId FROM Posts AS p JOIN Posts AS q ON p.Id = q.ParentId JOIN PostTags AS pt ON pt.PostId = p.Id JOIN Tags AS t ON t.Id = pt.TagId WHERE t.TagName = 'javascript' LIMIT 100
[ 36276, 2438, 7021, 329, 1948, 3303, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 24546, 7390, 16034, 12043, 7054, 279, 32357, 1268, 12043, 7054, 10662, 6177, 279, 13, 7390, 796, 10662, 13, 24546, 7390, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 36276, 2438, 7021, 329, 1948, 3303, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 10662, 13, 24546, 7390, 16034, 12043, 7054, 279, 32357, 1268, 12043, 7054, 10662, 6177, 279, 13, 7390, 796, 10662, 13, 24546, 7390, 32357, 12...
has patient 035-3162 had any prescription for any medicines since 2103?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-3162')) AND STRFTIME('%y', medication.drugstarttime) >= '2103'
[ 10134, 5827, 657, 2327, 12, 18, 25061, 550, 597, 15077, 329, 597, 23533, 1201, 362, 15197, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 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...
[ 10134, 5827, 657, 2327, 12, 18, 25061, 550, 597, 15077, 329, 597, 23533, 1201, 362, 15197, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, 3...
When in 2009 season has a Group of group b, and cancha del mystic with a Club of el tecal?
SELECT 2009 AS _season FROM table_name_17 WHERE group = "group b" AND stadium = "cancha del mystic" AND club = "el tecal"
[ 2215, 287, 3717, 1622, 468, 257, 4912, 286, 1448, 275, 11, 290, 460, 11693, 1619, 37311, 351, 257, 6289, 286, 1288, 573, 9948, 30, 46506, 3717, 7054, 4808, 6230, 16034, 3084, 62, 3672, 62, 1558, 33411, 1448, 796, 366, 8094, 275, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 287, 3717, 1622, 468, 257, 4912, 286, 1448, 275, 11, 290, 460, 11693, 1619, 37311, 351, 257, 6289, 286, 1288, 573, 9948, 30, 46506, 3717, 7054, 4808, 6230, 16034, 3084, 62, 3672, 62, 1558, 33411, 1448, 796, 366, 8094, 275, 1, ...
Show me about the distribution of All_Home and Team_ID , and group by attribute ACC_Home in a bar chart, and order total number in ascending order.
SELECT All_Home, Team_ID FROM basketball_match GROUP BY ACC_Home, All_Home ORDER BY Team_ID
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 287, 257, 2318, 8262, 11, 290, 1502, 2472, 1271, 287, 41988, 1502, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 6082, 286, 1439, 62, 16060, 290, 4816, 62, 2389, 837, 290, 1448, 416, 11688, 15859, 62, 16060, 287, 257, 2318, 8262, 11, 290, 1502, 2472, 1271, 287, 41988, 1502, 13, 46506, 1439, 62, 16060, 11, 4816, 62, 2389, ...
did the first microbiological examination of patient 17462's urine in their last hospital visit find any organism?
SELECT COUNT(*) > 0 FROM microbiologyevents WHERE microbiologyevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 17462 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1) AND microbiologyevents.spec_type_desc = 'urine' AND NOT microbiologyevents.org_n...
[ 20839, 262, 717, 24559, 2770, 12452, 286, 5827, 1596, 39997, 338, 18922, 287, 511, 938, 4436, 3187, 1064, 597, 26433, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 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...
[ 20839, 262, 717, 24559, 2770, 12452, 286, 5827, 1596, 39997, 338, 18922, 287, 511, 938, 4436, 3187, 1064, 597, 26433, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 24559, 1435, 31534, 33411, 24559, 1435, 31534, 13, 18108, 76, 62, 3...
If I want to declare a major in GREEKMOD , what classes do I need to take ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE course.department LIKE '%GREEKMOD%' AND program_course.category LIKE 'PreMajor' AND program_course.course_id = course.course_id
[ 1532, 314, 765, 284, 13627, 257, 1688, 287, 402, 11587, 42, 33365, 837, 644, 6097, 466, 314, 761, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1532, 314, 765, 284, 13627, 257, 1688, 287, 402, 11587, 42, 33365, 837, 644, 6097, 466, 314, 761, 284, 1011, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, ...
In which reports does Michael Andretti have the pole position and Galles-Kraco Racing is the winning team?
SELECT "Report" FROM table_16284 WHERE "Pole position" = 'Michael Andretti' AND "Winning team" = 'Galles-Kraco Racing'
[ 818, 543, 3136, 857, 3899, 10948, 35671, 423, 262, 16825, 2292, 290, 7096, 274, 12, 42, 81, 10602, 14954, 318, 262, 5442, 1074, 30, 46506, 366, 19100, 1, 16034, 3084, 62, 1433, 30336, 33411, 366, 47, 2305, 2292, 1, 796, 705, 13256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 3136, 857, 3899, 10948, 35671, 423, 262, 16825, 2292, 290, 7096, 274, 12, 42, 81, 10602, 14954, 318, 262, 5442, 1074, 30, 46506, 366, 19100, 1, 16034, 3084, 62, 1433, 30336, 33411, 366, 47, 2305, 2292, 1, 796, 705, 13256, ...
LHC 399 is taught by Stephen Lusmann ?
SELECT COUNT(*) > 0 FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.department = 'LHC' AND course.number = 399 AND instructor.name LIKE '%Stephen Lusmann%' AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor...
[ 43, 16045, 43927, 318, 7817, 416, 7970, 406, 385, 9038, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 43, 16045, 43927, 318, 7817, 416, 7970, 406, 385, 9038, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259, 7249, 273, 33411, 1781, 13, 17319, 62, 312, 796, 1781, 62, 23...
In 1972, how many points did the entrant with the March 721G Chassis have?
SELECT points FROM table_name_74 WHERE year > 1972 AND chassis = "march 721g"
[ 818, 16101, 11, 703, 867, 2173, 750, 262, 920, 5250, 351, 262, 2805, 767, 2481, 38, 609, 20297, 423, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 4524, 33411, 614, 1875, 16101, 5357, 24587, 796, 366, 76, 998, 767, 2481, 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, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 16101, 11, 703, 867, 2173, 750, 262, 920, 5250, 351, 262, 2805, 767, 2481, 38, 609, 20297, 423, 30, 46506, 2173, 16034, 3084, 62, 3672, 62, 4524, 33411, 614, 1875, 16101, 5357, 24587, 796, 366, 76, 998, 767, 2481, 70, 1 ]
which person set at least 2 world records ?
SELECT "athlete" FROM table_203_102 GROUP BY "athlete" HAVING COUNT(*) >= 2
[ 4758, 1048, 900, 379, 1551, 362, 995, 4406, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 15377, 44441, 11050, 366, 776, 5807, 1, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 1048, 900, 379, 1551, 362, 995, 4406, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 15377, 44441, 11050, 366, 776, 5807, 1, 367, 10116, 2751, 327, 28270, 7, 28104, 18189, 362 ]
when was the first time that since 164 months ago patient 95909 was prescribed a medication via pr?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 95909) AND prescriptions.route = 'pr' AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-164 month') ORDER BY prescriptions.startdate LIMIT 1
[ 12518, 373, 262, 717, 640, 326, 1201, 25307, 1933, 2084, 5827, 860, 3270, 2931, 373, 14798, 257, 14103, 2884, 778, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 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...
[ 12518, 373, 262, 717, 640, 326, 1201, 25307, 1933, 2084, 5827, 860, 3270, 2931, 373, 14798, 257, 14103, 2884, 778, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108,...
Which opponent has a date 21 jul 2007?
SELECT opponent FROM table_name_3 WHERE date = "21 jul 2007"
[ 13828, 6125, 468, 257, 3128, 2310, 474, 377, 4343, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 18, 33411, 3128, 796, 366, 2481, 474, 377, 4343, 1 ]
[ 1, 1, 1, 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, 6125, 468, 257, 3128, 2310, 474, 377, 4343, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 18, 33411, 3128, 796, 366, 2481, 474, 377, 4343, 1 ]
When was Production Number 9105 released?
SELECT "Release date" FROM table_66621 WHERE "Production Num." = '9105'
[ 2215, 373, 19174, 7913, 860, 13348, 2716, 30, 46506, 366, 26362, 3128, 1, 16034, 3084, 62, 27310, 2481, 33411, 366, 35027, 31835, 526, 796, 705, 24, 13348, 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 ]
[ 2215, 373, 19174, 7913, 860, 13348, 2716, 30, 46506, 366, 26362, 3128, 1, 16034, 3084, 62, 27310, 2481, 33411, 366, 35027, 31835, 526, 796, 705, 24, 13348, 6 ]
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and the average of manufacturer , and group by attribute name, could you show by the Y in descending?
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Manufacturer DESC
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 416, 262, 575, 287, 31491, 30, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 416, 262, 575, 287, 31491, 30, 465...
since 10/2105 has patient 015-58787 been prescribed percocet.
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-58787')) AND medication.drugname = 'percocet' AND STRFTIME('%y-%m', me...
[ 20777, 838, 14, 17, 13348, 468, 5827, 5534, 20, 12, 3365, 41019, 587, 14798, 583, 66, 420, 316, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20777, 838, 14, 17, 13348, 468, 5827, 5534, 20, 12, 3365, 41019, 587, 14798, 583, 66, 420, 316, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 2...
What are all Tamil months when the season in English is monsoon?
SELECT "Tamil Months" FROM table_21668 WHERE "Season in English" = 'Monsoon'
[ 2061, 389, 477, 32519, 1933, 618, 262, 1622, 287, 3594, 318, 937, 36194, 30, 46506, 366, 42061, 346, 37461, 1, 16034, 3084, 62, 20666, 3104, 33411, 366, 18960, 287, 3594, 1, 796, 705, 9069, 36194, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 32519, 1933, 618, 262, 1622, 287, 3594, 318, 937, 36194, 30, 46506, 366, 42061, 346, 37461, 1, 16034, 3084, 62, 20666, 3104, 33411, 366, 18960, 287, 3594, 1, 796, 705, 9069, 36194, 6 ]
Find the Unikitties!(For The Bridge). Made to annoy nobody!
SELECT Users.Id AS "user_link", Reputation, Views AS "profile_views" FROM Users WHERE NOT AccountId IS NULL AND Users.DisplayName LIKE 'Uni%' ORDER BY DisplayName DESC LIMIT 1000
[ 16742, 262, 791, 1134, 715, 444, 0, 7, 1890, 383, 10290, 737, 14446, 284, 10072, 8168, 0, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 29978, 7054, 366, 13317, 62, 33571, 1, 16034, 18987, 33411, 5626, 10781...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 791, 1134, 715, 444, 0, 7, 1890, 383, 10290, 737, 14446, 284, 10072, 8168, 0, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 1432, 7094, 11, 29978, 7054, 366, 13317, 62, 33571, 1, 16034, 18987, 33411, 5626, 10781...
Which team, with champion Bastian Kolmsee, used a Dallara f302 for the chassis?
SELECT "Team" FROM table_51570 WHERE "Chassis" = 'dallara f302' AND "Champion" = 'bastian kolmsee'
[ 13828, 1074, 11, 351, 8783, 17520, 666, 25910, 76, 3826, 11, 973, 257, 360, 439, 3301, 277, 22709, 329, 262, 24587, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 45969, 2154, 33411, 366, 1925, 20297, 1, 796, 705, 67, 439, 3301, 277, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1074, 11, 351, 8783, 17520, 666, 25910, 76, 3826, 11, 973, 257, 360, 439, 3301, 277, 22709, 329, 262, 24587, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 45969, 2154, 33411, 366, 1925, 20297, 1, 796, 705, 67, 439, 3301, 277, 22...
What is the sum number of years where the wheel arrangement of 0-4-0t?
SELECT COUNT(year_made) FROM table_name_18 WHERE wheel_arrangement = "0-4-0t"
[ 2061, 318, 262, 2160, 1271, 286, 812, 810, 262, 7825, 13888, 286, 657, 12, 19, 12, 15, 83, 30, 46506, 327, 28270, 7, 1941, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 7825, 62, 3258, 648, 972, 796, 366, 15, 12, 19, 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 ]
[ 2061, 318, 262, 2160, 1271, 286, 812, 810, 262, 7825, 13888, 286, 657, 12, 19, 12, 15, 83, 30, 46506, 327, 28270, 7, 1941, 62, 9727, 8, 16034, 3084, 62, 3672, 62, 1507, 33411, 7825, 62, 3258, 648, 972, 796, 366, 15, 12, 19, 12, ...