instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Name the most played for 140 plus is 13
SELECT MAX("Played") FROM table_22272 WHERE "140+" = '13'
[ 5376, 262, 749, 2826, 329, 12713, 5556, 318, 1511, 46506, 25882, 7203, 11002, 276, 4943, 16034, 3084, 62, 1828, 29807, 33411, 366, 15187, 10, 1, 796, 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 ]
[ 5376, 262, 749, 2826, 329, 12713, 5556, 318, 1511, 46506, 25882, 7203, 11002, 276, 4943, 16034, 3084, 62, 1828, 29807, 33411, 366, 15187, 10, 1, 796, 705, 1485, 6 ]
What is the Opponent of the game with a H/A/N of H and Score of 120-99?
SELECT "Opponent" FROM table_76467 WHERE "H/A/N" = 'h' AND "Score" = '120-99'
[ 2061, 318, 262, 9385, 3471, 286, 262, 983, 351, 257, 367, 14, 32, 14, 45, 286, 367, 290, 15178, 286, 7982, 12, 2079, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22, 2414, 3134, 33411, 366, 39, 14, 32, 14, 45, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9385, 3471, 286, 262, 983, 351, 257, 367, 14, 32, 14, 45, 286, 367, 290, 15178, 286, 7982, 12, 2079, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 22, 2414, 3134, 33411, 366, 39, 14, 32, 14, 45, 1, 796, 705, ...
What's the average attendance of the league with a total attendance of 2268508?
SELECT average_attendance FROM table_name_75 WHERE total_attendance = "2268508"
[ 2061, 338, 262, 2811, 14858, 286, 262, 4652, 351, 257, 2472, 14858, 286, 362, 25022, 33042, 30, 46506, 2811, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 2425, 33411, 2472, 62, 1078, 437, 590, 796, 366, 1828, 3104, 33042, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 14858, 286, 262, 4652, 351, 257, 2472, 14858, 286, 362, 25022, 33042, 30, 46506, 2811, 62, 1078, 437, 590, 16034, 3084, 62, 3672, 62, 2425, 33411, 2472, 62, 1078, 437, 590, 796, 366, 1828, 3104, 33042, 1 ]
When the torsion spring diameter is 38.4cm what would be the length or weight of the missile
SELECT length_weight_of_missile FROM table_21012786_2 WHERE diameter_of_torsion_spring = "38.4cm"
[ 2215, 262, 256, 669, 295, 6076, 14753, 318, 4353, 13, 19, 11215, 644, 561, 307, 262, 4129, 393, 3463, 286, 262, 10105, 46506, 4129, 62, 6551, 62, 1659, 62, 3927, 576, 16034, 3084, 62, 2481, 486, 1983, 4521, 62, 17, 33411, 14753, 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 ]
[ 2215, 262, 256, 669, 295, 6076, 14753, 318, 4353, 13, 19, 11215, 644, 561, 307, 262, 4129, 393, 3463, 286, 262, 10105, 46506, 4129, 62, 6551, 62, 1659, 62, 3927, 576, 16034, 3084, 62, 2481, 486, 1983, 4521, 62, 17, 33411, 14753, 62,...
What is the Voges-Proskauer reading for proteus mirabilis?
SELECT voges_proskauer FROM table_name_70 WHERE species = "proteus mirabilis"
[ 2061, 318, 262, 35421, 274, 12, 2964, 8135, 16261, 3555, 329, 5915, 385, 5720, 14991, 271, 30, 46506, 410, 519, 274, 62, 1676, 8135, 16261, 16034, 3084, 62, 3672, 62, 2154, 33411, 4693, 796, 366, 1676, 660, 385, 5720, 14991, 271, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 35421, 274, 12, 2964, 8135, 16261, 3555, 329, 5915, 385, 5720, 14991, 271, 30, 46506, 410, 519, 274, 62, 1676, 8135, 16261, 16034, 3084, 62, 3672, 62, 2154, 33411, 4693, 796, 366, 1676, 660, 385, 5720, 14991, 271, 1 ]
How many nicknames does the school in Newark, DE have
SELECT COUNT("Nickname") FROM table_20803 WHERE "Location" = 'Newark, DE'
[ 2437, 867, 14428, 14933, 857, 262, 1524, 287, 30970, 11, 5550, 423, 46506, 327, 28270, 7203, 23609, 3672, 4943, 16034, 3084, 62, 1238, 43564, 33411, 366, 14749, 1, 796, 705, 3791, 668, 11, 5550, 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, 14428, 14933, 857, 262, 1524, 287, 30970, 11, 5550, 423, 46506, 327, 28270, 7203, 23609, 3672, 4943, 16034, 3084, 62, 1238, 43564, 33411, 366, 14749, 1, 796, 705, 3791, 668, 11, 5550, 6 ]
What state or district has a charter date of april 17, 2011?
SELECT "U.S. State/District" FROM table_60722 WHERE "Charter Date" = 'april 17, 2011'
[ 2061, 1181, 393, 4783, 468, 257, 17422, 3128, 286, 46593, 346, 1596, 11, 2813, 30, 46506, 366, 52, 13, 50, 13, 1812, 14, 44857, 1, 16034, 3084, 62, 31980, 1828, 33411, 366, 1925, 2571, 7536, 1, 796, 705, 499, 22379, 1596, 11, 2813, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1181, 393, 4783, 468, 257, 17422, 3128, 286, 46593, 346, 1596, 11, 2813, 30, 46506, 366, 52, 13, 50, 13, 1812, 14, 44857, 1, 16034, 3084, 62, 31980, 1828, 33411, 366, 1925, 2571, 7536, 1, 796, 705, 499, 22379, 1596, 11, 2813, ...
What is the Home Team of the game against Seattle on June 1?
SELECT "Home Team" FROM table_8074 WHERE "Road Team" = 'seattle' AND "Date" = 'june 1'
[ 2061, 318, 262, 5995, 4816, 286, 262, 983, 1028, 7312, 319, 2795, 352, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 1795, 4524, 33411, 366, 29197, 4816, 1, 796, 705, 325, 1999, 6, 5357, 366, 10430, 1, 796, 705, 73, 1726, 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 ]
[ 2061, 318, 262, 5995, 4816, 286, 262, 983, 1028, 7312, 319, 2795, 352, 30, 46506, 366, 16060, 4816, 1, 16034, 3084, 62, 1795, 4524, 33411, 366, 29197, 4816, 1, 796, 705, 325, 1999, 6, 5357, 366, 10430, 1, 796, 705, 73, 1726, 352, ...
give me the number of urgent hospital admission patients for whom glucose, body fluid lab test was ordered.
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 = "Glucose, Body Fluid"
[ 26535, 502, 262, 1271, 286, 18039, 4436, 13938, 3871, 329, 4150, 15701, 11, 1767, 11711, 2248, 1332, 373, 6149, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 18039, 4436, 13938, 3871, 329, 4150, 15701, 11, 1767, 11711, 2248, 1332, 373, 6149, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, ...
What was the average attendance in week 2?
SELECT AVG("Attendance") FROM table_7353 WHERE "Week" = '2'
[ 2061, 373, 262, 2811, 14858, 287, 1285, 362, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 22, 33319, 33411, 366, 20916, 1, 796, 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 ]
[ 2061, 373, 262, 2811, 14858, 287, 1285, 362, 30, 46506, 35224, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 22, 33319, 33411, 366, 20916, 1, 796, 705, 17, 6 ]
List the number of invoices and the invoice total from California.
SELECT billing_state, COUNT(*), SUM(total) FROM invoices WHERE billing_state = "CA"
[ 8053, 262, 1271, 286, 800, 78, 1063, 290, 262, 45458, 2472, 422, 3442, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 46491, 828, 35683, 7, 23350, 8, 16034, 800, 78, 1063, 33411, 26297, 62, 5219, 796, 366, 8141, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 1271, 286, 800, 78, 1063, 290, 262, 45458, 2472, 422, 3442, 13, 46506, 26297, 62, 5219, 11, 327, 28270, 46491, 828, 35683, 7, 23350, 8, 16034, 800, 78, 1063, 33411, 26297, 62, 5219, 796, 366, 8141, 1 ]
What position was played by the player during 1986 1991 1997 1999?
SELECT position FROM table_name_57 WHERE years = "1986 – 1991 1997 – 1999"
[ 2061, 2292, 373, 2826, 416, 262, 2137, 1141, 12113, 10249, 8309, 7358, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3553, 33411, 812, 796, 366, 28054, 784, 10249, 8309, 784, 7358, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 2292, 373, 2826, 416, 262, 2137, 1141, 12113, 10249, 8309, 7358, 30, 46506, 2292, 16034, 3084, 62, 3672, 62, 3553, 33411, 812, 796, 366, 28054, 784, 10249, 8309, 784, 7358, 1 ]
What year did the Capital City Giants have a game with the final score of 8-0?
SELECT AVG("Year") FROM table_32508 WHERE "Team" = 'capital city giants' AND "Score" = '8-0'
[ 2061, 614, 750, 262, 9747, 2254, 12056, 423, 257, 983, 351, 262, 2457, 4776, 286, 807, 12, 15, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 2624, 33042, 33411, 366, 15592, 1, 796, 705, 27544, 1748, 20178, 6, 5357, 366, 26595,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 614, 750, 262, 9747, 2254, 12056, 423, 257, 983, 351, 262, 2457, 4776, 286, 807, 12, 15, 30, 46506, 35224, 7203, 17688, 4943, 16034, 3084, 62, 2624, 33042, 33411, 366, 15592, 1, 796, 705, 27544, 1748, 20178, 6, 5357, 366, 26595,...
Who was the incumbent for south carolina 3 district?
SELECT "Incumbent" FROM table_36743 WHERE "District" = 'south carolina 3'
[ 8241, 373, 262, 23526, 329, 5366, 1097, 47196, 513, 4783, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 27824, 3559, 33411, 366, 44857, 1, 796, 705, 35782, 1097, 47196, 513, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 373, 262, 23526, 329, 5366, 1097, 47196, 513, 4783, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 27824, 3559, 33411, 366, 44857, 1, 796, 705, 35782, 1097, 47196, 513, 6 ]
how many trains listed have the same speed as the hmb2 ?
SELECT COUNT("train") FROM table_204_751 WHERE "train" <> 'hmb2' AND "top speed (km/h)" = (SELECT "top speed (km/h)" FROM table_204_751 WHERE "train" = 'hmb2')
[ 4919, 867, 13404, 5610, 423, 262, 976, 2866, 355, 262, 289, 2022, 17, 5633, 46506, 327, 28270, 7203, 27432, 4943, 16034, 3084, 62, 18638, 62, 48365, 33411, 366, 27432, 1, 1279, 29, 705, 71, 2022, 17, 6, 5357, 366, 4852, 2866, 357, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 13404, 5610, 423, 262, 976, 2866, 355, 262, 289, 2022, 17, 5633, 46506, 327, 28270, 7203, 27432, 4943, 16034, 3084, 62, 18638, 62, 48365, 33411, 366, 27432, 1, 1279, 29, 705, 71, 2022, 17, 6, 5357, 366, 4852, 2866, 357, 1...
Who was the away team in a tie no larger than 16 with forest green rovers at home?
SELECT away_team FROM table_name_95 WHERE tie_no > 16 AND home_team = "forest green rovers"
[ 8241, 373, 262, 1497, 1074, 287, 257, 9839, 645, 4025, 621, 1467, 351, 8222, 4077, 686, 690, 379, 1363, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 3865, 33411, 9839, 62, 3919, 1875, 1467, 5357, 1363, 62, 15097, 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 ]
[ 8241, 373, 262, 1497, 1074, 287, 257, 9839, 645, 4025, 621, 1467, 351, 8222, 4077, 686, 690, 379, 1363, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 3865, 33411, 9839, 62, 3919, 1875, 1467, 5357, 1363, 62, 15097, 796, 366, ...
Which items in segment A have a segment D of marble sculptures?
SELECT segment_a FROM table_name_34 WHERE segment_d = "marble sculptures"
[ 13828, 3709, 287, 10618, 317, 423, 257, 10618, 360, 286, 30623, 42645, 30, 46506, 10618, 62, 64, 16034, 3084, 62, 3672, 62, 2682, 33411, 10618, 62, 67, 796, 366, 3876, 903, 42645, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3709, 287, 10618, 317, 423, 257, 10618, 360, 286, 30623, 42645, 30, 46506, 10618, 62, 64, 16034, 3084, 62, 3672, 62, 2682, 33411, 10618, 62, 67, 796, 366, 3876, 903, 42645, 1 ]
Which apartment type code is the most common among apartments with more than one bathroom?
SELECT apt_type_code FROM apartments WHERE bathroom_count > 1 GROUP BY apt_type_code ORDER BY COUNT(*) DESC LIMIT 1
[ 13828, 7962, 2099, 2438, 318, 262, 749, 2219, 1871, 19592, 351, 517, 621, 530, 12436, 30, 46506, 15409, 62, 4906, 62, 8189, 16034, 19592, 33411, 12436, 62, 9127, 1875, 352, 44441, 11050, 15409, 62, 4906, 62, 8189, 38678, 11050, 327, 282...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7962, 2099, 2438, 318, 262, 749, 2219, 1871, 19592, 351, 517, 621, 530, 12436, 30, 46506, 15409, 62, 4906, 62, 8189, 16034, 19592, 33411, 12436, 62, 9127, 1875, 352, 44441, 11050, 15409, 62, 4906, 62, 8189, 38678, 11050, 327, 282...
Loved but Closed: Highest Scoring Closed Questions.
SELECT p.Id AS "post_link", p.Score FROM Posts AS p WHERE NOT p.ClosedDate IS NULL ORDER BY p.Score DESC LIMIT 100
[ 43, 2668, 475, 30550, 25, 41864, 1446, 3255, 30550, 20396, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 2601, 1335, 10430, 3180, 15697, 38678, 11050, 279, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43, 2668, 475, 30550, 25, 41864, 1446, 3255, 30550, 20396, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 279, 13, 26595, 16034, 12043, 7054, 279, 33411, 5626, 279, 13, 2601, 1335, 10430, 3180, 15697, 38678, 11050, 279, 13, ...
iOS thread volume with accepted answers by month.
SELECT COUNT(*) AS AnsweredVolume, TIME_TO_STR(P.CreationDate, '%Y') AS "year", TIME_TO_STR(P.CreationDate, '%m') AS Month FROM Posts AS P WHERE (Tags LIKE '%<ios%' AND NOT Tags LIKE '%<iostream>%') AND PostTypeId = 1 AND CommunityOwnedDate IS NULL AND ClosedDate IS NULL AND AcceptedAnswerId > 0 GROUP BY TIME_TO_STR(P....
[ 35742, 4704, 6115, 351, 6292, 7429, 416, 1227, 13, 46506, 327, 28270, 7, 28104, 7054, 28038, 8279, 31715, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 366, 1941, 1600, 20460, 62, 10468, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35742, 4704, 6115, 351, 6292, 7429, 416, 1227, 13, 46506, 327, 28270, 7, 28104, 7054, 28038, 8279, 31715, 11, 20460, 62, 10468, 62, 18601, 7, 47, 13, 12443, 341, 10430, 11, 705, 4, 56, 11537, 7054, 366, 1941, 1600, 20460, 62, 10468, ...
What college did Bill Cappleman go to?
SELECT college FROM table_10361230_1 WHERE player_name = "Bill Cappleman"
[ 2061, 4152, 750, 3941, 327, 18040, 805, 467, 284, 30, 46506, 4152, 16034, 3084, 62, 940, 2623, 1065, 1270, 62, 16, 33411, 2137, 62, 3672, 796, 366, 17798, 327, 18040, 805, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 4152, 750, 3941, 327, 18040, 805, 467, 284, 30, 46506, 4152, 16034, 3084, 62, 940, 2623, 1065, 1270, 62, 16, 33411, 2137, 62, 3672, 796, 366, 17798, 327, 18040, 805, 1 ]
When the home team scored 17.13 (115), where was the venue?
SELECT "Venue" FROM table_52431 WHERE "Home team score" = '17.13 (115)'
[ 2215, 262, 1363, 1074, 7781, 1596, 13, 1485, 357, 15363, 828, 810, 373, 262, 14359, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 48057, 3132, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1485, 357, 15363, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 262, 1363, 1074, 7781, 1596, 13, 1485, 357, 15363, 828, 810, 373, 262, 14359, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 48057, 3132, 33411, 366, 16060, 1074, 4776, 1, 796, 705, 1558, 13, 1485, 357, 15363, 33047 ]
What was the time when his opponent was Cleber Luciano?
SELECT time FROM table_name_68 WHERE opponent = "cleber luciano"
[ 2061, 373, 262, 640, 618, 465, 6125, 373, 3779, 527, 7598, 10115, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 2375, 527, 17115, 10115, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 640, 618, 465, 6125, 373, 3779, 527, 7598, 10115, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 3104, 33411, 6125, 796, 366, 2375, 527, 17115, 10115, 1 ]
Which score has a record of 58 15 8?
SELECT "Score" FROM table_72011 WHERE "Record" = '58–15–8'
[ 13828, 4776, 468, 257, 1700, 286, 7618, 1315, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 9804, 33411, 366, 23739, 1, 796, 705, 3365, 1906, 1314, 1906, 23, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4776, 468, 257, 1700, 286, 7618, 1315, 807, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 22, 9804, 33411, 366, 23739, 1, 796, 705, 3365, 1906, 1314, 1906, 23, 6 ]
How many pick# for CFL team of Toronto Argonauts?
SELECT COUNT("Pick #") FROM table_30253 WHERE "CFL Team" = 'Toronto Argonauts'
[ 2437, 867, 2298, 2, 329, 45239, 1074, 286, 6586, 49974, 17712, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1270, 28592, 33411, 366, 34, 3697, 4816, 1, 796, 705, 31359, 49974, 17712, 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 ]
[ 2437, 867, 2298, 2, 329, 45239, 1074, 286, 6586, 49974, 17712, 30, 46506, 327, 28270, 7203, 31686, 1303, 4943, 16034, 3084, 62, 1270, 28592, 33411, 366, 34, 3697, 4816, 1, 796, 705, 31359, 49974, 17712, 6 ]
Find the most popular room in the hotel. The most popular room is the room that had seen the largest number of reservations.
SELECT T2.roomname FROM reservations AS T1 JOIN rooms AS T2 ON T1.room = T2.roomid GROUP BY T1.room ORDER BY COUNT(*) DESC LIMIT 1
[ 16742, 262, 749, 2968, 2119, 287, 262, 7541, 13, 383, 749, 2968, 2119, 318, 262, 2119, 326, 550, 1775, 262, 4387, 1271, 286, 24722, 13, 46506, 309, 17, 13, 3823, 3672, 16034, 24722, 7054, 309, 16, 32357, 1268, 9519, 7054, 309, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 16742, 262, 749, 2968, 2119, 287, 262, 7541, 13, 383, 749, 2968, 2119, 318, 262, 2119, 326, 550, 1775, 262, 4387, 1271, 286, 24722, 13, 46506, 309, 17, 13, 3823, 3672, 16034, 24722, 7054, 309, 16, 32357, 1268, 9519, 7054, 309, 17, 6...
What was the attendance on may 21?
SELECT MAX("Attendance") FROM table_79416 WHERE "Date" = 'may 21'
[ 2061, 373, 262, 14858, 319, 743, 2310, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3720, 35218, 33411, 366, 10430, 1, 796, 705, 11261, 2310, 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, 373, 262, 14858, 319, 743, 2310, 30, 46506, 25882, 7203, 8086, 437, 590, 4943, 16034, 3084, 62, 3720, 35218, 33411, 366, 10430, 1, 796, 705, 11261, 2310, 6 ]
What is the final score when the visiting team is the Washington Redskins and the date is September 4?
SELECT final_score FROM table_name_82 WHERE visiting_team = "washington redskins" AND date = "september 4"
[ 2061, 318, 262, 2457, 4776, 618, 262, 10013, 1074, 318, 262, 2669, 22038, 290, 262, 3128, 318, 2693, 604, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 6469, 33411, 10013, 62, 15097, 796, 366, 86, 2542, 2266, 82, 5331, 1, 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 ]
[ 2061, 318, 262, 2457, 4776, 618, 262, 10013, 1074, 318, 262, 2669, 22038, 290, 262, 3128, 318, 2693, 604, 30, 46506, 2457, 62, 26675, 16034, 3084, 62, 3672, 62, 6469, 33411, 10013, 62, 15097, 796, 366, 86, 2542, 2266, 82, 5331, 1, 5...
Sort the gender codes in descending order of their corresponding number of guests. Return both the gender codes and counts. Visualize by pie chart.
SELECT gender_code, COUNT(*) FROM Guests GROUP BY gender_code ORDER BY COUNT(*) DESC
[ 42758, 262, 5279, 12416, 287, 31491, 1502, 286, 511, 11188, 1271, 286, 10650, 13, 8229, 1111, 262, 5279, 12416, 290, 9853, 13, 15612, 1096, 416, 2508, 8262, 13, 46506, 5279, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 46936, 44441, 11050...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 42758, 262, 5279, 12416, 287, 31491, 1502, 286, 511, 11188, 1271, 286, 10650, 13, 8229, 1111, 262, 5279, 12416, 290, 9853, 13, 15612, 1096, 416, 2508, 8262, 13, 46506, 5279, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 46936, 44441, 11050...
Which Hometown/School has a Team of cleveland indians?
SELECT "Hometown/School" FROM table_13519 WHERE "Team" = 'cleveland indians'
[ 13828, 367, 19191, 14, 26130, 468, 257, 4816, 286, 1190, 9731, 773, 1547, 30, 46506, 366, 39, 19191, 14, 26130, 1, 16034, 3084, 62, 17059, 1129, 33411, 366, 15592, 1, 796, 705, 2375, 9731, 773, 1547, 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 ]
[ 13828, 367, 19191, 14, 26130, 468, 257, 4816, 286, 1190, 9731, 773, 1547, 30, 46506, 366, 39, 19191, 14, 26130, 1, 16034, 3084, 62, 17059, 1129, 33411, 366, 15592, 1, 796, 705, 2375, 9731, 773, 1547, 6 ]
Who are the Runner(s)-up with a Margin of 1 stroke?
SELECT "Runner(s)-up" FROM table_39383 WHERE "Margin" = '1 stroke'
[ 8241, 389, 262, 21529, 7, 82, 13219, 929, 351, 257, 11899, 259, 286, 352, 14000, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 2670, 34741, 33411, 366, 24428, 259, 1, 796, 705, 16, 14000, 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 ]
[ 8241, 389, 262, 21529, 7, 82, 13219, 929, 351, 257, 11899, 259, 286, 352, 14000, 30, 46506, 366, 49493, 7, 82, 13219, 929, 1, 16034, 3084, 62, 2670, 34741, 33411, 366, 24428, 259, 1, 796, 705, 16, 14000, 6 ]
What is the David Norris with a Michael D. Higgins that is 46.2%?
SELECT david_norris FROM table_name_92 WHERE michael_d_higgins = "46.2%"
[ 2061, 318, 262, 3271, 33444, 351, 257, 3899, 360, 13, 39043, 326, 318, 6337, 13, 17, 4, 30, 46506, 21970, 62, 13099, 2442, 16034, 3084, 62, 3672, 62, 5892, 33411, 285, 40302, 62, 67, 62, 71, 23567, 796, 366, 3510, 13, 17, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3271, 33444, 351, 257, 3899, 360, 13, 39043, 326, 318, 6337, 13, 17, 4, 30, 46506, 21970, 62, 13099, 2442, 16034, 3084, 62, 3672, 62, 5892, 33411, 285, 40302, 62, 67, 62, 71, 23567, 796, 366, 3510, 13, 17, 39658 ]
Where did the song by Michael Ball, which placed 2nd in Eurovision prior to 1961, place on the UK charts?
SELECT uk_chart FROM table_name_33 WHERE year > 1961 AND at_eurovision = "2nd" AND artist = "michael ball"
[ 8496, 750, 262, 3496, 416, 3899, 6932, 11, 543, 4624, 362, 358, 287, 1898, 10178, 3161, 284, 20510, 11, 1295, 319, 262, 3482, 15907, 30, 46506, 334, 74, 62, 40926, 16034, 3084, 62, 3672, 62, 2091, 33411, 614, 1875, 20510, 5357, 379, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8496, 750, 262, 3496, 416, 3899, 6932, 11, 543, 4624, 362, 358, 287, 1898, 10178, 3161, 284, 20510, 11, 1295, 319, 262, 3482, 15907, 30, 46506, 334, 74, 62, 40926, 16034, 3084, 62, 3672, 62, 2091, 33411, 614, 1875, 20510, 5357, 379, ...
Count the Earnings per share ( ) in April smaller than 2012, a Revenue (US $million) of 432.6 and a EBIT (US $m) smaller than 150.5?
SELECT SUM(earnings_per_share__) AS ¢_ FROM table_name_34 WHERE year_to_april < 2012 AND revenue__us_$million_ = 432.6 AND ebit__us_$m_ < 150.5
[ 12332, 262, 22535, 654, 583, 2648, 357, 1267, 287, 3035, 4833, 621, 2321, 11, 257, 20197, 357, 2937, 720, 14100, 8, 286, 46393, 13, 21, 290, 257, 412, 26094, 357, 2937, 720, 76, 8, 4833, 621, 6640, 13, 20, 30, 46506, 35683, 7, 451...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12332, 262, 22535, 654, 583, 2648, 357, 1267, 287, 3035, 4833, 621, 2321, 11, 257, 20197, 357, 2937, 720, 14100, 8, 286, 46393, 13, 21, 290, 257, 412, 26094, 357, 2937, 720, 76, 8, 4833, 621, 6640, 13, 20, 30, 46506, 35683, 7, 451...
when was patient 75658 prescribed a medication via dialys route the last time?
SELECT prescriptions.startdate FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 75658) AND prescriptions.route = 'dialys' ORDER BY prescriptions.startdate DESC LIMIT 1
[ 12518, 373, 5827, 5441, 38431, 14798, 257, 14103, 2884, 5980, 893, 6339, 262, 938, 640, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 5441, 38431, 14798, 257, 14103, 2884, 5980, 893, 6339, 262, 938, 640, 30, 46506, 34092, 13, 9688, 4475, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, 312, 16034, 25349,...
Which Australian has British of s?
SELECT "Australian" FROM table_78709 WHERE "British" = 'ɒs'
[ 13828, 6638, 468, 3517, 286, 264, 30, 46506, 366, 38036, 1, 16034, 3084, 62, 3695, 31495, 33411, 366, 25631, 1, 796, 705, 133, 240, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 6638, 468, 3517, 286, 264, 30, 46506, 366, 38036, 1, 16034, 3084, 62, 3695, 31495, 33411, 366, 25631, 1, 796, 705, 133, 240, 82, 6 ]
Which regular season was 2013 in?
SELECT "Regular Season" FROM table_70377 WHERE "Year" = '2013'
[ 13828, 3218, 1622, 373, 2211, 287, 30, 46506, 366, 40164, 7369, 1, 16034, 3084, 62, 2154, 26514, 33411, 366, 17688, 1, 796, 705, 6390, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3218, 1622, 373, 2211, 287, 30, 46506, 366, 40164, 7369, 1, 16034, 3084, 62, 2154, 26514, 33411, 366, 17688, 1, 796, 705, 6390, 6 ]
Which tournament had 1R in 2013?
SELECT tournament FROM table_name_8 WHERE 2013 = "1r"
[ 13828, 7756, 550, 352, 49, 287, 2211, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 23, 33411, 2211, 796, 366, 16, 81, 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, 7756, 550, 352, 49, 287, 2211, 30, 46506, 7756, 16034, 3084, 62, 3672, 62, 23, 33411, 2211, 796, 366, 16, 81, 1 ]
How many goals for occurred when the goals against was less than 56 and games played was larger than 7 with less than 6 wins?
SELECT COUNT("Goals For") FROM table_56330 WHERE "Goals Against" < '56' AND "Games Played" > '7' AND "Wins" < '6'
[ 2437, 867, 4661, 329, 5091, 618, 262, 4661, 1028, 373, 1342, 621, 7265, 290, 1830, 2826, 373, 4025, 621, 767, 351, 1342, 621, 718, 7864, 30, 46506, 327, 28270, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 3980, 26073, 33411, 366, 524...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4661, 329, 5091, 618, 262, 4661, 1028, 373, 1342, 621, 7265, 290, 1830, 2826, 373, 4025, 621, 767, 351, 1342, 621, 718, 7864, 30, 46506, 327, 28270, 7203, 5247, 874, 1114, 4943, 16034, 3084, 62, 3980, 26073, 33411, 366, 524...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of founder and the average of code , and group by attribute founder, order in asc by the Y.
SELECT T2.Founder, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Founder ORDER BY T1.Code
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 1502, 287, 10570, 416, 262, 575, 13, 46506, 309, 17, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 257, 2318, 8262, 2523, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 1502, 287, 10570, 416, 262, 575, 13, 46506, 309, 17, 13,...
calculate the maximum age of female patients who have hispanic or latino ethnic background.
SELECT MAX(demographic.age) FROM demographic WHERE demographic.gender = "F" AND demographic.ethnicity = "HISPANIC OR LATINO"
[ 9948, 3129, 378, 262, 5415, 2479, 286, 4048, 3871, 508, 423, 465, 35843, 393, 3042, 2879, 9450, 4469, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 38546, 414, 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 ]
[ 9948, 3129, 378, 262, 5415, 2479, 286, 4048, 3871, 508, 423, 465, 35843, 393, 3042, 2879, 9450, 4469, 13, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 16728, 13, 38546, 414, 7...
What is No. 5, when No. 2 is Olivia, when No. 4 is Ava, and when No. 6 is Abigail?
SELECT no_5 FROM table_name_39 WHERE no_2 = "olivia" AND no_4 = "ava" AND no_6 = "abigail"
[ 2061, 318, 1400, 13, 642, 11, 618, 1400, 13, 362, 318, 33911, 11, 618, 1400, 13, 604, 318, 5184, 64, 11, 290, 618, 1400, 13, 718, 318, 2275, 328, 603, 30, 46506, 645, 62, 20, 16034, 3084, 62, 3672, 62, 2670, 33411, 645, 62, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 1400, 13, 642, 11, 618, 1400, 13, 362, 318, 33911, 11, 618, 1400, 13, 604, 318, 5184, 64, 11, 290, 618, 1400, 13, 718, 318, 2275, 328, 603, 30, 46506, 645, 62, 20, 16034, 3084, 62, 3672, 62, 2670, 33411, 645, 62, 17, ...
Find the id of the item whose title is 'orange'.
SELECT i_id FROM item WHERE title = "orange"
[ 16742, 262, 4686, 286, 262, 2378, 3025, 3670, 318, 705, 43745, 4458, 46506, 1312, 62, 312, 16034, 2378, 33411, 3670, 796, 366, 43745, 1 ]
[ 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, 4686, 286, 262, 2378, 3025, 3670, 318, 705, 43745, 4458, 46506, 1312, 62, 312, 16034, 2378, 33411, 3670, 796, 366, 43745, 1 ]
Who has the highest total and a to par of +14?
SELECT MAX("Total") FROM table_78739 WHERE "To par" = '+14'
[ 8241, 468, 262, 4511, 2472, 290, 257, 284, 1582, 286, 1343, 1415, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 41019, 2670, 33411, 366, 2514, 1582, 1, 796, 705, 10, 1415, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 468, 262, 4511, 2472, 290, 257, 284, 1582, 286, 1343, 1415, 30, 46506, 25882, 7203, 14957, 4943, 16034, 3084, 62, 41019, 2670, 33411, 366, 2514, 1582, 1, 796, 705, 10, 1415, 6 ]
How many different FSB are there for the 7140N model?
SELECT COUNT(fsb__mhz_) FROM table_269920_3 WHERE model = "7140N"
[ 2437, 867, 1180, 376, 16811, 389, 612, 329, 262, 767, 15187, 45, 2746, 30, 46506, 327, 28270, 7, 9501, 65, 834, 76, 32179, 62, 8, 16034, 3084, 62, 2075, 2079, 1238, 62, 18, 33411, 2746, 796, 366, 22, 15187, 45, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 376, 16811, 389, 612, 329, 262, 767, 15187, 45, 2746, 30, 46506, 327, 28270, 7, 9501, 65, 834, 76, 32179, 62, 8, 16034, 3084, 62, 2075, 2079, 1238, 62, 18, 33411, 2746, 796, 366, 22, 15187, 45, 1 ]
Who was the most recent RCLANG 193 teacher ?
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instructor.offering_id = course_offering.offering_id INNER JOIN instructor ON offering_instructor.instructor_id = instructor.instructor_id WHERE course_offeri...
[ 8241, 373, 262, 749, 2274, 371, 5097, 15567, 29691, 4701, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 8241, 373, 262, 749, 2274, 371, 5097, 15567, 29691, 4701, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, ...
What is all the job history info done by employees earning a salary greater than or equal to 12000?
SELECT * FROM job_history AS T1 JOIN employees AS T2 ON T1.employee_id = T2.employee_id WHERE T2.salary >= 12000
[ 2061, 318, 477, 262, 1693, 2106, 7508, 1760, 416, 4409, 13748, 257, 9588, 3744, 621, 393, 4961, 284, 1105, 830, 30, 46506, 1635, 16034, 1693, 62, 23569, 7054, 309, 16, 32357, 1268, 4409, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 477, 262, 1693, 2106, 7508, 1760, 416, 4409, 13748, 257, 9588, 3744, 621, 393, 4961, 284, 1105, 830, 30, 46506, 1635, 16034, 1693, 62, 23569, 7054, 309, 16, 32357, 1268, 4409, 7054, 309, 17, 6177, 309, 16, 13, 7033, 1453, ...
count the number of patients for whom sennosides was prescribed within 2 months after they had been diagnosed with sepsis this year.
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, diagnosis.diagnosistime FROM diagnosis JOIN patient ON diagnosis.patientunitstayid = patient.patientunitstayid WHERE diagnosis.diagnosisname = 'sepsis' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '...
[ 9127, 262, 1271, 286, 3871, 329, 4150, 264, 1697, 418, 1460, 373, 14798, 1626, 362, 1933, 706, 484, 550, 587, 14641, 351, 384, 862, 271, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 329, 4150, 264, 1697, 418, 1460, 373, 14798, 1626, 362, 1933, 706, 484, 550, 587, 14641, 351, 384, 862, 271, 428, 614, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 256, 16, 13, 403, 1557, 538, 312, 8...
Name the most points against when points for is 860
SELECT MAX(pts_agst) FROM table_13018116_1 WHERE pts_for = 860
[ 5376, 262, 749, 2173, 1028, 618, 2173, 329, 318, 807, 1899, 46506, 25882, 7, 457, 82, 62, 363, 301, 8, 16034, 3084, 62, 1485, 29159, 18298, 62, 16, 33411, 43344, 62, 1640, 796, 807, 1899 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 749, 2173, 1028, 618, 2173, 329, 318, 807, 1899, 46506, 25882, 7, 457, 82, 62, 363, 301, 8, 16034, 3084, 62, 1485, 29159, 18298, 62, 16, 33411, 43344, 62, 1640, 796, 807, 1899 ]
What is the engine(s) on the car before 1978 with ensign n177 chassis?
SELECT "Engine(s)" FROM table_67039 WHERE "Chassis" = 'ensign n177' AND "Year" < '1978'
[ 2061, 318, 262, 3113, 7, 82, 8, 319, 262, 1097, 878, 15524, 351, 3140, 570, 299, 22413, 24587, 30, 46506, 366, 13798, 7, 82, 16725, 16034, 3084, 62, 43798, 2670, 33411, 366, 1925, 20297, 1, 796, 705, 641, 570, 299, 22413, 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 ]
[ 2061, 318, 262, 3113, 7, 82, 8, 319, 262, 1097, 878, 15524, 351, 3140, 570, 299, 22413, 24587, 30, 46506, 366, 13798, 7, 82, 16725, 16034, 3084, 62, 43798, 2670, 33411, 366, 1925, 20297, 1, 796, 705, 641, 570, 299, 22413, 6, 5357, ...
Create a bar chart showing how many class across class, and list from high to low by the x-axis please.
SELECT Class, COUNT(Class) FROM race GROUP BY Class ORDER BY Class DESC
[ 16447, 257, 2318, 8262, 4478, 703, 867, 1398, 1973, 1398, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 3387, 13, 46506, 5016, 11, 327, 28270, 7, 9487, 8, 16034, 3234, 44441, 11050, 5016, 38678, 11050, 5016, 22196, 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 ]
[ 16447, 257, 2318, 8262, 4478, 703, 867, 1398, 1973, 1398, 11, 290, 1351, 422, 1029, 284, 1877, 416, 262, 2124, 12, 22704, 3387, 13, 46506, 5016, 11, 327, 28270, 7, 9487, 8, 16034, 3234, 44441, 11050, 5016, 38678, 11050, 5016, 22196, 3...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about manager_id over the job_id , sort Y from low to high order please.
SELECT JOB_ID, MANAGER_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY MANAGER_ID
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 3297, 575, 422, 1877, 284, 1029, 1502, 3387, 13, 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...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1577, 502, 262, 7208, 546, 4706, 62, 312, 625, 262, 1693, 62, 312, 837, 3297, 575, 422, 1877, 284, 1029, 1502, 3387, 13, 4...
What tournament location has south korea as the country?
SELECT tournament_location FROM table_name_43 WHERE country = "south korea"
[ 2061, 7756, 4067, 468, 5366, 479, 46215, 355, 262, 1499, 30, 46506, 7756, 62, 24886, 16034, 3084, 62, 3672, 62, 3559, 33411, 1499, 796, 366, 35782, 479, 46215, 1 ]
[ 1, 1, 1, 1, 1, 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, 7756, 4067, 468, 5366, 479, 46215, 355, 262, 1499, 30, 46506, 7756, 62, 24886, 16034, 3084, 62, 3672, 62, 3559, 33411, 1499, 796, 366, 35782, 479, 46215, 1 ]
for the robot black nickname, what framed size is used
SELECT "FRAMED SIZE" FROM table_19850 WHERE "NICKNAME" = 'Robot Black'
[ 1640, 262, 9379, 2042, 21814, 11, 644, 23665, 2546, 318, 973, 46506, 366, 10913, 2390, 1961, 311, 35400, 1, 16034, 3084, 62, 22337, 1120, 33411, 366, 45, 11860, 20608, 1, 796, 705, 14350, 313, 2619, 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 ]
[ 1640, 262, 9379, 2042, 21814, 11, 644, 23665, 2546, 318, 973, 46506, 366, 10913, 2390, 1961, 311, 35400, 1, 16034, 3084, 62, 22337, 1120, 33411, 366, 45, 11860, 20608, 1, 796, 705, 14350, 313, 2619, 6 ]
What are the top three apartment types in terms of the average room count? Give me the
SELECT apt_type_code FROM apartments GROUP BY apt_type_code ORDER BY AVG(room_count) DESC LIMIT 3
[ 2061, 389, 262, 1353, 1115, 7962, 3858, 287, 2846, 286, 262, 2811, 2119, 954, 30, 13786, 502, 262, 46506, 15409, 62, 4906, 62, 8189, 16034, 19592, 44441, 11050, 15409, 62, 4906, 62, 8189, 38678, 11050, 35224, 7, 3823, 62, 9127, 8, 221...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1353, 1115, 7962, 3858, 287, 2846, 286, 262, 2811, 2119, 954, 30, 13786, 502, 262, 46506, 15409, 62, 4906, 62, 8189, 16034, 19592, 44441, 11050, 15409, 62, 4906, 62, 8189, 38678, 11050, 35224, 7, 3823, 62, 9127, 8, 221...
what is the home team when the round # is round 1?
SELECT home_team FROM table_26847237_3 WHERE round__number = "Round 1"
[ 10919, 318, 262, 1363, 1074, 618, 262, 2835, 1303, 318, 2835, 352, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 25022, 2857, 24693, 62, 18, 33411, 2835, 834, 17618, 796, 366, 22685, 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 ]
[ 10919, 318, 262, 1363, 1074, 618, 262, 2835, 1303, 318, 2835, 352, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 25022, 2857, 24693, 62, 18, 33411, 2835, 834, 17618, 796, 366, 22685, 352, 1 ]
What is every year named for the latitude of 66.5N?
SELECT year_named FROM table_16799784_12 WHERE latitude = "66.5N"
[ 2061, 318, 790, 614, 3706, 329, 262, 32477, 286, 7930, 13, 20, 45, 30, 46506, 614, 62, 13190, 16034, 3084, 62, 21940, 2079, 37688, 62, 1065, 33411, 32477, 796, 366, 2791, 13, 20, 45, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 790, 614, 3706, 329, 262, 32477, 286, 7930, 13, 20, 45, 30, 46506, 614, 62, 13190, 16034, 3084, 62, 21940, 2079, 37688, 62, 1065, 33411, 32477, 796, 366, 2791, 13, 20, 45, 1 ]
Return the names and ids of each account, as well as the number of transactions.
SELECT T2.account_name, T1.account_id, COUNT(*) FROM financial_transactions AS T1 JOIN accounts AS T2 ON T1.account_id = T2.account_id GROUP BY T1.account_id
[ 13615, 262, 3891, 290, 220, 2340, 286, 1123, 1848, 11, 355, 880, 355, 262, 1271, 286, 8945, 13, 46506, 309, 17, 13, 23317, 62, 3672, 11, 309, 16, 13, 23317, 62, 312, 11, 327, 28270, 7, 28104, 16034, 3176, 62, 7645, 4658, 7054, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 290, 220, 2340, 286, 1123, 1848, 11, 355, 880, 355, 262, 1271, 286, 8945, 13, 46506, 309, 17, 13, 23317, 62, 3672, 11, 309, 16, 13, 23317, 62, 312, 11, 327, 28270, 7, 28104, 16034, 3176, 62, 7645, 4658, 7054, 309...
when did the last hospital admission time that patient 5395 had been admitted via phys referral/normal deli?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 5395 AND admissions.admission_location = 'phys referral/normal deli' ORDER BY admissions.admittime DESC LIMIT 1
[ 12518, 750, 262, 938, 4436, 13938, 640, 326, 5827, 642, 31010, 550, 587, 6848, 2884, 2281, 31413, 14, 11265, 1619, 72, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 31010, 5357, 25349, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 262, 938, 4436, 13938, 640, 326, 5827, 642, 31010, 550, 587, 6848, 2884, 2281, 31413, 14, 11265, 1619, 72, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 642, 31010, 5357, 25349, ...
What are the different cities listed?
SELECT DISTINCT headquarter FROM manufacturers
[ 2061, 389, 262, 1180, 4736, 5610, 30, 46506, 360, 8808, 1268, 4177, 1182, 24385, 16034, 11372 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 1180, 4736, 5610, 30, 46506, 360, 8808, 1268, 4177, 1182, 24385, 16034, 11372 ]
Name the games with marks of 21
SELECT "Games" FROM table_69271 WHERE "Marks" = '21'
[ 5376, 262, 1830, 351, 8849, 286, 2310, 46506, 366, 24474, 1, 16034, 3084, 62, 3388, 28977, 33411, 366, 44, 5558, 1, 796, 705, 2481, 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 ]
[ 5376, 262, 1830, 351, 8849, 286, 2310, 46506, 366, 24474, 1, 16034, 3084, 62, 3388, 28977, 33411, 366, 44, 5558, 1, 796, 705, 2481, 6 ]
What was the average tonnage for the Siljan ship from Sweden?
SELECT AVG(tonnage) FROM table_name_97 WHERE nationality = "sweden" AND name_of_ship = "siljan"
[ 2061, 373, 262, 2811, 5680, 77, 496, 329, 262, 4243, 13881, 4074, 422, 10710, 30, 46506, 35224, 7, 1122, 77, 496, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 29835, 796, 366, 2032, 31829, 1, 5357, 1438, 62, 1659, 62, 6720, 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 ]
[ 2061, 373, 262, 2811, 5680, 77, 496, 329, 262, 4243, 13881, 4074, 422, 10710, 30, 46506, 35224, 7, 1122, 77, 496, 8, 16034, 3084, 62, 3672, 62, 5607, 33411, 29835, 796, 366, 2032, 31829, 1, 5357, 1438, 62, 1659, 62, 6720, 796, 366, ...
How many Januarys had records of 22-15-6?
SELECT COUNT(january) FROM table_name_14 WHERE record = "22-15-6"
[ 2437, 867, 3269, 82, 550, 4406, 286, 2534, 12, 1314, 12, 21, 30, 46506, 327, 28270, 7, 13881, 2838, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 1700, 796, 366, 1828, 12, 1314, 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 ]
[ 2437, 867, 3269, 82, 550, 4406, 286, 2534, 12, 1314, 12, 21, 30, 46506, 327, 28270, 7, 13881, 2838, 8, 16034, 3084, 62, 3672, 62, 1415, 33411, 1700, 796, 366, 1828, 12, 1314, 12, 21, 1 ]
Find Nationality and the amount of Nationality , and group by attribute Nationality, and visualize them by a bar chart.
SELECT Nationality, COUNT(Nationality) FROM swimmer GROUP BY Nationality
[ 16742, 2351, 414, 290, 262, 2033, 286, 2351, 414, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 9422, 647, 44441, 11050, 2351, 414 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2351, 414, 290, 262, 2033, 286, 2351, 414, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 38350, 606, 416, 257, 2318, 8262, 13, 46506, 2351, 414, 11, 327, 28270, 7, 16186, 414, 8, 16034, 9422, 647, 44441, 11050, 2351, 414 ]
What is the home team of the game with a 2-0 record?
SELECT "Home" FROM table_59583 WHERE "Record" = '2-0'
[ 2061, 318, 262, 1363, 1074, 286, 262, 983, 351, 257, 362, 12, 15, 1700, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3270, 46239, 33411, 366, 23739, 1, 796, 705, 17, 12, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 1074, 286, 262, 983, 351, 257, 362, 12, 15, 1700, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3270, 46239, 33411, 366, 23739, 1, 796, 705, 17, 12, 15, 6 ]
From which party is the incumbent who was first elected to office in 1990?
SELECT "Party" FROM table_12872 WHERE "First elected" = '1990'
[ 4863, 543, 2151, 318, 262, 23526, 508, 373, 717, 7018, 284, 2607, 287, 6303, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 12762, 4761, 33411, 366, 5962, 7018, 1, 796, 705, 19891, 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 ]
[ 4863, 543, 2151, 318, 262, 23526, 508, 373, 717, 7018, 284, 2607, 287, 6303, 30, 46506, 366, 33553, 1, 16034, 3084, 62, 12762, 4761, 33411, 366, 5962, 7018, 1, 796, 705, 19891, 6 ]
what is the number of patients categorized under hematology lab test who have alcoholic cirrhosis of liver diagnoses?
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 = "Alcohol cirrhosis liver" AND lab."CATEGORY" = "Hematology"
[ 10919, 318, 262, 1271, 286, 3871, 37661, 739, 339, 6759, 1435, 2248, 1332, 508, 423, 26016, 10774, 17179, 5958, 286, 14383, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 37661, 739, 339, 6759, 1435, 2248, 1332, 508, 423, 26016, 10774, 17179, 5958, 286, 14383, 40567, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, ...
how many patients whose days of hospital stay is greater than 17 and diagnoses long title is polyneuropathy in diabetes?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "17" AND diagnoses.long_title = "Polyneuropathy in diabetes"
[ 4919, 867, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 1596, 290, 40567, 890, 3670, 318, 7514, 710, 1434, 16786, 287, 12593, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 286, 4436, 2652, 318, 3744, 621, 1596, 290, 40567, 890, 3670, 318, 7514, 710, 1434, 16786, 287, 12593, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 2147...
what's the date with attendance being 40657
SELECT date FROM table_14951643_1 WHERE attendance = 40657
[ 10919, 338, 262, 3128, 351, 14858, 852, 2319, 37680, 46506, 3128, 16034, 3084, 62, 1415, 3865, 1433, 3559, 62, 16, 33411, 14858, 796, 2319, 37680 ]
[ 1, 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, 3128, 351, 14858, 852, 2319, 37680, 46506, 3128, 16034, 3084, 62, 1415, 3865, 1433, 3559, 62, 16, 33411, 14858, 796, 2319, 37680 ]
Which Competition has Opponents of pkns fc, and a Score of 0-0?
SELECT "Competition" FROM table_75466 WHERE "Opponents" = 'pkns fc' AND "Score" = '0-0'
[ 13828, 27348, 468, 9385, 3906, 286, 279, 74, 5907, 277, 66, 11, 290, 257, 15178, 286, 657, 12, 15, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 41874, 2791, 33411, 366, 27524, 3906, 1, 796, 705, 79, 74, 5907, 277, 66, 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 ]
[ 13828, 27348, 468, 9385, 3906, 286, 279, 74, 5907, 277, 66, 11, 290, 257, 15178, 286, 657, 12, 15, 30, 46506, 366, 7293, 15620, 1, 16034, 3084, 62, 41874, 2791, 33411, 366, 27524, 3906, 1, 796, 705, 79, 74, 5907, 277, 66, 6, 5357,...
Which run 2 with final of 5:24.47?
SELECT "Run 2" FROM table_47598 WHERE "Final" = '5:24.47'
[ 13828, 1057, 362, 351, 2457, 286, 642, 25, 1731, 13, 2857, 30, 46506, 366, 10987, 362, 1, 16034, 3084, 62, 32576, 4089, 33411, 366, 19006, 1, 796, 705, 20, 25, 1731, 13, 2857, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1057, 362, 351, 2457, 286, 642, 25, 1731, 13, 2857, 30, 46506, 366, 10987, 362, 1, 16034, 3084, 62, 32576, 4089, 33411, 366, 19006, 1, 796, 705, 20, 25, 1731, 13, 2857, 6 ]
What is the highest production code of the episodes having a US viewership of exactly 2.3?
SELECT MAX("Production Code") FROM table_30759 WHERE "U.S. viewers (millions)" = '2.3'
[ 2061, 318, 262, 4511, 3227, 2438, 286, 262, 8640, 1719, 257, 1294, 48347, 286, 3446, 362, 13, 18, 30, 46506, 25882, 7203, 35027, 6127, 4943, 16034, 3084, 62, 1270, 38314, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4511, 3227, 2438, 286, 262, 8640, 1719, 257, 1294, 48347, 286, 3446, 362, 13, 18, 30, 46506, 25882, 7203, 35027, 6127, 4943, 16034, 3084, 62, 1270, 38314, 33411, 366, 52, 13, 50, 13, 10209, 357, 17805, 507, 16725, 796,...
all flights from PITTSBURGH to PHILADELPHIA that arrive at 1800 o'clock next tuesday
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE (((((flight.arrival_time < flight.departure_time) AND date_day.day_number = 22 AND date_day.month_number = 3 AND date_day.year = 1991 AND days.da...
[ 439, 13956, 422, 49040, 4694, 38926, 17511, 284, 9370, 4146, 2885, 3698, 11909, 3539, 326, 9240, 379, 21431, 267, 6, 15750, 1306, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 439, 13956, 422, 49040, 4694, 38926, 17511, 284, 9370, 4146, 2885, 3698, 11909, 3539, 326, 9240, 379, 21431, 267, 6, 15750, 1306, 256, 3322, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15...
tell how many wins there was when the score was 490
SELECT COUNT("Won") FROM table_19123 WHERE "Points for" = '490'
[ 33331, 703, 867, 7864, 612, 373, 618, 262, 4776, 373, 45601, 46506, 327, 28270, 7203, 54, 261, 4943, 16034, 3084, 62, 1129, 10163, 33411, 366, 40710, 329, 1, 796, 705, 31503, 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 ]
[ 33331, 703, 867, 7864, 612, 373, 618, 262, 4776, 373, 45601, 46506, 327, 28270, 7203, 54, 261, 4943, 16034, 3084, 62, 1129, 10163, 33411, 366, 40710, 329, 1, 796, 705, 31503, 6 ]
what were the top four medicines that were frequently prescribed a year before?
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE DATETIME(medication.drugstarttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 4
[ 10919, 547, 262, 1353, 1440, 23533, 326, 547, 6777, 14798, 257, 614, 878, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 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...
[ 10919, 547, 262, 1353, 1440, 23533, 326, 547, 6777, 14798, 257, 614, 878, 30, 46506, 256, 16, 13, 30349, 3672, 16034, 357, 46506, 14103, 13, 30349, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, 28270, ...
What's the Time/Retired of Laps of 75?
SELECT "Time/Retired" FROM table_51739 WHERE "Laps" = '75'
[ 2061, 338, 262, 3862, 14, 9781, 1202, 286, 406, 1686, 286, 5441, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 48170, 2670, 33411, 366, 43, 1686, 1, 796, 705, 2425, 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, 338, 262, 3862, 14, 9781, 1202, 286, 406, 1686, 286, 5441, 30, 46506, 366, 7575, 14, 9781, 1202, 1, 16034, 3084, 62, 48170, 2670, 33411, 366, 43, 1686, 1, 796, 705, 2425, 6 ]
who is the runner-up when the winning score is 16 (68-70-65-65=268)?
SELECT runner_up FROM table_name_26 WHERE winning_score = −16(68 - 70 - 65 - 65 = 268)
[ 8727, 318, 262, 17490, 12, 929, 618, 262, 5442, 4776, 318, 1467, 357, 3104, 12, 2154, 12, 2996, 12, 2996, 28, 25022, 19427, 46506, 17490, 62, 929, 16034, 3084, 62, 3672, 62, 2075, 33411, 5442, 62, 26675, 796, 9746, 1433, 7, 3104, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 318, 262, 17490, 12, 929, 618, 262, 5442, 4776, 318, 1467, 357, 3104, 12, 2154, 12, 2996, 12, 2996, 28, 25022, 19427, 46506, 17490, 62, 929, 16034, 3084, 62, 3672, 62, 2075, 33411, 5442, 62, 26675, 796, 9746, 1433, 7, 3104, 53...
did patient 006-36108 have an allergic reaction to anything in 05/this year?
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-36108')) AND DATETIME(allergy.allergytime, 'start of year') = DATETIME(CURRE...
[ 20839, 5827, 3571, 21, 12, 2623, 15711, 423, 281, 31856, 6317, 284, 1997, 287, 8870, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5827, 3571, 21, 12, 2623, 15711, 423, 281, 31856, 6317, 284, 1997, 287, 8870, 14, 5661, 614, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 36197, 33411, 36197, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029,...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the average of department_id over the job_id , and group by attribute job_id, could you rank from high to low by the y axis?
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID) DESC
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 5011, 62, 312, 625, 262, 1693, 62, ...
Total Users that Access SOpt in the last 30 days.
SELECT COUNT(*) FROM Users WHERE DATEDIFF(day, LastAccessDate, CURRENT_TIMESTAMP()) < 30
[ 14957, 18987, 326, 8798, 12809, 457, 287, 262, 938, 1542, 1528, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 360, 11617, 29267, 7, 820, 11, 4586, 15457, 10430, 11, 327, 39237, 62, 51, 3955, 6465, 23518, 28955, 1279, 1542 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 14957, 18987, 326, 8798, 12809, 457, 287, 262, 938, 1542, 1528, 13, 46506, 327, 28270, 7, 28104, 16034, 18987, 33411, 360, 11617, 29267, 7, 820, 11, 4586, 15457, 10430, 11, 327, 39237, 62, 51, 3955, 6465, 23518, 28955, 1279, 1542 ]
What FlatSpin actor played the same role as Robert Austin?
SELECT flatspin FROM table_17827271_1 WHERE actor_in_original_production = "Robert Austin"
[ 2061, 21939, 4561, 259, 8674, 2826, 262, 976, 2597, 355, 5199, 9533, 30, 46506, 38157, 11635, 16034, 3084, 62, 23188, 1983, 28977, 62, 16, 33411, 8674, 62, 259, 62, 14986, 62, 25493, 796, 366, 19156, 9533, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21939, 4561, 259, 8674, 2826, 262, 976, 2597, 355, 5199, 9533, 30, 46506, 38157, 11635, 16034, 3084, 62, 23188, 1983, 28977, 62, 16, 33411, 8674, 62, 259, 62, 14986, 62, 25493, 796, 366, 19156, 9533, 1 ]
For entries with fewer than 28 played, with 45 goals against and points 1 of 33, what is the average drawn?
SELECT AVG(drawn) FROM table_name_45 WHERE points_1 = "33" AND goals_against = 45 AND played < 28
[ 1890, 12784, 351, 7380, 621, 2579, 2826, 11, 351, 4153, 4661, 1028, 290, 2173, 352, 286, 4747, 11, 644, 318, 262, 2811, 7428, 30, 46506, 35224, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 2173, 62, 16, 796, 366, 2091, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12784, 351, 7380, 621, 2579, 2826, 11, 351, 4153, 4661, 1028, 290, 2173, 352, 286, 4747, 11, 644, 318, 262, 2811, 7428, 30, 46506, 35224, 7, 41549, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 2173, 62, 16, 796, 366, 2091, 1, ...
Let me know the number of dead patients who had a creatinine body fluid lab test.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.expire_flag = "1" AND lab.label = "Creatinine, Body Fluid"
[ 5756, 502, 760, 262, 1271, 286, 2636, 3871, 508, 550, 257, 1827, 259, 500, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 5756, 502, 760, 262, 1271, 286, 2636, 3871, 508, 550, 257, 1827, 259, 500, 1767, 11711, 2248, 1332, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 1672...
What was the aggregate for the match with a team 2 of Kenya?
SELECT "Agg." FROM table_42675 WHERE "Team 2" = 'kenya'
[ 2061, 373, 262, 19406, 329, 262, 2872, 351, 257, 1074, 362, 286, 21506, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 42780, 2425, 33411, 366, 15592, 362, 1, 796, 705, 3464, 3972, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 19406, 329, 262, 2872, 351, 257, 1074, 362, 286, 21506, 30, 46506, 366, 46384, 526, 16034, 3084, 62, 42780, 2425, 33411, 366, 15592, 362, 1, 796, 705, 3464, 3972, 6 ]
What is the earliest date with Great Expectations label with LP format?
SELECT MIN("Date") FROM table_37591 WHERE "Label" = 'great expectations' AND "Format" = 'lp'
[ 2061, 318, 262, 14555, 3128, 351, 3878, 23600, 602, 6167, 351, 18470, 5794, 30, 46506, 20625, 7203, 10430, 4943, 16034, 3084, 62, 22318, 6420, 33411, 366, 33986, 1, 796, 705, 18223, 9027, 6, 5357, 366, 26227, 1, 796, 705, 34431, 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, 14555, 3128, 351, 3878, 23600, 602, 6167, 351, 18470, 5794, 30, 46506, 20625, 7203, 10430, 4943, 16034, 3084, 62, 22318, 6420, 33411, 366, 33986, 1, 796, 705, 18223, 9027, 6, 5357, 366, 26227, 1, 796, 705, 34431, 6 ]
did robby gordon place above or beloy bobby rahal ?
SELECT (SELECT "pos" FROM table_204_468 WHERE "driver" = 'robby gordon') < (SELECT "pos" FROM table_204_468 WHERE "driver" = 'bobby rahal')
[ 20839, 3857, 1525, 308, 9999, 1295, 2029, 393, 894, 726, 275, 11369, 374, 993, 282, 5633, 46506, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 38472, 33411, 366, 26230, 1, 796, 705, 22609, 1525, 308, 9999, 11537, 1279, 357, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3857, 1525, 308, 9999, 1295, 2029, 393, 894, 726, 275, 11369, 374, 993, 282, 5633, 46506, 357, 46506, 366, 1930, 1, 16034, 3084, 62, 18638, 62, 38472, 33411, 366, 26230, 1, 796, 705, 22609, 1525, 308, 9999, 11537, 1279, 357, 46...
What U.S. Rap has life in the concrete jungle as the album?
SELECT "U.S. Rap" FROM table_63575 WHERE "Album" = 'life in the concrete jungle'
[ 2061, 471, 13, 50, 13, 12281, 468, 1204, 287, 262, 10017, 20712, 355, 262, 5062, 30, 46506, 366, 52, 13, 50, 13, 12281, 1, 16034, 3084, 62, 48250, 2425, 33411, 366, 2348, 4435, 1, 796, 705, 6042, 287, 262, 10017, 20712, 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, 471, 13, 50, 13, 12281, 468, 1204, 287, 262, 10017, 20712, 355, 262, 5062, 30, 46506, 366, 52, 13, 50, 13, 12281, 1, 16034, 3084, 62, 48250, 2425, 33411, 366, 2348, 4435, 1, 796, 705, 6042, 287, 262, 10017, 20712, 6 ]
Which authors have written a paper with title containing the word 'Monadic'? Return their last names.
SELECT t1.lname FROM authors AS t1 JOIN authorship AS t2 ON t1.authid = t2.authid JOIN papers AS t3 ON t2.paperid = t3.paperid WHERE t3.title LIKE "%Monadic%"
[ 13828, 7035, 423, 3194, 257, 3348, 351, 3670, 7268, 262, 1573, 705, 9069, 23876, 30960, 8229, 511, 938, 3891, 13, 46506, 256, 16, 13, 75, 3672, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 7035, 423, 3194, 257, 3348, 351, 3670, 7268, 262, 1573, 705, 9069, 23876, 30960, 8229, 511, 938, 3891, 13, 46506, 256, 16, 13, 75, 3672, 16034, 7035, 7054, 256, 16, 32357, 1268, 7035, 1056, 7054, 256, 17, 6177, 256, 16, 13, 1...
How many different people taught CICS 301 in the Winter of 2020 ?
SELECT COUNT(DISTINCT instructor.instructor_id) FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'CICS' AND course.number = 301 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.offer...
[ 2437, 867, 1180, 661, 7817, 327, 19505, 25643, 287, 262, 10633, 286, 12131, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1180, 661, 7817, 327, 19505, 25643, 287, 262, 10633, 286, 12131, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 6011, 62, 259...
Who won the match when the margin was 131 runs?
SELECT winner FROM table_22384475_1 WHERE margin = "131 runs"
[ 8241, 1839, 262, 2872, 618, 262, 10330, 373, 23134, 4539, 30, 46506, 8464, 16034, 3084, 62, 1828, 2548, 2598, 2425, 62, 16, 33411, 10330, 796, 366, 22042, 4539, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 1839, 262, 2872, 618, 262, 10330, 373, 23134, 4539, 30, 46506, 8464, 16034, 3084, 62, 1828, 2548, 2598, 2425, 62, 16, 33411, 10330, 796, 366, 22042, 4539, 1 ]
Which is the most popular voting method for Hall of Fame in 2000?
SELECT votedby FROM hall_of_fame WHERE yearid = "2000" GROUP BY votedby ORDER BY COUNT(*) DESC LIMIT 1
[ 13828, 318, 262, 749, 2968, 6709, 2446, 329, 4789, 286, 18864, 287, 4751, 30, 46506, 7052, 1525, 16034, 6899, 62, 1659, 62, 69, 480, 33411, 614, 312, 796, 366, 11024, 1, 44441, 11050, 7052, 1525, 38678, 11050, 327, 28270, 7, 28104, 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 ]
[ 13828, 318, 262, 749, 2968, 6709, 2446, 329, 4789, 286, 18864, 287, 4751, 30, 46506, 7052, 1525, 16034, 6899, 62, 1659, 62, 69, 480, 33411, 614, 312, 796, 366, 11024, 1, 44441, 11050, 7052, 1525, 38678, 11050, 327, 28270, 7, 28104, 22...
What was the team that scored 122 points?
SELECT team FROM table_17968274_2 WHERE points = 122
[ 2061, 373, 262, 1074, 326, 7781, 19409, 2173, 30, 46506, 1074, 16034, 3084, 62, 21738, 3104, 28857, 62, 17, 33411, 2173, 796, 19409 ]
[ 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, 1074, 326, 7781, 19409, 2173, 30, 46506, 1074, 16034, 3084, 62, 21738, 3104, 28857, 62, 17, 33411, 2173, 796, 19409 ]
what is drug type and drug name of drug code metd5?
SELECT prescriptions.drug_type, prescriptions.drug FROM prescriptions WHERE prescriptions.formulary_drug_cd = "METD5"
[ 10919, 318, 2563, 2099, 290, 2563, 1438, 286, 2563, 2438, 1138, 67, 20, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 47123, 35, 20, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 2563, 2099, 290, 2563, 1438, 286, 2563, 2438, 1138, 67, 20, 30, 46506, 34092, 13, 30349, 62, 4906, 11, 34092, 13, 30349, 16034, 34092, 33411, 34092, 13, 687, 377, 560, 62, 30349, 62, 10210, 796, 366, 47123, 35, 20, 1 ]
What is the date for a source of result and a place of iffendic?
SELECT "Date" FROM table_49575 WHERE "Source" = 'result' AND "Place" = 'iffendic'
[ 2061, 318, 262, 3128, 329, 257, 2723, 286, 1255, 290, 257, 1295, 286, 611, 69, 437, 291, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33781, 2425, 33411, 366, 7416, 1, 796, 705, 20274, 6, 5357, 366, 27271, 1, 796, 705, 733, 437, 291...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 329, 257, 2723, 286, 1255, 290, 257, 1295, 286, 611, 69, 437, 291, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 33781, 2425, 33411, 366, 7416, 1, 796, 705, 20274, 6, 5357, 366, 27271, 1, 796, 705, 733, 437, 291...
Was the game with Kashima antlers at home or away?
SELECT "H / A" FROM table_69003 WHERE "Opponents" = 'kashima antlers'
[ 16973, 262, 983, 351, 20578, 8083, 1885, 8116, 379, 1363, 393, 1497, 30, 46506, 366, 39, 1220, 317, 1, 16034, 3084, 62, 3388, 11245, 33411, 366, 27524, 3906, 1, 796, 705, 74, 1077, 8083, 1885, 8116, 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 ]
[ 16973, 262, 983, 351, 20578, 8083, 1885, 8116, 379, 1363, 393, 1497, 30, 46506, 366, 39, 1220, 317, 1, 16034, 3084, 62, 3388, 11245, 33411, 366, 27524, 3906, 1, 796, 705, 74, 1077, 8083, 1885, 8116, 6 ]
what season was written by jonathan collier?
SELECT MAX("No. in season") FROM table_28045 WHERE "Written by" = 'Jonathan Collier'
[ 10919, 1622, 373, 3194, 416, 474, 261, 6696, 2927, 959, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 21033, 2231, 33411, 366, 25354, 416, 1, 796, 705, 30365, 7778, 959, 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 ]
[ 10919, 1622, 373, 3194, 416, 474, 261, 6696, 2927, 959, 30, 46506, 25882, 7203, 2949, 13, 287, 1622, 4943, 16034, 3084, 62, 21033, 2231, 33411, 366, 25354, 416, 1, 796, 705, 30365, 7778, 959, 6 ]
What was the average round for john markham draft pick?
SELECT AVG(round) FROM table_name_36 WHERE player = "john markham"
[ 2061, 373, 262, 2811, 2835, 329, 45610, 1317, 2763, 4538, 2298, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2623, 33411, 2137, 796, 366, 30686, 1317, 2763, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 2811, 2835, 329, 45610, 1317, 2763, 4538, 2298, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 2623, 33411, 2137, 796, 366, 30686, 1317, 2763, 1 ]
Percentage of Questions wiuthout the Accepted Answer @until.
SELECT (CAST(COUNT(q.Id) AS FLOAT) / (SELECT COUNT(*) FROM Posts WHERE Posts.CreationDate < @until AND PostTypeId = 1) * 100) AS AcceptedPercentage FROM Posts AS q INNER JOIN Posts AS a ON q.AcceptedAnswerId = a.Id WHERE a.PostTypeId = 2 AND q.CreationDate < @until
[ 31905, 496, 286, 20396, 45967, 1071, 448, 262, 21699, 276, 23998, 2488, 28446, 13, 46506, 357, 44647, 7, 34, 28270, 7, 80, 13, 7390, 8, 7054, 9977, 46, 1404, 8, 1220, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 31905, 496, 286, 20396, 45967, 1071, 448, 262, 21699, 276, 23998, 2488, 28446, 13, 46506, 357, 44647, 7, 34, 28270, 7, 80, 13, 7390, 8, 7054, 9977, 46, 1404, 8, 1220, 357, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 12043, 13, ...
Name the year started where car number is 55
SELECT MAX("Year started") FROM table_21146 WHERE "Car #" = '55'
[ 5376, 262, 614, 2067, 810, 1097, 1271, 318, 5996, 46506, 25882, 7203, 17688, 2067, 4943, 16034, 3084, 62, 21895, 3510, 33411, 366, 9914, 1303, 1, 796, 705, 2816, 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 ]
[ 5376, 262, 614, 2067, 810, 1097, 1271, 318, 5996, 46506, 25882, 7203, 17688, 2067, 4943, 16034, 3084, 62, 21895, 3510, 33411, 366, 9914, 1303, 1, 796, 705, 2816, 6 ]
How many draws were there when there were 30 tries against?
SELECT drawn FROM table_12792876_2 WHERE tries_against = "30"
[ 2437, 867, 14293, 547, 612, 618, 612, 547, 1542, 8404, 1028, 30, 46506, 7428, 16034, 3084, 62, 1065, 3720, 2078, 4304, 62, 17, 33411, 8404, 62, 32826, 796, 366, 1270, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 14293, 547, 612, 618, 612, 547, 1542, 8404, 1028, 30, 46506, 7428, 16034, 3084, 62, 1065, 3720, 2078, 4304, 62, 17, 33411, 8404, 62, 32826, 796, 366, 1270, 1 ]