instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the total crowd count for the venue Princes Park?
SELECT SUM("Crowd") FROM table_56472 WHERE "Venue" = 'princes park'
[ 2061, 318, 262, 2472, 4315, 954, 329, 262, 14359, 7489, 728, 3250, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 20, 2414, 4761, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 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, 318, 262, 2472, 4315, 954, 329, 262, 14359, 7489, 728, 3250, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 20, 2414, 4761, 33411, 366, 37522, 518, 1, 796, 705, 1050, 17386, 3952, 6 ]
What is the location and total attendance for games played against New Orleans?
SELECT location_attendance FROM table_15872814_5 WHERE team = "New Orleans"
[ 2061, 318, 262, 4067, 290, 2472, 14858, 329, 1830, 2826, 1028, 968, 12255, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1314, 5774, 2078, 1415, 62, 20, 33411, 1074, 796, 366, 3791, 12255, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 2472, 14858, 329, 1830, 2826, 1028, 968, 12255, 30, 46506, 4067, 62, 1078, 437, 590, 16034, 3084, 62, 1314, 5774, 2078, 1415, 62, 20, 33411, 1074, 796, 366, 3791, 12255, 1 ]
On which dates played Home Captain Courtney Walsh at the Queen's Park Oval?
SELECT "Date" FROM table_15477 WHERE "Home captain" = 'courtney walsh' AND "Venue" = 'queen''s park oval'
[ 2202, 543, 9667, 2826, 5995, 8599, 36677, 24104, 379, 262, 7542, 338, 3250, 25165, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 32883, 33411, 366, 16060, 10654, 1, 796, 705, 22230, 1681, 266, 22114, 6, 5357, 366, 37522, 518, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 543, 9667, 2826, 5995, 8599, 36677, 24104, 379, 262, 7542, 338, 3250, 25165, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 32883, 33411, 366, 16060, 10654, 1, 796, 705, 22230, 1681, 266, 22114, 6, 5357, 366, 37522, 518, 1, 79...
what is the number of patients whose age is less than 83 and lab test name is cd3 cells, percent?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "83" AND lab.label = "CD3 Cells, Percent"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9698, 290, 2248, 1332, 1438, 318, 22927, 18, 4778, 11, 1411, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 9698, 290, 2248, 1332, 1438, 318, 22927, 18, 4778, 11, 1411, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357,...
Which Score has a Loss of buehrle (7-2)?
SELECT score FROM table_name_91 WHERE loss = "buehrle (7-2)"
[ 13828, 15178, 468, 257, 22014, 286, 275, 518, 11840, 293, 357, 22, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 6420, 33411, 2994, 796, 366, 65, 518, 11840, 293, 357, 22, 12, 17, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 15178, 468, 257, 22014, 286, 275, 518, 11840, 293, 357, 22, 12, 17, 19427, 46506, 4776, 16034, 3084, 62, 3672, 62, 6420, 33411, 2994, 796, 366, 65, 518, 11840, 293, 357, 22, 12, 17, 16725 ]
Let me know the number of patients with guillain barre syndrome who died in or before 2111.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.dod_year <= "2111.0"
[ 5756, 502, 760, 262, 1271, 286, 3871, 351, 915, 359, 391, 2318, 260, 14027, 508, 3724, 287, 393, 878, 362, 16243, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 5756, 502, 760, 262, 1271, 286, 3871, 351, 915, 359, 391, 2318, 260, 14027, 508, 3724, 287, 393, 878, 362, 16243, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 5...
give the number of male patients who had the procedure for insertion of non-drug-eluting coronaryartery stent(s).
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.long_title = "Insertion of non-drug-eluting coronary artery stent(s)"
[ 26535, 262, 1271, 286, 4257, 3871, 508, 550, 262, 8771, 329, 36075, 286, 1729, 12, 30349, 12, 417, 15129, 37151, 2571, 88, 336, 298, 7, 82, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 26535, 262, 1271, 286, 4257, 3871, 508, 550, 262, 8771, 329, 36075, 286, 1729, 12, 30349, 12, 417, 15129, 37151, 2571, 88, 336, 298, 7, 82, 737, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728,...
Name the host when first premiere is august 3, 2007
SELECT "Host" FROM table_20449 WHERE "First Premiere" = 'August 3, 2007'
[ 5376, 262, 2583, 618, 717, 19245, 318, 16339, 436, 513, 11, 4343, 46506, 366, 17932, 1, 16034, 3084, 62, 1238, 31911, 33411, 366, 5962, 44151, 1, 796, 705, 17908, 513, 11, 4343, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2583, 618, 717, 19245, 318, 16339, 436, 513, 11, 4343, 46506, 366, 17932, 1, 16034, 3084, 62, 1238, 31911, 33411, 366, 5962, 44151, 1, 796, 705, 17908, 513, 11, 4343, 6 ]
How many Gold medals did the Soviet Union receive?
SELECT AVG(gold) FROM table_name_98 WHERE nation = "soviet union"
[ 2437, 867, 3561, 28057, 750, 262, 7570, 4479, 3328, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 3277, 796, 366, 47272, 1155, 6441, 1 ]
[ 1, 1, 1, 1, 1, 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, 3561, 28057, 750, 262, 7570, 4479, 3328, 30, 46506, 35224, 7, 24267, 8, 16034, 3084, 62, 3672, 62, 4089, 33411, 3277, 796, 366, 47272, 1155, 6441, 1 ]
how many elements have data that is below the 25th ?
SELECT COUNT("name") FROM table_204_39 WHERE "number" > 25
[ 4919, 867, 4847, 423, 1366, 326, 318, 2174, 262, 1679, 400, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 2670, 33411, 366, 17618, 1, 1875, 1679 ]
[ 1, 1, 1, 1, 1, 1, 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, 4847, 423, 1366, 326, 318, 2174, 262, 1679, 400, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 2670, 33411, 366, 17618, 1, 1875, 1679 ]
What is the lowest heat that had a time of 1:02.85 in a lane larger than 7?
SELECT MIN(heat) FROM table_name_40 WHERE time = "1:02.85" AND lane > 7
[ 2061, 318, 262, 9016, 4894, 326, 550, 257, 640, 286, 352, 25, 2999, 13, 5332, 287, 257, 11193, 4025, 621, 767, 30, 46506, 20625, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 640, 796, 366, 16, 25, 2999, 13, 5332, 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 ]
[ 2061, 318, 262, 9016, 4894, 326, 550, 257, 640, 286, 352, 25, 2999, 13, 5332, 287, 257, 11193, 4025, 621, 767, 30, 46506, 20625, 7, 25080, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 640, 796, 366, 16, 25, 2999, 13, 5332, 1, 5357, ...
What is the l2 cache for the model with a release price of $669?
SELECT "L2 cache" FROM table_20780 WHERE "Release price ( USD )" = '$669'
[ 2061, 318, 262, 300, 17, 12940, 329, 262, 2746, 351, 257, 2650, 2756, 286, 720, 36657, 30, 46506, 366, 43, 17, 12940, 1, 16034, 3084, 62, 22745, 1795, 33411, 366, 26362, 2756, 357, 11403, 1267, 1, 796, 705, 3, 36657, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 300, 17, 12940, 329, 262, 2746, 351, 257, 2650, 2756, 286, 720, 36657, 30, 46506, 366, 43, 17, 12940, 1, 16034, 3084, 62, 22745, 1795, 33411, 366, 26362, 2756, 357, 11403, 1267, 1, 796, 705, 3, 36657, 6 ]
how long is the song look through my eyes by everlife ?
SELECT "length" FROM table_204_573 WHERE "title" = '"look through my eyes"'
[ 4919, 890, 318, 262, 3496, 804, 832, 616, 2951, 416, 1683, 6042, 5633, 46506, 366, 13664, 1, 16034, 3084, 62, 18638, 62, 48638, 33411, 366, 7839, 1, 796, 705, 1, 5460, 832, 616, 2951, 30543 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 890, 318, 262, 3496, 804, 832, 616, 2951, 416, 1683, 6042, 5633, 46506, 366, 13664, 1, 16034, 3084, 62, 18638, 62, 48638, 33411, 366, 7839, 1, 796, 705, 1, 5460, 832, 616, 2951, 30543 ]
What is the value in 2008 for the US Open?
SELECT "2008" FROM table_15062 WHERE "Tournament" = 'us open'
[ 2061, 318, 262, 1988, 287, 3648, 329, 262, 1294, 4946, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 8628, 5237, 33411, 366, 51, 5138, 1, 796, 705, 385, 1280, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1988, 287, 3648, 329, 262, 1294, 4946, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 8628, 5237, 33411, 366, 51, 5138, 1, 796, 705, 385, 1280, 6 ]
What is the sum of the bronze medals when there were more than 2 silver medals and a rank larger than 6?
SELECT SUM("Bronze") FROM table_77032 WHERE "Silver" > '2' AND "Rank" > '6'
[ 2061, 318, 262, 2160, 286, 262, 22101, 28057, 618, 612, 547, 517, 621, 362, 8465, 28057, 290, 257, 4279, 4025, 621, 718, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 41820, 2624, 33411, 366, 26766, 1, 1875, 705, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2160, 286, 262, 22101, 28057, 618, 612, 547, 517, 621, 362, 8465, 28057, 290, 257, 4279, 4025, 621, 718, 30, 46506, 35683, 7203, 18760, 2736, 4943, 16034, 3084, 62, 41820, 2624, 33411, 366, 26766, 1, 1875, 705, 17, 6, ...
What was Gongbo's title?
SELECT title FROM table_name_37 WHERE name = "gongbo"
[ 2061, 373, 47142, 2127, 338, 3670, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2718, 33411, 1438, 796, 366, 70, 506, 2127, 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, 47142, 2127, 338, 3670, 30, 46506, 3670, 16034, 3084, 62, 3672, 62, 2718, 33411, 1438, 796, 366, 70, 506, 2127, 1 ]
What was the lowest year that the engine Ilmor 2175a 3.5 v10 was used?
SELECT MIN("Year") FROM table_80208 WHERE "Engine" = 'ilmor 2175a 3.5 v10'
[ 2061, 373, 262, 9016, 614, 326, 262, 3113, 13778, 4491, 362, 17430, 64, 513, 13, 20, 410, 940, 373, 973, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1795, 21315, 33411, 366, 13798, 1, 796, 705, 346, 4491, 362, 17430, 64, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 9016, 614, 326, 262, 3113, 13778, 4491, 362, 17430, 64, 513, 13, 20, 410, 940, 373, 973, 30, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 1795, 21315, 33411, 366, 13798, 1, 796, 705, 346, 4491, 362, 17430, 64, 5...
What is the sum of the heights in meters for the commerzbank tower built after 1984?
SELECT SUM(height__m_) FROM table_name_70 WHERE year_built > 1984 AND name = "commerzbank tower"
[ 2061, 318, 262, 2160, 286, 262, 23245, 287, 10700, 329, 262, 4412, 14969, 962, 10580, 3170, 706, 12844, 30, 46506, 35683, 7, 17015, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 614, 62, 18780, 1875, 12844, 5357, 1438, 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 ]
[ 2061, 318, 262, 2160, 286, 262, 23245, 287, 10700, 329, 262, 4412, 14969, 962, 10580, 3170, 706, 12844, 30, 46506, 35683, 7, 17015, 834, 76, 62, 8, 16034, 3084, 62, 3672, 62, 2154, 33411, 614, 62, 18780, 1875, 12844, 5357, 1438, 796, ...
How many positions does Greg Bryant play?
SELECT COUNT("Position") FROM table_17077 WHERE "Player" = 'Greg Bryant'
[ 2437, 867, 6116, 857, 8547, 16754, 711, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 1558, 2998, 22, 33411, 366, 14140, 1, 796, 705, 25025, 16754, 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 ]
[ 2437, 867, 6116, 857, 8547, 16754, 711, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 1558, 2998, 22, 33411, 366, 14140, 1, 796, 705, 25025, 16754, 6 ]
What is the lowest run 3 an athlete with a run 2 less than 53.72 and a run 1 of 53.1 has?
SELECT MIN("Run 3") FROM table_37051 WHERE "Run 2" < '53.72' AND "Run 1" = '53.1'
[ 2061, 318, 262, 9016, 1057, 513, 281, 16076, 351, 257, 1057, 362, 1342, 621, 7192, 13, 4761, 290, 257, 1057, 352, 286, 7192, 13, 16, 468, 30, 46506, 20625, 7203, 10987, 513, 4943, 16034, 3084, 62, 20167, 4349, 33411, 366, 10987, 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, 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, 1057, 513, 281, 16076, 351, 257, 1057, 362, 1342, 621, 7192, 13, 4761, 290, 257, 1057, 352, 286, 7192, 13, 16, 468, 30, 46506, 20625, 7203, 10987, 513, 4943, 16034, 3084, 62, 20167, 4349, 33411, 366, 10987, 362, ...
What Local/Networked has a Show Name of nightline?
SELECT "Local/Networked" FROM table_78994 WHERE "Show Name" = 'nightline'
[ 2061, 10714, 14, 26245, 276, 468, 257, 5438, 6530, 286, 1755, 1370, 30, 46506, 366, 14565, 14, 26245, 276, 1, 16034, 3084, 62, 3695, 42691, 33411, 366, 15307, 6530, 1, 796, 705, 3847, 1370, 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 ]
[ 2061, 10714, 14, 26245, 276, 468, 257, 5438, 6530, 286, 1755, 1370, 30, 46506, 366, 14565, 14, 26245, 276, 1, 16034, 3084, 62, 3695, 42691, 33411, 366, 15307, 6530, 1, 796, 705, 3847, 1370, 6 ]
What are the driving wheels of the model built in 1883?
SELECT driving_wheels FROM table_name_51 WHERE date_built = "1883"
[ 2061, 389, 262, 5059, 13666, 286, 262, 2746, 3170, 287, 1248, 5999, 30, 46506, 5059, 62, 12491, 1424, 16034, 3084, 62, 3672, 62, 4349, 33411, 3128, 62, 18780, 796, 366, 1507, 5999, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5059, 13666, 286, 262, 2746, 3170, 287, 1248, 5999, 30, 46506, 5059, 62, 12491, 1424, 16034, 3084, 62, 3672, 62, 4349, 33411, 3128, 62, 18780, 796, 366, 1507, 5999, 1 ]
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of code , and group by attribute name, could you show by the Name in ascending please?
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 416, 262, 6530, 287, 41988, 3387, 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...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 1438, 11, 714, 345, 905, 416, 262, 6530, 287, 41988, 3387, 30...
For CS , what upper electives courses are available ?
SELECT DISTINCT course.department, course.name, course.number FROM course, program_course WHERE program_course.category LIKE '%ULCS%' AND program_course.course_id = course.course_id
[ 1890, 9429, 837, 644, 6727, 1742, 1083, 10902, 389, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9429, 837, 644, 6727, 1742, 1083, 10902, 389, 1695, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1430, 62, 17319, 33411, 1430, 62, 17319, 13, 22872, 34178, ...
Which round was a player from the Long Island Lizards drafted in first?
SELECT MAX("Round") FROM table_70600 WHERE "Team" = 'long island lizards'
[ 13828, 2835, 373, 257, 2137, 422, 262, 5882, 5451, 406, 14124, 15937, 287, 717, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 2154, 8054, 33411, 366, 15592, 1, 796, 705, 6511, 7022, 300, 14124, 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 ]
[ 13828, 2835, 373, 257, 2137, 422, 262, 5882, 5451, 406, 14124, 15937, 287, 717, 30, 46506, 25882, 7203, 22685, 4943, 16034, 3084, 62, 2154, 8054, 33411, 366, 15592, 1, 796, 705, 6511, 7022, 300, 14124, 6 ]
Who was Choong Tan Fook's opponent in 1999?
SELECT opponent FROM table_name_42 WHERE year = 1999 AND partner = "choong tan fook"
[ 8241, 373, 10031, 506, 11818, 376, 566, 338, 6125, 287, 7358, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3682, 33411, 614, 796, 7358, 5357, 5212, 796, 366, 6679, 506, 25706, 277, 566, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10031, 506, 11818, 376, 566, 338, 6125, 287, 7358, 30, 46506, 6125, 16034, 3084, 62, 3672, 62, 3682, 33411, 614, 796, 7358, 5357, 5212, 796, 366, 6679, 506, 25706, 277, 566, 1 ]
All Answerers for a Given Tag with a Minimum Reputation of .... The Stats of a Tag only gives the Top-20 answerers. This query can list more of them and give other info as well.
SELECT Users.Id AS "user_link", DisplayName, MAX(Age) AS Age, MAX(Location) AS Location, MAX(WebsiteUrl) AS Website, MAX(Reputation) AS Rep, COUNT(Answers.Id) AS Answers, SUM(Answers.Score) AS Score, CAST(AVG(CAST(Answers.Score AS FLOAT)) AS FLOAT(6, 1)) AS "avg" FROM Tags JOIN PostTags ON PostTags.TagId = Tags.Id JOIN...
[ 3237, 1052, 2032, 19288, 329, 257, 11259, 17467, 351, 257, 26265, 1432, 7094, 286, 19424, 383, 20595, 286, 257, 17467, 691, 3607, 262, 5849, 12, 1238, 2590, 19288, 13, 770, 12405, 460, 1351, 517, 286, 606, 290, 1577, 584, 7508, 355, 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...
[ 3237, 1052, 2032, 19288, 329, 257, 11259, 17467, 351, 257, 26265, 1432, 7094, 286, 19424, 383, 20595, 286, 257, 17467, 691, 3607, 262, 5849, 12, 1238, 2590, 19288, 13, 770, 12405, 460, 1351, 517, 286, 606, 290, 1577, 584, 7508, 355, 8...
Which Team has a Winner of craig lowndes, and a Circuit of phillip island grand prix circuit?
SELECT "Team" FROM table_35338 WHERE "Winner" = 'craig lowndes' AND "Circuit" = 'phillip island grand prix circuit'
[ 13828, 4816, 468, 257, 25358, 286, 15671, 328, 1877, 358, 274, 11, 290, 257, 13588, 286, 872, 359, 541, 7022, 4490, 1293, 87, 10349, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 2327, 28460, 33411, 366, 48056, 1, 796, 705, 66, 430, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4816, 468, 257, 25358, 286, 15671, 328, 1877, 358, 274, 11, 290, 257, 13588, 286, 872, 359, 541, 7022, 4490, 1293, 87, 10349, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 2327, 28460, 33411, 366, 48056, 1, 796, 705, 66, 430, 32...
What is Zimbabwe's total with a to par higher than 5?
SELECT AVG("Total") FROM table_79047 WHERE "Country" = 'zimbabwe' AND "To par" > '5'
[ 2061, 318, 28589, 338, 2472, 351, 257, 284, 1582, 2440, 621, 642, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 37750, 2857, 33411, 366, 33921, 1, 796, 705, 89, 27175, 6, 5357, 366, 2514, 1582, 1, 1875, 705, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 28589, 338, 2472, 351, 257, 284, 1582, 2440, 621, 642, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 37750, 2857, 33411, 366, 33921, 1, 796, 705, 89, 27175, 6, 5357, 366, 2514, 1582, 1, 1875, 705, 20, 6 ]
What were the years active where Asian Cup played as a captain is Iran 1976?
SELECT "Years Active" FROM table_3728 WHERE "Asian Cup Played As A Captain" = 'Iran 1976'
[ 2061, 547, 262, 812, 4075, 810, 7740, 5454, 2826, 355, 257, 10654, 318, 4068, 15408, 30, 46506, 366, 40630, 14199, 1, 16034, 3084, 62, 2718, 2078, 33411, 366, 43224, 5454, 33101, 1081, 317, 8599, 1, 796, 705, 23798, 15408, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 812, 4075, 810, 7740, 5454, 2826, 355, 257, 10654, 318, 4068, 15408, 30, 46506, 366, 40630, 14199, 1, 16034, 3084, 62, 2718, 2078, 33411, 366, 43224, 5454, 33101, 1081, 317, 8599, 1, 796, 705, 23798, 15408, 6 ]
What is every name origin with the name Ovda Fluctus?
SELECT name AS origin FROM table_16799784_12 WHERE name = "Ovda Fluctus"
[ 2061, 318, 790, 1438, 8159, 351, 262, 1438, 46941, 6814, 1610, 4782, 385, 30, 46506, 1438, 7054, 8159, 16034, 3084, 62, 21940, 2079, 37688, 62, 1065, 33411, 1438, 796, 366, 46, 85, 6814, 1610, 4782, 385, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 8159, 351, 262, 1438, 46941, 6814, 1610, 4782, 385, 30, 46506, 1438, 7054, 8159, 16034, 3084, 62, 21940, 2079, 37688, 62, 1065, 33411, 1438, 796, 366, 46, 85, 6814, 1610, 4782, 385, 1 ]
For an airline of Wizz Air and fewer than 83 destinations, what is the highest passenger fleet?
SELECT MAX("Passenger Fleet") FROM table_54136 WHERE "Airline/Holding" = 'wizz air' AND "Current Destinations" < '83'
[ 1890, 281, 18091, 286, 370, 6457, 3701, 290, 7380, 621, 9698, 23982, 11, 644, 318, 262, 4511, 11849, 11026, 30, 46506, 25882, 7203, 14478, 6540, 20001, 4943, 16034, 3084, 62, 4051, 20809, 33411, 366, 16170, 1370, 14, 26807, 278, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 281, 18091, 286, 370, 6457, 3701, 290, 7380, 621, 9698, 23982, 11, 644, 318, 262, 4511, 11849, 11026, 30, 46506, 25882, 7203, 14478, 6540, 20001, 4943, 16034, 3084, 62, 4051, 20809, 33411, 366, 16170, 1370, 14, 26807, 278, 1, 796,...
What is the height of the player that weighs 240?
SELECT height FROM table_name_56 WHERE weight = 240
[ 2061, 318, 262, 6001, 286, 262, 2137, 326, 24034, 14956, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 3980, 33411, 3463, 796, 14956 ]
[ 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, 6001, 286, 262, 2137, 326, 24034, 14956, 30, 46506, 6001, 16034, 3084, 62, 3672, 62, 3980, 33411, 3463, 796, 14956 ]
What is the lowest attendance when footscray is the away team?
SELECT MIN(crowd) FROM table_name_61 WHERE away_team = "footscray"
[ 2061, 318, 262, 9016, 14858, 618, 2366, 1416, 2433, 318, 262, 1497, 1074, 30, 46506, 20625, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 1497, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14858, 618, 2366, 1416, 2433, 318, 262, 1497, 1074, 30, 46506, 20625, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 1497, 62, 15097, 796, 366, 5898, 1416, 2433, 1 ]
count the number of times patient 002-34744 had a drain 1 output ml output today.
SELECT COUNT(*) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-34744')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutput.ce...
[ 9127, 262, 1271, 286, 1661, 5827, 3571, 17, 12, 30995, 2598, 550, 257, 14782, 352, 5072, 25962, 5072, 1909, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 1661, 5827, 3571, 17, 12, 30995, 2598, 550, 257, 14782, 352, 5072, 25962, 5072, 1909, 13, 46506, 327, 28270, 7, 28104, 16034, 10337, 22915, 33411, 10337, 22915, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, ...
Name Nationality is on 6 july 1942?
SELECT "Nationality" FROM table_13188 WHERE "Date" = '6 july 1942'
[ 5376, 2351, 414, 318, 319, 718, 474, 2062, 22458, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1485, 20356, 33411, 366, 10430, 1, 796, 705, 21, 474, 2062, 22458, 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, 2351, 414, 318, 319, 718, 474, 2062, 22458, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 1485, 20356, 33411, 366, 10430, 1, 796, 705, 21, 474, 2062, 22458, 6 ]
What score resulted in a winner after 2008?
SELECT "Score" FROM table_68597 WHERE "Outcome" = 'winner' AND "Year" > '2008'
[ 2061, 4776, 8724, 287, 257, 8464, 706, 3648, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3104, 43239, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 17688, 1, 1875, 705, 11528, 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 ]
[ 2061, 4776, 8724, 287, 257, 8464, 706, 3648, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3104, 43239, 33411, 366, 7975, 2958, 1, 796, 705, 39791, 6, 5357, 366, 17688, 1, 1875, 705, 11528, 6 ]
what is days of hospital stay of subject id 3343?
SELECT demographic.days_stay FROM demographic WHERE demographic.subject_id = "3343"
[ 10919, 318, 1528, 286, 4436, 2652, 286, 2426, 4686, 513, 32118, 30, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2091, 3559, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 286, 2426, 4686, 513, 32118, 30, 46506, 16728, 13, 12545, 62, 31712, 16034, 16728, 33411, 16728, 13, 32796, 62, 312, 796, 366, 2091, 3559, 1 ]
Which Result has a Score of 69-81?
SELECT result FROM table_name_25 WHERE score = "69-81"
[ 13828, 25414, 468, 257, 15178, 286, 8644, 12, 6659, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1495, 33411, 4776, 796, 366, 3388, 12, 6659, 1 ]
[ 1, 1, 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, 25414, 468, 257, 15178, 286, 8644, 12, 6659, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 1495, 33411, 4776, 796, 366, 3388, 12, 6659, 1 ]
For all storms with at least 1 death, compare the total number of deaths by dates_active attribute, sort by the names from low to high.
SELECT Dates_active, Number_Deaths FROM storm WHERE Number_Deaths >= 1 ORDER BY Dates_active
[ 1890, 477, 20228, 351, 379, 1551, 352, 1918, 11, 8996, 262, 2472, 1271, 286, 7040, 416, 9667, 62, 5275, 11688, 11, 3297, 416, 262, 3891, 422, 1877, 284, 1029, 13, 46506, 44712, 62, 5275, 11, 7913, 62, 20148, 82, 16034, 6388, 33411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1890, 477, 20228, 351, 379, 1551, 352, 1918, 11, 8996, 262, 2472, 1271, 286, 7040, 416, 9667, 62, 5275, 11688, 11, 3297, 416, 262, 3891, 422, 1877, 284, 1029, 13, 46506, 44712, 62, 5275, 11, 7913, 62, 20148, 82, 16034, 6388, 33411, ...
Deep Learning Frameworks Posts Comparison.
SELECT DATEADD(month, DATEDIFF(month, 0, CreationDate), 0) AS m, TagName, COUNT(*) FROM PostTags AS pt JOIN Posts AS q ON q.Id = pt.PostId JOIN Tags AS t ON t.Id = pt.TagId WHERE TagName IN ('tensorflow', 'keras', 'mxnet', 'theano', 'caffe', 'caffe2', 'cntk', 'deeplearning4j', 'pytorch') AND q.CreationDate < DATEADD(mo...
[ 29744, 18252, 15183, 19653, 12043, 34420, 13, 46506, 360, 6158, 29266, 7, 8424, 11, 360, 11617, 29267, 7, 8424, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 285, 11, 17467, 5376, 11, 327, 28270, 7, 28104, 16034, 2947, 36142, 7054, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 29744, 18252, 15183, 19653, 12043, 34420, 13, 46506, 360, 6158, 29266, 7, 8424, 11, 360, 11617, 29267, 7, 8424, 11, 657, 11, 21582, 10430, 828, 657, 8, 7054, 285, 11, 17467, 5376, 11, 327, 28270, 7, 28104, 16034, 2947, 36142, 7054, 42...
.9% normal saline had been given to patient 8098 ever until 03/20/2104?
SELECT COUNT(*) > 0 FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 8098)) AND inputevents_cv.itemid IN (SELECT d_items.itemid FROM d_items WHERE d_items.label = '.9% norma...
[ 13, 24, 4, 3487, 47375, 550, 587, 1813, 284, 5827, 807, 2931, 23, 1683, 1566, 7643, 14, 1238, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 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...
[ 13, 24, 4, 3487, 47375, 550, 587, 1813, 284, 5827, 807, 2931, 23, 1683, 1566, 7643, 14, 1238, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, ...
What are the codes of types of documents of which there are for or more?
SELECT document_type_code FROM documents GROUP BY document_type_code HAVING COUNT(*) > 4
[ 2061, 389, 262, 12416, 286, 3858, 286, 4963, 286, 543, 612, 389, 329, 393, 517, 30, 46506, 3188, 62, 4906, 62, 8189, 16034, 4963, 44441, 11050, 3188, 62, 4906, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12416, 286, 3858, 286, 4963, 286, 543, 612, 389, 329, 393, 517, 30, 46506, 3188, 62, 4906, 62, 8189, 16034, 4963, 44441, 11050, 3188, 62, 4906, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 604 ]
show me the four year survival rate of patients who were prescribed buminate after they were diagnosed with dementia?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 4 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
[ 12860, 502, 262, 1440, 614, 9441, 2494, 286, 3871, 508, 547, 14798, 39564, 4559, 706, 484, 547, 14641, 351, 27886, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 4209...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 1440, 614, 9441, 2494, 286, 3871, 508, 547, 14798, 39564, 4559, 706, 484, 547, 14641, 351, 27886, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796, 705, 282, 425, 6, 42243, 352, 4209...
how many patients whose admission year is less than 2190 and procedure short title is trnsplnt live nonrel don?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2190" AND procedures.short_title = "Trnsplnt live nonrel don"
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 19782, 290, 8771, 1790, 3670, 318, 491, 5907, 489, 429, 2107, 1729, 2411, 836, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 13938, 614, 318, 1342, 621, 362, 19782, 290, 8771, 1790, 3670, 318, 491, 5907, 489, 429, 2107, 1729, 2411, 836, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
who was the only person that scheider lost against ?
SELECT "opponent" FROM table_200_31 WHERE "result" = 'loss'
[ 8727, 373, 262, 691, 1048, 326, 3897, 1304, 2626, 1028, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 2167, 62, 3132, 33411, 366, 20274, 1, 796, 705, 22462, 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 ]
[ 8727, 373, 262, 691, 1048, 326, 3897, 1304, 2626, 1028, 5633, 46506, 366, 10365, 3471, 1, 16034, 3084, 62, 2167, 62, 3132, 33411, 366, 20274, 1, 796, 705, 22462, 6 ]
count the number of patients whose death status is 1 and primary disease is t5 fracture.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "1" AND demographic.diagnosis = "T5 FRACTURE"
[ 9127, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 4165, 4369, 318, 256, 20, 31846, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 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 ]
[ 9127, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 4165, 4369, 318, 256, 20, 31846, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 1069, 5111, 62, 32109, 796, ...
Find all the payment dates for the payments with an amount larger than 10 and the payments handled by a staff person with the first name Elsa, and count them by a line chart
SELECT payment_date, COUNT(payment_date) FROM payment WHERE amount > 10 UNION SELECT T1.payment_date FROM payment AS T1 JOIN staff AS T2 ON T1.staff_id = T2.staff_id WHERE T2.first_name = 'Elsa' GROUP BY payment_date
[ 16742, 477, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 1627, 8262, 46506, 6074, 62, 4475, 11, 327, 28270, 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...
[ 16742, 477, 262, 6074, 9667, 329, 262, 7524, 351, 281, 2033, 4025, 621, 838, 290, 262, 7524, 12118, 416, 257, 3085, 1048, 351, 262, 717, 1438, 19226, 11, 290, 954, 606, 416, 257, 1627, 8262, 46506, 6074, 62, 4475, 11, 327, 28270, 7,...
A pie chart for what are the number of the descriptions of the categories that products with product descriptions that contain the letter t are in?
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
[ 32, 2508, 8262, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 9376, 326, 3186, 351, 1720, 16969, 326, 3994, 262, 3850, 256, 389, 287, 30, 46506, 1720, 62, 22872, 62, 11213, 11, 327, 28270, 7, 11167, 62, 22872, 62, 11213, 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...
[ 32, 2508, 8262, 329, 644, 389, 262, 1271, 286, 262, 16969, 286, 262, 9376, 326, 3186, 351, 1720, 16969, 326, 3994, 262, 3850, 256, 389, 287, 30, 46506, 1720, 62, 22872, 62, 11213, 11, 327, 28270, 7, 11167, 62, 22872, 62, 11213, 8, ...
how many people does the holon city arena in holon seat ?
SELECT "capacity" FROM table_204_195 WHERE "stadium" = 'holon city arena'
[ 4919, 867, 661, 857, 262, 6039, 261, 1748, 13478, 287, 6039, 261, 5852, 5633, 46506, 366, 42404, 1, 16034, 3084, 62, 18638, 62, 22186, 33411, 366, 301, 6271, 1, 796, 705, 3937, 261, 1748, 13478, 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 ]
[ 4919, 867, 661, 857, 262, 6039, 261, 1748, 13478, 287, 6039, 261, 5852, 5633, 46506, 366, 42404, 1, 16034, 3084, 62, 18638, 62, 22186, 33411, 366, 301, 6271, 1, 796, 705, 3937, 261, 1748, 13478, 6 ]
What is the total number of gold medals of the nation with 1 bronze and less than 1 total medal?
SELECT COUNT("Gold") FROM table_8304 WHERE "Bronze" = '1' AND "Total" < '1'
[ 2061, 318, 262, 2472, 1271, 286, 3869, 28057, 286, 262, 3277, 351, 352, 22101, 290, 1342, 621, 352, 2472, 18279, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 23, 21288, 33411, 366, 18760, 2736, 1, 796, 705, 16, 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 ]
[ 2061, 318, 262, 2472, 1271, 286, 3869, 28057, 286, 262, 3277, 351, 352, 22101, 290, 1342, 621, 352, 2472, 18279, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 23, 21288, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, ...
what was the minimum daily number of patients who had malig neo bladder nec until 2 years ago?
SELECT MIN(t1.c1) FROM (SELECT COUNT(DISTINCT diagnoses_icd.hadm_id) AS c1 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'malig neo bladder nec') AND DATETIME(diagnoses_icd.charttime) <= DATETIME(CURRENT_TIME(), '-2 year') G...
[ 10919, 373, 262, 5288, 4445, 1271, 286, 3871, 508, 550, 6428, 328, 19102, 34918, 27576, 1566, 362, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 291, 67, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5288, 4445, 1271, 286, 3871, 508, 550, 6428, 328, 19102, 34918, 27576, 1566, 362, 812, 2084, 30, 46506, 20625, 7, 83, 16, 13, 66, 16, 8, 16034, 357, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 40567, 62, 291, 67, ...
What is the total Rank that has a Municipality of Winnipeg, an Area (KM 2) that's larger than 464.01?
SELECT SUM(rank) FROM table_name_85 WHERE municipality = "winnipeg" AND area__km_2__ > 464.01
[ 2061, 318, 262, 2472, 10916, 326, 468, 257, 27338, 1483, 286, 23434, 11, 281, 9498, 357, 42, 44, 362, 8, 326, 338, 4025, 621, 604, 2414, 13, 486, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 27264, 796, 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 ]
[ 2061, 318, 262, 2472, 10916, 326, 468, 257, 27338, 1483, 286, 23434, 11, 281, 9498, 357, 42, 44, 362, 8, 326, 338, 4025, 621, 604, 2414, 13, 486, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 5332, 33411, 27264, 796, 3...
How many saves were in the Georgia game, versus the Bulldogs, with a score of 7-6?
SELECT save FROM table_18025024_7 WHERE score = "7-6"
[ 2437, 867, 16031, 547, 287, 262, 7859, 983, 11, 9051, 262, 34969, 11, 351, 257, 4776, 286, 767, 12, 21, 30, 46506, 3613, 16034, 3084, 62, 1507, 2999, 1120, 1731, 62, 22, 33411, 4776, 796, 366, 22, 12, 21, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 16031, 547, 287, 262, 7859, 983, 11, 9051, 262, 34969, 11, 351, 257, 4776, 286, 767, 12, 21, 30, 46506, 3613, 16034, 3084, 62, 1507, 2999, 1120, 1731, 62, 22, 33411, 4776, 796, 366, 22, 12, 21, 1 ]
Which Points have a Score of 4 1, and a Record of 18 10 8 1, and a January larger than 2?
SELECT AVG(points) FROM table_name_71 WHERE score = "4–1" AND record = "18–10–8–1" AND january > 2
[ 13828, 11045, 423, 257, 15178, 286, 604, 352, 11, 290, 257, 13266, 286, 1248, 838, 807, 352, 11, 290, 257, 3269, 4025, 621, 362, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 4776, 796, 366, 19, 1906, 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 ]
[ 13828, 11045, 423, 257, 15178, 286, 604, 352, 11, 290, 257, 13266, 286, 1248, 838, 807, 352, 11, 290, 257, 3269, 4025, 621, 362, 30, 46506, 35224, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 4869, 33411, 4776, 796, 366, 19, 1906, 16, ...
How many Bronze medals for the Nation with a Rank of 11 and less than 1 Silver?
SELECT MIN("Bronze") FROM table_46366 WHERE "Rank" = '11' AND "Silver" < '1'
[ 2437, 867, 19461, 28057, 329, 262, 8741, 351, 257, 10916, 286, 1367, 290, 1342, 621, 352, 7698, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3510, 32459, 33411, 366, 27520, 1, 796, 705, 1157, 6, 5357, 366, 26766, 1, 127...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 19461, 28057, 329, 262, 8741, 351, 257, 10916, 286, 1367, 290, 1342, 621, 352, 7698, 30, 46506, 20625, 7203, 18760, 2736, 4943, 16034, 3084, 62, 3510, 32459, 33411, 366, 27520, 1, 796, 705, 1157, 6, 5357, 366, 26766, 1, 127...
Which week starts on November 23, 1997?
SELECT "Week" FROM table_32559 WHERE "Date" = 'november 23, 1997'
[ 13828, 1285, 4940, 319, 3389, 2242, 11, 8309, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 26582, 3270, 33411, 366, 10430, 1, 796, 705, 77, 3239, 2242, 11, 8309, 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 ]
[ 13828, 1285, 4940, 319, 3389, 2242, 11, 8309, 30, 46506, 366, 20916, 1, 16034, 3084, 62, 26582, 3270, 33411, 366, 10430, 1, 796, 705, 77, 3239, 2242, 11, 8309, 6 ]
Who is the lead of the team from Lockerbie?
SELECT lead FROM table_name_81 WHERE home = "lockerbie"
[ 8241, 318, 262, 1085, 286, 262, 1074, 422, 406, 12721, 12590, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 6659, 33411, 1363, 796, 366, 5354, 263, 12590, 1 ]
[ 1, 1, 1, 1, 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, 1085, 286, 262, 1074, 422, 406, 12721, 12590, 30, 46506, 1085, 16034, 3084, 62, 3672, 62, 6659, 33411, 1363, 796, 366, 5354, 263, 12590, 1 ]
Which Name has a Round smaller than 5, and a Pick # larger than 13?
SELECT "Name" FROM table_38149 WHERE "Round" < '5' AND "Pick #" > '13'
[ 13828, 6530, 468, 257, 10485, 4833, 621, 642, 11, 290, 257, 12346, 1303, 4025, 621, 1511, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2548, 19442, 33411, 366, 22685, 1, 1279, 705, 20, 6, 5357, 366, 31686, 1303, 1, 1875, 705, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6530, 468, 257, 10485, 4833, 621, 642, 11, 290, 257, 12346, 1303, 4025, 621, 1511, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 2548, 19442, 33411, 366, 22685, 1, 1279, 705, 20, 6, 5357, 366, 31686, 1303, 1, 1875, 705, 1485, 6 ]
How many position does Teodor Salparov play on?
SELECT COUNT("Position") FROM table_72504 WHERE "Player" = 'Teodor Salparov'
[ 2437, 867, 2292, 857, 1665, 30530, 4849, 1845, 709, 711, 319, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 4761, 33580, 33411, 366, 14140, 1, 796, 705, 6767, 30530, 4849, 1845, 709, 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 ]
[ 2437, 867, 2292, 857, 1665, 30530, 4849, 1845, 709, 711, 319, 30, 46506, 327, 28270, 7203, 26545, 4943, 16034, 3084, 62, 4761, 33580, 33411, 366, 14140, 1, 796, 705, 6767, 30530, 4849, 1845, 709, 6 ]
Name the ERP W for glens falls, new york
SELECT "ERP W" FROM table_75358 WHERE "City of license" = 'glens falls, new york'
[ 5376, 262, 13793, 47, 370, 329, 1278, 641, 8953, 11, 649, 331, 967, 46506, 366, 1137, 47, 370, 1, 16034, 3084, 62, 2425, 31128, 33411, 366, 14941, 286, 5964, 1, 796, 705, 4743, 641, 8953, 11, 649, 331, 967, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 13793, 47, 370, 329, 1278, 641, 8953, 11, 649, 331, 967, 46506, 366, 1137, 47, 370, 1, 16034, 3084, 62, 2425, 31128, 33411, 366, 14941, 286, 5964, 1, 796, 705, 4743, 641, 8953, 11, 649, 331, 967, 6 ]
Name the tourism receipts 2003 for colombia
SELECT tourism_receipts__2003___as__percentage_of_gdp_ FROM table_18524_6 WHERE country = "Colombia"
[ 5376, 262, 19277, 29946, 5816, 329, 951, 2381, 544, 46506, 19277, 62, 260, 344, 10257, 82, 834, 16088, 17569, 292, 834, 25067, 496, 62, 1659, 62, 21287, 79, 62, 16034, 3084, 62, 21652, 1731, 62, 21, 33411, 1499, 796, 366, 5216, 2381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19277, 29946, 5816, 329, 951, 2381, 544, 46506, 19277, 62, 260, 344, 10257, 82, 834, 16088, 17569, 292, 834, 25067, 496, 62, 1659, 62, 21287, 79, 62, 16034, 3084, 62, 21652, 1731, 62, 21, 33411, 1499, 796, 366, 5216, 2381, ...
had patient 30763 been until 1 year ago diagnosed with delirium d/t other cond?
SELECT COUNT(*) > 0 FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'delirium d/t other cond') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 30763) AND DATETIME(diagnoses...
[ 18108, 5827, 1542, 49641, 587, 1566, 352, 614, 2084, 14641, 351, 1619, 343, 1505, 288, 14, 83, 584, 1779, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 1542, 49641, 587, 1566, 352, 614, 2084, 14641, 351, 1619, 343, 1505, 288, 14, 83, 584, 1779, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62, 8189, ...
Who was drafted by the calgary stampeders?
SELECT player FROM table_24540893_6 WHERE cfl_team = "Calgary Stampeders"
[ 8241, 373, 15937, 416, 262, 2386, 14849, 28305, 364, 30, 46506, 2137, 16034, 3084, 62, 22995, 1821, 49682, 62, 21, 33411, 269, 2704, 62, 15097, 796, 366, 9771, 14849, 520, 13322, 364, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15937, 416, 262, 2386, 14849, 28305, 364, 30, 46506, 2137, 16034, 3084, 62, 22995, 1821, 49682, 62, 21, 33411, 269, 2704, 62, 15097, 796, 366, 9771, 14849, 520, 13322, 364, 1 ]
What is the Result with a Score of 1 0, and a Date with 18 april 2009?
SELECT result FROM table_name_35 WHERE score = "1–0" AND date = "18 april 2009"
[ 2061, 318, 262, 25414, 351, 257, 15178, 286, 352, 657, 11, 290, 257, 7536, 351, 1248, 46593, 346, 3717, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2327, 33411, 4776, 796, 366, 16, 1906, 15, 1, 5357, 3128, 796, 366, 1507, 46593, 346...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25414, 351, 257, 15178, 286, 352, 657, 11, 290, 257, 7536, 351, 1248, 46593, 346, 3717, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 2327, 33411, 4776, 796, 366, 16, 1906, 15, 1, 5357, 3128, 796, 366, 1507, 46593, 346...
what's the number of inputs patient 16368 has received?
SELECT SUM(inputevents_cv.amount) FROM inputevents_cv WHERE inputevents_cv.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 16368))
[ 10919, 338, 262, 1271, 286, 17311, 5827, 1467, 27412, 468, 2722, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 17311, 5827, 1467, 27412, 468, 2722, 30, 46506, 35683, 7, 259, 79, 1133, 85, 658, 62, 33967, 13, 17287, 8, 16034, 287, 79, 1133, 85, 658, 62, 33967, 33411, 287, 79, 1133, 85, 658, 62, 33967, 13, 291, 43...
papers from 2014
SELECT DISTINCT paperid FROM paper WHERE year = 2014
[ 40491, 422, 1946, 46506, 360, 8808, 1268, 4177, 3348, 312, 16034, 3348, 33411, 614, 796, 1946 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 40491, 422, 1946, 46506, 360, 8808, 1268, 4177, 3348, 312, 16034, 3348, 33411, 614, 796, 1946 ]
How many players attended Hillcrest High School?
SELECT COUNT(college) FROM table_11677691_1 WHERE school = "Hillcrest High school"
[ 2437, 867, 1938, 9141, 3327, 66, 2118, 3334, 3961, 30, 46506, 327, 28270, 7, 44107, 8, 16034, 3084, 62, 1157, 40179, 49541, 62, 16, 33411, 1524, 796, 366, 36369, 66, 2118, 3334, 1524, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1938, 9141, 3327, 66, 2118, 3334, 3961, 30, 46506, 327, 28270, 7, 44107, 8, 16034, 3084, 62, 1157, 40179, 49541, 62, 16, 33411, 1524, 796, 366, 36369, 66, 2118, 3334, 1524, 1 ]
What was Eduardo Romero's score?
SELECT "Score" FROM table_62192 WHERE "Player" = 'eduardo romero'
[ 2061, 373, 40766, 13109, 38623, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5237, 17477, 33411, 366, 14140, 1, 796, 705, 15532, 13109, 9267, 3529, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 40766, 13109, 38623, 338, 4776, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 5237, 17477, 33411, 366, 14140, 1, 796, 705, 15532, 13109, 9267, 3529, 6 ]
find the number of black/haitian patients who have had elective hospital admission.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.ethnicity = "BLACK/HAITIAN"
[ 19796, 262, 1271, 286, 2042, 14, 3099, 270, 666, 3871, 508, 423, 550, 1742, 425, 4436, 13938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2042, 14, 3099, 270, 666, 3871, 508, 423, 550, 1742, 425, 4436, 13938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, 796, 36...
What was the record on January 17?
SELECT "Record" FROM table_65657 WHERE "Date" = 'january 17'
[ 2061, 373, 262, 1700, 319, 3269, 1596, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2996, 37680, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1596, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1700, 319, 3269, 1596, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 2996, 37680, 33411, 366, 10430, 1, 796, 705, 13881, 2838, 1596, 6 ]
Show mean max(price) from each year, display in ascending by the Y.
SELECT Year, AVG(MAX(Price)) FROM wine ORDER BY AVG(MAX(Price))
[ 15307, 1612, 3509, 7, 20888, 8, 422, 1123, 614, 11, 3359, 287, 41988, 416, 262, 575, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 18124, 4008, 16034, 8237, 38678, 11050, 35224, 7, 22921, 7, 18124, 4008 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1612, 3509, 7, 20888, 8, 422, 1123, 614, 11, 3359, 287, 41988, 416, 262, 575, 13, 46506, 6280, 11, 35224, 7, 22921, 7, 18124, 4008, 16034, 8237, 38678, 11050, 35224, 7, 22921, 7, 18124, 4008 ]
Who was the winner from the Rip Curl Pro Search?
SELECT "Winner" FROM table_41484 WHERE "Event" = 'rip curl pro search'
[ 8241, 373, 262, 8464, 422, 262, 29496, 4424, 75, 1041, 11140, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 37309, 5705, 33411, 366, 9237, 1, 796, 705, 5528, 29249, 386, 2989, 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, 262, 8464, 422, 262, 29496, 4424, 75, 1041, 11140, 30, 46506, 366, 48056, 1, 16034, 3084, 62, 37309, 5705, 33411, 366, 9237, 1, 796, 705, 5528, 29249, 386, 2989, 6 ]
What's the stepping amount for adh4450iaa5do?
SELECT "Stepping" FROM table_33932 WHERE "Part Number(s)" = 'adh4450iaa5do'
[ 2061, 338, 262, 17413, 2033, 329, 512, 71, 2598, 1120, 544, 64, 20, 4598, 30, 46506, 366, 7447, 2105, 1, 16034, 3084, 62, 29626, 2624, 33411, 366, 7841, 7913, 7, 82, 16725, 796, 705, 24411, 2598, 1120, 544, 64, 20, 4598, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 17413, 2033, 329, 512, 71, 2598, 1120, 544, 64, 20, 4598, 30, 46506, 366, 7447, 2105, 1, 16034, 3084, 62, 29626, 2624, 33411, 366, 7841, 7913, 7, 82, 16725, 796, 705, 24411, 2598, 1120, 544, 64, 20, 4598, 6 ]
what is the number of people in the liberal party ?
SELECT COUNT("name") FROM table_203_407 WHERE "party" = 'liberal'
[ 10919, 318, 262, 1271, 286, 661, 287, 262, 7270, 2151, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 30120, 33411, 366, 10608, 1, 796, 705, 35739, 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 ]
[ 10919, 318, 262, 1271, 286, 661, 287, 262, 7270, 2151, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 30120, 33411, 366, 10608, 1, 796, 705, 35739, 6 ]
What player scored 73-68-66=207?
SELECT player FROM table_name_78 WHERE score = 73 - 68 - 66 = 207
[ 2061, 2137, 7781, 8854, 12, 3104, 12, 2791, 28, 22745, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3695, 33411, 4776, 796, 8854, 532, 8257, 532, 7930, 796, 27791 ]
[ 1, 1, 1, 1, 1, 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, 7781, 8854, 12, 3104, 12, 2791, 28, 22745, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 3695, 33411, 4776, 796, 8854, 532, 8257, 532, 7930, 796, 27791 ]
Which masthead ends on oct 69?
SELECT masthead FROM table_name_15 WHERE end_month = "oct–69"
[ 13828, 17288, 2256, 5645, 319, 19318, 8644, 30, 46506, 17288, 2256, 16034, 3084, 62, 3672, 62, 1314, 33411, 886, 62, 8424, 796, 366, 38441, 1906, 3388, 1 ]
[ 1, 1, 1, 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, 17288, 2256, 5645, 319, 19318, 8644, 30, 46506, 17288, 2256, 16034, 3084, 62, 3672, 62, 1314, 33411, 886, 62, 8424, 796, 366, 38441, 1906, 3388, 1 ]
count the number of patients diagnosed with angioneurotic edema who had abnormal lab test status.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Angioneurotic edema" AND lab.flag = "abnormal"
[ 9127, 262, 1271, 286, 3871, 14641, 351, 3550, 7935, 1434, 13370, 1225, 19687, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 14641, 351, 3550, 7935, 1434, 13370, 1225, 19687, 508, 550, 18801, 2248, 1332, 3722, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567...
Which Years at club have a Debut year of 1930, and Games larger than 7, and a Player of colin benham?
SELECT years_at_club FROM table_name_38 WHERE debut_year = 1930 AND games > 7 AND player = "colin benham"
[ 13828, 13212, 379, 3430, 423, 257, 1024, 4360, 614, 286, 15533, 11, 290, 5776, 4025, 621, 767, 11, 290, 257, 7853, 286, 951, 259, 1888, 2763, 30, 46506, 812, 62, 265, 62, 18664, 16034, 3084, 62, 3672, 62, 2548, 33411, 8886, 62, 1941...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13212, 379, 3430, 423, 257, 1024, 4360, 614, 286, 15533, 11, 290, 5776, 4025, 621, 767, 11, 290, 257, 7853, 286, 951, 259, 1888, 2763, 30, 46506, 812, 62, 265, 62, 18664, 16034, 3084, 62, 3672, 62, 2548, 33411, 8886, 62, 1941...
What is the country with a 66-70-69=205 score?
SELECT country FROM table_name_21 WHERE score = 66 - 70 - 69 = 205
[ 2061, 318, 262, 1499, 351, 257, 7930, 12, 2154, 12, 3388, 28, 21261, 4776, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2481, 33411, 4776, 796, 7930, 532, 4317, 532, 8644, 796, 22538 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 351, 257, 7930, 12, 2154, 12, 3388, 28, 21261, 4776, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 2481, 33411, 4776, 796, 7930, 532, 4317, 532, 8644, 796, 22538 ]
For each submission, find its author and acceptance result.
SELECT T2.author, T1.result FROM acceptance AS T1 JOIN submission AS T2 ON T1.submission_id = T2.submission_id
[ 1890, 1123, 14498, 11, 1064, 663, 1772, 290, 13427, 1255, 13, 46506, 309, 17, 13, 9800, 11, 309, 16, 13, 20274, 16034, 13427, 7054, 309, 16, 32357, 1268, 14498, 7054, 309, 17, 6177, 309, 16, 13, 7266, 3411, 62, 312, 796, 309, 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 ]
[ 1890, 1123, 14498, 11, 1064, 663, 1772, 290, 13427, 1255, 13, 46506, 309, 17, 13, 9800, 11, 309, 16, 13, 20274, 16034, 13427, 7054, 309, 16, 32357, 1268, 14498, 7054, 309, 17, 6177, 309, 16, 13, 7266, 3411, 62, 312, 796, 309, 17, ...
Which Winner and score has a Finalist of aaron krickstein?
SELECT "Winner and score" FROM table_50562 WHERE "Finalist" = 'aaron krickstein'
[ 13828, 25358, 290, 4776, 468, 257, 8125, 396, 286, 257, 8045, 479, 5557, 5714, 30, 46506, 366, 48056, 290, 4776, 1, 16034, 3084, 62, 1120, 43918, 33411, 366, 19006, 396, 1, 796, 705, 64, 8045, 479, 5557, 5714, 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 ]
[ 13828, 25358, 290, 4776, 468, 257, 8125, 396, 286, 257, 8045, 479, 5557, 5714, 30, 46506, 366, 48056, 290, 4776, 1, 16034, 3084, 62, 1120, 43918, 33411, 366, 19006, 396, 1, 796, 705, 64, 8045, 479, 5557, 5714, 6 ]
Which staff handled least number of payments? List the full name and the id.
SELECT T1.first_name, T1.last_name, T1.staff_id FROM staff AS T1 JOIN payment AS T2 ON T1.staff_id = T2.staff_id GROUP BY T1.staff_id ORDER BY COUNT(*) LIMIT 1
[ 13828, 3085, 12118, 1551, 1271, 286, 7524, 30, 7343, 262, 1336, 1438, 290, 262, 4686, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 11, 309, 16, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 16, 32357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 3085, 12118, 1551, 1271, 286, 7524, 30, 7343, 262, 1336, 1438, 290, 262, 4686, 13, 46506, 309, 16, 13, 11085, 62, 3672, 11, 309, 16, 13, 12957, 62, 3672, 11, 309, 16, 13, 28120, 62, 312, 16034, 3085, 7054, 309, 16, 32357, 1...
What was the 2008 result associated with a 2009 of A and a 2011 of 2R?
SELECT "2008" FROM table_67937 WHERE "2009" = 'a' AND "2011" = '2r'
[ 2061, 373, 262, 3648, 1255, 3917, 351, 257, 3717, 286, 317, 290, 257, 2813, 286, 362, 49, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 37601, 2718, 33411, 366, 10531, 1, 796, 705, 64, 6, 5357, 366, 9804, 1, 796, 705, 17, 81, 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 ]
[ 2061, 373, 262, 3648, 1255, 3917, 351, 257, 3717, 286, 317, 290, 257, 2813, 286, 362, 49, 30, 46506, 366, 11528, 1, 16034, 3084, 62, 37601, 2718, 33411, 366, 10531, 1, 796, 705, 64, 6, 5357, 366, 9804, 1, 796, 705, 17, 81, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, find hire_date and the sum of employee_id bin hire_date by weekday, and visualize them by a bar chart, rank Y-axis from low to high order.
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(EMPLOYEE_ID)
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 38350, 606, 416, 257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1064, 11078, 62, 4475, 290, 262, 2160, 286, 6538, 62, 312, 9874, 11078, 62, 4475, 416, 28269, 11, 290, 38350, 606, 416, 257,...
what is the number of patients whose drug type is additive and lab test name is rdw?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.drug_type = "ADDITIVE" AND lab.label = "RDW"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2563, 2099, 318, 38298, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 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...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 2563, 2099, 318, 38298, 290, 2248, 1332, 1438, 318, 374, 67, 86, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 34092, 6177...
what is the event when gold is darren kenny great britain (gbr)?
SELECT event FROM table_name_1 WHERE gold = "darren kenny great britain (gbr)"
[ 10919, 318, 262, 1785, 618, 3869, 318, 288, 283, 918, 479, 11870, 1049, 275, 799, 391, 357, 70, 1671, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 16, 33411, 3869, 796, 366, 27455, 918, 479, 11870, 1049, 275, 799, 391, 357, 70, 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 ]
[ 10919, 318, 262, 1785, 618, 3869, 318, 288, 283, 918, 479, 11870, 1049, 275, 799, 391, 357, 70, 1671, 19427, 46506, 1785, 16034, 3084, 62, 3672, 62, 16, 33411, 3869, 796, 366, 27455, 918, 479, 11870, 1049, 275, 799, 391, 357, 70, 16...
What is the number of females that has the Polish language?
SELECT females FROM table_name_66 WHERE language = "polish"
[ 2061, 318, 262, 1271, 286, 12366, 326, 468, 262, 15945, 3303, 30, 46506, 12366, 16034, 3084, 62, 3672, 62, 2791, 33411, 3303, 796, 366, 16104, 680, 1 ]
[ 1, 1, 1, 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, 12366, 326, 468, 262, 15945, 3303, 30, 46506, 12366, 16034, 3084, 62, 3672, 62, 2791, 33411, 3303, 796, 366, 16104, 680, 1 ]
Which Genre has a Game of tony hawk's pro skater 2?
SELECT genre FROM table_name_12 WHERE game = "tony hawk's pro skater 2"
[ 13828, 5215, 260, 468, 257, 3776, 286, 256, 1647, 48710, 338, 386, 1341, 729, 362, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 1065, 33411, 983, 796, 366, 1122, 88, 48710, 338, 386, 1341, 729, 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 ]
[ 13828, 5215, 260, 468, 257, 3776, 286, 256, 1647, 48710, 338, 386, 1341, 729, 362, 30, 46506, 12121, 16034, 3084, 62, 3672, 62, 1065, 33411, 983, 796, 366, 1122, 88, 48710, 338, 386, 1341, 729, 362, 1 ]
What is the maximum 2002 figure when 2008 is 19.5, 2006 is less than 24.5 and 1999 is 18.3?
SELECT MAX("2002") FROM table_9820 WHERE "2008" > '19.5' AND "2006" < '24.5' AND "1999" = '18.3'
[ 2061, 318, 262, 5415, 6244, 3785, 618, 3648, 318, 678, 13, 20, 11, 4793, 318, 1342, 621, 1987, 13, 20, 290, 7358, 318, 1248, 13, 18, 30, 46506, 25882, 7203, 16942, 4943, 16034, 3084, 62, 4089, 1238, 33411, 366, 11528, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 5415, 6244, 3785, 618, 3648, 318, 678, 13, 20, 11, 4793, 318, 1342, 621, 1987, 13, 20, 290, 7358, 318, 1248, 13, 18, 30, 46506, 25882, 7203, 16942, 4943, 16034, 3084, 62, 4089, 1238, 33411, 366, 11528, 1, 1875, 705, ...
What is Thad Jemison's position?
SELECT position FROM table_name_85 WHERE player = "thad jemison"
[ 2061, 318, 536, 324, 48199, 1653, 338, 2292, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5332, 33411, 2137, 796, 366, 400, 324, 474, 368, 1653, 1 ]
[ 1, 1, 1, 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, 536, 324, 48199, 1653, 338, 2292, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 5332, 33411, 2137, 796, 366, 400, 324, 474, 368, 1653, 1 ]
What nations participated in 2007?
SELECT "Nations" FROM table_66466 WHERE "Year" = '2007'
[ 2061, 7027, 14888, 287, 4343, 30, 46506, 366, 45, 602, 1, 16034, 3084, 62, 21, 2414, 2791, 33411, 366, 17688, 1, 796, 705, 12726, 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 ]
[ 2061, 7027, 14888, 287, 4343, 30, 46506, 366, 45, 602, 1, 16034, 3084, 62, 21, 2414, 2791, 33411, 366, 17688, 1, 796, 705, 12726, 6 ]
Return the average and minimum age of captains in each class.
SELECT AVG(age), MIN(age), class FROM captain GROUP BY class
[ 13615, 262, 2811, 290, 5288, 2479, 286, 37551, 287, 1123, 1398, 13, 46506, 35224, 7, 496, 828, 20625, 7, 496, 828, 1398, 16034, 10654, 44441, 11050, 1398 ]
[ 1, 1, 1, 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, 2811, 290, 5288, 2479, 286, 37551, 287, 1123, 1398, 13, 46506, 35224, 7, 496, 828, 20625, 7, 496, 828, 1398, 16034, 10654, 44441, 11050, 1398 ]
For all employees who have the letters D or S in their first name, for salary, hire_date, visualize the trend.
SELECT HIRE_DATE, SALARY FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 329, 9588, 11, 11078, 62, 4475, 11, 38350, 262, 5182, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 31328, 62, 20608, 34178, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 329, 9588, 11, 11078, 62, 4475, 11, 38350, 262, 5182, 13, 46506, 36210, 2200, 62, 35, 6158, 11, 42475, 13153, 16034, 4409, 33411, 31328, 62, 20608, 34178, ...
What is XII Season, when Episode is 6?
SELECT "XII Season" FROM table_6796 WHERE "Episode" = '6'
[ 2061, 318, 39284, 7369, 11, 618, 7922, 318, 718, 30, 46506, 366, 55, 3978, 7369, 1, 16034, 3084, 62, 3134, 4846, 33411, 366, 23758, 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, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 39284, 7369, 11, 618, 7922, 318, 718, 30, 46506, 366, 55, 3978, 7369, 1, 16034, 3084, 62, 3134, 4846, 33411, 366, 23758, 1, 796, 705, 21, 6 ]
Show all cities where at least one customer lives in but no performer lives in.
SELECT T1.City_Town FROM Addresses AS T1 JOIN Customers AS T2 ON T1.Address_ID = T2.Address_ID EXCEPT SELECT T1.City_Town FROM Addresses AS T1 JOIN Performers AS T2 ON T1.Address_ID = T2.Address_ID
[ 15307, 477, 4736, 810, 379, 1551, 530, 6491, 3160, 287, 475, 645, 26960, 3160, 287, 13, 46506, 309, 16, 13, 14941, 62, 38097, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 36707, 7054, 309, 17, 6177, 309, 16, 13, 20231, 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, 1, 1, 1, 1...
[ 15307, 477, 4736, 810, 379, 1551, 530, 6491, 3160, 287, 475, 645, 26960, 3160, 287, 13, 46506, 309, 16, 13, 14941, 62, 38097, 16034, 3060, 16746, 7054, 309, 16, 32357, 1268, 36707, 7054, 309, 17, 6177, 309, 16, 13, 20231, 62, 2389, ...
What is the total of apps for Keith Treacy?
SELECT SUM(apps) FROM table_name_37 WHERE name = "keith treacy"
[ 2061, 318, 262, 2472, 286, 6725, 329, 14926, 4700, 1590, 30, 46506, 35683, 7, 18211, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 1438, 796, 366, 365, 342, 2054, 1590, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 286, 6725, 329, 14926, 4700, 1590, 30, 46506, 35683, 7, 18211, 8, 16034, 3084, 62, 3672, 62, 2718, 33411, 1438, 796, 366, 365, 342, 2054, 1590, 1 ]
WHich Venue has a Year larger than 2003, and a Position of 10th?
SELECT "Venue" FROM table_8718 WHERE "Year" > '2003' AND "Position" = '10th'
[ 12418, 488, 9932, 518, 468, 257, 6280, 4025, 621, 5816, 11, 290, 257, 23158, 286, 838, 400, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 5774, 1507, 33411, 366, 17688, 1, 1875, 705, 16088, 6, 5357, 366, 26545, 1, 796, 705, 940, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12418, 488, 9932, 518, 468, 257, 6280, 4025, 621, 5816, 11, 290, 257, 23158, 286, 838, 400, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 5774, 1507, 33411, 366, 17688, 1, 1875, 705, 16088, 6, 5357, 366, 26545, 1, 796, 705, 940, ...
What's the 1st leg score when Team 1 was Gor Mahia?
SELECT "1st leg" FROM table_68476 WHERE "Team 1" = 'gor mahia'
[ 2061, 338, 262, 352, 301, 1232, 4776, 618, 4816, 352, 373, 19097, 8882, 544, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3104, 35435, 33411, 366, 15592, 352, 1, 796, 705, 7053, 42768, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 352, 301, 1232, 4776, 618, 4816, 352, 373, 19097, 8882, 544, 30, 46506, 366, 16, 301, 1232, 1, 16034, 3084, 62, 3104, 35435, 33411, 366, 15592, 352, 1, 796, 705, 7053, 42768, 544, 6 ]
R/A Flags Before and After HNQ.
SELECT COUNT(*) FROM Votes WHERE VoteTypeId = 4 AND CreationDate > '2018-10-18 00:00:00.000'
[ 49, 14, 32, 34771, 7413, 290, 2293, 367, 45, 48, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 19175, 6030, 7390, 796, 604, 5357, 21582, 10430, 1875, 705, 7908, 12, 940, 12, 1507, 3571, 25, 405, 25, 405, 13, 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 ]
[ 49, 14, 32, 34771, 7413, 290, 2293, 367, 45, 48, 13, 46506, 327, 28270, 7, 28104, 16034, 39584, 33411, 19175, 6030, 7390, 796, 604, 5357, 21582, 10430, 1875, 705, 7908, 12, 940, 12, 1507, 3571, 25, 405, 25, 405, 13, 830, 6 ]