instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
What is the campus fee of 'San Jose State University' in year 1996?
SELECT campusfee FROM campuses AS T1 JOIN csu_fees AS T2 ON T1.id = t2.campus WHERE t1.campus = "San Jose State University" AND T2.year = 1996
[ 2061, 318, 262, 7611, 6838, 286, 705, 15017, 5264, 1812, 2059, 6, 287, 614, 8235, 30, 46506, 7611, 39071, 16034, 23003, 7054, 309, 16, 32357, 1268, 269, 2385, 62, 69, 2841, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 256, 17, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 7611, 6838, 286, 705, 15017, 5264, 1812, 2059, 6, 287, 614, 8235, 30, 46506, 7611, 39071, 16034, 23003, 7054, 309, 16, 32357, 1268, 269, 2385, 62, 69, 2841, 7054, 309, 17, 6177, 309, 16, 13, 312, 796, 256, 17, 13, ...
What was the sum of the crowds at Western Oval?
SELECT SUM(crowd) FROM table_name_65 WHERE venue = "western oval"
[ 2061, 373, 262, 2160, 286, 262, 15779, 379, 4885, 25165, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 14359, 796, 366, 14197, 41186, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 2160, 286, 262, 15779, 379, 4885, 25165, 30, 46506, 35683, 7, 66, 3986, 8, 16034, 3084, 62, 3672, 62, 2996, 33411, 14359, 796, 366, 14197, 41186, 1 ]
What is the population for Rank 11?
SELECT population FROM table_name_95 WHERE rank = 11
[ 2061, 318, 262, 3265, 329, 10916, 1367, 30, 46506, 3265, 16034, 3084, 62, 3672, 62, 3865, 33411, 4279, 796, 1367 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3265, 329, 10916, 1367, 30, 46506, 3265, 16034, 3084, 62, 3672, 62, 3865, 33411, 4279, 796, 1367 ]
what was the time patient 13686 was discharged from the hospital for the first time during this year?
SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 13686 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year') ORDER BY admissions.dischtime LIMIT 1
[ 10919, 373, 262, 640, 5827, 1511, 33808, 373, 26476, 422, 262, 4436, 329, 262, 717, 640, 1141, 428, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1511, 33808, 5357, 360, 1404, 2767, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 640, 5827, 1511, 33808, 373, 26476, 422, 262, 4436, 329, 262, 717, 640, 1141, 428, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 1511, 33808, 5357, 360, 1404, 2767, 1...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of revenue , and group by attribute name, and sort in asc by the x-axis.
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3297, 287, 10570, 416, 262, 2124, 12, 22704, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2160, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 290, 3297, 287, 10570, 416, 262, 2124, 12, 22704, 1...
List the customer event id and the corresponding move in date and property id.
SELECT customer_event_id, date_moved_in, property_id FROM customer_events
[ 8053, 262, 6491, 1785, 4686, 290, 262, 11188, 1445, 287, 3128, 290, 3119, 4686, 13, 46506, 6491, 62, 15596, 62, 312, 11, 3128, 62, 76, 2668, 62, 259, 11, 3119, 62, 312, 16034, 6491, 62, 31534 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8053, 262, 6491, 1785, 4686, 290, 262, 11188, 1445, 287, 3128, 290, 3119, 4686, 13, 46506, 6491, 62, 15596, 62, 312, 11, 3128, 62, 76, 2668, 62, 259, 11, 3119, 62, 312, 16034, 6491, 62, 31534 ]
Which NCAA Tournament Appearances have Conference Titles that are larger than 0, NCAA Titles of 0, and were coached by Lou Watson?
SELECT ncaa_tourn_appearances FROM table_name_3 WHERE conference_titles > "0" AND ncaa_titles = "0" AND coach = "lou watson"
[ 13828, 15244, 9595, 2034, 35630, 423, 8785, 7659, 829, 326, 389, 4025, 621, 657, 11, 15244, 7659, 829, 286, 657, 11, 290, 547, 31764, 416, 4768, 14959, 30, 46506, 299, 6888, 64, 62, 83, 1798, 62, 1324, 35630, 16034, 3084, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 13828, 15244, 9595, 2034, 35630, 423, 8785, 7659, 829, 326, 389, 4025, 621, 657, 11, 15244, 7659, 829, 286, 657, 11, 290, 547, 31764, 416, 4768, 14959, 30, 46506, 299, 6888, 64, 62, 83, 1798, 62, 1324, 35630, 16034, 3084, 62, 3672, ...
which railway was the only railway that hunslet taylor bulit a garratt for ?
SELECT "railway" FROM table_204_637 WHERE "builder" = 'hunslet-taylor'
[ 4758, 20515, 373, 262, 691, 20515, 326, 5494, 82, 1616, 256, 7167, 4807, 270, 257, 308, 3258, 1078, 329, 5633, 46506, 366, 30224, 1014, 1, 16034, 3084, 62, 18638, 62, 21, 2718, 33411, 366, 38272, 1, 796, 705, 71, 13271, 1616, 12, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20515, 373, 262, 691, 20515, 326, 5494, 82, 1616, 256, 7167, 4807, 270, 257, 308, 3258, 1078, 329, 5633, 46506, 366, 30224, 1014, 1, 16034, 3084, 62, 18638, 62, 21, 2718, 33411, 366, 38272, 1, 796, 705, 71, 13271, 1616, 12, 83...
what is the number of open source products available ?
SELECT COUNT("platform") FROM table_204_870 WHERE "license and cost" = 'open source'
[ 10919, 318, 262, 1271, 286, 1280, 2723, 3186, 1695, 5633, 46506, 327, 28270, 7203, 24254, 4943, 16034, 3084, 62, 18638, 62, 46951, 33411, 366, 43085, 290, 1575, 1, 796, 705, 9654, 2723, 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 ]
[ 10919, 318, 262, 1271, 286, 1280, 2723, 3186, 1695, 5633, 46506, 327, 28270, 7203, 24254, 4943, 16034, 3084, 62, 18638, 62, 46951, 33411, 366, 43085, 290, 1575, 1, 796, 705, 9654, 2723, 6 ]
What is the position of the team player from Aik?
SELECT "Position" FROM table_79138 WHERE "Team from" = 'aik'
[ 2061, 318, 262, 2292, 286, 262, 1074, 2137, 422, 317, 1134, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3720, 20107, 33411, 366, 15592, 422, 1, 796, 705, 64, 1134, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2292, 286, 262, 1074, 2137, 422, 317, 1134, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 3720, 20107, 33411, 366, 15592, 422, 1, 796, 705, 64, 1134, 6 ]
Who was the runner-up at the South Florida Semi-Finalist #1?
SELECT "Runner-Up" FROM table_57211 WHERE "Semi-Finalist #1" = 'south florida'
[ 8241, 373, 262, 17490, 12, 929, 379, 262, 2520, 4744, 35525, 12, 19006, 396, 1303, 16, 30, 46506, 366, 49493, 12, 4933, 1, 16034, 3084, 62, 3553, 21895, 33411, 366, 13900, 72, 12, 19006, 396, 1303, 16, 1, 796, 705, 35782, 781, 273, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17490, 12, 929, 379, 262, 2520, 4744, 35525, 12, 19006, 396, 1303, 16, 30, 46506, 366, 49493, 12, 4933, 1, 16034, 3084, 62, 3553, 21895, 33411, 366, 13900, 72, 12, 19006, 396, 1303, 16, 1, 796, 705, 35782, 781, 273, ...
Which vacancy happened on 4 November 2008?
SELECT position_in_table FROM table_18788823_5 WHERE date_of_vacancy = "4 November 2008"
[ 13828, 39836, 3022, 319, 604, 3389, 3648, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 23451, 28011, 1954, 62, 20, 33411, 3128, 62, 1659, 62, 85, 330, 3883, 796, 366, 19, 3389, 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 ]
[ 13828, 39836, 3022, 319, 604, 3389, 3648, 30, 46506, 2292, 62, 259, 62, 11487, 16034, 3084, 62, 23451, 28011, 1954, 62, 20, 33411, 3128, 62, 1659, 62, 85, 330, 3883, 796, 366, 19, 3389, 3648, 1 ]
What was the attendance of the Indiana game?
SELECT "Location Attendance" FROM table_21261 WHERE "Team" = 'Indiana'
[ 2061, 373, 262, 14858, 286, 262, 10278, 983, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 21777, 5333, 33411, 366, 15592, 1, 796, 705, 49153, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 286, 262, 10278, 983, 30, 46506, 366, 14749, 46502, 590, 1, 16034, 3084, 62, 21777, 5333, 33411, 366, 15592, 1, 796, 705, 49153, 6 ]
What city was the circuit of mallala motor sport park?
SELECT city___state FROM table_name_48 WHERE circuit = "mallala motor sport park"
[ 2061, 1748, 373, 262, 10349, 286, 17374, 6081, 5584, 6332, 3952, 30, 46506, 1748, 17569, 5219, 16034, 3084, 62, 3672, 62, 2780, 33411, 10349, 796, 366, 76, 439, 6081, 5584, 6332, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1748, 373, 262, 10349, 286, 17374, 6081, 5584, 6332, 3952, 30, 46506, 1748, 17569, 5219, 16034, 3084, 62, 3672, 62, 2780, 33411, 10349, 796, 366, 76, 439, 6081, 5584, 6332, 3952, 1 ]
Show all ages and corresponding number of students in a scatter chart
SELECT Age, COUNT(*) FROM Student GROUP BY Age
[ 15307, 477, 9337, 290, 11188, 1271, 286, 2444, 287, 257, 41058, 8262, 46506, 7129, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 7129 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 9337, 290, 11188, 1271, 286, 2444, 287, 257, 41058, 8262, 46506, 7129, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 7129 ]
Which Points have a December smaller than 6, and a Score of 1 1 ot, and a Game smaller than 28?
SELECT MIN(points) FROM table_name_1 WHERE december < 6 AND score = "1–1 ot" AND game < 28
[ 13828, 11045, 423, 257, 3426, 4833, 621, 718, 11, 290, 257, 15178, 286, 352, 352, 30972, 11, 290, 257, 3776, 4833, 621, 2579, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 390, 3273, 1279, 718, 5357, 4776, 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 ]
[ 13828, 11045, 423, 257, 3426, 4833, 621, 718, 11, 290, 257, 15178, 286, 352, 352, 30972, 11, 290, 257, 3776, 4833, 621, 2579, 30, 46506, 20625, 7, 13033, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 390, 3273, 1279, 718, 5357, 4776, 796...
Who is the second runner up when Janina San Miguel won binibining pilipinas-world?
SELECT COUNT("Second runner-up") FROM table_22232 WHERE "Binibining Pilipinas-World" = 'Janina San Miguel'
[ 8241, 318, 262, 1218, 17490, 510, 618, 2365, 1437, 2986, 29825, 1839, 9874, 571, 3191, 5560, 541, 24252, 12, 6894, 30, 46506, 327, 28270, 7203, 12211, 17490, 12, 929, 4943, 16034, 3084, 62, 1828, 24339, 33411, 366, 33, 259, 571, 3191, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1218, 17490, 510, 618, 2365, 1437, 2986, 29825, 1839, 9874, 571, 3191, 5560, 541, 24252, 12, 6894, 30, 46506, 327, 28270, 7203, 12211, 17490, 12, 929, 4943, 16034, 3084, 62, 1828, 24339, 33411, 366, 33, 259, 571, 3191, ...
so what's the maximum neutrophils value of patient 64519 in 07/2104?
SELECT MAX(labevents.valuenum) FROM labevents WHERE labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 64519) AND labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'neutrophils') AND STRFTIME('%y-%m', labevents.charttime) = '2104-07'
[ 568, 644, 338, 262, 5415, 22190, 10051, 4487, 1988, 286, 5827, 718, 2231, 1129, 287, 8753, 14, 17, 13464, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 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...
[ 568, 644, 338, 262, 5415, 22190, 10051, 4487, 1988, 286, 5827, 718, 2231, 1129, 287, 8753, 14, 17, 13464, 30, 46506, 25882, 7, 23912, 31534, 13, 2100, 84, 44709, 8, 16034, 2248, 31534, 33411, 2248, 31534, 13, 18108, 76, 62, 312, 3268,...
Find the number of routes from the United States to Canada.
SELECT COUNT(*) FROM routes WHERE dst_apid IN (SELECT apid FROM airports WHERE country = 'Canada') AND src_apid IN (SELECT apid FROM airports WHERE country = 'United States')
[ 16742, 262, 1271, 286, 11926, 422, 262, 1578, 1829, 284, 3340, 13, 46506, 327, 28270, 7, 28104, 16034, 11926, 33411, 29636, 62, 499, 312, 3268, 357, 46506, 2471, 312, 16034, 22600, 33411, 1499, 796, 705, 17940, 11537, 5357, 12351, 62, 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 ]
[ 16742, 262, 1271, 286, 11926, 422, 262, 1578, 1829, 284, 3340, 13, 46506, 327, 28270, 7, 28104, 16034, 11926, 33411, 29636, 62, 499, 312, 3268, 357, 46506, 2471, 312, 16034, 22600, 33411, 1499, 796, 705, 17940, 11537, 5357, 12351, 62, 4...
What date did Toumani Diagouraga, who played position MF, start?
SELECT date_from FROM table_name_81 WHERE position = "mf" AND name = "toumani diagouraga"
[ 2061, 3128, 750, 23359, 805, 72, 6031, 363, 454, 8126, 11, 508, 2826, 2292, 32850, 11, 923, 30, 46506, 3128, 62, 6738, 16034, 3084, 62, 3672, 62, 6659, 33411, 2292, 796, 366, 76, 69, 1, 5357, 1438, 796, 366, 83, 280, 805, 72, 2566...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 750, 23359, 805, 72, 6031, 363, 454, 8126, 11, 508, 2826, 2292, 32850, 11, 923, 30, 46506, 3128, 62, 6738, 16034, 3084, 62, 3672, 62, 6659, 33411, 2292, 796, 366, 76, 69, 1, 5357, 1438, 796, 366, 83, 280, 805, 72, 2566...
which athlete was from south korea after the year 2010 ?
SELECT "athlete" FROM table_203_104 WHERE "nation" = 'south korea'
[ 4758, 16076, 373, 422, 5366, 479, 46215, 706, 262, 614, 3050, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 13464, 33411, 366, 25729, 1, 796, 705, 35782, 479, 46215, 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 ]
[ 4758, 16076, 373, 422, 5366, 479, 46215, 706, 262, 614, 3050, 5633, 46506, 366, 776, 5807, 1, 16034, 3084, 62, 22416, 62, 13464, 33411, 366, 25729, 1, 796, 705, 35782, 479, 46215, 6 ]
How many floors did the tallest building in Aston have?
SELECT "Floors" FROM table_7881 WHERE "Location" = 'aston'
[ 2437, 867, 18570, 750, 262, 38760, 2615, 287, 33644, 423, 30, 46506, 366, 33574, 669, 1, 16034, 3084, 62, 22, 3459, 16, 33411, 366, 14749, 1, 796, 705, 45966, 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, 18570, 750, 262, 38760, 2615, 287, 33644, 423, 30, 46506, 366, 33574, 669, 1, 16034, 3084, 62, 22, 3459, 16, 33411, 366, 14749, 1, 796, 705, 45966, 6 ]
Which Angle from center/ has a Taper/ft smaller than 0.6000000000000001?
SELECT COUNT("Angle from center/\u00b0") FROM table_76929 WHERE "Taper/ ft" < '0.6000000000000001'
[ 13828, 42375, 422, 3641, 14, 468, 257, 309, 2136, 14, 701, 4833, 621, 657, 13, 21, 8269, 2388, 8298, 30, 46506, 327, 28270, 7203, 13450, 293, 422, 3641, 14, 59, 84, 405, 65, 15, 4943, 16034, 3084, 62, 22, 3388, 1959, 33411, 366, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 42375, 422, 3641, 14, 468, 257, 309, 2136, 14, 701, 4833, 621, 657, 13, 21, 8269, 2388, 8298, 30, 46506, 327, 28270, 7203, 13450, 293, 422, 3641, 14, 59, 84, 405, 65, 15, 4943, 16034, 3084, 62, 22, 3388, 1959, 33411, 366, 5...
What is the number of podiums for the races of 13/15?
SELECT "Podiums" FROM table_33642 WHERE "Races \u2020" = '13/15'
[ 2061, 318, 262, 1271, 286, 27941, 82, 329, 262, 9558, 286, 1511, 14, 1314, 30, 46506, 366, 47, 12664, 82, 1, 16034, 3084, 62, 2091, 41290, 33411, 366, 49, 2114, 3467, 84, 42334, 1, 796, 705, 1485, 14, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1271, 286, 27941, 82, 329, 262, 9558, 286, 1511, 14, 1314, 30, 46506, 366, 47, 12664, 82, 1, 16034, 3084, 62, 2091, 41290, 33411, 366, 49, 2114, 3467, 84, 42334, 1, 796, 705, 1485, 14, 1314, 6 ]
The CLIMATE 105 in Spring 2012 is taught by what number of professors ?
SELECT COUNT(DISTINCT instructor.instructor_id) FROM course, course_offering, instructor, offering_instructor, semester WHERE course.course_id = course_offering.course_id AND course.department = 'CLIMATE' AND course.number = 105 AND offering_instructor.instructor_id = instructor.instructor_id AND offering_instructor.of...
[ 464, 7852, 3955, 6158, 13343, 287, 8225, 2321, 318, 7817, 416, 644, 1271, 286, 20339, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 601...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7852, 3955, 6158, 13343, 287, 8225, 2321, 318, 7817, 416, 644, 1271, 286, 20339, 5633, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 21187, 13, 259, 7249, 273, 62, 312, 8, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 21187, 11, 601...
what is days of hospital stay and discharge time of subject name mary davis?
SELECT demographic.days_stay, demographic.dischtime FROM demographic WHERE demographic.name = "Mary Davis"
[ 10919, 318, 1528, 286, 4436, 2652, 290, 17655, 640, 286, 2426, 1438, 285, 560, 288, 23401, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 24119, 7802, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 1528, 286, 4436, 2652, 290, 17655, 640, 286, 2426, 1438, 285, 560, 288, 23401, 30, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 6381, 354, 2435, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 24119, 7802, 1 ]
Name the batting style for heath streak
SELECT "Batting Style" FROM table_51939 WHERE "Player" = 'heath streak'
[ 5376, 262, 23761, 3918, 329, 339, 776, 15113, 46506, 366, 24541, 889, 17738, 1, 16034, 3084, 62, 47785, 2670, 33411, 366, 14140, 1, 796, 705, 258, 776, 15113, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 23761, 3918, 329, 339, 776, 15113, 46506, 366, 24541, 889, 17738, 1, 16034, 3084, 62, 47785, 2670, 33411, 366, 14140, 1, 796, 705, 258, 776, 15113, 6 ]
What's the value for utah when texas is humphrey?
SELECT "Utah" FROM table_62539 WHERE "Texas" = 'humphrey'
[ 2061, 338, 262, 1988, 329, 3384, 993, 618, 48659, 292, 318, 1311, 746, 4364, 30, 46506, 366, 44350, 1, 16034, 3084, 62, 26704, 2670, 33411, 366, 21607, 1, 796, 705, 71, 12875, 4364, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 1988, 329, 3384, 993, 618, 48659, 292, 318, 1311, 746, 4364, 30, 46506, 366, 44350, 1, 16034, 3084, 62, 26704, 2670, 33411, 366, 21607, 1, 796, 705, 71, 12875, 4364, 6 ]
What season had 2.52 million viewers?
SELECT tv_season FROM table_2170969_2 WHERE viewers_in_millions = "2.52"
[ 2061, 1622, 550, 362, 13, 4309, 1510, 10209, 30, 46506, 31557, 62, 6230, 16034, 3084, 62, 24591, 2931, 3388, 62, 17, 33411, 10209, 62, 259, 62, 17805, 507, 796, 366, 17, 13, 4309, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1622, 550, 362, 13, 4309, 1510, 10209, 30, 46506, 31557, 62, 6230, 16034, 3084, 62, 24591, 2931, 3388, 62, 17, 33411, 10209, 62, 259, 62, 17805, 507, 796, 366, 17, 13, 4309, 1 ]
Which DVD Title has a Region 1 of n/a and greater than 3 in No. of Discs?
SELECT dvd_title FROM table_name_57 WHERE region_1 = "n/a" AND no_of_discs > 3
[ 13828, 12490, 11851, 468, 257, 17718, 352, 286, 299, 14, 64, 290, 3744, 621, 513, 287, 1400, 13, 286, 8444, 82, 30, 46506, 288, 20306, 62, 7839, 16034, 3084, 62, 3672, 62, 3553, 33411, 3814, 62, 16, 796, 366, 77, 14, 64, 1, 5357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 12490, 11851, 468, 257, 17718, 352, 286, 299, 14, 64, 290, 3744, 621, 513, 287, 1400, 13, 286, 8444, 82, 30, 46506, 288, 20306, 62, 7839, 16034, 3084, 62, 3672, 62, 3553, 33411, 3814, 62, 16, 796, 366, 77, 14, 64, 1, 5357, ...
which round is u.s. open cup division semifinals
SELECT "U.S. Open Cup" FROM table_72098 WHERE "Playoffs" = 'Division Semifinals'
[ 4758, 2835, 318, 334, 13, 82, 13, 1280, 6508, 7297, 47633, 46506, 366, 52, 13, 50, 13, 4946, 5454, 1, 16034, 3084, 62, 23906, 4089, 33411, 366, 11002, 8210, 1, 796, 705, 24095, 1166, 12449, 361, 6897, 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 ]
[ 4758, 2835, 318, 334, 13, 82, 13, 1280, 6508, 7297, 47633, 46506, 366, 52, 13, 50, 13, 4946, 5454, 1, 16034, 3084, 62, 23906, 4089, 33411, 366, 11002, 8210, 1, 796, 705, 24095, 1166, 12449, 361, 6897, 6 ]
What was the rank of the car who had more than 182 laps, gris less than 3, with a qual time of more than 134.14 and a time/retired of +14:21.72?
SELECT MIN("Rank") FROM table_53477 WHERE "Laps" > '182' AND "Qual" > '134.14' AND "Time/Retired" = '+14:21.72' AND "Grid" < '3'
[ 2061, 373, 262, 4279, 286, 262, 1097, 508, 550, 517, 621, 28581, 24590, 11, 1036, 271, 1342, 621, 513, 11, 351, 257, 4140, 640, 286, 517, 621, 22352, 13, 1415, 290, 257, 640, 14, 1186, 1202, 286, 1343, 1415, 25, 2481, 13, 4761, 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...
[ 2061, 373, 262, 4279, 286, 262, 1097, 508, 550, 517, 621, 28581, 24590, 11, 1036, 271, 1342, 621, 513, 11, 351, 257, 4140, 640, 286, 517, 621, 22352, 13, 1415, 290, 257, 640, 14, 1186, 1202, 286, 1343, 1415, 25, 2481, 13, 4761, 30...
What was the result for the fil Paljas?
SELECT "Result" FROM table_38191 WHERE "Film title" = 'paljas'
[ 2061, 373, 262, 1255, 329, 262, 1226, 3175, 28121, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2548, 26492, 33411, 366, 39750, 3670, 1, 796, 705, 18596, 28121, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 329, 262, 1226, 3175, 28121, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 2548, 26492, 33411, 366, 39750, 3670, 1, 796, 705, 18596, 28121, 6 ]
What is 2008, when 2009 is 'A', and when Tournament is 'Madrid Masters'?
SELECT "2008" FROM table_62438 WHERE "2009" = 'a' AND "Tournament" = 'madrid masters'
[ 2061, 318, 3648, 11, 618, 3717, 318, 705, 32, 3256, 290, 618, 9595, 318, 705, 18454, 6058, 15812, 30960, 46506, 366, 11528, 1, 16034, 3084, 62, 21, 1731, 2548, 33411, 366, 10531, 1, 796, 705, 64, 6, 5357, 366, 51, 5138, 1, 796, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 3648, 11, 618, 3717, 318, 705, 32, 3256, 290, 618, 9595, 318, 705, 18454, 6058, 15812, 30960, 46506, 366, 11528, 1, 16034, 3084, 62, 21, 1731, 2548, 33411, 366, 10531, 1, 796, 705, 64, 6, 5357, 366, 51, 5138, 1, 796, 70...
How many rounds were there a height of 6'5?
SELECT "Round" FROM table_23962 WHERE "Height" = '6''5'
[ 2437, 867, 9196, 547, 612, 257, 6001, 286, 718, 6, 20, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 1954, 4846, 17, 33411, 366, 23106, 1, 796, 705, 21, 7061, 20, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9196, 547, 612, 257, 6001, 286, 718, 6, 20, 30, 46506, 366, 22685, 1, 16034, 3084, 62, 1954, 4846, 17, 33411, 366, 23106, 1, 796, 705, 21, 7061, 20, 6 ]
What are the average prices of products, grouped by manufacturer name, and rank bar in ascending order.
SELECT T2.Name, AVG(T1.Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
[ 2061, 389, 262, 2811, 4536, 286, 3186, 11, 32824, 416, 11554, 1438, 11, 290, 4279, 2318, 287, 41988, 1502, 13, 46506, 309, 17, 13, 5376, 11, 35224, 7, 51, 16, 13, 18124, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 389, 262, 2811, 4536, 286, 3186, 11, 32824, 416, 11554, 1438, 11, 290, 4279, 2318, 287, 41988, 1502, 13, 46506, 309, 17, 13, 5376, 11, 35224, 7, 51, 16, 13, 18124, 8, 16034, 18675, 7054, 309, 16, 32357, 1268, 17858, 17496, 705...
GroupBy vs Distinct Query Plan.
SELECT AGE FROM Users GROUP BY AGE
[ 13247, 3886, 3691, 4307, 4612, 43301, 5224, 13, 46506, 317, 8264, 16034, 18987, 44441, 11050, 317, 8264 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13247, 3886, 3691, 4307, 4612, 43301, 5224, 13, 46506, 317, 8264, 16034, 18987, 44441, 11050, 317, 8264 ]
What is the B (max) average when the C (max) is greater than 156, the taper is 1:19.231, and the D (max) is less than 34.9?
SELECT AVG(b__max_) FROM table_name_22 WHERE c__max_ > 156 AND taper = "1:19.231" AND d__max_ < 34.9
[ 2061, 318, 262, 347, 357, 9806, 8, 2811, 618, 262, 327, 357, 9806, 8, 318, 3744, 621, 23871, 11, 262, 256, 2136, 318, 352, 25, 1129, 13, 25667, 11, 290, 262, 360, 357, 9806, 8, 318, 1342, 621, 4974, 13, 24, 30, 46506, 35224, 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, 347, 357, 9806, 8, 2811, 618, 262, 327, 357, 9806, 8, 318, 3744, 621, 23871, 11, 262, 256, 2136, 318, 352, 25, 1129, 13, 25667, 11, 290, 262, 360, 357, 9806, 8, 318, 1342, 621, 4974, 13, 24, 30, 46506, 35224, 7, ...
What's the Issue Date for an Eric Prydz song with a no available Download information?
SELECT "Issue Date" FROM table_70184 WHERE "Download" = 'no available' AND "Artist" = 'eric prydz'
[ 2061, 338, 262, 18232, 7536, 329, 281, 7651, 32500, 67, 89, 3496, 351, 257, 645, 1695, 10472, 1321, 30, 46506, 366, 45147, 7536, 1, 16034, 3084, 62, 41583, 5705, 33411, 366, 10002, 1, 796, 705, 3919, 1695, 6, 5357, 366, 43020, 1, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 338, 262, 18232, 7536, 329, 281, 7651, 32500, 67, 89, 3496, 351, 257, 645, 1695, 10472, 1321, 30, 46506, 366, 45147, 7536, 1, 16034, 3084, 62, 41583, 5705, 33411, 366, 10002, 1, 796, 705, 3919, 1695, 6, 5357, 366, 43020, 1, 79...
Return the apartment number and the number of rooms for each apartment.
SELECT apt_number, room_count FROM Apartments
[ 13615, 262, 7962, 1271, 290, 262, 1271, 286, 9519, 329, 1123, 7962, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596, 902 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13615, 262, 7962, 1271, 290, 262, 1271, 286, 9519, 329, 1123, 7962, 13, 46506, 15409, 62, 17618, 11, 2119, 62, 9127, 16034, 22596, 902 ]
What week was October 9, 1938?
SELECT COUNT(week) FROM table_name_66 WHERE date = "october 9, 1938"
[ 2061, 1285, 373, 3267, 860, 11, 28017, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 38441, 2023, 860, 11, 28017, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1285, 373, 3267, 860, 11, 28017, 30, 46506, 327, 28270, 7, 10464, 8, 16034, 3084, 62, 3672, 62, 2791, 33411, 3128, 796, 366, 38441, 2023, 860, 11, 28017, 1 ]
When were the odds of winner 16.66?
SELECT year FROM table_21676617_1 WHERE odds_of_winner = "16.66"
[ 2215, 547, 262, 10402, 286, 8464, 1467, 13, 2791, 30, 46506, 614, 16034, 3084, 62, 20666, 22, 2791, 1558, 62, 16, 33411, 10402, 62, 1659, 62, 39791, 796, 366, 1433, 13, 2791, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 547, 262, 10402, 286, 8464, 1467, 13, 2791, 30, 46506, 614, 16034, 3084, 62, 20666, 22, 2791, 1558, 62, 16, 33411, 10402, 62, 1659, 62, 39791, 796, 366, 1433, 13, 2791, 1 ]
semantic parsing papers
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'semantic parsing' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
[ 43616, 5109, 32096, 9473, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 43616, 5109, 32096, 6, 5357, 3348, 2539, 34675, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 43616, 5109, 32096, 9473, 46506, 360, 8808, 1268, 4177, 3348, 13, 20189, 312, 16034, 1994, 34675, 11, 3348, 11, 3348, 2539, 34675, 33411, 1994, 34675, 13, 2539, 746, 8847, 12453, 796, 705, 43616, 5109, 32096, 6, 5357, 3348, 2539, 34675, ...
known bleeding diathesis or dyscrasia
SELECT * FROM table_train_197 WHERE bleeding = 1 OR dyscrasia = 1
[ 4002, 16832, 2566, 265, 8497, 393, 13147, 6098, 23218, 46506, 1635, 16034, 3084, 62, 27432, 62, 24991, 33411, 16832, 796, 352, 6375, 13147, 6098, 23218, 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, 1, 1, 1, 1 ]
[ 4002, 16832, 2566, 265, 8497, 393, 13147, 6098, 23218, 46506, 1635, 16034, 3084, 62, 27432, 62, 24991, 33411, 16832, 796, 352, 6375, 13147, 6098, 23218, 796, 352 ]
What round has a position of F/C from Iowa College?
SELECT round FROM table_name_56 WHERE position = "f/c" AND college = "iowa"
[ 2061, 2835, 468, 257, 2292, 286, 376, 14, 34, 422, 9406, 5535, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 3980, 33411, 2292, 796, 366, 69, 14, 66, 1, 5357, 4152, 796, 366, 72, 8455, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2835, 468, 257, 2292, 286, 376, 14, 34, 422, 9406, 5535, 30, 46506, 2835, 16034, 3084, 62, 3672, 62, 3980, 33411, 2292, 796, 366, 69, 14, 66, 1, 5357, 4152, 796, 366, 72, 8455, 1 ]
Who tied with 8 losses and 50% wins?
SELECT tied FROM table_name_19 WHERE losses = "8" AND win__percentage = "50%"
[ 8241, 8165, 351, 807, 9089, 290, 2026, 4, 7864, 30, 46506, 8165, 16034, 3084, 62, 3672, 62, 1129, 33411, 9089, 796, 366, 23, 1, 5357, 1592, 834, 25067, 496, 796, 366, 1120, 39658 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 8165, 351, 807, 9089, 290, 2026, 4, 7864, 30, 46506, 8165, 16034, 3084, 62, 3672, 62, 1129, 33411, 9089, 796, 366, 23, 1, 5357, 1592, 834, 25067, 496, 796, 366, 1120, 39658 ]
what are the total number of pillow pals on this chart ?
SELECT COUNT("name") FROM table_204_111
[ 10919, 389, 262, 2472, 1271, 286, 28774, 39898, 319, 428, 8262, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 16243 ]
[ 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, 389, 262, 2472, 1271, 286, 28774, 39898, 319, 428, 8262, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 18638, 62, 16243 ]
For all artist names who are not from the United States, show the total number of each year with a bar chart, could you order by the y axis in descending?
SELECT Year_Join, COUNT(Year_Join) FROM artist WHERE Country <> 'United States' GROUP BY Year_Join ORDER BY COUNT(Year_Join) DESC
[ 1890, 477, 6802, 3891, 508, 389, 407, 422, 262, 1578, 1829, 11, 905, 262, 2472, 1271, 286, 1123, 614, 351, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 331, 16488, 287, 31491, 30, 46506, 6280, 62, 18234, 11, 327, 28270, 7, 17688, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 477, 6802, 3891, 508, 389, 407, 422, 262, 1578, 1829, 11, 905, 262, 2472, 1271, 286, 1123, 614, 351, 257, 2318, 8262, 11, 714, 345, 1502, 416, 262, 331, 16488, 287, 31491, 30, 46506, 6280, 62, 18234, 11, 327, 28270, 7, 17688, ...
What is the total number of years that an entrant had more than 0 points?
SELECT COUNT(year) FROM table_name_87 WHERE points > 0
[ 2061, 318, 262, 2472, 1271, 286, 812, 326, 281, 920, 5250, 550, 517, 621, 657, 2173, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 2173, 1875, 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, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 1271, 286, 812, 326, 281, 920, 5250, 550, 517, 621, 657, 2173, 30, 46506, 327, 28270, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 5774, 33411, 2173, 1875, 657 ]
I want to know the catalog number for album and seed records label for cd and title of grey
SELECT "Catalog number" FROM table_10498 WHERE "Format" = 'album' AND "Label" = 'seed records' AND "Formats" = 'cd' AND "Title" = 'grey'
[ 40, 765, 284, 760, 262, 18388, 1271, 329, 5062, 290, 9403, 4406, 6167, 329, 22927, 290, 3670, 286, 13791, 46506, 366, 49015, 1271, 1, 16034, 3084, 62, 940, 36260, 33411, 366, 26227, 1, 796, 705, 40916, 6, 5357, 366, 33986, 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 ]
[ 40, 765, 284, 760, 262, 18388, 1271, 329, 5062, 290, 9403, 4406, 6167, 329, 22927, 290, 3670, 286, 13791, 46506, 366, 49015, 1271, 1, 16034, 3084, 62, 940, 36260, 33411, 366, 26227, 1, 796, 705, 40916, 6, 5357, 366, 33986, 1, 796, 7...
Name the most founded for sea gulls
SELECT MAX("Founded") FROM table_23202 WHERE "Nickname" = 'Sea Gulls'
[ 5376, 262, 749, 9393, 329, 5417, 43289, 82, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 1954, 19004, 33411, 366, 23609, 3672, 1, 796, 705, 37567, 402, 724, 82, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 749, 9393, 329, 5417, 43289, 82, 46506, 25882, 7203, 37, 6302, 4943, 16034, 3084, 62, 1954, 19004, 33411, 366, 23609, 3672, 1, 796, 705, 37567, 402, 724, 82, 6 ]
how many professional wins has christel boeljon had ?
SELECT SUM("wins") FROM table_204_940
[ 4919, 867, 4708, 7864, 468, 33826, 417, 1489, 417, 46286, 550, 5633, 46506, 35683, 7203, 86, 1040, 4943, 16034, 3084, 62, 18638, 62, 46899 ]
[ 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, 4708, 7864, 468, 33826, 417, 1489, 417, 46286, 550, 5633, 46506, 35683, 7203, 86, 1040, 4943, 16034, 3084, 62, 18638, 62, 46899 ]
What is the total number of Laps, when Ride is Aleix Espargaro?
SELECT COUNT(laps) FROM table_name_54 WHERE rider = "aleix espargaro"
[ 2061, 318, 262, 2472, 1271, 286, 406, 1686, 11, 618, 21640, 318, 9300, 844, 20386, 853, 12022, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 17876, 796, 366, 1000, 844, 15024, 853, 12022, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 406, 1686, 11, 618, 21640, 318, 9300, 844, 20386, 853, 12022, 30, 46506, 327, 28270, 7, 75, 1686, 8, 16034, 3084, 62, 3672, 62, 4051, 33411, 17876, 796, 366, 1000, 844, 15024, 853, 12022, 1 ]
how many patients are diagnosed for other pulmonary insuff and administered with pr drug route?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Other pulmonary insuff" AND prescriptions.route = "PR"
[ 4919, 867, 3871, 389, 14641, 329, 584, 45105, 1035, 1648, 290, 17169, 351, 778, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 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...
[ 4919, 867, 3871, 389, 14641, 329, 584, 45105, 1035, 1648, 290, 17169, 351, 778, 2563, 6339, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, ...
Number of questions concerning xamarin development.
SELECT COUNT(*) FROM Posts WHERE Id IN (SELECT DISTINCT (PostId) FROM PostTags WHERE TagId IN (SELECT Id FROM Tags WHERE TagName LIKE '%xamarin%'))
[ 15057, 286, 2683, 9305, 2124, 321, 17714, 2478, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 5121, 3268, 357, 46506, 360, 8808, 1268, 4177, 357, 6307, 7390, 8, 16034, 2947, 36142, 33411, 17467, 7390, 3268, 357, 46506, 5121, 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 ]
[ 15057, 286, 2683, 9305, 2124, 321, 17714, 2478, 13, 46506, 327, 28270, 7, 28104, 16034, 12043, 33411, 5121, 3268, 357, 46506, 360, 8808, 1268, 4177, 357, 6307, 7390, 8, 16034, 2947, 36142, 33411, 17467, 7390, 3268, 357, 46506, 5121, 16034...
What is canada's margin?
SELECT SUM(margin) FROM table_name_40 WHERE country = "canada"
[ 2061, 318, 460, 4763, 338, 10330, 30, 46506, 35683, 7, 36153, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 1499, 796, 366, 5171, 4763, 1 ]
[ 1, 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, 460, 4763, 338, 10330, 30, 46506, 35683, 7, 36153, 8, 16034, 3084, 62, 3672, 62, 1821, 33411, 1499, 796, 366, 5171, 4763, 1 ]
What is the sum of total pounds of purchase in year 2018 for all branches in London?
SELECT SUM(total_pounds) FROM purchase AS T1 JOIN branch AS T2 ON T1.branch_id = T2.branch_id WHERE T2.city = 'London' AND T1.year = 2018
[ 2061, 318, 262, 2160, 286, 2472, 8059, 286, 5001, 287, 614, 2864, 329, 477, 13737, 287, 3576, 30, 46506, 35683, 7, 23350, 62, 79, 3733, 8, 16034, 5001, 7054, 309, 16, 32357, 1268, 8478, 7054, 309, 17, 6177, 309, 16, 13, 1671, 3702, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 2160, 286, 2472, 8059, 286, 5001, 287, 614, 2864, 329, 477, 13737, 287, 3576, 30, 46506, 35683, 7, 23350, 62, 79, 3733, 8, 16034, 5001, 7054, 309, 16, 32357, 1268, 8478, 7054, 309, 17, 6177, 309, 16, 13, 1671, 3702, ...
Users don't like to accept.
SELECT OwnerUserId AS "user_link", COUNT(*) AS N FROM Posts WHERE PostTypeId = 1 AND AcceptedAnswerId IS NULL AND NOT OwnerUserId IS NULL AND NOT ClosedDate IS NULL AND Posts.Id IN (SELECT DISTINCT ParentId FROM Posts) GROUP BY OwnerUserId ORDER BY N DESC LIMIT 100
[ 14490, 836, 470, 588, 284, 2453, 13, 46506, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 399, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 21699, 276, 33706, 7390, 3180, 15697, 5357, 5626, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14490, 836, 470, 588, 284, 2453, 13, 46506, 23853, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 327, 28270, 7, 28104, 7054, 399, 16034, 12043, 33411, 2947, 6030, 7390, 796, 352, 5357, 21699, 276, 33706, 7390, 3180, 15697, 5357, 5626, 2...
Show me courses that involve parts of Senior Comparative Literature and Advanced Historical Research .
SELECT DISTINCT course.department, course.name, course.number FROM course INNER JOIN area ON course.course_id = area.course_id WHERE (area.area LIKE '%Advanced Historical Research%' OR course.description LIKE '%Advanced Historical Research%' OR course.name LIKE '%Advanced Historical Research%') AND (area.area LIKE '%Se...
[ 15307, 502, 10902, 326, 6211, 3354, 286, 14017, 22565, 876, 33818, 290, 13435, 23121, 4992, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10902, 326, 6211, 3354, 286, 14017, 22565, 876, 33818, 290, 13435, 23121, 4992, 764, 46506, 360, 8808, 1268, 4177, 1781, 13, 10378, 1823, 11, 1781, 13, 3672, 11, 1781, 13, 17618, 16034, 1781, 3268, 21479, 32357, 1268, 1989, ...
count the number of patients whose death status is 1 and diagnoses short title is dermatitis nos?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.short_title = "Dermatitis NOS"
[ 9127, 262, 1271, 286, 3871, 3025, 1918, 3722, 318, 352, 290, 40567, 1790, 3670, 318, 40363, 11815, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 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, 1918, 3722, 318, 352, 290, 40567, 1790, 3670, 318, 40363, 11815, 43630, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177,...
calculate two year survival probability of patients who were prescribed magnesium sulfate 1 g in d5w 100ml **locked dose after having been diagnosed with valve replacement >= 7 days - mitral?
SELECT SUM(CASE WHEN patient.hospitaldischargestatus = 'alive' THEN 1 WHEN STRFTIME('%j', patient.hospitaldischargetime) - STRFTIME('%j', t4.diagnosistime) > 2 * 365 THEN 1 ELSE 0 END) * 100 / COUNT(*) FROM (SELECT t2.uniquepid, t2.diagnosistime FROM (SELECT t1.uniquepid, t1.diagnosistime FROM (SELECT patient.uniquepid...
[ 9948, 3129, 378, 734, 614, 9441, 12867, 286, 3871, 508, 547, 14798, 33525, 22443, 378, 352, 308, 287, 288, 20, 86, 1802, 4029, 12429, 24162, 10742, 706, 1719, 587, 14641, 351, 22580, 9014, 18189, 767, 1528, 532, 10255, 1373, 30, 46506, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 734, 614, 9441, 12867, 286, 3871, 508, 547, 14798, 33525, 22443, 378, 352, 308, 287, 288, 20, 86, 1802, 4029, 12429, 24162, 10742, 706, 1719, 587, 14641, 351, 22580, 9014, 18189, 767, 1528, 532, 10255, 1373, 30, 46506, ...
Name the D 47 O with D 48 O of r 9
SELECT d_47_o FROM table_name_80 WHERE d_48_o = "r 9"
[ 5376, 262, 360, 6298, 440, 351, 360, 4764, 440, 286, 374, 860, 46506, 288, 62, 2857, 62, 78, 16034, 3084, 62, 3672, 62, 1795, 33411, 288, 62, 2780, 62, 78, 796, 366, 81, 860, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 360, 6298, 440, 351, 360, 4764, 440, 286, 374, 860, 46506, 288, 62, 2857, 62, 78, 16034, 3084, 62, 3672, 62, 1795, 33411, 288, 62, 2780, 62, 78, 796, 366, 81, 860, 1 ]
Let's say position was linebacker with a pick number less than 5, what was the highest round?
SELECT MAX(round) FROM table_name_61 WHERE position = "linebacker" AND pick__number > 5
[ 5756, 338, 910, 2292, 373, 18961, 351, 257, 2298, 1271, 1342, 621, 642, 11, 644, 373, 262, 4511, 2835, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 2298, 834, 17618, 1875...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5756, 338, 910, 2292, 373, 18961, 351, 257, 2298, 1271, 1342, 621, 642, 11, 644, 373, 262, 4511, 2835, 30, 46506, 25882, 7, 744, 8, 16034, 3084, 62, 3672, 62, 5333, 33411, 2292, 796, 366, 1370, 49978, 1, 5357, 2298, 834, 17618, 1875...
What is the total average for McCain% of 55.0% and Obama# higher than 3,487?
SELECT AVG(total) FROM table_name_52 WHERE mccain_percentage = "55.0%" AND obama_number > 3 OFFSET 487
[ 2061, 318, 262, 2472, 2811, 329, 14264, 4, 286, 5996, 13, 15, 4, 290, 2486, 2, 2440, 621, 513, 11, 35133, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 2816, 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 ]
[ 2061, 318, 262, 2472, 2811, 329, 14264, 4, 286, 5996, 13, 15, 4, 290, 2486, 2, 2440, 621, 513, 11, 35133, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 4309, 33411, 285, 535, 391, 62, 25067, 496, 796, 366, 2816, 13, ...
What is the location of the river mile that is larger than 938.9, and Olmsted Locks and Dam?
SELECT location_ AS "l_" FROM table_name_8 WHERE river_mile > 938.9 AND locks_ & _dam = "olmsted locks and dam"
[ 2061, 318, 262, 4067, 286, 262, 7850, 10591, 326, 318, 4025, 621, 860, 2548, 13, 24, 11, 290, 6544, 76, 30679, 406, 3320, 290, 5245, 30, 46506, 4067, 62, 7054, 366, 75, 62, 1, 16034, 3084, 62, 3672, 62, 23, 33411, 7850, 62, 18085,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 4067, 286, 262, 7850, 10591, 326, 318, 4025, 621, 860, 2548, 13, 24, 11, 290, 6544, 76, 30679, 406, 3320, 290, 5245, 30, 46506, 4067, 62, 7054, 366, 75, 62, 1, 16034, 3084, 62, 3672, 62, 23, 33411, 7850, 62, 18085,...
how many teams won at least 4 matches ?
SELECT COUNT("team") FROM table_203_486 WHERE "won" >= 4
[ 4919, 867, 3466, 1839, 379, 1551, 604, 7466, 5633, 46506, 327, 28270, 7203, 15097, 4943, 16034, 3084, 62, 22416, 62, 34251, 33411, 366, 26502, 1, 18189, 604 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3466, 1839, 379, 1551, 604, 7466, 5633, 46506, 327, 28270, 7203, 15097, 4943, 16034, 3084, 62, 22416, 62, 34251, 33411, 366, 26502, 1, 18189, 604 ]
What is the median household income for Woodside?
SELECT "Median House- hold Income" FROM table_72554 WHERE "Place" = 'Woodside'
[ 2061, 318, 262, 14288, 6641, 3739, 329, 5326, 1589, 30, 46506, 366, 9921, 666, 2097, 12, 1745, 19003, 1, 16034, 3084, 62, 45151, 4051, 33411, 366, 27271, 1, 796, 705, 22911, 1589, 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, 14288, 6641, 3739, 329, 5326, 1589, 30, 46506, 366, 9921, 666, 2097, 12, 1745, 19003, 1, 16034, 3084, 62, 45151, 4051, 33411, 366, 27271, 1, 796, 705, 22911, 1589, 6 ]
Create a bar chart showing the number of author across author, and order total number from low to high order.
SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY COUNT(Author)
[ 16447, 257, 2318, 8262, 4478, 262, 1271, 286, 1772, 1973, 1772, 11, 290, 1502, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 6434, 11, 327, 28270, 7, 13838, 8, 16034, 14498, 44441, 11050, 6434, 38678, 11050, 327, 28270, 7, 13838, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 262, 1271, 286, 1772, 1973, 1772, 11, 290, 1502, 2472, 1271, 422, 1877, 284, 1029, 1502, 13, 46506, 6434, 11, 327, 28270, 7, 13838, 8, 16034, 14498, 44441, 11050, 6434, 38678, 11050, 327, 28270, 7, 13838, ...
A line chart for what are the number of the dates that have an average sea level pressure between 303 and 31?, and list by the X-axis in descending.
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 GROUP BY date ORDER BY date DESC
[ 32, 1627, 8262, 329, 644, 389, 262, 1271, 286, 262, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 21747, 290, 1351, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 32, 1627, 8262, 329, 644, 389, 262, 1271, 286, 262, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 21747, 290, 1351, 416, 262, 1395, 12, 22704, 287, 31491, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 61...
i'd like to take a flight from WASHINGTON stop in DENVER and with my final destination as SAN FRANCISCO
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, airport_service AS AIRPORT_SERVICE_2, city AS CITY_0, city AS CITY_1, city AS CITY_2, flight, flight_stop WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'DENVER' AND CITY_2.cit...
[ 72, 1549, 588, 284, 1011, 257, 5474, 422, 370, 19436, 2245, 287, 37692, 5959, 290, 351, 616, 2457, 10965, 355, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 72, 1549, 588, 284, 1011, 257, 5474, 422, 370, 19436, 2245, 287, 37692, 5959, 290, 351, 616, 2457, 10965, 355, 37376, 8782, 20940, 37719, 14058, 16779, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600...
WHAT IS THE AVERAGE SQUAD NUMBER WITH MARTIN SMITH, AND LEAGUE GOALS LESS THAN 17?
SELECT AVG(squad_no) FROM table_name_8 WHERE name = "martin smith" AND league_goals < 17
[ 32971, 3180, 3336, 317, 5959, 11879, 45880, 2885, 36871, 13246, 13315, 337, 7227, 1268, 9447, 10554, 11, 5357, 12509, 4760, 8924, 10351, 23333, 406, 7597, 2320, 1565, 1596, 30, 46506, 35224, 7, 16485, 324, 62, 3919, 8, 16034, 3084, 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 ]
[ 32971, 3180, 3336, 317, 5959, 11879, 45880, 2885, 36871, 13246, 13315, 337, 7227, 1268, 9447, 10554, 11, 5357, 12509, 4760, 8924, 10351, 23333, 406, 7597, 2320, 1565, 1596, 30, 46506, 35224, 7, 16485, 324, 62, 3919, 8, 16034, 3084, 62, ...
What are the different product names? What is the average product price for each of them Show bar chart, rank by the bar in desc.
SELECT Product_Name, AVG(Product_Price) FROM Products GROUP BY Product_Name ORDER BY Product_Name DESC
[ 2061, 389, 262, 1180, 1720, 3891, 30, 1867, 318, 262, 2811, 1720, 2756, 329, 1123, 286, 606, 5438, 2318, 8262, 11, 4279, 416, 262, 2318, 287, 1715, 13, 46506, 8721, 62, 5376, 11, 35224, 7, 15667, 62, 18124, 8, 16034, 18675, 44441, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1720, 3891, 30, 1867, 318, 262, 2811, 1720, 2756, 329, 1123, 286, 606, 5438, 2318, 8262, 11, 4279, 416, 262, 2318, 287, 1715, 13, 46506, 8721, 62, 5376, 11, 35224, 7, 15667, 62, 18124, 8, 16034, 18675, 44441, 1...
Which Constructor has a Grid larger than 8, and a Time/Retired of +1:17.124?
SELECT constructor FROM table_name_46 WHERE grid > 8 AND time_retired = "+1:17.124"
[ 13828, 28407, 273, 468, 257, 24846, 4025, 621, 807, 11, 290, 257, 3862, 14, 9781, 1202, 286, 1343, 16, 25, 1558, 13, 17464, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 3510, 33411, 10706, 1875, 807, 5357, 640, 62, 1186, 1202, 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 ]
[ 13828, 28407, 273, 468, 257, 24846, 4025, 621, 807, 11, 290, 257, 3862, 14, 9781, 1202, 286, 1343, 16, 25, 1558, 13, 17464, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 3510, 33411, 10706, 1875, 807, 5357, 640, 62, 1186, 1202, 796, ...
Show the apartment numbers, start dates, and end dates of all the apartment bookings.
SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM apartment_bookings AS T1 JOIN apartments AS T2 ON T1.apt_id = T2.apt_id
[ 15307, 262, 7962, 3146, 11, 923, 9667, 11, 290, 886, 9667, 286, 477, 262, 7962, 1492, 654, 13, 46506, 309, 17, 13, 2373, 62, 17618, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7962, 3146, 11, 923, 9667, 11, 290, 886, 9667, 286, 477, 262, 7962, 1492, 654, 13, 46506, 309, 17, 13, 2373, 62, 17618, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, 11, 309, 16, 13, 2070, 278, 62, 9688, 62, 4475, ...
Who was played against when there was a loss and in the gi po round?
SELECT "Against" FROM table_26153 WHERE "W/L" = 'Loss' AND "Round" = 'GI PO'
[ 8241, 373, 2826, 1028, 618, 612, 373, 257, 2994, 290, 287, 262, 308, 72, 745, 2835, 30, 46506, 366, 39276, 1, 16034, 3084, 62, 2075, 21395, 33411, 366, 54, 14, 43, 1, 796, 705, 43, 793, 6, 5357, 366, 22685, 1, 796, 705, 18878, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2826, 1028, 618, 612, 373, 257, 2994, 290, 287, 262, 308, 72, 745, 2835, 30, 46506, 366, 39276, 1, 16034, 3084, 62, 2075, 21395, 33411, 366, 54, 14, 43, 1, 796, 705, 43, 793, 6, 5357, 366, 22685, 1, 796, 705, 18878, 1...
For those records from the products and each product's manufacturer, give me the comparison about the average of revenue over the name , and group by attribute name by a bar chart.
SELECT T2.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6426, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 416, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1577, 502, 262, 7208, 546, 262, 2811, 286, 6426, 625, 262, 1438, 837, 290, 1448, 416, 11688, 1438, 416, 257, 2318, 8262, 13, 46506, 309, 17, 13, 5376, 11, 309, 17, ...
What is the record of the game with 35 points and pittsburgh as the home team?
SELECT record FROM table_name_77 WHERE home = "pittsburgh" AND points = 35
[ 2061, 318, 262, 1700, 286, 262, 983, 351, 3439, 2173, 290, 279, 715, 11931, 355, 262, 1363, 1074, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3324, 33411, 1363, 796, 366, 79, 715, 11931, 1, 5357, 2173, 796, 3439 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1700, 286, 262, 983, 351, 3439, 2173, 290, 279, 715, 11931, 355, 262, 1363, 1074, 30, 46506, 1700, 16034, 3084, 62, 3672, 62, 3324, 33411, 1363, 796, 366, 79, 715, 11931, 1, 5357, 2173, 796, 3439 ]
Show the apartment type codes and apartment numbers in the buildings managed by 'Kyle'.
SELECT T2.apt_type_code, T2.apt_number FROM apartment_buildings AS T1 JOIN apartments AS T2 ON T1.building_id = T2.building_id WHERE T1.building_manager = "Kyle"
[ 15307, 262, 7962, 2099, 12416, 290, 7962, 3146, 287, 262, 6832, 5257, 416, 705, 42516, 4458, 46506, 309, 17, 13, 2373, 62, 4906, 62, 8189, 11, 309, 17, 13, 2373, 62, 17618, 16034, 7962, 62, 11249, 654, 7054, 309, 16, 32357, 1268, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 262, 7962, 2099, 12416, 290, 7962, 3146, 287, 262, 6832, 5257, 416, 705, 42516, 4458, 46506, 309, 17, 13, 2373, 62, 4906, 62, 8189, 11, 309, 17, 13, 2373, 62, 17618, 16034, 7962, 62, 11249, 654, 7054, 309, 16, 32357, 1268, 19...
What is the population associated with latitude 48.676125?
SELECT MAX("Pop. (2010)") FROM table_22472 WHERE "Latitude" = '48.676125'
[ 2061, 318, 262, 3265, 3917, 351, 32477, 4764, 13, 42548, 11623, 30, 46506, 25882, 7203, 16979, 13, 357, 10333, 8, 4943, 16034, 3084, 62, 24137, 4761, 33411, 366, 24220, 3984, 1, 796, 705, 2780, 13, 42548, 11623, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3265, 3917, 351, 32477, 4764, 13, 42548, 11623, 30, 46506, 25882, 7203, 16979, 13, 357, 10333, 8, 4943, 16034, 3084, 62, 24137, 4761, 33411, 366, 24220, 3984, 1, 796, 705, 2780, 13, 42548, 11623, 6 ]
What is the smallest goal during the 2006 fifa world cup qualification competition?
SELECT MIN("Goal") FROM table_69617 WHERE "Competition" = '2006 fifa world cup qualification'
[ 2061, 318, 262, 18197, 3061, 1141, 262, 4793, 5515, 64, 995, 6508, 28587, 5449, 30, 46506, 20625, 7203, 49045, 4943, 16034, 3084, 62, 38205, 1558, 33411, 366, 7293, 15620, 1, 796, 705, 13330, 5515, 64, 995, 6508, 28587, 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 ]
[ 2061, 318, 262, 18197, 3061, 1141, 262, 4793, 5515, 64, 995, 6508, 28587, 5449, 30, 46506, 20625, 7203, 49045, 4943, 16034, 3084, 62, 38205, 1558, 33411, 366, 7293, 15620, 1, 796, 705, 13330, 5515, 64, 995, 6508, 28587, 6 ]
Users with one [identification] question and no answers (original).
SELECT Users.Id AS "user_link", Posts.Id AS "post_link" FROM Users INNER JOIN Posts ON Posts.OwnerUserId = Users.Id INNER JOIN PostTags ON Posts.Id = PostTags.PostId INNER JOIN Tags ON Tags.Id = PostTags.TagId WHERE Tags.TagName LIKE 'identification' AND Posts.ParentId IS NULL AND Users.Id IN (SELECT Users.Id FROM User...
[ 14490, 351, 530, 685, 738, 2649, 60, 1808, 290, 645, 7429, 357, 14986, 737, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 18987, 3268, 21479, 32357, 1268, 12043, 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, 1...
[ 14490, 351, 530, 685, 738, 2649, 60, 1808, 290, 645, 7429, 357, 14986, 737, 46506, 18987, 13, 7390, 7054, 366, 7220, 62, 8726, 1600, 12043, 13, 7390, 7054, 366, 7353, 62, 8726, 1, 16034, 18987, 3268, 21479, 32357, 1268, 12043, 6177, 1...
Track Voting Activity by Time Window (Obfuscated) :-(.
WITH VotesDispersion AS (SELECT OwnerUserId, TIME_TO_STR(Votes.CreationDate, '%h') AS Hour FROM Posts INNER JOIN Votes ON Votes.PostId = Posts.Id AND VoteTypeId = 2 WHERE OwnerUserId = @UserId OR @UserId = 0) SELECT OwnerUserId, Hour, COUNT(*) AS VoteCount FROM VotesDispersion GROUP BY OwnerUserId, Hour ORDER BY OwnerU...
[ 24802, 30061, 24641, 416, 3862, 26580, 357, 5944, 37695, 515, 8, 1058, 30420, 13, 54, 10554, 39584, 7279, 79, 6900, 7054, 357, 46506, 23853, 12982, 7390, 11, 20460, 62, 10468, 62, 18601, 7, 53, 6421, 13, 12443, 341, 10430, 11, 705, 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...
[ 24802, 30061, 24641, 416, 3862, 26580, 357, 5944, 37695, 515, 8, 1058, 30420, 13, 54, 10554, 39584, 7279, 79, 6900, 7054, 357, 46506, 23853, 12982, 7390, 11, 20460, 62, 10468, 62, 18601, 7, 53, 6421, 13, 12443, 341, 10430, 11, 705, 4,...
What was the attendance at the game that had a loss of Ayala (6-12)?
SELECT "Attendance" FROM table_71541 WHERE "Loss" = 'ayala (6-12)'
[ 2061, 373, 262, 14858, 379, 262, 983, 326, 550, 257, 2994, 286, 13709, 6081, 357, 21, 12, 1065, 19427, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 22, 1314, 3901, 33411, 366, 43, 793, 1, 796, 705, 323, 6081, 357, 21, 12, 1065,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14858, 379, 262, 983, 326, 550, 257, 2994, 286, 13709, 6081, 357, 21, 12, 1065, 19427, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 22, 1314, 3901, 33411, 366, 43, 793, 1, 796, 705, 323, 6081, 357, 21, 12, 1065,...
What was Holly Scouler's total votes
SELECT "Total Votes" FROM table_79370 WHERE "Members" = 'holly scouler'
[ 2061, 373, 7764, 1446, 280, 1754, 338, 2472, 5690, 46506, 366, 14957, 39584, 1, 16034, 3084, 62, 3720, 20167, 33411, 366, 25341, 1, 796, 705, 71, 5098, 629, 280, 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, 1 ]
[ 2061, 373, 7764, 1446, 280, 1754, 338, 2472, 5690, 46506, 366, 14957, 39584, 1, 16034, 3084, 62, 3720, 20167, 33411, 366, 25341, 1, 796, 705, 71, 5098, 629, 280, 1754, 6 ]
What was the score of the player who played against Wong Choong Hann in the Dutch Open?
SELECT "Score" FROM table_69364 WHERE "Tournament" = 'dutch open' AND "Opponent" = 'wong choong hann'
[ 2061, 373, 262, 4776, 286, 262, 2137, 508, 2826, 1028, 27247, 10031, 506, 14353, 287, 262, 10914, 4946, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 26780, 33411, 366, 51, 5138, 1, 796, 705, 67, 7140, 1280, 6, 5357, 366, 27524, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 286, 262, 2137, 508, 2826, 1028, 27247, 10031, 506, 14353, 287, 262, 10914, 4946, 30, 46506, 366, 26595, 1, 16034, 3084, 62, 3388, 26780, 33411, 366, 51, 5138, 1, 796, 705, 67, 7140, 1280, 6, 5357, 366, 27524, ...
What is the home teams score at Victoria Park?
SELECT home_team AS score FROM table_name_31 WHERE venue = "victoria park"
[ 2061, 318, 262, 1363, 3466, 4776, 379, 12313, 3250, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3132, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1363, 3466, 4776, 379, 12313, 3250, 30, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 3132, 33411, 14359, 796, 366, 32433, 7661, 3952, 1 ]
when was the first time patient 15945 had open wound of scalp in the current hospital visit diagnosed?
SELECT diagnoses_icd.charttime FROM diagnoses_icd WHERE diagnoses_icd.icd9_code = (SELECT d_icd_diagnoses.icd9_code FROM d_icd_diagnoses WHERE d_icd_diagnoses.short_title = 'open wound of scalp') AND diagnoses_icd.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 15945 AND admissions.d...
[ 12518, 373, 262, 717, 640, 5827, 26422, 2231, 550, 1280, 11699, 286, 39287, 287, 262, 1459, 4436, 3187, 14641, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 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...
[ 12518, 373, 262, 717, 640, 5827, 26422, 2231, 550, 1280, 11699, 286, 39287, 287, 262, 1459, 4436, 3187, 14641, 30, 46506, 40567, 62, 291, 67, 13, 40926, 2435, 16034, 40567, 62, 291, 67, 33411, 40567, 62, 291, 67, 13, 291, 67, 24, 62...
What is the latest year of last final for the club whose last title was in 1994?
SELECT MAX(last_final) FROM table_2869837_1 WHERE last_title = "1994"
[ 2061, 318, 262, 3452, 614, 286, 938, 2457, 329, 262, 3430, 3025, 938, 3670, 373, 287, 9162, 30, 46506, 25882, 7, 12957, 62, 20311, 8, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 7839, 796, 366, 22666, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 614, 286, 938, 2457, 329, 262, 3430, 3025, 938, 3670, 373, 287, 9162, 30, 46506, 25882, 7, 12957, 62, 20311, 8, 16034, 3084, 62, 2078, 39357, 2718, 62, 16, 33411, 938, 62, 7839, 796, 366, 22666, 1 ]
How many hypoxemia patients were admitted in or before the year 2144?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2144" AND diagnoses.short_title = "Hypoxemia"
[ 2437, 867, 5328, 1140, 22859, 3871, 547, 6848, 287, 393, 878, 262, 614, 362, 18444, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 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...
[ 2437, 867, 5328, 1140, 22859, 3871, 547, 6848, 287, 393, 878, 262, 614, 362, 18444, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728, 13, 18108, 7...
what is the population where the area (sq. mi.) is area (sq. mi.)?
SELECT "Population" FROM table_72275 WHERE "Area (sq. mi.)" = 'Area (sq. mi.)'
[ 10919, 318, 262, 3265, 810, 262, 1989, 357, 31166, 13, 21504, 2014, 318, 1989, 357, 31166, 13, 21504, 2014, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 22, 1828, 2425, 33411, 366, 30547, 357, 31166, 13, 21504, 2014, 1, 796, 705, 30547,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 810, 262, 1989, 357, 31166, 13, 21504, 2014, 318, 1989, 357, 31166, 13, 21504, 2014, 30, 46506, 366, 45251, 1, 16034, 3084, 62, 22, 1828, 2425, 33411, 366, 30547, 357, 31166, 13, 21504, 2014, 1, 796, 705, 30547,...
What is the Shropshire Senior Cup when points are greater than 78 and FA Cup is pre?
SELECT shropshire_senior_cup FROM table_name_44 WHERE points > 78 AND fa_cup = "pre"
[ 2061, 318, 262, 911, 305, 862, 10695, 14017, 5454, 618, 2173, 389, 3744, 621, 8699, 290, 9677, 5454, 318, 662, 30, 46506, 427, 305, 862, 10695, 62, 6248, 1504, 62, 25244, 16034, 3084, 62, 3672, 62, 2598, 33411, 2173, 1875, 8699, 5357,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 911, 305, 862, 10695, 14017, 5454, 618, 2173, 389, 3744, 621, 8699, 290, 9677, 5454, 318, 662, 30, 46506, 427, 305, 862, 10695, 62, 6248, 1504, 62, 25244, 16034, 3084, 62, 3672, 62, 2598, 33411, 2173, 1875, 8699, 5357,...
What is the lowest league goals that have 0 as the FA Cup Apps, with 1 (3) as totals apps?
SELECT MIN("League Goals") FROM table_58797 WHERE "FA Cup Apps" = '0' AND "Total Apps" = '1 (3)'
[ 2061, 318, 262, 9016, 4652, 4661, 326, 423, 657, 355, 262, 9677, 5454, 27710, 11, 351, 352, 357, 18, 8, 355, 26310, 6725, 30, 46506, 20625, 7203, 24623, 28510, 4943, 16034, 3084, 62, 3365, 44673, 33411, 366, 7708, 5454, 27710, 1, 796,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 9016, 4652, 4661, 326, 423, 657, 355, 262, 9677, 5454, 27710, 11, 351, 352, 357, 18, 8, 355, 26310, 6725, 30, 46506, 20625, 7203, 24623, 28510, 4943, 16034, 3084, 62, 3365, 44673, 33411, 366, 7708, 5454, 27710, 1, 796,...
What was the title of episode 3?
SELECT "Episode" FROM table_26306 WHERE "No." = '3'
[ 2061, 373, 262, 3670, 286, 4471, 513, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 2075, 20548, 33411, 366, 2949, 526, 796, 705, 18, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3670, 286, 4471, 513, 30, 46506, 366, 23758, 1, 16034, 3084, 62, 2075, 20548, 33411, 366, 2949, 526, 796, 705, 18, 6 ]
find the number of patients whose admission location is clinic refferal/premature and procedure icd9 code is 45.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.icd9_code = "45"
[ 19796, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 302, 487, 1691, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 4153, 13, 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...
[ 19796, 262, 1271, 286, 3871, 3025, 13938, 4067, 318, 15760, 302, 487, 1691, 14, 31605, 1300, 290, 8771, 14158, 67, 24, 2438, 318, 4153, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
Find the name and budget of departments whose budgets are more than the average budget Visualize by bar chart, and display names in descending order.
SELECT dept_name, budget FROM department WHERE budget > (SELECT AVG(budget) FROM department) ORDER BY dept_name DESC
[ 16742, 262, 1438, 290, 4466, 286, 13346, 3025, 21011, 389, 517, 621, 262, 2811, 4466, 15612, 1096, 416, 2318, 8262, 11, 290, 3359, 3891, 287, 31491, 1502, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4466, 1875, 357, 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 ]
[ 16742, 262, 1438, 290, 4466, 286, 13346, 3025, 21011, 389, 517, 621, 262, 2811, 4466, 15612, 1096, 416, 2318, 8262, 11, 290, 3359, 3891, 287, 31491, 1502, 13, 46506, 390, 457, 62, 3672, 11, 4466, 16034, 5011, 33411, 4466, 1875, 357, 4...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of revenue , and group by attribute name, I want to rank by the the average of revenue in asc.
SELECT T2.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Revenue
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 4279, 416, 262, 262, 2811, 286, 6426...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 1438, 290, 262, 2811, 286, 6426, 837, 290, 1448, 416, 11688, 1438, 11, 314, 765, 284, 4279, 416, 262, 262, 2811, 286, 6426...
What is the total of televote for the artist Pokeris when the place was less than 10?
SELECT SUM("Televote") FROM table_7710 WHERE "Artist" = 'pokeris' AND "Place" < '10'
[ 2061, 318, 262, 2472, 286, 22884, 1258, 329, 262, 6802, 36157, 271, 618, 262, 1295, 373, 1342, 621, 838, 30, 46506, 35683, 7203, 6767, 2768, 1258, 4943, 16034, 3084, 62, 3324, 940, 33411, 366, 43020, 1, 796, 705, 79, 11020, 271, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2472, 286, 22884, 1258, 329, 262, 6802, 36157, 271, 618, 262, 1295, 373, 1342, 621, 838, 30, 46506, 35683, 7203, 6767, 2768, 1258, 4943, 16034, 3084, 62, 3324, 940, 33411, 366, 43020, 1, 796, 705, 79, 11020, 271, 6, ...
What are the listings in the Valdez-cordova (census area) Borough?
SELECT "Listed" FROM table_47773 WHERE "Borough" = 'valdez-cordova (census area)'
[ 2061, 389, 262, 26890, 287, 262, 38552, 8471, 12, 66, 585, 10071, 357, 66, 7314, 1989, 8, 48114, 30, 46506, 366, 43, 6347, 1, 16034, 3084, 62, 2857, 46871, 33411, 366, 33, 7985, 1, 796, 705, 85, 1940, 8471, 12, 66, 585, 10071, 357...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 389, 262, 26890, 287, 262, 38552, 8471, 12, 66, 585, 10071, 357, 66, 7314, 1989, 8, 48114, 30, 46506, 366, 43, 6347, 1, 16034, 3084, 62, 2857, 46871, 33411, 366, 33, 7985, 1, 796, 705, 85, 1940, 8471, 12, 66, 585, 10071, 357...
What was the result when the new england patriots played?
SELECT "Result" FROM table_5950 WHERE "Opponent" = 'new england patriots'
[ 2061, 373, 262, 1255, 618, 262, 649, 1786, 1044, 12650, 1747, 2826, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3270, 1120, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 1786, 1044, 12650, 1747, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 1255, 618, 262, 649, 1786, 1044, 12650, 1747, 2826, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 3270, 1120, 33411, 366, 27524, 3471, 1, 796, 705, 3605, 1786, 1044, 12650, 1747, 6 ]
How many staff does each project has? List the project id and the number in an ascending order. Visualize by scatter chart.
SELECT T1.project_id, COUNT(*) FROM Project_Staff AS T1 JOIN Projects AS T2 ON T1.project_id = T2.project_id GROUP BY T1.project_id ORDER BY COUNT(*)
[ 2437, 867, 3085, 857, 1123, 1628, 468, 30, 7343, 262, 1628, 4686, 290, 262, 1271, 287, 281, 41988, 1502, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 309, 16, 13, 16302, 62, 312, 11, 327, 28270, 7, 28104, 16034, 4935, 62, 31449, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2437, 867, 3085, 857, 1123, 1628, 468, 30, 7343, 262, 1628, 4686, 290, 262, 1271, 287, 281, 41988, 1502, 13, 15612, 1096, 416, 41058, 8262, 13, 46506, 309, 16, 13, 16302, 62, 312, 11, 327, 28270, 7, 28104, 16034, 4935, 62, 31449, 70...