instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Show the relationship between the subject ID and the corresponding number of courses for each subject in a group scatter chart.
SELECT T1.subject_id, COUNT(*) FROM Courses AS T1 JOIN Subjects AS T2 ON T1.subject_id = T2.subject_id GROUP BY subject_name
[ 15307, 262, 2776, 1022, 262, 2426, 4522, 290, 262, 11188, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 1448, 41058, 8262, 13, 46506, 309, 16, 13, 32796, 62, 312, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2776, 1022, 262, 2426, 4522, 290, 262, 11188, 1271, 286, 10902, 329, 1123, 2426, 287, 257, 1448, 41058, 8262, 13, 46506, 309, 16, 13, 32796, 62, 312, 11, 327, 28270, 7, 28104, 16034, 2734, 8448, 7054, 309, 16, 32357, 1268,...
How many people have a vl type in a region greater than 3?
SELECT SUM("Population") FROM table_10686 WHERE "Type" = 'vl' AND "Region" > '3'
[ 2437, 867, 661, 423, 257, 410, 75, 2099, 287, 257, 3814, 3744, 621, 513, 30, 46506, 35683, 7203, 45251, 4943, 16034, 3084, 62, 940, 33808, 33411, 366, 6030, 1, 796, 705, 19279, 6, 5357, 366, 47371, 1, 1875, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 661, 423, 257, 410, 75, 2099, 287, 257, 3814, 3744, 621, 513, 30, 46506, 35683, 7203, 45251, 4943, 16034, 3084, 62, 940, 33808, 33411, 366, 6030, 1, 796, 705, 19279, 6, 5357, 366, 47371, 1, 1875, 705, 18, 6 ]
Apart from 551 , what courses does Prof. James Crowfoot teach ?
SELECT DISTINCT course.department, course.name, course.number FROM course, course_offering, instructor, offering_instructor WHERE course.course_id = course_offering.course_id AND course.number <> 551 AND instructor.name LIKE '%James Crowfoot%' AND offering_instructor.instructor_id = instructor.instructor_id AND offerin...
[ 39182, 422, 642, 4349, 837, 644, 10902, 857, 4415, 13, 3700, 15502, 5898, 4545, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 39182, 422, 642, 4349, 837, 644, 10902, 857, 4415, 13, 3700, 15502, 5898, 4545, 5633, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, ...
what is the outcome when the tournament is tokyo?
SELECT outcome FROM table_name_83 WHERE tournament = "tokyo"
[ 10919, 318, 262, 8055, 618, 262, 7756, 318, 284, 2584, 78, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 5999, 33411, 7756, 796, 366, 83, 482, 8226, 1 ]
[ 1, 1, 1, 1, 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, 8055, 618, 262, 7756, 318, 284, 2584, 78, 30, 46506, 8055, 16034, 3084, 62, 3672, 62, 5999, 33411, 7756, 796, 366, 83, 482, 8226, 1 ]
provide the number of patients whose days of hospital stay is greater than 4 and drug name is sodium citrate 4%?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "4" AND prescriptions.drug = "Sodium CITRATE 4%"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 604, 290, 2563, 1438, 318, 21072, 15433, 4873, 604, 4, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15234, 485, 262, 1271, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 3744, 621, 604, 290, 2563, 1438, 318, 21072, 15433, 4873, 604, 4, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What is the Total with the Event 2004 Athens and Gold less than 20?
SELECT SUM("Total") FROM table_69601 WHERE "Event" = '2004 athens' AND "Gold" < '20'
[ 2061, 318, 262, 7472, 351, 262, 8558, 5472, 21891, 290, 3561, 1342, 621, 1160, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 38205, 486, 33411, 366, 9237, 1, 796, 705, 15724, 379, 5135, 6, 5357, 366, 13306, 1, 1279, 705, 1238,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 351, 262, 8558, 5472, 21891, 290, 3561, 1342, 621, 1160, 30, 46506, 35683, 7203, 14957, 4943, 16034, 3084, 62, 38205, 486, 33411, 366, 9237, 1, 796, 705, 15724, 379, 5135, 6, 5357, 366, 13306, 1, 1279, 705, 1238,...
Who is the home captain that won AUS by 245 runs?
SELECT home_captain FROM table_name_93 WHERE result = "aus by 245 runs"
[ 8241, 318, 262, 1363, 10654, 326, 1839, 317, 2937, 416, 29637, 4539, 30, 46506, 1363, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 8717, 416, 29637, 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, 1, 1, 1, 1 ]
[ 8241, 318, 262, 1363, 10654, 326, 1839, 317, 2937, 416, 29637, 4539, 30, 46506, 1363, 62, 27144, 391, 16034, 3084, 62, 3672, 62, 6052, 33411, 1255, 796, 366, 8717, 416, 29637, 4539, 1 ]
What is the average events that Al Geiberger played with wins smaller than 1?
SELECT AVG(events) FROM table_name_55 WHERE player = "al geiberger" AND wins < 1
[ 2061, 318, 262, 2811, 2995, 326, 978, 2269, 1856, 1362, 2826, 351, 7864, 4833, 621, 352, 30, 46506, 35224, 7, 31534, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 2137, 796, 366, 282, 4903, 1856, 1362, 1, 5357, 7864, 1279, 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 ]
[ 2061, 318, 262, 2811, 2995, 326, 978, 2269, 1856, 1362, 2826, 351, 7864, 4833, 621, 352, 30, 46506, 35224, 7, 31534, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 2137, 796, 366, 282, 4903, 1856, 1362, 1, 5357, 7864, 1279, 352 ]
Which party won in 2003, that had a swing to gain of less than 2.92 and which resulted in a ld hold?
SELECT winning_party_2003 FROM table_name_26 WHERE swing_to_gain < 2.92 AND result = "ld hold"
[ 13828, 2151, 1839, 287, 5816, 11, 326, 550, 257, 9628, 284, 4461, 286, 1342, 621, 362, 13, 5892, 290, 543, 8724, 287, 257, 300, 67, 1745, 30, 46506, 5442, 62, 10608, 62, 16088, 16034, 3084, 62, 3672, 62, 2075, 33411, 9628, 62, 1462,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2151, 1839, 287, 5816, 11, 326, 550, 257, 9628, 284, 4461, 286, 1342, 621, 362, 13, 5892, 290, 543, 8724, 287, 257, 300, 67, 1745, 30, 46506, 5442, 62, 10608, 62, 16088, 16034, 3084, 62, 3672, 62, 2075, 33411, 9628, 62, 1462,...
What date had a result of W 41-0?
SELECT date FROM table_name_29 WHERE result = "w 41-0"
[ 2061, 3128, 550, 257, 1255, 286, 370, 6073, 12, 15, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1959, 33411, 1255, 796, 366, 86, 6073, 12, 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 ]
[ 2061, 3128, 550, 257, 1255, 286, 370, 6073, 12, 15, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1959, 33411, 1255, 796, 366, 86, 6073, 12, 15, 1 ]
How many people watched the game at Lake Oval?
SELECT SUM("Crowd") FROM table_52866 WHERE "Venue" = 'lake oval'
[ 2437, 867, 661, 7342, 262, 983, 379, 6233, 25165, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 49351, 2791, 33411, 366, 37522, 518, 1, 796, 705, 27180, 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 ]
[ 2437, 867, 661, 7342, 262, 983, 379, 6233, 25165, 30, 46506, 35683, 7203, 34, 3986, 4943, 16034, 3084, 62, 49351, 2791, 33411, 366, 37522, 518, 1, 796, 705, 27180, 41186, 6 ]
how many patients are widow and tested with lab item id 51003?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "WIDOWED" AND lab.itemid = "51003"
[ 4919, 867, 3871, 389, 27075, 290, 6789, 351, 2248, 2378, 4686, 642, 3064, 18, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 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...
[ 4919, 867, 3871, 389, 27075, 290, 6789, 351, 2248, 2378, 4686, 642, 3064, 18, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, ...
what is average age of patients whose primary disease is copd exacerbation and admission year is greater than or equal to 2111?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "COPD EXACERBATION" AND demographic.admityear >= "2111"
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 4165, 4369, 318, 2243, 67, 22907, 341, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 16243, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 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...
[ 10919, 318, 2811, 2479, 286, 3871, 3025, 4165, 4369, 318, 2243, 67, 22907, 341, 290, 13938, 614, 318, 3744, 621, 393, 4961, 284, 362, 16243, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 47356, 5958, 796...
What average total has 0 as the gold, with 6 as the rank?
SELECT AVG("Total") FROM table_79712 WHERE "Gold" = '0' AND "Rank" = '6'
[ 2061, 2811, 2472, 468, 657, 355, 262, 3869, 11, 351, 718, 355, 262, 4279, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 44673, 1065, 33411, 366, 13306, 1, 796, 705, 15, 6, 5357, 366, 27520, 1, 796, 705, 21, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 2811, 2472, 468, 657, 355, 262, 3869, 11, 351, 718, 355, 262, 4279, 30, 46506, 35224, 7203, 14957, 4943, 16034, 3084, 62, 44673, 1065, 33411, 366, 13306, 1, 796, 705, 15, 6, 5357, 366, 27520, 1, 796, 705, 21, 6 ]
Who had the high rebounds for the game on april 23?
SELECT "High rebounds" FROM table_17323 WHERE "Date" = 'April 23'
[ 8241, 550, 262, 1029, 18841, 329, 262, 983, 319, 46593, 346, 2242, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 25399, 1954, 33411, 366, 10430, 1, 796, 705, 16784, 2242, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 1029, 18841, 329, 262, 983, 319, 46593, 346, 2242, 30, 46506, 366, 11922, 18841, 1, 16034, 3084, 62, 25399, 1954, 33411, 366, 10430, 1, 796, 705, 16784, 2242, 6 ]
What was the date of the match against the visiting team, Toronto?
SELECT date FROM table_name_78 WHERE visitor = "toronto"
[ 2061, 373, 262, 3128, 286, 262, 2872, 1028, 262, 10013, 1074, 11, 6586, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 21493, 796, 366, 13165, 5957, 1 ]
[ 1, 1, 1, 1, 1, 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, 3128, 286, 262, 2872, 1028, 262, 10013, 1074, 11, 6586, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 3695, 33411, 21493, 796, 366, 13165, 5957, 1 ]
What is the latest day in November with a game 15?
SELECT MAX("November") FROM table_6510 WHERE "Game" = '15'
[ 2061, 318, 262, 3452, 1110, 287, 3389, 351, 257, 983, 1315, 30, 46506, 25882, 7203, 21159, 4943, 16034, 3084, 62, 2996, 940, 33411, 366, 8777, 1, 796, 705, 1314, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3452, 1110, 287, 3389, 351, 257, 983, 1315, 30, 46506, 25882, 7203, 21159, 4943, 16034, 3084, 62, 2996, 940, 33411, 366, 8777, 1, 796, 705, 1314, 6 ]
What was the value of 1st prize when the score was 271 (-9)?
SELECT 1 AS st_prize__$__ FROM table_15346009_1 WHERE score = "271 (-9)"
[ 2061, 373, 262, 1988, 286, 352, 301, 11596, 618, 262, 4776, 373, 33797, 13841, 24, 19427, 46506, 352, 7054, 336, 62, 3448, 2736, 834, 3, 834, 16034, 3084, 62, 1314, 2682, 8054, 24, 62, 16, 33411, 4776, 796, 366, 28977, 13841, 24, 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 ]
[ 2061, 373, 262, 1988, 286, 352, 301, 11596, 618, 262, 4776, 373, 33797, 13841, 24, 19427, 46506, 352, 7054, 336, 62, 3448, 2736, 834, 3, 834, 16034, 3084, 62, 1314, 2682, 8054, 24, 62, 16, 33411, 4776, 796, 366, 28977, 13841, 24, 16...
how many hours has elapsed since patient 15447 stayed in careunit tsicu for the first time in the on their current hospital visit?
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', transfers.intime)) FROM transfers WHERE transfers.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15447 AND admissions.dischtime IS NULL) AND transfers.careunit = 'tsicu' ORDER BY transfers.intime LIMIT 1
[ 4919, 867, 2250, 468, 42118, 1201, 5827, 1315, 34825, 9658, 287, 1337, 20850, 256, 21383, 84, 329, 262, 717, 640, 287, 262, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 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, 2250, 468, 42118, 1201, 5827, 1315, 34825, 9658, 287, 1337, 20850, 256, 21383, 84, 329, 262, 717, 640, 287, 262, 319, 511, 1459, 4436, 3187, 30, 46506, 1987, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62...
where did obama get 41.3%
SELECT "County" FROM table_23698 WHERE "Obama %" = '41.3%'
[ 3003, 750, 909, 1689, 651, 6073, 13, 18, 4, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 1954, 39357, 33411, 366, 15948, 4064, 1, 796, 705, 3901, 13, 18, 4, 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 ]
[ 3003, 750, 909, 1689, 651, 6073, 13, 18, 4, 46506, 366, 12332, 88, 1, 16034, 3084, 62, 1954, 39357, 33411, 366, 15948, 4064, 1, 796, 705, 3901, 13, 18, 4, 6 ]
papers about crowdsourcing in acl 2015
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase, venue WHERE keyphrase.keyphrasename = 'crowdsourcing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid AND paper.year = 2015 AND venue.venueid = paper.venueid AND venue.venuename = 'acl'
[ 40491, 546, 15779, 29985, 287, 257, 565, 1853, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 66, 3986, 82, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 40491, 546, 15779, 29985, 287, 257, 565, 1853, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 11, 14359, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 66, 3986, 82, ...
When was the lock with 10 caps born?
SELECT "Date of Birth (Age)" FROM table_56517 WHERE "Position" = 'lock' AND "Caps" = '10'
[ 2215, 373, 262, 5793, 351, 838, 11022, 4642, 30, 46506, 366, 10430, 286, 17647, 357, 23396, 16725, 16034, 3084, 62, 47372, 1558, 33411, 366, 26545, 1, 796, 705, 5354, 6, 5357, 366, 34, 1686, 1, 796, 705, 940, 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 ]
[ 2215, 373, 262, 5793, 351, 838, 11022, 4642, 30, 46506, 366, 10430, 286, 17647, 357, 23396, 16725, 16034, 3084, 62, 47372, 1558, 33411, 366, 26545, 1, 796, 705, 5354, 6, 5357, 366, 34, 1686, 1, 796, 705, 940, 6 ]
What is the percentage of Tujunja when Pasadena is 33%?
SELECT "Tujunga" FROM table_74691 WHERE "Pasadena" = '33%'
[ 2061, 318, 262, 5873, 286, 16749, 29741, 6592, 618, 41010, 318, 4747, 4, 30, 46506, 366, 51, 23577, 2150, 64, 1, 16034, 3084, 62, 4524, 49541, 33411, 366, 47, 292, 38047, 1, 796, 705, 2091, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 5873, 286, 16749, 29741, 6592, 618, 41010, 318, 4747, 4, 30, 46506, 366, 51, 23577, 2150, 64, 1, 16034, 3084, 62, 4524, 49541, 33411, 366, 47, 292, 38047, 1, 796, 705, 2091, 4, 6 ]
What was the surface of the game that resulted in a final score of 6-1 7-5?
SELECT surface FROM table_name_90 WHERE score = "6-1 7-5"
[ 2061, 373, 262, 4417, 286, 262, 983, 326, 8724, 287, 257, 2457, 4776, 286, 718, 12, 16, 767, 12, 20, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 3829, 33411, 4776, 796, 366, 21, 12, 16, 767, 12, 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 ]
[ 2061, 373, 262, 4417, 286, 262, 983, 326, 8724, 287, 257, 2457, 4776, 286, 718, 12, 16, 767, 12, 20, 30, 46506, 4417, 16034, 3084, 62, 3672, 62, 3829, 33411, 4776, 796, 366, 21, 12, 16, 767, 12, 20, 1 ]
What was the score at the end of the match number 4?
SELECT "Score" FROM table_22786 WHERE "Match no." = '4'
[ 2061, 373, 262, 4776, 379, 262, 886, 286, 262, 2872, 1271, 604, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1828, 46302, 33411, 366, 23850, 645, 526, 796, 705, 19, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 4776, 379, 262, 886, 286, 262, 2872, 1271, 604, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 1828, 46302, 33411, 366, 23850, 645, 526, 796, 705, 19, 6 ]
How many advisors are there?
SELECT COUNT(DISTINCT advisor) FROM student
[ 2437, 867, 32456, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 20685, 8, 16034, 3710 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 32456, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 20685, 8, 16034, 3710 ]
With theme the Year They Were Born, what is the song of choice?
SELECT song_choice FROM table_21501565_1 WHERE theme = "Year They Were Born"
[ 3152, 7505, 262, 6280, 1119, 15176, 18889, 11, 644, 318, 262, 3496, 286, 3572, 30, 46506, 3496, 62, 25541, 16034, 3084, 62, 23349, 25150, 2996, 62, 16, 33411, 7505, 796, 366, 17688, 1119, 15176, 18889, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 3152, 7505, 262, 6280, 1119, 15176, 18889, 11, 644, 318, 262, 3496, 286, 3572, 30, 46506, 3496, 62, 25541, 16034, 3084, 62, 23349, 25150, 2996, 62, 16, 33411, 7505, 796, 366, 17688, 1119, 15176, 18889, 1 ]
Which player has a pick# over 47?
SELECT "Player" FROM table_8457 WHERE "Pick #" > '47'
[ 13828, 2137, 468, 257, 2298, 2, 625, 6298, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 23, 33032, 33411, 366, 31686, 1303, 1, 1875, 705, 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 ]
[ 13828, 2137, 468, 257, 2298, 2, 625, 6298, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 23, 33032, 33411, 366, 31686, 1303, 1, 1875, 705, 2857, 6 ]
what is the number of patients whose insurance is self pay and diagnoses icd9 code is v1529?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Self Pay" AND diagnoses.icd9_code = "V1529"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 40567, 14158, 67, 24, 2438, 318, 410, 1314, 1959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 40567, 14158, 67, 24, 2438, 318, 410, 1314, 1959, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268...
What is the largest crowd for North Melbourne home games?
SELECT MAX(crowd) FROM table_name_48 WHERE home_team = "north melbourne"
[ 2061, 318, 262, 4387, 4315, 329, 2258, 14819, 1363, 1830, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4387, 4315, 329, 2258, 14819, 1363, 1830, 30, 46506, 25882, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2780, 33411, 1363, 62, 15097, 796, 366, 43588, 7758, 12544, 1 ]
Questions and Answers per week. Plot the site activity by voting, questions, answers and comments, aggregated per week.
SELECT dd.Id AS id, dd.Body AS body, dd.date AS date FROM (SELECT p.Id AS id, p.ParentId AS parentid, c.Text AS body, c.CreationDate AS date FROM (SELECT Id, ParentId FROM Posts WHERE Tags LIKE '%iquibase%' OR Tags LIKE '%iquidbase%') AS p JOIN Comments AS c ON p.Id = c.PostId) AS dd
[ 35741, 290, 42612, 583, 1285, 13, 28114, 262, 2524, 3842, 416, 6709, 11, 2683, 11, 7429, 290, 3651, 11, 13262, 515, 583, 1285, 13, 46506, 49427, 13, 7390, 7054, 4686, 11, 49427, 13, 25842, 7054, 1767, 11, 49427, 13, 4475, 7054, 3128, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 290, 42612, 583, 1285, 13, 28114, 262, 2524, 3842, 416, 6709, 11, 2683, 11, 7429, 290, 3651, 11, 13262, 515, 583, 1285, 13, 46506, 49427, 13, 7390, 7054, 4686, 11, 49427, 13, 25842, 7054, 1767, 11, 49427, 13, 4475, 7054, 3128, ...
Logarithmic diagram of vote delay after post.
SELECT LN(10) / LN(2)
[ 11187, 283, 342, 9383, 16362, 286, 3015, 5711, 706, 1281, 13, 46506, 406, 45, 7, 940, 8, 1220, 406, 45, 7, 17, 8 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 11187, 283, 342, 9383, 16362, 286, 3015, 5711, 706, 1281, 13, 46506, 406, 45, 7, 940, 8, 1220, 406, 45, 7, 17, 8 ]
What Country is Gene Littler from?
SELECT "Country" FROM table_9870 WHERE "Player" = 'gene littler'
[ 2061, 12946, 318, 13005, 406, 715, 1754, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4089, 2154, 33411, 366, 14140, 1, 796, 705, 70, 1734, 300, 715, 1754, 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, 12946, 318, 13005, 406, 715, 1754, 422, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 4089, 2154, 33411, 366, 14140, 1, 796, 705, 70, 1734, 300, 715, 1754, 6 ]
What is the total number of golds having a total of 1, bronzes of 0, and from West Germany?
SELECT COUNT("Gold") FROM table_75695 WHERE "Total" = '1' AND "Bronze" < '1' AND "Nation" = 'west germany'
[ 2061, 318, 262, 2472, 1271, 286, 3869, 82, 1719, 257, 2472, 286, 352, 11, 18443, 12271, 286, 657, 11, 290, 422, 2688, 4486, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2425, 37381, 33411, 366, 14957, 1, 796, 705, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 3869, 82, 1719, 257, 2472, 286, 352, 11, 18443, 12271, 286, 657, 11, 290, 422, 2688, 4486, 30, 46506, 327, 28270, 7203, 13306, 4943, 16034, 3084, 62, 2425, 37381, 33411, 366, 14957, 1, 796, 705, 16, ...
What was the loss of the game when the record was 14 8?
SELECT loss FROM table_name_90 WHERE record = "14–8"
[ 2061, 373, 262, 2994, 286, 262, 983, 618, 262, 1700, 373, 1478, 807, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3829, 33411, 1700, 796, 366, 1415, 1906, 23, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 2994, 286, 262, 983, 618, 262, 1700, 373, 1478, 807, 30, 46506, 2994, 16034, 3084, 62, 3672, 62, 3829, 33411, 1700, 796, 366, 1415, 1906, 23, 1 ]
provide the number of patients whose gender is f and age is less than 36?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.age < "36"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2479, 318, 1342, 621, 4570, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 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 ]
[ 15234, 485, 262, 1271, 286, 3871, 3025, 5279, 318, 277, 290, 2479, 318, 1342, 621, 4570, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 8388, 796, 366, 37, 1, 5357, 1672...
who has the most votes ?
SELECT "riding" FROM table_204_786 ORDER BY "votes" DESC LIMIT 1
[ 8727, 468, 262, 749, 5690, 5633, 46506, 366, 81, 2530, 1, 16034, 3084, 62, 18638, 62, 46302, 38678, 11050, 366, 29307, 1, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8727, 468, 262, 749, 5690, 5633, 46506, 366, 81, 2530, 1, 16034, 3084, 62, 18638, 62, 46302, 38678, 11050, 366, 29307, 1, 22196, 34, 27564, 2043, 352 ]
what is the average age of patients whose language is russian and primary disease is pituitary bleed?
SELECT AVG(demographic.age) FROM demographic WHERE demographic.language = "RUSS" AND demographic.diagnosis = "PITUITARY BLEED"
[ 10919, 318, 262, 2811, 2479, 286, 3871, 3025, 3303, 318, 374, 31562, 290, 4165, 4369, 318, 6028, 5013, 560, 30182, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 49, 32835, 1, 5357, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 2811, 2479, 286, 3871, 3025, 3303, 318, 374, 31562, 290, 4165, 4369, 318, 6028, 5013, 560, 30182, 30, 46506, 35224, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 16129, 796, 366, 49, 32835, 1, 5357, 16728...
what is the number of elective hospital admission patients who were hospitalized for more than 11 days?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.days_stay > "11"
[ 10919, 318, 262, 1271, 286, 1742, 425, 4436, 13938, 3871, 508, 547, 31736, 329, 517, 621, 1367, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1742, 425, 4436, 13938, 3871, 508, 547, 31736, 329, 517, 621, 1367, 1528, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 4906, ...
calculate the two year survival probability of patients to whom acetazolamide sodium was prescribed after they were diagnosed with ant disloc humerus-close.
SELECT SUM(CASE WHEN patients.dod IS NULL THEN 1 WHEN STRFTIME('%j', patients.dod) - STRFTIME('%j', t4.charttime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.subject_id, t2.charttime FROM (SELECT t1.subject_id, t1.charttime FROM (SELECT admissions.subject_id, diagnoses_icd.charttime FROM diagnoses_icd...
[ 9948, 3129, 378, 262, 734, 614, 9441, 12867, 286, 3871, 284, 4150, 25174, 1031, 349, 37905, 21072, 373, 14798, 706, 484, 547, 14641, 351, 1885, 595, 17946, 1311, 263, 385, 12, 19836, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9948, 3129, 378, 262, 734, 614, 9441, 12867, 286, 3871, 284, 4150, 25174, 1031, 349, 37905, 21072, 373, 14798, 706, 484, 547, 14641, 351, 1885, 595, 17946, 1311, 263, 385, 12, 19836, 13, 46506, 35683, 7, 34, 11159, 42099, 3871, 13, 67...
what is the difference in percentage of lead shot at 25 yards between cylinder and skeet 1 barrels ?
SELECT ABS((SELECT "percentage of lead shot in 30-inch circle at 40 yards" FROM table_203_112 WHERE "choke" = 'cylinder') - (SELECT "percentage of lead shot in 30-inch circle at 40 yards" FROM table_203_112 WHERE "choke" = 'skeet 1'))
[ 10919, 318, 262, 3580, 287, 5873, 286, 1085, 2823, 379, 1679, 5695, 1022, 24911, 290, 6146, 316, 352, 17907, 5633, 46506, 29950, 19510, 46506, 366, 25067, 496, 286, 1085, 2823, 287, 1542, 12, 8589, 9197, 379, 2319, 5695, 1, 16034, 3084,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3580, 287, 5873, 286, 1085, 2823, 379, 1679, 5695, 1022, 24911, 290, 6146, 316, 352, 17907, 5633, 46506, 29950, 19510, 46506, 366, 25067, 496, 286, 1085, 2823, 287, 1542, 12, 8589, 9197, 379, 2319, 5695, 1, 16034, 3084,...
Return a bar chart about the distribution of Nationality and the sum of meter_100 , and group by attribute Nationality, and display y-axis from high to low order.
SELECT Nationality, SUM(meter_100) FROM swimmer GROUP BY Nationality ORDER BY SUM(meter_100) DESC
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 2351, 414, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 3359, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 2351, 414, 11, 35683, 7, 2723...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 257, 2318, 8262, 546, 262, 6082, 286, 2351, 414, 290, 262, 2160, 286, 16430, 62, 3064, 837, 290, 1448, 416, 11688, 2351, 414, 11, 290, 3359, 331, 12, 22704, 422, 1029, 284, 1877, 1502, 13, 46506, 2351, 414, 11, 35683, 7, 2723...
What is the species when jewel is coal?
SELECT species FROM table_26615633_1 WHERE jewel = "Coal"
[ 2061, 318, 262, 4693, 618, 16927, 318, 5655, 30, 46506, 4693, 16034, 3084, 62, 25540, 21599, 2091, 62, 16, 33411, 16927, 796, 366, 7222, 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 ]
[ 2061, 318, 262, 4693, 618, 16927, 318, 5655, 30, 46506, 4693, 16034, 3084, 62, 25540, 21599, 2091, 62, 16, 33411, 16927, 796, 366, 7222, 282, 1 ]
Who visited on April 29?
SELECT "Visitor" FROM table_75528 WHERE "Date" = 'april 29'
[ 8241, 8672, 319, 3035, 2808, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 38172, 2078, 33411, 366, 10430, 1, 796, 705, 499, 22379, 2808, 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 ]
[ 8241, 8672, 319, 3035, 2808, 30, 46506, 366, 15854, 2072, 1, 16034, 3084, 62, 38172, 2078, 33411, 366, 10430, 1, 796, 705, 499, 22379, 2808, 6 ]
Which buildings do not have any company office? Give me the building names.
SELECT name FROM buildings WHERE NOT id IN (SELECT building_id FROM office_locations)
[ 13828, 6832, 466, 407, 423, 597, 1664, 2607, 30, 13786, 502, 262, 2615, 3891, 13, 46506, 1438, 16034, 6832, 33411, 5626, 4686, 3268, 357, 46506, 2615, 62, 312, 16034, 2607, 62, 17946, 602, 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 ]
[ 13828, 6832, 466, 407, 423, 597, 1664, 2607, 30, 13786, 502, 262, 2615, 3891, 13, 46506, 1438, 16034, 6832, 33411, 5626, 4686, 3268, 357, 46506, 2615, 62, 312, 16034, 2607, 62, 17946, 602, 8 ]
Visualize a bar chart for what are the ids and names of the medicine that can interact with two or more enzymes?
SELECT name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 9007, 326, 460, 9427, 351, 734, 393, 517, 29120, 30, 46506, 1438, 11, 4686, 16034, 9007, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 24266, 62, 3849, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 36259, 1096, 257, 2318, 8262, 329, 644, 389, 262, 220, 2340, 290, 3891, 286, 262, 9007, 326, 460, 9427, 351, 734, 393, 517, 29120, 30, 46506, 1438, 11, 4686, 16034, 9007, 7054, 309, 16, 32357, 1268, 9007, 62, 268, 24266, 62, 3849, 2...
Which player went to Gonzaga?
SELECT "Player" FROM table_33637 WHERE "School/Country" = 'gonzaga'
[ 13828, 2137, 1816, 284, 17109, 8126, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 29211, 2718, 33411, 366, 26130, 14, 33921, 1, 796, 705, 70, 13569, 8126, 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 ]
[ 13828, 2137, 1816, 284, 17109, 8126, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 29211, 2718, 33411, 366, 26130, 14, 33921, 1, 796, 705, 70, 13569, 8126, 6 ]
How many total laps for the driver with Winnings of $116,033, and a Car # smaller than 18?
SELECT COUNT(laps) FROM table_name_53 WHERE winnings = "$116,033" AND car__number < 18
[ 2437, 867, 2472, 24590, 329, 262, 4639, 351, 19454, 654, 286, 720, 18298, 11, 44427, 11, 290, 257, 1879, 1303, 4833, 621, 1248, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 1592, 23400, 796, 17971, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2472, 24590, 329, 262, 4639, 351, 19454, 654, 286, 720, 18298, 11, 44427, 11, 290, 257, 1879, 1303, 4833, 621, 1248, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4310, 33411, 1592, 23400, 796, 17971, ...
by how many chart positions higher did revolving door peak in the uk compared to the peak position of drowning in the uk ?
SELECT ABS((SELECT "peak chart positions\nuk" FROM table_201_48 WHERE "title" = '"revolving door"') - (SELECT "peak chart positions\nuk" FROM table_201_48 WHERE "title" = '"drowning"'))
[ 1525, 703, 867, 8262, 6116, 2440, 750, 39350, 3420, 9103, 287, 262, 334, 74, 3688, 284, 262, 9103, 2292, 286, 32249, 287, 262, 334, 74, 5633, 46506, 29950, 19510, 46506, 366, 36729, 8262, 6116, 59, 77, 2724, 1, 16034, 3084, 62, 1264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1525, 703, 867, 8262, 6116, 2440, 750, 39350, 3420, 9103, 287, 262, 334, 74, 3688, 284, 262, 9103, 2292, 286, 32249, 287, 262, 334, 74, 5633, 46506, 29950, 19510, 46506, 366, 36729, 8262, 6116, 59, 77, 2724, 1, 16034, 3084, 62, 1264, ...
How many students are from each city, and which cities have more than one cities?
SELECT COUNT(*), city_code FROM student GROUP BY city_code HAVING COUNT(*) > 1
[ 2437, 867, 2444, 389, 422, 1123, 1748, 11, 290, 543, 4736, 423, 517, 621, 530, 4736, 30, 46506, 327, 28270, 46491, 828, 1748, 62, 8189, 16034, 3710, 44441, 11050, 1748, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 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 ]
[ 2437, 867, 2444, 389, 422, 1123, 1748, 11, 290, 543, 4736, 423, 517, 621, 530, 4736, 30, 46506, 327, 28270, 46491, 828, 1748, 62, 8189, 16034, 3710, 44441, 11050, 1748, 62, 8189, 367, 10116, 2751, 327, 28270, 7, 28104, 1875, 352 ]
tell me the monthly minimum amount of po in patient 027-22704's body until 37 months ago?
SELECT MIN(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 = '027-22704')) AND intakeoutput.celllabel = 'po' A...
[ 33331, 502, 262, 9651, 5288, 2033, 286, 745, 287, 5827, 657, 1983, 12, 1828, 32869, 338, 1767, 1566, 5214, 1933, 2084, 30, 46506, 20625, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 502, 262, 9651, 5288, 2033, 286, 745, 287, 5827, 657, 1983, 12, 1828, 32869, 338, 1767, 1566, 5214, 1933, 2084, 30, 46506, 20625, 7, 600, 539, 22915, 13, 3846, 2100, 84, 268, 39223, 8, 16034, 10337, 22915, 33411, 10337, 22915, ...
Show me about the distribution of ACC_Road and School_ID , and group by attribute All_Home in a bar chart, could you list from high to low by the y axis?
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY School_ID DESC
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 11, 714, 345, 1351, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 15859, 62, 29197, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 502, 546, 262, 6082, 286, 15859, 62, 29197, 290, 3961, 62, 2389, 837, 290, 1448, 416, 11688, 1439, 62, 16060, 287, 257, 2318, 8262, 11, 714, 345, 1351, 422, 1029, 284, 1877, 416, 262, 331, 16488, 30, 46506, 15859, 62, 29197, ...
What is the Format with a Label of electropolis and a Date that is 2002?
SELECT "Format" FROM table_41132 WHERE "Label" = 'electropolis' AND "Date" = '2002'
[ 2061, 318, 262, 18980, 351, 257, 36052, 286, 1742, 25986, 290, 257, 7536, 326, 318, 6244, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 42224, 2624, 33411, 366, 33986, 1, 796, 705, 9509, 25986, 6, 5357, 366, 10430, 1, 796, 705, 16942, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18980, 351, 257, 36052, 286, 1742, 25986, 290, 257, 7536, 326, 318, 6244, 30, 46506, 366, 26227, 1, 16034, 3084, 62, 42224, 2624, 33411, 366, 33986, 1, 796, 705, 9509, 25986, 6, 5357, 366, 10430, 1, 796, 705, 16942, ...
What was the average year for a coin that had a mintage smaller than 10,000?
SELECT AVG(year) FROM table_name_13 WHERE mintage < 10 OFFSET 000
[ 2061, 373, 262, 2811, 614, 329, 257, 10752, 326, 550, 257, 285, 14630, 4833, 621, 838, 11, 830, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 285, 14630, 1279, 838, 3963, 10652, 2767, 12877 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 329, 257, 10752, 326, 550, 257, 285, 14630, 4833, 621, 838, 11, 830, 30, 46506, 35224, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 1485, 33411, 285, 14630, 1279, 838, 3963, 10652, 2767, 12877 ]
how many days has passed since patient 14671 had a creatinine laboratory test for the last time in the current hospital encounter?
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', labevents.charttime)) FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'creatinine') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 14671 AND admissio...
[ 4919, 867, 1528, 468, 3804, 1201, 5827, 1478, 46250, 550, 257, 1827, 259, 500, 14010, 1332, 329, 262, 938, 640, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 2895...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1528, 468, 3804, 1201, 5827, 1478, 46250, 550, 257, 1827, 259, 500, 14010, 1332, 329, 262, 938, 640, 287, 262, 1459, 4436, 8791, 30, 46506, 352, 1635, 357, 18601, 9792, 12789, 10786, 4, 73, 3256, 327, 39237, 62, 34694, 2895...
Who is the publisher of the book titled daughters of an emerald dusk?
SELECT "Publisher" FROM table_23610 WHERE "Book Title" = 'Daughters of an Emerald Dusk'
[ 8241, 318, 262, 9991, 286, 262, 1492, 11946, 14850, 286, 281, 3165, 1940, 46166, 30, 46506, 366, 46471, 1, 16034, 3084, 62, 24940, 940, 33411, 366, 10482, 11851, 1, 796, 705, 35, 13441, 286, 281, 28909, 42553, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 9991, 286, 262, 1492, 11946, 14850, 286, 281, 3165, 1940, 46166, 30, 46506, 366, 46471, 1, 16034, 3084, 62, 24940, 940, 33411, 366, 10482, 11851, 1, 796, 705, 35, 13441, 286, 281, 28909, 42553, 6 ]
Who was the home team when the score was 0:1?
SELECT home FROM table_name_90 WHERE score = "0:1"
[ 8241, 373, 262, 1363, 1074, 618, 262, 4776, 373, 657, 25, 16, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3829, 33411, 4776, 796, 366, 15, 25, 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 ]
[ 8241, 373, 262, 1363, 1074, 618, 262, 4776, 373, 657, 25, 16, 30, 46506, 1363, 16034, 3084, 62, 3672, 62, 3829, 33411, 4776, 796, 366, 15, 25, 16, 1 ]
What is the name of the locomotive with a Glencar class?
SELECT "Names" FROM table_70763 WHERE "Class" = 'glencar'
[ 2061, 318, 262, 1438, 286, 262, 33334, 19138, 351, 257, 20716, 7718, 1398, 30, 46506, 366, 36690, 1, 16034, 3084, 62, 2154, 49641, 33411, 366, 9487, 1, 796, 705, 4743, 268, 7718, 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, 318, 262, 1438, 286, 262, 33334, 19138, 351, 257, 20716, 7718, 1398, 30, 46506, 366, 36690, 1, 16034, 3084, 62, 2154, 49641, 33411, 366, 9487, 1, 796, 705, 4743, 268, 7718, 6 ]
when air date is october 14, 2010 what are all 18-49 (rating/share date.
SELECT "18-49 (Rating/Share)" FROM table_29464 WHERE "Air Date" = 'October 14, 2010'
[ 12518, 1633, 3128, 318, 19318, 2023, 1478, 11, 3050, 644, 389, 477, 1248, 12, 2920, 357, 8821, 14, 20077, 3128, 13, 46506, 366, 1507, 12, 2920, 357, 29321, 14, 11649, 16725, 16034, 3084, 62, 27696, 2414, 33411, 366, 16170, 7536, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 12518, 1633, 3128, 318, 19318, 2023, 1478, 11, 3050, 644, 389, 477, 1248, 12, 2920, 357, 8821, 14, 20077, 3128, 13, 46506, 366, 1507, 12, 2920, 357, 29321, 14, 11649, 16725, 16034, 3084, 62, 27696, 2414, 33411, 366, 16170, 7536, 1, 79...
What is the fewest number of laps completed by a rank 32?
SELECT MIN("Laps") FROM table_14660 WHERE "Rank" = '32'
[ 2061, 318, 262, 1178, 395, 1271, 286, 24590, 5668, 416, 257, 4279, 3933, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 20964, 1899, 33411, 366, 27520, 1, 796, 705, 2624, 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, 318, 262, 1178, 395, 1271, 286, 24590, 5668, 416, 257, 4279, 3933, 30, 46506, 20625, 7203, 43, 1686, 4943, 16034, 3084, 62, 20964, 1899, 33411, 366, 27520, 1, 796, 705, 2624, 6 ]
Which Away team has a Home team of al-ain fc, and a Score of 1 1?
SELECT "Away team" FROM table_4533 WHERE "Home team" = 'al-ain fc' AND "Score" = '1–1'
[ 13828, 21986, 1074, 468, 257, 5995, 1074, 286, 435, 12, 391, 277, 66, 11, 290, 257, 15178, 286, 352, 352, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2231, 2091, 33411, 366, 16060, 1074, 1, 796, 705, 282, 12, 391, 277, 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, 1, 1, 1, 1, 1, 1, 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, 21986, 1074, 468, 257, 5995, 1074, 286, 435, 12, 391, 277, 66, 11, 290, 257, 15178, 286, 352, 352, 30, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 2231, 2091, 33411, 366, 16060, 1074, 1, 796, 705, 282, 12, 391, 277, 66,...
Get me the number of patients with diagnoses icd9 code v293 who had csf lab tests done.
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.icd9_code = "V293" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 3855, 502, 262, 1271, 286, 3871, 351, 40567, 14158, 67, 24, 2438, 410, 31675, 508, 550, 269, 28202, 2248, 5254, 1760, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3855, 502, 262, 1271, 286, 3871, 351, 40567, 14158, 67, 24, 2438, 410, 31675, 508, 550, 269, 28202, 2248, 5254, 1760, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268...
What is the position of the player who went to college of notre dame?
SELECT "Position" FROM table_53383 WHERE "College" = 'notre dame'
[ 2061, 318, 262, 2292, 286, 262, 2137, 508, 1816, 284, 4152, 286, 407, 260, 288, 480, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 44994, 5999, 33411, 366, 38951, 1, 796, 705, 1662, 260, 288, 480, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 2137, 508, 1816, 284, 4152, 286, 407, 260, 288, 480, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 44994, 5999, 33411, 366, 38951, 1, 796, 705, 1662, 260, 288, 480, 6 ]
Name the most stage for alejandro valverde and astana greg henderson
SELECT MAX("Stage") FROM table_25254 WHERE "General Classification" = 'Alejandro Valverde' AND "Team Classification" = 'Astana' AND "Winner" = 'Greg Henderson'
[ 5376, 262, 749, 3800, 329, 31341, 47983, 1188, 332, 2934, 290, 6468, 2271, 308, 2301, 339, 358, 882, 46506, 25882, 7203, 29391, 4943, 16034, 3084, 62, 1495, 24970, 33411, 366, 12218, 40984, 1, 796, 705, 37474, 47983, 3254, 332, 2934, 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 ]
[ 5376, 262, 749, 3800, 329, 31341, 47983, 1188, 332, 2934, 290, 6468, 2271, 308, 2301, 339, 358, 882, 46506, 25882, 7203, 29391, 4943, 16034, 3084, 62, 1495, 24970, 33411, 366, 12218, 40984, 1, 796, 705, 37474, 47983, 3254, 332, 2934, 6,...
What was the Play-by-play when the color commentator was Eric Wynalda, earlier than 2005?
SELECT play_by_play FROM table_name_11 WHERE color_commentator_s_ = "eric wynalda" AND year < 2005
[ 2061, 373, 262, 3811, 12, 1525, 12, 1759, 618, 262, 3124, 28823, 373, 7651, 29758, 1940, 64, 11, 2961, 621, 5075, 30, 46506, 711, 62, 1525, 62, 1759, 16034, 3084, 62, 3672, 62, 1157, 33411, 3124, 62, 23893, 1352, 62, 82, 62, 796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3811, 12, 1525, 12, 1759, 618, 262, 3124, 28823, 373, 7651, 29758, 1940, 64, 11, 2961, 621, 5075, 30, 46506, 711, 62, 1525, 62, 1759, 16034, 3084, 62, 3672, 62, 1157, 33411, 3124, 62, 23893, 1352, 62, 82, 62, 796, ...
select * from Posts where Tags like '%git%' order by score desc.
SELECT * FROM Posts WHERE Tags LIKE '%git%' ORDER BY Score DESC
[ 19738, 1635, 422, 12043, 810, 44789, 588, 705, 4, 18300, 4, 6, 1502, 416, 4776, 1715, 13, 46506, 1635, 16034, 12043, 33411, 44789, 34178, 705, 4, 18300, 4, 6, 38678, 11050, 15178, 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 ]
[ 19738, 1635, 422, 12043, 810, 44789, 588, 705, 4, 18300, 4, 6, 1502, 416, 4776, 1715, 13, 46506, 1635, 16034, 12043, 33411, 44789, 34178, 705, 4, 18300, 4, 6, 38678, 11050, 15178, 22196, 34 ]
Which Men's 35 has a Women's Open of brisbane city cobras def hunter western hornets?
SELECT "Men's 35" FROM table_46940 WHERE "Women's Open" = 'brisbane city cobras def hunter western hornets'
[ 13828, 6065, 338, 3439, 468, 257, 6926, 338, 4946, 286, 865, 271, 20235, 1748, 22843, 8847, 825, 19177, 8830, 12718, 1039, 30, 46506, 366, 10418, 338, 3439, 1, 16034, 3084, 62, 42947, 1821, 33411, 366, 18495, 338, 4946, 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 ]
[ 13828, 6065, 338, 3439, 468, 257, 6926, 338, 4946, 286, 865, 271, 20235, 1748, 22843, 8847, 825, 19177, 8830, 12718, 1039, 30, 46506, 366, 10418, 338, 3439, 1, 16034, 3084, 62, 42947, 1821, 33411, 366, 18495, 338, 4946, 1, 796, 705, 1...
Name the chassis for 1970 and tyres of d
SELECT "Chassis" FROM table_80027 WHERE "Tyres" = 'd' AND "Year" = '1970'
[ 5376, 262, 24587, 329, 8069, 290, 40498, 286, 288, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 7410, 1983, 33411, 366, 25492, 411, 1, 796, 705, 67, 6, 5357, 366, 17688, 1, 796, 705, 30986, 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 ]
[ 5376, 262, 24587, 329, 8069, 290, 40498, 286, 288, 46506, 366, 1925, 20297, 1, 16034, 3084, 62, 7410, 1983, 33411, 366, 25492, 411, 1, 796, 705, 67, 6, 5357, 366, 17688, 1, 796, 705, 30986, 6 ]
Who has the high assists when 0-1 is the series?
SELECT "High assists" FROM table_25464 WHERE "Series" = '0-1'
[ 8241, 468, 262, 1029, 13648, 618, 657, 12, 16, 318, 262, 2168, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 24970, 2414, 33411, 366, 27996, 1, 796, 705, 15, 12, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 468, 262, 1029, 13648, 618, 657, 12, 16, 318, 262, 2168, 30, 46506, 366, 11922, 13648, 1, 16034, 3084, 62, 24970, 2414, 33411, 366, 27996, 1, 796, 705, 15, 12, 16, 6 ]
How many object dates have origin in Samoa?
SELECT COUNT("Object Date") FROM table_31280 WHERE "Origin" = 'Samoa'
[ 2437, 867, 2134, 9667, 423, 8159, 287, 43663, 30, 46506, 327, 28270, 7203, 10267, 7536, 4943, 16034, 3084, 62, 27970, 1795, 33411, 366, 39688, 1, 796, 705, 16305, 12162, 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 ]
[ 2437, 867, 2134, 9667, 423, 8159, 287, 43663, 30, 46506, 327, 28270, 7203, 10267, 7536, 4943, 16034, 3084, 62, 27970, 1795, 33411, 366, 39688, 1, 796, 705, 16305, 12162, 6 ]
In 1985, how many points were earned by the entrant with the March 85B chassis?
SELECT MAX("Points") FROM table_15208 WHERE "Year" = '1985' AND "Chassis" = 'march 85b'
[ 818, 12863, 11, 703, 867, 2173, 547, 7366, 416, 262, 920, 5250, 351, 262, 2805, 7600, 33, 24587, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 1314, 21315, 33411, 366, 17688, 1, 796, 705, 29110, 6, 5357, 366, 1925, 20297, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12863, 11, 703, 867, 2173, 547, 7366, 416, 262, 920, 5250, 351, 262, 2805, 7600, 33, 24587, 30, 46506, 25882, 7203, 40710, 4943, 16034, 3084, 62, 1314, 21315, 33411, 366, 17688, 1, 796, 705, 29110, 6, 5357, 366, 1925, 20297, 1, ...
Who were the candidates when Shirley Chisholm was the incumbent?
SELECT "Candidates" FROM table_18329 WHERE "Incumbent" = 'Shirley Chisholm'
[ 8241, 547, 262, 5871, 618, 40902, 609, 680, 349, 76, 373, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 24839, 1959, 33411, 366, 25517, 2178, 298, 1, 796, 705, 2484, 343, 1636, 609, 680, 349, 76, 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 ]
[ 8241, 547, 262, 5871, 618, 40902, 609, 680, 349, 76, 373, 262, 23526, 30, 46506, 366, 41572, 37051, 1, 16034, 3084, 62, 24839, 1959, 33411, 366, 25517, 2178, 298, 1, 796, 705, 2484, 343, 1636, 609, 680, 349, 76, 6 ]
Name the date when the attendance is more than 45,817
SELECT date FROM table_name_65 WHERE attendance > 45 OFFSET 817
[ 5376, 262, 3128, 618, 262, 14858, 318, 517, 621, 4153, 11, 23, 1558, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 14858, 1875, 4153, 3963, 10652, 2767, 807, 1558 ]
[ 1, 1, 1, 1, 1, 1, 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, 618, 262, 14858, 318, 517, 621, 4153, 11, 23, 1558, 46506, 3128, 16034, 3084, 62, 3672, 62, 2996, 33411, 14858, 1875, 4153, 3963, 10652, 2767, 807, 1558 ]
What was the Venue of the 2009 Gulf Cup of Nations?
SELECT venue FROM table_name_75 WHERE competition = "2009 gulf cup of nations"
[ 2061, 373, 262, 9932, 518, 286, 262, 3717, 12108, 5454, 286, 7973, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2425, 33411, 5449, 796, 366, 10531, 41593, 6508, 286, 7027, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 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, 9932, 518, 286, 262, 3717, 12108, 5454, 286, 7973, 30, 46506, 14359, 16034, 3084, 62, 3672, 62, 2425, 33411, 5449, 796, 366, 10531, 41593, 6508, 286, 7027, 1 ]
Find the names of the channels that are broadcast in the morning.
SELECT t1.name FROM channel AS t1 JOIN broadcast AS t2 ON t1.channel_id = t2.channel_id WHERE t2.time_of_day = 'Morning'
[ 16742, 262, 3891, 286, 262, 9619, 326, 389, 7025, 287, 262, 3329, 13, 46506, 256, 16, 13, 3672, 16034, 6518, 7054, 256, 16, 32357, 1268, 7025, 7054, 256, 17, 6177, 256, 16, 13, 17620, 62, 312, 796, 256, 17, 13, 17620, 62, 312, 334...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9619, 326, 389, 7025, 287, 262, 3329, 13, 46506, 256, 16, 13, 3672, 16034, 6518, 7054, 256, 16, 32357, 1268, 7025, 7054, 256, 17, 6177, 256, 16, 13, 17620, 62, 312, 796, 256, 17, 13, 17620, 62, 312, 334...
Filter Questions by Two Tags.
SELECT P.Id AS "post_link" FROM Posts AS P, PostTags AS Pt, Tags AS T WHERE P.Id = Pt.PostId AND T.Id = Pt.TagId AND T.TagName = '##tags##' AND P.Tags LIKE '<%##tag2##%>' GROUP BY P.Id
[ 22417, 20396, 416, 4930, 44789, 13, 46506, 350, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 350, 11, 2947, 36142, 7054, 34352, 11, 44789, 7054, 309, 33411, 350, 13, 7390, 796, 34352, 13, 6307, 7390, 5357, 309, 13, 7390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 22417, 20396, 416, 4930, 44789, 13, 46506, 350, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 12043, 7054, 350, 11, 2947, 36142, 7054, 34352, 11, 44789, 7054, 309, 33411, 350, 13, 7390, 796, 34352, 13, 6307, 7390, 5357, 309, 13, 7390...
What team(s) enjoyed an average spped (mph) of 138.14?
SELECT "Team" FROM table_21922 WHERE "Average Speed (mph)" = '138.14'
[ 2061, 1074, 7, 82, 8, 8359, 281, 2811, 264, 1496, 357, 23335, 8, 286, 21503, 13, 1415, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 28896, 1828, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 20107, 13, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 7, 82, 8, 8359, 281, 2811, 264, 1496, 357, 23335, 8, 286, 21503, 13, 1415, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 28896, 1828, 33411, 366, 26287, 8729, 357, 23335, 16725, 796, 705, 20107, 13, 1415, 6 ]
How many ranks have $1,084,439,099 as the worldwide gross?
SELECT SUM(rank) FROM table_name_91 WHERE worldwide_gross = "$1,084,439,099"
[ 2437, 867, 9803, 423, 720, 16, 11, 2919, 19, 11, 47106, 11, 15, 2079, 355, 262, 8688, 10319, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 8688, 62, 47181, 796, 17971, 16, 11, 2919, 19, 11, 47106, 11, 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 ]
[ 2437, 867, 9803, 423, 720, 16, 11, 2919, 19, 11, 47106, 11, 15, 2079, 355, 262, 8688, 10319, 30, 46506, 35683, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 6420, 33411, 8688, 62, 47181, 796, 17971, 16, 11, 2919, 19, 11, 47106, 11, 15, ...
What is the rank that has 1 bronze and 1 silver?
SELECT COUNT("Rank") FROM table_40904 WHERE "Bronze" = '1' AND "Silver" > '1'
[ 2061, 318, 262, 4279, 326, 468, 352, 22101, 290, 352, 8465, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 29416, 3023, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 26766, 1, 1875, 705, 16, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 4279, 326, 468, 352, 22101, 290, 352, 8465, 30, 46506, 327, 28270, 7203, 27520, 4943, 16034, 3084, 62, 29416, 3023, 33411, 366, 18760, 2736, 1, 796, 705, 16, 6, 5357, 366, 26766, 1, 1875, 705, 16, 6 ]
Activity by hour of day.
SELECT TIME_TO_STR(CreationDate, '%h'), 'Questions', COUNT(*) FROM Posts WHERE PostTypeId = 1 GROUP BY TIME_TO_STR(CreationDate, '%h') UNION SELECT TIME_TO_STR(CreationDate, '%h'), 'Answers', COUNT(*) FROM Posts WHERE PostTypeId = 2 GROUP BY TIME_TO_STR(CreationDate, '%h') UNION SELECT TIME_TO_STR(CreationDate, '%h'), ...
[ 16516, 416, 1711, 286, 1110, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 71, 33809, 705, 35741, 3256, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 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...
[ 16516, 416, 1711, 286, 1110, 13, 46506, 20460, 62, 10468, 62, 18601, 7, 12443, 341, 10430, 11, 705, 4, 71, 33809, 705, 35741, 3256, 327, 28270, 7, 28104, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 44441, 11050, 20460, 62, 10468, ...
Who were the women's doubles pair in 1952?
SELECT "Women's doubles" FROM table_67375 WHERE "Year" = '1952'
[ 8241, 547, 262, 1466, 338, 21938, 5166, 287, 26352, 30, 46506, 366, 18495, 338, 21938, 1, 16034, 3084, 62, 3134, 22318, 33411, 366, 17688, 1, 796, 705, 1129, 4309, 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 ]
[ 8241, 547, 262, 1466, 338, 21938, 5166, 287, 26352, 30, 46506, 366, 18495, 338, 21938, 1, 16034, 3084, 62, 3134, 22318, 33411, 366, 17688, 1, 796, 705, 1129, 4309, 6 ]
What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival?
SELECT AVG("Tourism receipts (2011) (Millions of US$)") FROM table_64548 WHERE "Tourist arrivals (2011) (Millions)" < '1.141' AND "Tourism receipts (2011) (US$ per arrival)" > '1,449'
[ 2061, 318, 262, 2811, 19277, 29946, 287, 5242, 286, 1294, 5054, 287, 2813, 351, 1342, 621, 352, 13, 23756, 1510, 286, 2813, 18473, 34462, 290, 517, 621, 352, 11, 31911, 19277, 29946, 287, 2813, 1294, 5054, 583, 10325, 30, 46506, 35224, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2811, 19277, 29946, 287, 5242, 286, 1294, 5054, 287, 2813, 351, 1342, 621, 352, 13, 23756, 1510, 286, 2813, 18473, 34462, 290, 517, 621, 352, 11, 31911, 19277, 29946, 287, 2813, 1294, 5054, 583, 10325, 30, 46506, 35224, ...
what is maximum age of patients whose days of hospital stay is 11 and year of death is less than 2173?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.days_stay = "11" AND demographic.dod_year < "2173.0"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 1367, 290, 614, 286, 1918, 318, 1342, 621, 24894, 18, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 12545, 62, 31712, 796, 366, 1157, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5415, 2479, 286, 3871, 3025, 1528, 286, 4436, 2652, 318, 1367, 290, 614, 286, 1918, 318, 1342, 621, 24894, 18, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 12545, 62, 31712, 796, 366, 1157, ...
Who is the operator when willowbrook was the bodybuilder?
SELECT operator FROM table_28035004_1 WHERE bodybuilder = "Willowbrook"
[ 8241, 318, 262, 10088, 618, 481, 322, 19094, 373, 262, 1767, 38272, 30, 46506, 10088, 16034, 3084, 62, 21033, 2327, 22914, 62, 16, 33411, 1767, 38272, 796, 366, 8743, 322, 19094, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 262, 10088, 618, 481, 322, 19094, 373, 262, 1767, 38272, 30, 46506, 10088, 16034, 3084, 62, 21033, 2327, 22914, 62, 16, 33411, 1767, 38272, 796, 366, 8743, 322, 19094, 1 ]
What are the first names of all students in Smith Hall, and count them by a bar chart, order by the X-axis in descending.
SELECT Fname, COUNT(Fname) FROM Student AS T1 JOIN Lives_in AS T2 ON T1.stuid = T2.stuid JOIN Dorm AS T3 ON T3.dormid = T2.dormid WHERE T3.dorm_name = 'Smith Hall' GROUP BY Fname ORDER BY Fname DESC
[ 2061, 389, 262, 717, 3891, 286, 477, 2444, 287, 4176, 4789, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 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...
[ 2061, 389, 262, 717, 3891, 286, 477, 2444, 287, 4176, 4789, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 1502, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 376, 3672, 11, 327, 28270, 7, 37, 3672, 8, 16034, 13613, 7054, 309, 1...
Who played against away team hereford united?
SELECT home_team FROM table_name_4 WHERE away_team = "hereford united"
[ 8241, 2826, 1028, 1497, 1074, 994, 3841, 16503, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 19, 33411, 1497, 62, 15097, 796, 366, 1456, 3841, 16503, 1 ]
[ 1, 1, 1, 1, 1, 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, 2826, 1028, 1497, 1074, 994, 3841, 16503, 30, 46506, 1363, 62, 15097, 16034, 3084, 62, 3672, 62, 19, 33411, 1497, 62, 15097, 796, 366, 1456, 3841, 16503, 1 ]
Which year first played with Double W-L of 8 3?
SELECT first_year_played FROM table_name_12 WHERE doubles_w_l = "8–3"
[ 13828, 614, 717, 2826, 351, 11198, 370, 12, 43, 286, 807, 513, 30, 46506, 717, 62, 1941, 62, 21542, 16034, 3084, 62, 3672, 62, 1065, 33411, 21938, 62, 86, 62, 75, 796, 366, 23, 1906, 18, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 614, 717, 2826, 351, 11198, 370, 12, 43, 286, 807, 513, 30, 46506, 717, 62, 1941, 62, 21542, 16034, 3084, 62, 3672, 62, 1065, 33411, 21938, 62, 86, 62, 75, 796, 366, 23, 1906, 18, 1 ]
Which Country has Wins larger than 2, and a Rank of 2, and a Name of federico bahamontes?
SELECT country FROM table_name_90 WHERE wins > 2 AND rank = 2 AND name = "federico bahamontes"
[ 13828, 12946, 468, 24423, 4025, 621, 362, 11, 290, 257, 10916, 286, 362, 11, 290, 257, 6530, 286, 28062, 3713, 275, 993, 321, 756, 274, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 7864, 1875, 362, 5357, 4279, 796, 362, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12946, 468, 24423, 4025, 621, 362, 11, 290, 257, 10916, 286, 362, 11, 290, 257, 6530, 286, 28062, 3713, 275, 993, 321, 756, 274, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 3829, 33411, 7864, 1875, 362, 5357, 4279, 796, 362, ...
What is the result of the fight that had a tko (low kicks)?
SELECT "Result" FROM table_52144 WHERE "Method" = 'tko (low kicks)'
[ 2061, 318, 262, 1255, 286, 262, 1907, 326, 550, 257, 256, 7204, 357, 9319, 17364, 19427, 46506, 366, 23004, 1, 16034, 3084, 62, 4309, 18444, 33411, 366, 17410, 1, 796, 705, 83, 7204, 357, 9319, 17364, 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 ]
[ 2061, 318, 262, 1255, 286, 262, 1907, 326, 550, 257, 256, 7204, 357, 9319, 17364, 19427, 46506, 366, 23004, 1, 16034, 3084, 62, 4309, 18444, 33411, 366, 17410, 1, 796, 705, 83, 7204, 357, 9319, 17364, 33047 ]
what is the total number of teams ?
SELECT COUNT(DISTINCT "team") FROM table_204_642
[ 10919, 318, 262, 2472, 1271, 286, 3466, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 15097, 4943, 16034, 3084, 62, 18638, 62, 41290 ]
[ 1, 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, 1271, 286, 3466, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 366, 15097, 4943, 16034, 3084, 62, 18638, 62, 41290 ]
Which Visitor has a Home of calgary, and a Date of april 17?
SELECT visitor FROM table_name_72 WHERE home = "calgary" AND date = "april 17"
[ 13828, 6911, 2072, 468, 257, 5995, 286, 2386, 14849, 11, 290, 257, 7536, 286, 46593, 346, 1596, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 4761, 33411, 1363, 796, 366, 9948, 14849, 1, 5357, 3128, 796, 366, 499, 22379, 1596, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6911, 2072, 468, 257, 5995, 286, 2386, 14849, 11, 290, 257, 7536, 286, 46593, 346, 1596, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 4761, 33411, 1363, 796, 366, 9948, 14849, 1, 5357, 3128, 796, 366, 499, 22379, 1596, 1 ]
What are the name and population of each county Plot them as bar chart, and I want to display in desc by the x-axis please.
SELECT County_name, Population FROM county ORDER BY County_name DESC
[ 2061, 389, 262, 1438, 290, 3265, 286, 1123, 7968, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 3359, 287, 1715, 416, 262, 2124, 12, 22704, 3387, 13, 46506, 3418, 62, 3672, 11, 20133, 16034, 7968, 38678, 11050, 3418, 62, 3672, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1438, 290, 3265, 286, 1123, 7968, 28114, 606, 355, 2318, 8262, 11, 290, 314, 765, 284, 3359, 287, 1715, 416, 262, 2124, 12, 22704, 3387, 13, 46506, 3418, 62, 3672, 11, 20133, 16034, 7968, 38678, 11050, 3418, 62, 3672, ...
What did Melbourne score as the home team?
SELECT home_team AS score FROM table_name_88 WHERE home_team = "melbourne"
[ 2061, 750, 14819, 4776, 355, 262, 1363, 1074, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3459, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 750, 14819, 4776, 355, 262, 1363, 1074, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3459, 33411, 1363, 62, 15097, 796, 366, 17694, 12544, 1 ]
count the number of patients whose age is less than 47 and lab test fluid is ascites?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Ascites"
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 6298, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 9127, 262, 1271, 286, 3871, 3025, 2479, 318, 1342, 621, 6298, 290, 2248, 1332, 11711, 318, 10570, 2737, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, ...
when did patient 17944 get discharged from the hospital for the first time in this year?
SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 17944 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.dischtime LIMIT 1
[ 12518, 750, 5827, 27228, 2598, 651, 26476, 422, 262, 4436, 329, 262, 717, 640, 287, 428, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27228, 2598, 5357, 360, 1404, 2767, 12789, 7, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 27228, 2598, 651, 26476, 422, 262, 4436, 329, 262, 717, 640, 287, 428, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 27228, 2598, 5357, 360, 1404, 2767, 12789, 7, 32...
what airline is AS
SELECT DISTINCT airline_code FROM airline WHERE airline_code = 'AS'
[ 10919, 18091, 318, 7054, 46506, 360, 8808, 1268, 4177, 18091, 62, 8189, 16034, 18091, 33411, 18091, 62, 8189, 796, 705, 1921, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 18091, 318, 7054, 46506, 360, 8808, 1268, 4177, 18091, 62, 8189, 16034, 18091, 33411, 18091, 62, 8189, 796, 705, 1921, 6 ]
Which Byes have Losses smaller than 4?
SELECT AVG("Byes") FROM table_64001 WHERE "Losses" < '4'
[ 13828, 2750, 274, 423, 22014, 274, 4833, 621, 604, 30, 46506, 35224, 7203, 3886, 274, 4943, 16034, 3084, 62, 2414, 8298, 33411, 366, 43, 793, 274, 1, 1279, 705, 19, 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, 2750, 274, 423, 22014, 274, 4833, 621, 604, 30, 46506, 35224, 7203, 3886, 274, 4943, 16034, 3084, 62, 2414, 8298, 33411, 366, 43, 793, 274, 1, 1279, 705, 19, 6 ]
What county is the town with a rank of 205 located in?
SELECT county FROM table_name_78 WHERE population_rank = 205
[ 2061, 7968, 318, 262, 3240, 351, 257, 4279, 286, 22538, 5140, 287, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 3695, 33411, 3265, 62, 43027, 796, 22538 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 7968, 318, 262, 3240, 351, 257, 4279, 286, 22538, 5140, 287, 30, 46506, 7968, 16034, 3084, 62, 3672, 62, 3695, 33411, 3265, 62, 43027, 796, 22538 ]
when was the first time since 05/2102 patient 006-146580 was prescribed an aspirin and 2 ml vial : famotidine 10 mg/ml iv soln at the same time?
SELECT t1.drugstarttime FROM (SELECT patient.uniquepid, medication.drugstarttime FROM medication JOIN patient ON medication.patientunitstayid = patient.patientunitstayid WHERE medication.drugname = 'aspirin' AND patient.uniquepid = '006-146580' AND STRFTIME('%y-%m', medication.drugstarttime) >= '2102-05') AS t1 JOIN (S...
[ 12518, 373, 262, 717, 640, 1201, 8870, 14, 17, 15377, 5827, 3571, 21, 12, 1415, 2996, 1795, 373, 14798, 281, 49550, 290, 362, 25962, 410, 498, 1058, 1145, 313, 39422, 838, 10527, 14, 4029, 21628, 1540, 77, 379, 262, 976, 640, 30, 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, 1...
[ 12518, 373, 262, 717, 640, 1201, 8870, 14, 17, 15377, 5827, 3571, 21, 12, 1415, 2996, 1795, 373, 14798, 281, 49550, 290, 362, 25962, 410, 498, 1058, 1145, 313, 39422, 838, 10527, 14, 4029, 21628, 1540, 77, 379, 262, 976, 640, 30, 46...
Who were the opponents in games before number 54?
SELECT "Opponent" FROM table_37613 WHERE "Game" < '54'
[ 8241, 547, 262, 7691, 287, 1830, 878, 1271, 7175, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 32128, 1485, 33411, 366, 8777, 1, 1279, 705, 4051, 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 ]
[ 8241, 547, 262, 7691, 287, 1830, 878, 1271, 7175, 30, 46506, 366, 27524, 3471, 1, 16034, 3084, 62, 32128, 1485, 33411, 366, 8777, 1, 1279, 705, 4051, 6 ]