instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
what was the best winning score ?
SELECT "winning score" FROM table_203_473 ORDER BY "winning score" LIMIT 1
[ 10919, 373, 262, 1266, 5442, 4776, 5633, 46506, 366, 14463, 4776, 1, 16034, 3084, 62, 22416, 62, 37804, 38678, 11050, 366, 14463, 4776, 1, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 373, 262, 1266, 5442, 4776, 5633, 46506, 366, 14463, 4776, 1, 16034, 3084, 62, 22416, 62, 37804, 38678, 11050, 366, 14463, 4776, 1, 27564, 2043, 352 ]
how long did it take meck mothuli to finish the race ?
SELECT "time" FROM table_204_669 WHERE "athlete" = 'meck mothuli'
[ 4919, 890, 750, 340, 1011, 502, 694, 44400, 32176, 284, 5461, 262, 3234, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 36657, 33411, 366, 776, 5807, 1, 796, 705, 1326, 694, 44400, 32176, 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, 890, 750, 340, 1011, 502, 694, 44400, 32176, 284, 5461, 262, 3234, 5633, 46506, 366, 2435, 1, 16034, 3084, 62, 18638, 62, 36657, 33411, 366, 776, 5807, 1, 796, 705, 1326, 694, 44400, 32176, 6 ]
What is the Third when the Lead was don bartlett, the Second was carter rycroft, and a Season of 2003 04?
SELECT "Third" FROM table_41285 WHERE "Lead" = 'don bartlett' AND "Second" = 'carter rycroft' AND "Season" = '2003–04'
[ 2061, 318, 262, 10467, 618, 262, 20116, 373, 836, 30539, 15503, 11, 262, 5498, 373, 1097, 353, 374, 88, 36714, 11, 290, 257, 7369, 286, 5816, 8702, 30, 46506, 366, 22747, 1, 16034, 3084, 62, 39226, 5332, 33411, 366, 20451, 1, 796, 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...
[ 2061, 318, 262, 10467, 618, 262, 20116, 373, 836, 30539, 15503, 11, 262, 5498, 373, 1097, 353, 374, 88, 36714, 11, 290, 257, 7369, 286, 5816, 8702, 30, 46506, 366, 22747, 1, 16034, 3084, 62, 39226, 5332, 33411, 366, 20451, 1, 796, 7...
how many patients whose days of hospital stay is greater than 29 and procedure short title is other phototherapy?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "29" AND procedures.short_title = "Other phototherapy"
[ 4919, 867, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 2808, 290, 8771, 1790, 3670, 318, 584, 2825, 18952, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2808, 290, 8771, 1790, 3670, 318, 584, 2825, 18952, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 90...
What is the maximum number of associate professors when there are more than 5 assistant professors and fewer than 14 professors?
SELECT MAX("Associate professors") FROM table_33074 WHERE "Assistant professors" > '5' AND "Professors" < '14'
[ 2061, 318, 262, 5415, 1271, 286, 11602, 20339, 618, 612, 389, 517, 621, 642, 8796, 20339, 290, 7380, 621, 1478, 20339, 30, 46506, 25882, 7203, 8021, 47615, 20339, 4943, 16034, 3084, 62, 26073, 4524, 33411, 366, 48902, 20339, 1, 1875, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5415, 1271, 286, 11602, 20339, 618, 612, 389, 517, 621, 642, 8796, 20339, 290, 7380, 621, 1478, 20339, 30, 46506, 25882, 7203, 8021, 47615, 20339, 4943, 16034, 3084, 62, 26073, 4524, 33411, 366, 48902, 20339, 1, 1875, 70...
how many patients whose discharge location is short term hospital and year of birth is less than 2076?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND demographic.dob_year < "2076"
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 1790, 3381, 4436, 290, 614, 286, 4082, 318, 1342, 621, 1160, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 4919, 867, 3871, 3025, 17655, 4067, 318, 1790, 3381, 4436, 290, 614, 286, 4082, 318, 1342, 621, 1160, 4304, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 6381, 10136, 62,...
On October 1, 1995 with Dora Djilianova as a partner, what was the outcome of the match?
SELECT outcome FROM table_name_74 WHERE partner = "dora djilianova" AND date = "october 1, 1995"
[ 2202, 3267, 352, 11, 8735, 351, 360, 5799, 19307, 35824, 10071, 355, 257, 5212, 11, 644, 373, 262, 8055, 286, 262, 2872, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 4524, 33411, 5212, 796, 366, 67, 5799, 42625, 35824, 10071, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 3267, 352, 11, 8735, 351, 360, 5799, 19307, 35824, 10071, 355, 257, 5212, 11, 644, 373, 262, 8055, 286, 262, 2872, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 4524, 33411, 5212, 796, 366, 67, 5799, 42625, 35824, 10071, 1, 5357, ...
Which airport's IATA is pen?
SELECT airport FROM table_name_31 WHERE iata = "pen"
[ 13828, 9003, 338, 314, 13563, 318, 3112, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 3132, 33411, 1312, 1045, 796, 366, 3617, 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, 9003, 338, 314, 13563, 318, 3112, 30, 46506, 9003, 16034, 3084, 62, 3672, 62, 3132, 33411, 1312, 1045, 796, 366, 3617, 1 ]
what region is listed at the top ?
SELECT "region" FROM table_204_966 WHERE id = 1
[ 10919, 3814, 318, 5610, 379, 262, 1353, 5633, 46506, 366, 36996, 1, 16034, 3084, 62, 18638, 62, 24, 2791, 33411, 4686, 796, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 3814, 318, 5610, 379, 262, 1353, 5633, 46506, 366, 36996, 1, 16034, 3084, 62, 18638, 62, 24, 2791, 33411, 4686, 796, 352 ]
What are all the labels?
SELECT DISTINCT label FROM albums
[ 2061, 389, 477, 262, 14722, 30, 46506, 360, 8808, 1268, 4177, 6167, 16034, 16788 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 477, 262, 14722, 30, 46506, 360, 8808, 1268, 4177, 6167, 16034, 16788 ]
What is the Result of Week larger than 3 on 1971-11-07?
SELECT result FROM table_name_94 WHERE week > 3 AND date = "1971-11-07"
[ 2061, 318, 262, 25414, 286, 6119, 4025, 621, 513, 319, 16382, 12, 1157, 12, 2998, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 5824, 33411, 1285, 1875, 513, 5357, 3128, 796, 366, 41208, 12, 1157, 12, 2998, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 6119, 4025, 621, 513, 319, 16382, 12, 1157, 12, 2998, 30, 46506, 1255, 16034, 3084, 62, 3672, 62, 5824, 33411, 1285, 1875, 513, 5357, 3128, 796, 366, 41208, 12, 1157, 12, 2998, 1 ]
what number of organizations have private ownership ?
SELECT COUNT("organisation") FROM table_203_51 WHERE "ownership" = 'private'
[ 10919, 1271, 286, 5745, 423, 2839, 9238, 5633, 46506, 327, 28270, 7203, 9971, 5612, 4943, 16034, 3084, 62, 22416, 62, 4349, 33411, 366, 15605, 1056, 1, 796, 705, 19734, 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 ]
[ 10919, 1271, 286, 5745, 423, 2839, 9238, 5633, 46506, 327, 28270, 7203, 9971, 5612, 4943, 16034, 3084, 62, 22416, 62, 4349, 33411, 366, 15605, 1056, 1, 796, 705, 19734, 6 ]
Which region 1 has 12 Episodes and a Region 2 of 18 August 2008?
SELECT "Region 1" FROM table_59343 WHERE "No. of Episodes" = '12' AND "Region 2" = '18 august 2008'
[ 13828, 3814, 352, 468, 1105, 4551, 8052, 290, 257, 17718, 362, 286, 1248, 2932, 3648, 30, 46506, 366, 47371, 352, 1, 16034, 3084, 62, 3270, 32118, 33411, 366, 2949, 13, 286, 4551, 8052, 1, 796, 705, 1065, 6, 5357, 366, 47371, 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 ]
[ 13828, 3814, 352, 468, 1105, 4551, 8052, 290, 257, 17718, 362, 286, 1248, 2932, 3648, 30, 46506, 366, 47371, 352, 1, 16034, 3084, 62, 3270, 32118, 33411, 366, 2949, 13, 286, 4551, 8052, 1, 796, 705, 1065, 6, 5357, 366, 47371, 362, 1...
When the United States had a total score of 274 what was the average year?
SELECT AVG(year) FROM table_name_67 WHERE total_score = "274" AND country = "united states"
[ 2215, 262, 1578, 1829, 550, 257, 2472, 4776, 286, 39768, 644, 373, 262, 2811, 614, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2472, 62, 26675, 796, 366, 28857, 1, 5357, 1499, 796, 366, 41187, 2585, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1578, 1829, 550, 257, 2472, 4776, 286, 39768, 644, 373, 262, 2811, 614, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 3134, 33411, 2472, 62, 26675, 796, 366, 28857, 1, 5357, 1499, 796, 366, 41187, 2585, 1 ]
Draw a bar chart about the distribution of All_Games and School_ID , and list by the y axis in descending.
SELECT All_Games, School_ID FROM basketball_match ORDER BY School_ID DESC
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 24474, 290, 3961, 62, 2389, 837, 290, 1351, 416, 262, 331, 16488, 287, 31491, 13, 46506, 1439, 62, 24474, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 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 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 24474, 290, 3961, 62, 2389, 837, 290, 1351, 416, 262, 331, 16488, 287, 31491, 13, 46506, 1439, 62, 24474, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 62, 2389,...
What was the vote swing for the general election of the 12th lok sabha?
SELECT "votes swing" FROM table_19701 WHERE "General Election" = '12th Lok Sabha'
[ 2061, 373, 262, 3015, 9628, 329, 262, 2276, 3071, 286, 262, 1105, 400, 300, 482, 17463, 3099, 30, 46506, 366, 29307, 9628, 1, 16034, 3084, 62, 24991, 486, 33411, 366, 12218, 14219, 1, 796, 705, 1065, 400, 36861, 41941, 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, 373, 262, 3015, 9628, 329, 262, 2276, 3071, 286, 262, 1105, 400, 300, 482, 17463, 3099, 30, 46506, 366, 29307, 9628, 1, 16034, 3084, 62, 24991, 486, 33411, 366, 12218, 14219, 1, 796, 705, 1065, 400, 36861, 41941, 6 ]
What year was the player with the height 2.04 born?
SELECT MIN("Year born") FROM table_598 WHERE "Height" = '2.04'
[ 2061, 614, 373, 262, 2137, 351, 262, 6001, 362, 13, 3023, 4642, 30, 46506, 20625, 7203, 17688, 4642, 4943, 16034, 3084, 62, 41292, 33411, 366, 23106, 1, 796, 705, 17, 13, 3023, 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, 614, 373, 262, 2137, 351, 262, 6001, 362, 13, 3023, 4642, 30, 46506, 20625, 7203, 17688, 4642, 4943, 16034, 3084, 62, 41292, 33411, 366, 23106, 1, 796, 705, 17, 13, 3023, 6 ]
What is the percentage listed for the team who scored 63 points?
SELECT "Percentage" FROM table_28428 WHERE "Points For" = '63'
[ 2061, 318, 262, 5873, 5610, 329, 262, 1074, 508, 7781, 8093, 2173, 30, 46506, 366, 31905, 496, 1, 16034, 3084, 62, 30336, 2078, 33411, 366, 40710, 1114, 1, 796, 705, 5066, 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 ]
[ 2061, 318, 262, 5873, 5610, 329, 262, 1074, 508, 7781, 8093, 2173, 30, 46506, 366, 31905, 496, 1, 16034, 3084, 62, 30336, 2078, 33411, 366, 40710, 1114, 1, 796, 705, 5066, 6 ]
what is the number of patients with gastrointestinal bleed primary disease who stayed in hospital for more than 14 days?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GASTROINTESTINAL BLEED" AND demographic.days_stay > "14"
[ 10919, 318, 262, 1271, 286, 3871, 351, 40887, 30182, 4165, 4369, 508, 9658, 287, 4436, 329, 517, 621, 1478, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 595...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 351, 40887, 30182, 4165, 4369, 508, 9658, 287, 4436, 329, 517, 621, 1478, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 47356, 595...
what is the total scored for the 8th position and a score more than 6.6
SELECT MAX(total) FROM table_name_8 WHERE position = "8th" AND a_score > 6.6
[ 10919, 318, 262, 2472, 7781, 329, 262, 807, 400, 2292, 290, 257, 4776, 517, 621, 718, 13, 21, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 2292, 796, 366, 23, 400, 1, 5357, 257, 62, 26675, 1875, 718, 13, 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, 1, 1, 1 ]
[ 10919, 318, 262, 2472, 7781, 329, 262, 807, 400, 2292, 290, 257, 4776, 517, 621, 718, 13, 21, 46506, 25882, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 23, 33411, 2292, 796, 366, 23, 400, 1, 5357, 257, 62, 26675, 1875, 718, 13, 21 ]
What is the number with an 80.62 percentage?
SELECT "Number" FROM table_44756 WHERE "percentage (%)" = '80.62'
[ 2061, 318, 262, 1271, 351, 281, 4019, 13, 5237, 5873, 30, 46506, 366, 15057, 1, 16034, 3084, 62, 2598, 38219, 33411, 366, 25067, 496, 11509, 1, 796, 705, 1795, 13, 5237, 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 ]
[ 2061, 318, 262, 1271, 351, 281, 4019, 13, 5237, 5873, 30, 46506, 366, 15057, 1, 16034, 3084, 62, 2598, 38219, 33411, 366, 25067, 496, 11509, 1, 796, 705, 1795, 13, 5237, 6 ]
until 2 years ago, what are the three most frequent diagnoses that patients were given within 2 months after receiving antidiarrhea agent?
SELECT t3.diagnosisname FROM (SELECT t2.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'antidiarrhea agent' AND DATETIME(treatme...
[ 28446, 362, 812, 2084, 11, 644, 389, 262, 1115, 749, 10792, 40567, 326, 3871, 547, 1813, 1626, 362, 1933, 706, 6464, 1885, 19830, 3258, 21632, 5797, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 595...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 28446, 362, 812, 2084, 11, 644, 389, 262, 1115, 749, 10792, 40567, 326, 3871, 547, 1813, 1626, 362, 1933, 706, 6464, 1885, 19830, 3258, 21632, 5797, 30, 46506, 256, 18, 13, 47356, 5958, 3672, 16034, 357, 46506, 256, 17, 13, 47356, 595...
What is Venue, when Date is '2003-08-13'?
SELECT venue FROM table_name_72 WHERE date = "2003-08-13"
[ 2061, 318, 9932, 518, 11, 618, 7536, 318, 705, 16088, 12, 2919, 12, 1485, 30960, 46506, 14359, 16034, 3084, 62, 3672, 62, 4761, 33411, 3128, 796, 366, 16088, 12, 2919, 12, 1485, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 11, 618, 7536, 318, 705, 16088, 12, 2919, 12, 1485, 30960, 46506, 14359, 16034, 3084, 62, 3672, 62, 4761, 33411, 3128, 796, 366, 16088, 12, 2919, 12, 1485, 1 ]
what is the number of the average of the drama titled
SELECT MAX("Average") FROM table_31276 WHERE "Chinese title" = '魚躍在花見'
[ 10919, 318, 262, 1271, 286, 262, 2811, 286, 262, 10512, 11946, 46506, 25882, 7203, 26287, 4943, 16034, 3084, 62, 27970, 4304, 33411, 366, 23604, 3670, 1, 796, 705, 165, 255, 248, 164, 118, 235, 28839, 101, 164, 46788, 17358, 233, 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 ]
[ 10919, 318, 262, 1271, 286, 262, 2811, 286, 262, 10512, 11946, 46506, 25882, 7203, 26287, 4943, 16034, 3084, 62, 27970, 4304, 33411, 366, 23604, 3670, 1, 796, 705, 165, 255, 248, 164, 118, 235, 28839, 101, 164, 46788, 17358, 233, 6 ]
give me the number of patients whose ethnicity is asian and procedure short title is lower limb artery incis?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "ASIAN" AND procedures.short_title = "Lower limb artery incis"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 8771, 1790, 3670, 318, 2793, 25035, 37646, 753, 271, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 26289, 318, 355, 666, 290, 8771, 1790, 3670, 318, 2793, 25035, 37646, 753, 271, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 12...
Which Rank has a Finish of 8?
SELECT "Rank" FROM table_13662 WHERE "Finish" = '8'
[ 13828, 10916, 468, 257, 32585, 286, 807, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 1485, 39380, 33411, 366, 48658, 1, 796, 705, 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 ]
[ 13828, 10916, 468, 257, 32585, 286, 807, 30, 46506, 366, 27520, 1, 16034, 3084, 62, 1485, 39380, 33411, 366, 48658, 1, 796, 705, 23, 6 ]
Find the names of the customers who have order status both 'On Road' and 'Shipped'.
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "On Road" INTERSECT SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.order_status = "Shipped"
[ 16742, 262, 3891, 286, 262, 4297, 508, 423, 1502, 3722, 1111, 705, 2202, 5567, 6, 290, 705, 2484, 3949, 4458, 46506, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 7054, 309, 17, 6177, 309, 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...
[ 16742, 262, 3891, 286, 262, 4297, 508, 423, 1502, 3722, 1111, 705, 2202, 5567, 6, 290, 705, 2484, 3949, 4458, 46506, 309, 16, 13, 23144, 263, 62, 3672, 16034, 4297, 7054, 309, 16, 32357, 1268, 6266, 7054, 309, 17, 6177, 309, 16, 13,...
which competition was there not a position ?
SELECT "competition" FROM table_204_780 WHERE "position" IS NULL
[ 4758, 5449, 373, 612, 407, 257, 2292, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 9150, 1, 3180, 15697 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4758, 5449, 373, 612, 407, 257, 2292, 5633, 46506, 366, 5589, 15620, 1, 16034, 3084, 62, 18638, 62, 40873, 33411, 366, 9150, 1, 3180, 15697 ]
Show ids for all documents with budget types described as 'Government'.
SELECT T1.document_id FROM Documents_with_expenses AS T1 JOIN Ref_Budget_Codes AS T2 ON T1.Budget_Type_code = T2.Budget_Type_code WHERE T2.budget_type_Description = "Government"
[ 15307, 220, 2340, 329, 477, 4963, 351, 4466, 3858, 3417, 355, 705, 28848, 4458, 46506, 309, 16, 13, 22897, 62, 312, 16034, 33267, 62, 4480, 62, 11201, 4541, 7054, 309, 16, 32357, 1268, 6524, 62, 33, 29427, 62, 34, 4147, 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, 1...
[ 15307, 220, 2340, 329, 477, 4963, 351, 4466, 3858, 3417, 355, 705, 28848, 4458, 46506, 309, 16, 13, 22897, 62, 312, 16034, 33267, 62, 4480, 62, 11201, 4541, 7054, 309, 16, 32357, 1268, 6524, 62, 33, 29427, 62, 34, 4147, 7054, 309, 1...
Which Social Democratic Party has a Green smaller than 0?
SELECT AVG(social_democratic_party) FROM table_name_10 WHERE green < 0
[ 13828, 5483, 4390, 3615, 468, 257, 3469, 4833, 621, 657, 30, 46506, 35224, 7, 14557, 62, 41232, 62, 10608, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 4077, 1279, 657 ]
[ 1, 1, 1, 1, 1, 1, 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, 5483, 4390, 3615, 468, 257, 3469, 4833, 621, 657, 30, 46506, 35224, 7, 14557, 62, 41232, 62, 10608, 8, 16034, 3084, 62, 3672, 62, 940, 33411, 4077, 1279, 657 ]
The rider mike di meglio had a total of how many grids?
SELECT COUNT("Grid") FROM table_14976 WHERE "Rider" = 'mike di meglio'
[ 464, 17876, 285, 522, 2566, 502, 4743, 952, 550, 257, 2472, 286, 703, 867, 50000, 30, 46506, 327, 28270, 7203, 41339, 4943, 16034, 3084, 62, 19442, 4304, 33411, 366, 49, 1304, 1, 796, 705, 76, 522, 2566, 502, 4743, 952, 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 ]
[ 464, 17876, 285, 522, 2566, 502, 4743, 952, 550, 257, 2472, 286, 703, 867, 50000, 30, 46506, 327, 28270, 7203, 41339, 4943, 16034, 3084, 62, 19442, 4304, 33411, 366, 49, 1304, 1, 796, 705, 76, 522, 2566, 502, 4743, 952, 6 ]
what team won the friendly match
SELECT result FROM table_name_98 WHERE competition = "friendly match"
[ 10919, 1074, 1839, 262, 8030, 2872, 46506, 1255, 16034, 3084, 62, 3672, 62, 4089, 33411, 5449, 796, 366, 13120, 2872, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 1074, 1839, 262, 8030, 2872, 46506, 1255, 16034, 3084, 62, 3672, 62, 4089, 33411, 5449, 796, 366, 13120, 2872, 1 ]
Show the director and their lowest rating among all movies in a bar chart, display by the x axis from high to low please.
SELECT director, MIN(T1.stars) FROM Rating AS T1 JOIN Movie AS T2 ON T1.mID = T2.mID GROUP BY director ORDER BY director DESC
[ 15307, 262, 3437, 290, 511, 9016, 7955, 1871, 477, 6918, 287, 257, 2318, 8262, 11, 3359, 416, 262, 2124, 16488, 422, 1029, 284, 1877, 3387, 13, 46506, 3437, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 3437, 290, 511, 9016, 7955, 1871, 477, 6918, 287, 257, 2318, 8262, 11, 3359, 416, 262, 2124, 16488, 422, 1029, 284, 1877, 3387, 13, 46506, 3437, 11, 20625, 7, 51, 16, 13, 30783, 8, 16034, 12028, 7054, 309, 16, 32357, 126...
Which Date has a Score of 2 2, and an Away team of aylesbury united?
SELECT date FROM table_name_48 WHERE score = "2–2" AND away_team = "aylesbury united"
[ 13828, 7536, 468, 257, 15178, 286, 362, 362, 11, 290, 281, 21986, 1074, 286, 257, 24327, 10711, 16503, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2780, 33411, 4776, 796, 366, 17, 1906, 17, 1, 5357, 1497, 62, 15097, 796, 366, 323, 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 ]
[ 13828, 7536, 468, 257, 15178, 286, 362, 362, 11, 290, 281, 21986, 1074, 286, 257, 24327, 10711, 16503, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2780, 33411, 4776, 796, 366, 17, 1906, 17, 1, 5357, 1497, 62, 15097, 796, 366, 323, 8...
What was the H/A/N for the game that ended in a score of 108-102?
SELECT "H/A/N" FROM table_8034 WHERE "Score" = '108-102'
[ 2061, 373, 262, 367, 14, 32, 14, 45, 329, 262, 983, 326, 4444, 287, 257, 4776, 286, 15495, 12, 15377, 30, 46506, 366, 39, 14, 32, 14, 45, 1, 16034, 3084, 62, 1795, 2682, 33411, 366, 26595, 1, 796, 705, 15711, 12, 15377, 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, 367, 14, 32, 14, 45, 329, 262, 983, 326, 4444, 287, 257, 4776, 286, 15495, 12, 15377, 30, 46506, 366, 39, 14, 32, 14, 45, 1, 16034, 3084, 62, 1795, 2682, 33411, 366, 26595, 1, 796, 705, 15711, 12, 15377, 6 ]
For those employees who was hired before 2002-06-21, visualize a bar chart about the distribution of job_id and the average of manager_id , and group by attribute job_id, and order by the bars in ascending.
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 373, 9657, 878, 6244, 12, 3312, 12, 2481, 11, 38350, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 262, 2811, 286, 4706, 62, 312, 837, 290, 1448, 416, 11688, 1693, 62, 312, 11, 290, 1502, 416, 262...
Name the total number of pinyin for hsin-y an-i-ma
SELECT COUNT(pinyin) FROM table_16162581_1 WHERE wade_giles = "hsin-yüan-i-ma"
[ 5376, 262, 2472, 1271, 286, 279, 3541, 259, 329, 289, 31369, 12, 88, 281, 12, 72, 12, 2611, 46506, 327, 28270, 7, 79, 3541, 259, 8, 16034, 3084, 62, 1433, 1433, 1495, 6659, 62, 16, 33411, 266, 671, 62, 70, 2915, 796, 366, 11994, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 279, 3541, 259, 329, 289, 31369, 12, 88, 281, 12, 72, 12, 2611, 46506, 327, 28270, 7, 79, 3541, 259, 8, 16034, 3084, 62, 1433, 1433, 1495, 6659, 62, 16, 33411, 266, 671, 62, 70, 2915, 796, 366, 11994, ...
What method was used in the match that went to round 1, and had a 6-3-1 record?
SELECT method FROM table_name_13 WHERE round = 1 AND record = "6-3-1"
[ 2061, 2446, 373, 973, 287, 262, 2872, 326, 1816, 284, 2835, 352, 11, 290, 550, 257, 718, 12, 18, 12, 16, 1700, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 1485, 33411, 2835, 796, 352, 5357, 1700, 796, 366, 21, 12, 18, 12, 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 ]
[ 2061, 2446, 373, 973, 287, 262, 2872, 326, 1816, 284, 2835, 352, 11, 290, 550, 257, 718, 12, 18, 12, 16, 1700, 30, 46506, 2446, 16034, 3084, 62, 3672, 62, 1485, 33411, 2835, 796, 352, 5357, 1700, 796, 366, 21, 12, 18, 12, 16, 1 ...
Which district shows a first elected of 1980?
SELECT "District" FROM table_18278 WHERE "First elected" = '1980'
[ 13828, 4783, 2523, 257, 717, 7018, 286, 7169, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 25870, 33411, 366, 5962, 7018, 1, 796, 705, 23664, 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 ]
[ 13828, 4783, 2523, 257, 717, 7018, 286, 7169, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 25870, 33411, 366, 5962, 7018, 1, 796, 705, 23664, 6 ]
How many districts have W. Arthur Winstead as elected official?
SELECT COUNT("District") FROM table_18452 WHERE "Incumbent" = 'W. Arthur Winstead'
[ 2437, 867, 12815, 423, 370, 13, 13514, 7178, 28044, 355, 7018, 1743, 30, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1507, 37730, 33411, 366, 25517, 2178, 298, 1, 796, 705, 54, 13, 13514, 7178, 28044, 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 ]
[ 2437, 867, 12815, 423, 370, 13, 13514, 7178, 28044, 355, 7018, 1743, 30, 46506, 327, 28270, 7203, 44857, 4943, 16034, 3084, 62, 1507, 37730, 33411, 366, 25517, 2178, 298, 1, 796, 705, 54, 13, 13514, 7178, 28044, 6 ]
How many students does KAWA GORDON teaches?
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T2.firstname = "KAWA" AND T2.lastname = "GORDON"
[ 2437, 867, 2444, 857, 509, 12298, 32, 402, 12532, 1340, 17324, 30, 46506, 327, 28270, 7, 28104, 16034, 1351, 7054, 309, 16, 32357, 1268, 7799, 7054, 309, 17, 6177, 309, 16, 13, 4871, 3823, 796, 309, 17, 13, 4871, 3823, 33411, 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, 1...
[ 2437, 867, 2444, 857, 509, 12298, 32, 402, 12532, 1340, 17324, 30, 46506, 327, 28270, 7, 28104, 16034, 1351, 7054, 309, 16, 32357, 1268, 7799, 7054, 309, 17, 6177, 309, 16, 13, 4871, 3823, 796, 309, 17, 13, 4871, 3823, 33411, 309, 1...
In which venue is South Melbourne the home team?
SELECT "Venue" FROM table_55101 WHERE "Home team" = 'south melbourne'
[ 818, 543, 14359, 318, 2520, 14819, 262, 1363, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 8784, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 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 ]
[ 818, 543, 14359, 318, 2520, 14819, 262, 1363, 1074, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2816, 8784, 33411, 366, 16060, 1074, 1, 796, 705, 35782, 7758, 12544, 6 ]
Which Date has a Score of 2 2, and an Away team of aylesbury united?
SELECT "Date" FROM table_9660 WHERE "Score" = '2–2' AND "Away team" = 'aylesbury united'
[ 13828, 7536, 468, 257, 15178, 286, 362, 362, 11, 290, 281, 21986, 1074, 286, 257, 24327, 10711, 16503, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4846, 1899, 33411, 366, 26595, 1, 796, 705, 17, 1906, 17, 6, 5357, 366, 32, 1014, 1074...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 15178, 286, 362, 362, 11, 290, 281, 21986, 1074, 286, 257, 24327, 10711, 16503, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 4846, 1899, 33411, 366, 26595, 1, 796, 705, 17, 1906, 17, 6, 5357, 366, 32, 1014, 1074...
What are the different pilot names who had piloted a flight in the country 'United States' or in the airport named 'Billund Airport'?
SELECT DISTINCT T2.pilot FROM airport AS T1 JOIN flight AS T2 ON T1.id = T2.airport_id WHERE T1.country = 'United States' OR T1.name = 'Billund Airport'
[ 2061, 389, 262, 1180, 8022, 3891, 508, 550, 5560, 5191, 257, 5474, 287, 262, 1499, 705, 17013, 1829, 6, 393, 287, 262, 9003, 3706, 705, 17798, 917, 12690, 30960, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 79, 23439, 16034, 9003, 7054,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 1180, 8022, 3891, 508, 550, 5560, 5191, 257, 5474, 287, 262, 1499, 705, 17013, 1829, 6, 393, 287, 262, 9003, 3706, 705, 17798, 917, 12690, 30960, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 79, 23439, 16034, 9003, 7054,...
Who went to ohio state?
SELECT player FROM table_name_53 WHERE college = "ohio state"
[ 8241, 1816, 284, 11752, 952, 1181, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4310, 33411, 4152, 796, 366, 1219, 952, 1181, 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, 1816, 284, 11752, 952, 1181, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 4310, 33411, 4152, 796, 366, 1219, 952, 1181, 1 ]
Display a bar chart for what is the name of each course and the corresponding number of student enrollment?, show by the names in descending please.
SELECT course_name, COUNT(*) FROM Courses AS T1 JOIN Student_Course_Enrolment AS T2 ON T1.course_id = T2.course_id GROUP BY T1.course_name ORDER BY course_name DESC
[ 23114, 257, 2318, 8262, 329, 644, 318, 262, 1438, 286, 1123, 1781, 290, 262, 11188, 1271, 286, 3710, 20753, 21747, 905, 416, 262, 3891, 287, 31491, 3387, 13, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 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...
[ 23114, 257, 2318, 8262, 329, 644, 318, 262, 1438, 286, 1123, 1781, 290, 262, 11188, 1271, 286, 3710, 20753, 21747, 905, 416, 262, 3891, 287, 31491, 3387, 13, 46506, 1781, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 30...
had patient 030-53416 ever had some output y (ml)-chest tube y - a #2 mid b #3 mid's since 118 months ago?
SELECT COUNT(*) > 0 FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '030-53416')) AND intakeoutput.cellpath LIKE '%output%' AND intakeoutpu...
[ 18108, 5827, 657, 1270, 12, 20, 2682, 1433, 1683, 550, 617, 5072, 331, 357, 4029, 13219, 46713, 12403, 331, 532, 257, 1303, 17, 3095, 275, 1303, 18, 3095, 338, 1201, 19035, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 18108, 5827, 657, 1270, 12, 20, 2682, 1433, 1683, 550, 617, 5072, 331, 357, 4029, 13219, 46713, 12403, 331, 532, 257, 1303, 17, 3095, 275, 1303, 18, 3095, 338, 1201, 19035, 1933, 2084, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034...
when was the first time the heart rate of patient 10855 was measured on the current intensive care unit visit at less than 71.0?
SELECT chartevents.charttime FROM chartevents WHERE chartevents.icustay_id IN (SELECT icustays.icustay_id FROM icustays WHERE icustays.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 10855) AND icustays.outtime IS NULL) AND chartevents.itemid IN (SELECT d_items.itemid FROM d_items WH...
[ 12518, 373, 262, 717, 640, 262, 2612, 2494, 286, 5827, 15495, 2816, 373, 8630, 319, 262, 1459, 18590, 1337, 4326, 3187, 379, 1342, 621, 9166, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 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...
[ 12518, 373, 262, 717, 640, 262, 2612, 2494, 286, 5827, 15495, 2816, 373, 8630, 319, 262, 1459, 18590, 1337, 4326, 3187, 379, 1342, 621, 9166, 13, 15, 30, 46506, 8262, 31534, 13, 40926, 2435, 16034, 8262, 31534, 33411, 8262, 31534, 13, ...
Who was the opponent for the game with a score of w 94 88 (ot)?
SELECT "Team" FROM table_29777 WHERE "Score" = 'W 94–88 (OT)'
[ 8241, 373, 262, 6125, 329, 262, 983, 351, 257, 4776, 286, 266, 10048, 9193, 357, 313, 19427, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 29331, 33411, 366, 26595, 1, 796, 705, 54, 10048, 1906, 3459, 357, 2394, 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 ]
[ 8241, 373, 262, 6125, 329, 262, 983, 351, 257, 4776, 286, 266, 10048, 9193, 357, 313, 19427, 46506, 366, 15592, 1, 16034, 3084, 62, 1959, 29331, 33411, 366, 26595, 1, 796, 705, 54, 10048, 1906, 3459, 357, 2394, 33047 ]
give me the number of elective hospital admission patients who are diagnosed with other and unspecified open wound of head without mention of complication.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.long_title = "Other and unspecified open wound of head without mention of complication"
[ 26535, 502, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 389, 14641, 351, 584, 290, 29547, 1280, 11699, 286, 1182, 1231, 3068, 286, 45185, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 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...
[ 26535, 502, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 389, 14641, 351, 584, 290, 29547, 1280, 11699, 286, 1182, 1231, 3068, 286, 45185, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 1672...
Give the name of the highest paid instructor.
SELECT name FROM instructor ORDER BY salary DESC LIMIT 1
[ 23318, 262, 1438, 286, 262, 4511, 3432, 21187, 13, 46506, 1438, 16034, 21187, 38678, 11050, 9588, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 23318, 262, 1438, 286, 262, 4511, 3432, 21187, 13, 46506, 1438, 16034, 21187, 38678, 11050, 9588, 22196, 34, 27564, 2043, 352 ]
when is the first time patient 25814 was admitted to hospital since 2101?
SELECT admissions.admittime FROM admissions WHERE admissions.subject_id = 25814 AND STRFTIME('%y', admissions.admittime) >= '2101' ORDER BY admissions.admittime LIMIT 1
[ 12518, 318, 262, 717, 640, 5827, 37528, 1415, 373, 6848, 284, 4436, 1201, 2310, 486, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 37528, 1415, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 318, 262, 717, 640, 5827, 37528, 1415, 373, 6848, 284, 4436, 1201, 2310, 486, 30, 46506, 25349, 13, 324, 20124, 524, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 37528, 1415, 5357, 19269, 9792, 12789, 10786, 4, 88, 3256, ...
Tag score + accepted answer rate. Get tags scores with acceptance rate
SELECT t.TagName, COUNT(*) AS answers, SUM(a.Score) AS TagScore FROM Posts AS q INNER JOIN Posts AS a ON a.ParentId = q.Id INNER JOIN PostTags AS pt ON pt.PostId = q.Id INNER JOIN Tags AS t ON t.TagName LIKE '%Android%' WHERE a.OwnerUserId = @userid GROUP BY t.TagName ORDER BY COUNT(*) DESC
[ 24835, 4776, 1343, 6292, 3280, 2494, 13, 3497, 15940, 8198, 351, 13427, 2494, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 7429, 11, 35683, 7, 64, 13, 26595, 8, 7054, 17467, 26595, 16034, 12043, 7054, 10662, 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...
[ 24835, 4776, 1343, 6292, 3280, 2494, 13, 3497, 15940, 8198, 351, 13427, 2494, 46506, 256, 13, 24835, 5376, 11, 327, 28270, 7, 28104, 7054, 7429, 11, 35683, 7, 64, 13, 26595, 8, 7054, 17467, 26595, 16034, 12043, 7054, 10662, 3268, 21479,...
Questions with MathJax in the title.
SELECT Id AS "post_link", CreationDate, Score, Title FROM Posts WHERE Title LIKE '%$%$%' ORDER BY CreationDate DESC
[ 35741, 351, 16320, 41, 897, 287, 262, 3670, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 15178, 11, 11851, 16034, 12043, 33411, 11851, 34178, 705, 4, 3, 4, 3, 4, 6, 38678, 11050, 21582, 10430, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 35741, 351, 16320, 41, 897, 287, 262, 3670, 13, 46506, 5121, 7054, 366, 7353, 62, 8726, 1600, 21582, 10430, 11, 15178, 11, 11851, 16034, 12043, 33411, 11851, 34178, 705, 4, 3, 4, 3, 4, 6, 38678, 11050, 21582, 10430, 22196, 34 ]
did patient 3677 have a procedure in their last hospital encounter.
SELECT COUNT(*) > 0 FROM procedures_icd WHERE procedures_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 3677 AND NOT admissions.dischtime IS NULL ORDER BY admissions.admittime DESC LIMIT 1)
[ 20839, 5827, 513, 40179, 423, 257, 8771, 287, 511, 938, 4436, 8791, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 20839, 5827, 513, 40179, 423, 257, 8771, 287, 511, 938, 4436, 8791, 13, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 9021, 62, 291, 67, 33411, 9021, 62, 291, 67, 13, 18108, 76, 62, 312, 3268, 357, 46506, 25349, 13, 18108, 76, 62, ...
Name the date for value 55c
SELECT date FROM table_2006661_1 WHERE value = "55c"
[ 5376, 262, 3128, 329, 1988, 5996, 66, 46506, 3128, 16034, 3084, 62, 2167, 2791, 5333, 62, 16, 33411, 1988, 796, 366, 2816, 66, 1 ]
[ 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, 3128, 329, 1988, 5996, 66, 46506, 3128, 16034, 3084, 62, 2167, 2791, 5333, 62, 16, 33411, 1988, 796, 366, 2816, 66, 1 ]
what player scored 9/1
SELECT "Jockey" FROM table_5735 WHERE "Odds" = '9/1'
[ 10919, 2137, 7781, 860, 14, 16, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 3553, 2327, 33411, 366, 46, 33714, 1, 796, 705, 24, 14, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 2137, 7781, 860, 14, 16, 46506, 366, 41, 8337, 1, 16034, 3084, 62, 3553, 2327, 33411, 366, 46, 33714, 1, 796, 705, 24, 14, 16, 6 ]
What is the highest played that has a position less than 17, and 63 as the goals for?
SELECT MAX(played) FROM table_name_4 WHERE position < 17 AND goals_for = 63
[ 2061, 318, 262, 4511, 2826, 326, 468, 257, 2292, 1342, 621, 1596, 11, 290, 8093, 355, 262, 4661, 329, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 2292, 1279, 1596, 5357, 4661, 62, 1640, 796, 8093 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2826, 326, 468, 257, 2292, 1342, 621, 1596, 11, 290, 8093, 355, 262, 4661, 329, 30, 46506, 25882, 7, 21542, 8, 16034, 3084, 62, 3672, 62, 19, 33411, 2292, 1279, 1596, 5357, 4661, 62, 1640, 796, 8093 ]
What day does the team play at punt road oval?
SELECT "Date" FROM table_4632 WHERE "Venue" = 'punt road oval'
[ 2061, 1110, 857, 262, 1074, 711, 379, 35363, 2975, 41186, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 2624, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 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 ]
[ 2061, 1110, 857, 262, 1074, 711, 379, 35363, 2975, 41186, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 3510, 2624, 33411, 366, 37522, 518, 1, 796, 705, 79, 2797, 2975, 41186, 6 ]
Create a bar chart showing school_id across all neutral, and show by the y axis in asc.
SELECT All_Neutral, School_ID FROM basketball_match ORDER BY School_ID
[ 16447, 257, 2318, 8262, 4478, 1524, 62, 312, 1973, 477, 8500, 11, 290, 905, 416, 262, 331, 16488, 287, 10570, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 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 ]
[ 16447, 257, 2318, 8262, 4478, 1524, 62, 312, 1973, 477, 8500, 11, 290, 905, 416, 262, 331, 16488, 287, 10570, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 62, 2389 ]
How many patients have had an open and other sigmoidectomy procedure?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.long_title = "Open and other sigmoidectomy"
[ 2437, 867, 3871, 423, 550, 281, 1280, 290, 584, 264, 17225, 1868, 42505, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3871, 423, 550, 281, 1280, 290, 584, 264, 17225, 1868, 42505, 8771, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 16728, 13, 18108, 76, 62,...
What is the highest pick number the los angeles raiders got?
SELECT MAX(pick__number) FROM table_2508633_5 WHERE nfl_team = "Los Angeles Raiders"
[ 2061, 318, 262, 4511, 2298, 1271, 262, 22346, 18304, 274, 9513, 364, 1392, 30, 46506, 25882, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 9031, 4521, 2091, 62, 20, 33411, 299, 2704, 62, 15097, 796, 366, 28903, 5652, 16120, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 1271, 262, 22346, 18304, 274, 9513, 364, 1392, 30, 46506, 25882, 7, 27729, 834, 17618, 8, 16034, 3084, 62, 9031, 4521, 2091, 62, 20, 33411, 299, 2704, 62, 15097, 796, 366, 28903, 5652, 16120, 1 ]
When Cancelable of yes, and a Type of drag, what was the Category?
SELECT category FROM table_name_72 WHERE cancelable = "yes" AND type = "drag"
[ 2215, 27910, 540, 286, 3763, 11, 290, 257, 5994, 286, 6715, 11, 644, 373, 262, 21743, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 4761, 33411, 14241, 540, 796, 366, 8505, 1, 5357, 2099, 796, 366, 7109, 363, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27910, 540, 286, 3763, 11, 290, 257, 5994, 286, 6715, 11, 644, 373, 262, 21743, 30, 46506, 6536, 16034, 3084, 62, 3672, 62, 4761, 33411, 14241, 540, 796, 366, 8505, 1, 5357, 2099, 796, 366, 7109, 363, 1 ]
Which award has film lyricist in the category?
SELECT award FROM table_name_11 WHERE category = "film lyricist"
[ 13828, 5764, 468, 2646, 43086, 396, 287, 262, 6536, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 1157, 33411, 6536, 796, 366, 26240, 43086, 396, 1 ]
[ 1, 1, 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, 5764, 468, 2646, 43086, 396, 287, 262, 6536, 30, 46506, 5764, 16034, 3084, 62, 3672, 62, 1157, 33411, 6536, 796, 366, 26240, 43086, 396, 1 ]
Posts where I recently commented.
SELECT p.Id AS "post_link", c.Id AS "comment_link", c.CreationDate, c.UserId AS "user_link" FROM Comments AS c INNER JOIN Posts AS p ON c.PostId = p.Id WHERE c.UserId = '##userid##' ORDER BY c.Id DESC LIMIT 500
[ 21496, 810, 314, 2904, 16476, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 269, 13, 12443, 341, 10430, 11, 269, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1, 16034, 195...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 21496, 810, 314, 2904, 16476, 13, 46506, 279, 13, 7390, 7054, 366, 7353, 62, 8726, 1600, 269, 13, 7390, 7054, 366, 23893, 62, 8726, 1600, 269, 13, 12443, 341, 10430, 11, 269, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1, 16034, 195...
Where are the london borough with the black caribbean population of 17974?
SELECT "London Borough" FROM table_1994 WHERE "Black Caribbean Population" = '17974'
[ 8496, 389, 262, 300, 3391, 33534, 351, 262, 2042, 1097, 571, 14289, 3265, 286, 27228, 4524, 30, 46506, 366, 23421, 48114, 1, 16034, 3084, 62, 22666, 33411, 366, 9915, 18020, 20133, 1, 796, 705, 21738, 4524, 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 ]
[ 8496, 389, 262, 300, 3391, 33534, 351, 262, 2042, 1097, 571, 14289, 3265, 286, 27228, 4524, 30, 46506, 366, 23421, 48114, 1, 16034, 3084, 62, 22666, 33411, 366, 9915, 18020, 20133, 1, 796, 705, 21738, 4524, 6 ]
Name the number of points for south korea
SELECT COUNT(points) FROM table_13282157_3 WHERE country = "South Korea"
[ 5376, 262, 1271, 286, 2173, 329, 5366, 479, 46215, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 1485, 32568, 18458, 62, 18, 33411, 1499, 796, 366, 14942, 4969, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1271, 286, 2173, 329, 5366, 479, 46215, 46506, 327, 28270, 7, 13033, 8, 16034, 3084, 62, 1485, 32568, 18458, 62, 18, 33411, 1499, 796, 366, 14942, 4969, 1 ]
What is the to par of player john buczek, who has a t9 place and is from the United States?
SELECT to_par FROM table_name_36 WHERE place = "t9" AND country = "united states" AND player = "john buczek"
[ 2061, 318, 262, 284, 1582, 286, 2137, 45610, 809, 26691, 988, 11, 508, 468, 257, 256, 24, 1295, 290, 318, 422, 262, 1578, 1829, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 2623, 33411, 1295, 796, 366, 83, 24, 1, 5357, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 284, 1582, 286, 2137, 45610, 809, 26691, 988, 11, 508, 468, 257, 256, 24, 1295, 290, 318, 422, 262, 1578, 1829, 30, 46506, 284, 62, 1845, 16034, 3084, 62, 3672, 62, 2623, 33411, 1295, 796, 366, 83, 24, 1, 5357, 149...
Who was the winner for a Sprint Classification and Young Classification to Mark Cavendish and Garmin-Chipotle-H30 for team?
SELECT "Stage (Winner)" FROM table_41122 WHERE "Sprint Classification" = 'mark cavendish' AND "Team Classification" = 'garmin-chipotle-h30' AND "Young Classification" = 'mark cavendish'
[ 8241, 373, 262, 8464, 329, 257, 23178, 40984, 290, 6960, 40984, 284, 2940, 19931, 48442, 290, 50212, 12, 49985, 23556, 12, 39, 1270, 329, 1074, 30, 46506, 366, 29391, 357, 48056, 16725, 16034, 3084, 62, 3901, 18376, 33411, 366, 50, 4798...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 257, 23178, 40984, 290, 6960, 40984, 284, 2940, 19931, 48442, 290, 50212, 12, 49985, 23556, 12, 39, 1270, 329, 1074, 30, 46506, 366, 29391, 357, 48056, 16725, 16034, 3084, 62, 3901, 18376, 33411, 366, 50, 4798...
english ( wumc ) or spanish speaking ( dh )
SELECT * FROM table_train_256 WHERE language = 'english' OR language = 'spanish'
[ 39126, 357, 266, 388, 66, 1267, 393, 599, 7115, 5486, 357, 34590, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 11645, 33411, 3303, 796, 705, 39126, 6, 6375, 3303, 796, 705, 2777, 7115, 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 ]
[ 39126, 357, 266, 388, 66, 1267, 393, 599, 7115, 5486, 357, 34590, 1267, 46506, 1635, 16034, 3084, 62, 27432, 62, 11645, 33411, 3303, 796, 705, 39126, 6, 6375, 3303, 796, 705, 2777, 7115, 6 ]
Which location led to a 10-3 record?
SELECT location FROM table_name_73 WHERE record = "10-3"
[ 13828, 4067, 2957, 284, 257, 838, 12, 18, 1700, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4790, 33411, 1700, 796, 366, 940, 12, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 4067, 2957, 284, 257, 838, 12, 18, 1700, 30, 46506, 4067, 16034, 3084, 62, 3672, 62, 4790, 33411, 1700, 796, 366, 940, 12, 18, 1 ]
What is the Sn/Sb percentage that is liquid at 258 degrees C?
SELECT sn_sb___percentage_ FROM table_name_4 WHERE liquid_at__°c_ = "258"
[ 2061, 318, 262, 5489, 14, 50, 65, 5873, 326, 318, 8122, 379, 37528, 7370, 327, 30, 46506, 3013, 62, 36299, 17569, 25067, 496, 62, 16034, 3084, 62, 3672, 62, 19, 33411, 8122, 62, 265, 834, 7200, 66, 62, 796, 366, 25600, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5489, 14, 50, 65, 5873, 326, 318, 8122, 379, 37528, 7370, 327, 30, 46506, 3013, 62, 36299, 17569, 25067, 496, 62, 16034, 3084, 62, 3672, 62, 19, 33411, 8122, 62, 265, 834, 7200, 66, 62, 796, 366, 25600, 1 ]
what is the number of office admitted patients who have abdominal abscess primary disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "ABDOMINAL ABSCESS"
[ 10919, 318, 262, 1271, 286, 2607, 6848, 3871, 508, 423, 32692, 2352, 919, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2607, 6848, 3871, 508, 423, 32692, 2352, 919, 4165, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886, 796, 366, 5097, ...
Draw a bar chart about the distribution of All_Neutral and School_ID , and sort Y in asc order.
SELECT All_Neutral, School_ID FROM basketball_match ORDER BY School_ID
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 837, 290, 3297, 575, 287, 10570, 1502, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 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 ]
[ 25302, 257, 2318, 8262, 546, 262, 6082, 286, 1439, 62, 8199, 6815, 290, 3961, 62, 2389, 837, 290, 3297, 575, 287, 10570, 1502, 13, 46506, 1439, 62, 8199, 6815, 11, 3961, 62, 2389, 16034, 9669, 62, 15699, 38678, 11050, 3961, 62, 2389 ]
What is the latitude of the 0 diameter?
SELECT "Latitude" FROM table_45117 WHERE "Diameter (km)" = '0'
[ 2061, 318, 262, 32477, 286, 262, 657, 14753, 30, 46506, 366, 24220, 3984, 1, 16034, 3084, 62, 2231, 17657, 33411, 366, 35, 13173, 357, 13276, 16725, 796, 705, 15, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 32477, 286, 262, 657, 14753, 30, 46506, 366, 24220, 3984, 1, 16034, 3084, 62, 2231, 17657, 33411, 366, 35, 13173, 357, 13276, 16725, 796, 705, 15, 6 ]
For those employees who do not work in departments with managers that have ids between 100 and 200, draw a bar chart about the distribution of job_id and manager_id , list by the Y-axis from low to high 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 4706, 62, 312, 837, 1351, 416, 262, 575, 12, 22704, 422, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 1693, 62, 312, 290, 4706, 62, 312, 837, 1351, 416, 262, 575, 12, 22704, 422, 1...
Where is the budweiser/g. i. joe's 200?
SELECT city_location FROM table_name_48 WHERE race_name = "budweiser/g. i. joe's 200"
[ 8496, 318, 262, 3600, 732, 5847, 14, 70, 13, 1312, 13, 2525, 68, 338, 939, 30, 46506, 1748, 62, 24886, 16034, 3084, 62, 3672, 62, 2780, 33411, 3234, 62, 3672, 796, 366, 65, 463, 732, 5847, 14, 70, 13, 1312, 13, 2525, 68, 338, 93...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 318, 262, 3600, 732, 5847, 14, 70, 13, 1312, 13, 2525, 68, 338, 939, 30, 46506, 1748, 62, 24886, 16034, 3084, 62, 3672, 62, 2780, 33411, 3234, 62, 3672, 796, 366, 65, 463, 732, 5847, 14, 70, 13, 1312, 13, 2525, 68, 338, 93...
Show me about the correlation between School_ID and All_Games_Percent , and group by attribute Team_Name in a scatter chart.
SELECT School_ID, All_Games_Percent FROM basketball_match GROUP BY Team_Name
[ 15307, 502, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 287, 257, 41058, 8262, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 502, 546, 262, 16096, 1022, 3961, 62, 2389, 290, 1439, 62, 24474, 62, 31905, 837, 290, 1448, 416, 11688, 4816, 62, 5376, 287, 257, 41058, 8262, 13, 46506, 3961, 62, 2389, 11, 1439, 62, 24474, 62, 31905, 16034, 9669, 62, 15699, ...
give me the number of patients whose days of hospital stay is greater than 2 and lab test fluid is pleural?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "2" AND lab.fluid = "Pleural"
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3235...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 362, 290, 2248, 1332, 11711, 318, 3339, 1523, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 3235...
What is the recoupa sudamericana 1996 result of team corinthians?
SELECT recopa_sudamericana_1996 FROM table_name_7 WHERE team = "corinthians"
[ 2061, 318, 262, 664, 280, 8957, 424, 67, 2382, 291, 2271, 8235, 1255, 286, 1074, 1162, 9304, 1547, 30, 46506, 664, 26186, 62, 82, 463, 2382, 291, 2271, 62, 22288, 16034, 3084, 62, 3672, 62, 22, 33411, 1074, 796, 366, 10215, 9304, 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 ]
[ 2061, 318, 262, 664, 280, 8957, 424, 67, 2382, 291, 2271, 8235, 1255, 286, 1074, 1162, 9304, 1547, 30, 46506, 664, 26186, 62, 82, 463, 2382, 291, 2271, 62, 22288, 16034, 3084, 62, 3672, 62, 22, 33411, 1074, 796, 366, 10215, 9304, 15...
What is the id of the account with the most transactions?
SELECT account_id FROM financial_transactions GROUP BY account_id ORDER BY COUNT(*) DESC LIMIT 1
[ 2061, 318, 262, 4686, 286, 262, 1848, 351, 262, 749, 8945, 30, 46506, 1848, 62, 312, 16034, 3176, 62, 7645, 4658, 44441, 11050, 1848, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4686, 286, 262, 1848, 351, 262, 749, 8945, 30, 46506, 1848, 62, 312, 16034, 3176, 62, 7645, 4658, 44441, 11050, 1848, 62, 312, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
show me the three year survival rate of patients who were prescribed sodium chloride 0.9 % after they were diagnosed with change in mental status?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 3 * 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, 1115, 614, 9441, 2494, 286, 3871, 508, 547, 14798, 21072, 44921, 657, 13, 24, 4064, 706, 484, 547, 14641, 351, 1487, 287, 5110, 3722, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12860, 502, 262, 1115, 614, 9441, 2494, 286, 3871, 508, 547, 14798, 21072, 44921, 657, 13, 24, 4064, 706, 484, 547, 14641, 351, 1487, 287, 5110, 3722, 30, 46506, 35683, 7, 34, 11159, 42099, 5827, 13, 49257, 6381, 11121, 395, 7240, 796...
During the Fall and Winter term , how many 500 level classes are offered ?
SELECT COUNT(DISTINCT course.department, course.name, course.number, semester.semester) FROM course, course_offering, semester WHERE course.course_id = course_offering.course_id AND course.department = 'department0' AND course.number BETWEEN 500 AND 500 + 100 AND semester.semester IN ('FA', 'WN') AND semester.semester_...
[ 7191, 262, 7218, 290, 10633, 3381, 837, 703, 867, 5323, 1241, 6097, 389, 4438, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 8, 16034...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 7191, 262, 7218, 290, 10633, 3381, 837, 703, 867, 5323, 1241, 6097, 389, 4438, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 11, 24878, 13, 325, 6880, 353, 8, 16034...
What Team 1 has union douala as Team 2?
SELECT "Team 1" FROM table_71856 WHERE "Team 2" = 'union douala'
[ 2061, 4816, 352, 468, 6441, 2255, 6081, 355, 4816, 362, 30, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 45720, 3980, 33411, 366, 15592, 362, 1, 796, 705, 24592, 2255, 6081, 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 ]
[ 2061, 4816, 352, 468, 6441, 2255, 6081, 355, 4816, 362, 30, 46506, 366, 15592, 352, 1, 16034, 3084, 62, 45720, 3980, 33411, 366, 15592, 362, 1, 796, 705, 24592, 2255, 6081, 6 ]
what is the diagnosis for Robert Hyden?
SELECT diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.name = "Robert Hyden"
[ 10919, 318, 262, 13669, 329, 5199, 15084, 268, 30, 46506, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 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 ]
[ 10919, 318, 262, 13669, 329, 5199, 15084, 268, 30, 46506, 40567, 13, 19509, 62, 7839, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 76, 62, 312, 796, 40567, 13, 18108, 76, 62, 312, 33411, 16728, 13, 3672, 796, ...
what is the total amount of output of patient 025-66662 has had on 12/23/last year?
SELECT SUM(intakeoutput.cellvaluenumeric) FROM intakeoutput WHERE intakeoutput.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-66662')) AND intakeoutput.cellpath LIKE '%ou...
[ 10919, 318, 262, 2472, 2033, 286, 5072, 286, 5827, 657, 1495, 12, 19060, 17, 468, 550, 319, 1105, 14, 1954, 14, 12957, 614, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 2033, 286, 5072, 286, 5827, 657, 1495, 12, 19060, 17, 468, 550, 319, 1105, 14, 1954, 14, 12957, 614, 30, 46506, 35683, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, ...
What is the round for the Norisring circuit?
SELECT AVG(round) FROM table_name_43 WHERE circuit = "norisring"
[ 2061, 318, 262, 2835, 329, 262, 5414, 271, 1806, 10349, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 10349, 796, 366, 13099, 271, 1806, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2835, 329, 262, 5414, 271, 1806, 10349, 30, 46506, 35224, 7, 744, 8, 16034, 3084, 62, 3672, 62, 3559, 33411, 10349, 796, 366, 13099, 271, 1806, 1 ]
Who had the fastest lap at the German Grand Prix?
SELECT fastest_lap FROM table_name_87 WHERE race = "german grand prix"
[ 8241, 550, 262, 14162, 14779, 379, 262, 2679, 5675, 23832, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 3672, 62, 5774, 33411, 3234, 796, 366, 1362, 805, 4490, 1293, 87, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 14162, 14779, 379, 262, 2679, 5675, 23832, 30, 46506, 14162, 62, 37796, 16034, 3084, 62, 3672, 62, 5774, 33411, 3234, 796, 366, 1362, 805, 4490, 1293, 87, 1 ]
How many draws did the game after game 14 with goal gain 17 have?
SELECT MAX(draw) FROM table_name_45 WHERE goal_gain = 17 AND game > 14
[ 2437, 867, 14293, 750, 262, 983, 706, 983, 1478, 351, 3061, 4461, 1596, 423, 30, 46506, 25882, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 3061, 62, 48544, 796, 1596, 5357, 983, 1875, 1478 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 14293, 750, 262, 983, 706, 983, 1478, 351, 3061, 4461, 1596, 423, 30, 46506, 25882, 7, 19334, 8, 16034, 3084, 62, 3672, 62, 2231, 33411, 3061, 62, 48544, 796, 1596, 5357, 983, 1875, 1478 ]
What club is robert gallery a part of
SELECT "NFL Club" FROM table_35151 WHERE "Player" = 'robert gallery'
[ 2061, 3430, 318, 686, 4835, 15604, 257, 636, 286, 46506, 366, 32078, 6289, 1, 16034, 3084, 62, 2327, 24309, 33411, 366, 14140, 1, 796, 705, 305, 4835, 15604, 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, 3430, 318, 686, 4835, 15604, 257, 636, 286, 46506, 366, 32078, 6289, 1, 16034, 3084, 62, 2327, 24309, 33411, 366, 14140, 1, 796, 705, 305, 4835, 15604, 6 ]
Which Entrepreneur(s) have mixalbum?
SELECT entrepreneur_s_ FROM table_name_69 WHERE company_or_product_name = "mixalbum"
[ 13828, 42071, 333, 7, 82, 8, 423, 5022, 40916, 30, 46506, 19500, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3388, 33411, 1664, 62, 273, 62, 11167, 62, 3672, 796, 366, 19816, 40916, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 42071, 333, 7, 82, 8, 423, 5022, 40916, 30, 46506, 19500, 62, 82, 62, 16034, 3084, 62, 3672, 62, 3388, 33411, 1664, 62, 273, 62, 11167, 62, 3672, 796, 366, 19816, 40916, 1 ]
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of founder and the average of code , and group by attribute founder, display y-axis in ascending order please.
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, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 3359, 331, 12, 22704, 287, 41988, 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, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 2438, 837, 290, 1448, 416, 11688, 9119, 11, 3359, 331, 12, 22704, 287, 41988, 1502, 3387, 13, 4...
Name the sum of Long for yards less than 197 and players of matt nagy
SELECT SUM("Long") FROM table_51906 WHERE "Yards" < '197' AND "Player" = 'matt nagy'
[ 5376, 262, 2160, 286, 5882, 329, 5695, 1342, 621, 29903, 290, 1938, 286, 23963, 299, 46671, 46506, 35683, 7203, 14617, 4943, 16034, 3084, 62, 47785, 3312, 33411, 366, 56, 1371, 1, 1279, 705, 24991, 6, 5357, 366, 14140, 1, 796, 705, 76...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2160, 286, 5882, 329, 5695, 1342, 621, 29903, 290, 1938, 286, 23963, 299, 46671, 46506, 35683, 7203, 14617, 4943, 16034, 3084, 62, 47785, 3312, 33411, 366, 56, 1371, 1, 1279, 705, 24991, 6, 5357, 366, 14140, 1, 796, 705, 76...
Can you draw the trend of the average of capacity over the openning year?, display X from low to high order.
SELECT Openning_year, AVG(Capacity) FROM cinema ORDER BY Openning_year
[ 6090, 345, 3197, 262, 5182, 286, 262, 2811, 286, 5339, 625, 262, 1280, 768, 614, 21747, 3359, 1395, 422, 1877, 284, 1029, 1502, 13, 46506, 4946, 768, 62, 1941, 11, 35224, 7, 15610, 4355, 8, 16034, 22041, 38678, 11050, 4946, 768, 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 ]
[ 6090, 345, 3197, 262, 5182, 286, 262, 2811, 286, 5339, 625, 262, 1280, 768, 614, 21747, 3359, 1395, 422, 1877, 284, 1029, 1502, 13, 46506, 4946, 768, 62, 1941, 11, 35224, 7, 15610, 4355, 8, 16034, 22041, 38678, 11050, 4946, 768, 62, ...
The episode with the no. 54, directed by Charles Haid, is written by who?
SELECT "Written by" FROM table_28788 WHERE "Directed by" = 'Charles Haid' AND "No." = '54'
[ 464, 4471, 351, 262, 645, 13, 7175, 11, 7924, 416, 7516, 367, 1698, 11, 318, 3194, 416, 508, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 27800, 3459, 33411, 366, 13470, 276, 416, 1, 796, 705, 28711, 367, 1698, 6, 5357, 366, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 464, 4471, 351, 262, 645, 13, 7175, 11, 7924, 416, 7516, 367, 1698, 11, 318, 3194, 416, 508, 30, 46506, 366, 25354, 416, 1, 16034, 3084, 62, 27800, 3459, 33411, 366, 13470, 276, 416, 1, 796, 705, 28711, 367, 1698, 6, 5357, 366, 29...
What 2009 has grand slam tournaments of 2008?
SELECT "2009" FROM table_41500 WHERE "2008" = 'grand slam tournaments'
[ 2061, 3717, 468, 4490, 21158, 18130, 286, 3648, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 19, 33698, 33411, 366, 11528, 1, 796, 705, 23936, 21158, 18130, 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, 3717, 468, 4490, 21158, 18130, 286, 3648, 30, 46506, 366, 10531, 1, 16034, 3084, 62, 19, 33698, 33411, 366, 11528, 1, 796, 705, 23936, 21158, 18130, 6 ]
What was the production code for the episode directed by Michael Morris?
SELECT MIN(production_code) FROM table_23793770_1 WHERE directed_by = "Michael Morris"
[ 2061, 373, 262, 3227, 2438, 329, 262, 4471, 7924, 416, 3899, 14433, 30, 46506, 20625, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 1954, 3720, 2718, 2154, 62, 16, 33411, 7924, 62, 1525, 796, 366, 13256, 14433, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3227, 2438, 329, 262, 4471, 7924, 416, 3899, 14433, 30, 46506, 20625, 7, 25493, 62, 8189, 8, 16034, 3084, 62, 1954, 3720, 2718, 2154, 62, 16, 33411, 7924, 62, 1525, 796, 366, 13256, 14433, 1 ]
count the number of urgent hospital admission patients who had enteral infusion of concentrated nutritional substances.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.long_title = "Enteral infusion of concentrated nutritional substances"
[ 9127, 262, 1271, 286, 18039, 4436, 13938, 3871, 508, 550, 920, 1691, 35547, 286, 17298, 24000, 15938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 18039, 4436, 13938, 3871, 508, 550, 920, 1691, 35547, 286, 17298, 24000, 15938, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 9021, 6177, 1672...
How many neighborhoods have a station proposed at a Hospital?
SELECT COUNT(city_neighborhood) FROM table_22771048_4 WHERE station = "Hospital"
[ 2437, 867, 14287, 423, 257, 4429, 5150, 379, 257, 9256, 30, 46506, 327, 28270, 7, 19205, 62, 710, 394, 2865, 2894, 8, 16034, 3084, 62, 1828, 3324, 940, 2780, 62, 19, 33411, 4429, 796, 366, 39, 3531, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14287, 423, 257, 4429, 5150, 379, 257, 9256, 30, 46506, 327, 28270, 7, 19205, 62, 710, 394, 2865, 2894, 8, 16034, 3084, 62, 1828, 3324, 940, 2780, 62, 19, 33411, 4429, 796, 366, 39, 3531, 1 ]
What was the started round for the competition that had the last match on January 16, 2008?
SELECT started_round FROM table_name_57 WHERE last_match = "january 16, 2008"
[ 2061, 373, 262, 2067, 2835, 329, 262, 5449, 326, 550, 262, 938, 2872, 319, 3269, 1467, 11, 3648, 30, 46506, 2067, 62, 744, 16034, 3084, 62, 3672, 62, 3553, 33411, 938, 62, 15699, 796, 366, 13881, 2838, 1467, 11, 3648, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2067, 2835, 329, 262, 5449, 326, 550, 262, 938, 2872, 319, 3269, 1467, 11, 3648, 30, 46506, 2067, 62, 744, 16034, 3084, 62, 3672, 62, 3553, 33411, 938, 62, 15699, 796, 366, 13881, 2838, 1467, 11, 3648, 1 ]