instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Average score of a first question (per day, between dates).
WITH firstpostids_cte AS (SELECT MIN(Id) AS MinId, OwnerUserId FROM Posts WHERE PostTypeId = 1 GROUP BY OwnerUserId, OwnerDisplayName), firstpostsscore_cte AS (SELECT p.Id, p.CreationDate AS cre, p.Score AS sco FROM firstpostids_cte AS fp JOIN Posts AS p ON fp.MinId = p.Id) SELECT DATE(cre), AVG(CAST(sco AS FLOAT)) FRO...
[ 26287, 4776, 286, 257, 717, 1808, 357, 525, 1110, 11, 1022, 9667, 737, 54, 10554, 717, 7353, 2340, 62, 310, 68, 7054, 357, 46506, 20625, 7, 7390, 8, 7054, 1855, 7390, 11, 23853, 12982, 7390, 16034, 12043, 33411, 2947, 6030, 7390, 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...
[ 26287, 4776, 286, 257, 717, 1808, 357, 525, 1110, 11, 1022, 9667, 737, 54, 10554, 717, 7353, 2340, 62, 310, 68, 7054, 357, 46506, 20625, 7, 7390, 8, 7054, 1855, 7390, 11, 23853, 12982, 7390, 16034, 12043, 33411, 2947, 6030, 7390, 796,...
What number is the Canadian Grand Prix on the list?
SELECT "Rd." FROM table_16639 WHERE "Grand Prix" = 'Canadian Grand Prix'
[ 2061, 1271, 318, 262, 5398, 5675, 23832, 319, 262, 1351, 30, 46506, 366, 49, 67, 526, 16034, 3084, 62, 23055, 2670, 33411, 366, 23581, 23832, 1, 796, 705, 28203, 5675, 23832, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1271, 318, 262, 5398, 5675, 23832, 319, 262, 1351, 30, 46506, 366, 49, 67, 526, 16034, 3084, 62, 23055, 2670, 33411, 366, 23581, 23832, 1, 796, 705, 28203, 5675, 23832, 6 ]
What line is 24.7 km and head towards Toyohashi East?
SELECT "Name" FROM table_71497 WHERE "Direction" = 'toyohashi east' AND "Length (km)" = '24.7'
[ 2061, 1627, 318, 1987, 13, 22, 10571, 290, 1182, 3371, 10977, 1219, 12144, 3687, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 45722, 5607, 33411, 366, 35, 4154, 1, 796, 705, 83, 726, 1219, 12144, 7627, 6, 5357, 366, 24539, 357, 13276, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1627, 318, 1987, 13, 22, 10571, 290, 1182, 3371, 10977, 1219, 12144, 3687, 30, 46506, 366, 5376, 1, 16034, 3084, 62, 45722, 5607, 33411, 366, 35, 4154, 1, 796, 705, 83, 726, 1219, 12144, 7627, 6, 5357, 366, 24539, 357, 13276, ...
All of a user's edits of other users' posts.
SELECT a.UserId AS "user_link", a.PostId AS "post_link", Comment, * FROM PostHistory AS a INNER JOIN Posts AS b ON a.PostId = b.Id WHERE a.PostHistoryTypeId = 5 AND b.CreationDate < '2014-01-01' AND a.CreationDate >= '2017-01-01' AND a.UserId = '##UserId##'
[ 3237, 286, 257, 2836, 338, 31671, 286, 584, 2985, 6, 6851, 13, 46506, 257, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 18957, 11, 1635, 16034, 2947, 18122, 7054, 257, 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...
[ 3237, 286, 257, 2836, 338, 31671, 286, 584, 2985, 6, 6851, 13, 46506, 257, 13, 12982, 7390, 7054, 366, 7220, 62, 8726, 1600, 257, 13, 6307, 7390, 7054, 366, 7353, 62, 8726, 1600, 18957, 11, 1635, 16034, 2947, 18122, 7054, 257, 3268, ...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of founder and the average of manufacturer , and group by attribute founder, rank by the bars in asc.
SELECT Founder, AVG(Manufacturer) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 4279, 416, 262, 9210, 287, 10570, 13, 46506, 30153, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4406, 422, 262, 3186, 290, 1123, 1720, 338, 11554, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 9119, 290, 262, 2811, 286, 11554, 837, 290, 1448, 416, 11688, 9119, 11, 4279, 416, 262, 9210, 287, 10570, 13, 46506, 30153, ...
how many buildings on this table are taller than 450 feet ?
SELECT COUNT("name") FROM table_203_837 WHERE "height\nft / m" > 450
[ 4919, 867, 6832, 319, 428, 3084, 389, 25242, 621, 18523, 3625, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 23, 2718, 33411, 366, 17015, 59, 77, 701, 1220, 285, 1, 1875, 18523 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6832, 319, 428, 3084, 389, 25242, 621, 18523, 3625, 5633, 46506, 327, 28270, 7203, 3672, 4943, 16034, 3084, 62, 22416, 62, 23, 2718, 33411, 366, 17015, 59, 77, 701, 1220, 285, 1, 1875, 18523 ]
which channel will have play by play commentator Paul Sunderland, Studio Host Bill Macdonald and Studi Analysty Jack Haley?
SELECT channel FROM table_name_82 WHERE play_by_play = "paul sunderland" AND studio_host = "bill macdonald" AND studio_analysts = "jack haley"
[ 4758, 6518, 481, 423, 711, 416, 711, 28823, 3362, 35706, 11, 11733, 14504, 3941, 4100, 40915, 290, 3604, 72, 16213, 34365, 3619, 30646, 30, 46506, 6518, 16034, 3084, 62, 3672, 62, 6469, 33411, 711, 62, 1525, 62, 1759, 796, 366, 79, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6518, 481, 423, 711, 416, 711, 28823, 3362, 35706, 11, 11733, 14504, 3941, 4100, 40915, 290, 3604, 72, 16213, 34365, 3619, 30646, 30, 46506, 6518, 16034, 3084, 62, 3672, 62, 6469, 33411, 711, 62, 1525, 62, 1759, 796, 366, 79, 25...
How many people attended the game when the away team was dynamo kyiv, and a Home team of torpedo zaporizhia?
SELECT "Attendance" FROM table_71349 WHERE "Away team" = 'dynamo kyiv' AND "Home team" = 'torpedo zaporizhia'
[ 2437, 867, 661, 9141, 262, 983, 618, 262, 1497, 1074, 373, 6382, 78, 479, 88, 452, 11, 290, 257, 5995, 1074, 286, 39023, 1976, 12687, 528, 71, 544, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 50055, 2920, 33411, 366, 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, 1...
[ 2437, 867, 661, 9141, 262, 983, 618, 262, 1497, 1074, 373, 6382, 78, 479, 88, 452, 11, 290, 257, 5995, 1074, 286, 39023, 1976, 12687, 528, 71, 544, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 50055, 2920, 33411, 366, 32, 1...
Find the department name and room of the course INTRODUCTION TO COMPUTER SCIENCE.
SELECT T2.dname, T2.room FROM course AS T1 JOIN department AS T2 ON T1.dno = T2.dno WHERE T1.cname = "INTRODUCTION TO COMPUTER SCIENCE"
[ 16742, 262, 5011, 1438, 290, 2119, 286, 262, 1781, 3268, 5446, 28644, 2849, 5390, 24301, 3843, 1137, 6374, 42589, 13, 46506, 309, 17, 13, 67, 3672, 11, 309, 17, 13, 3823, 16034, 1781, 7054, 309, 16, 32357, 1268, 5011, 7054, 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...
[ 16742, 262, 5011, 1438, 290, 2119, 286, 262, 1781, 3268, 5446, 28644, 2849, 5390, 24301, 3843, 1137, 6374, 42589, 13, 46506, 309, 17, 13, 67, 3672, 11, 309, 17, 13, 3823, 16034, 1781, 7054, 309, 16, 32357, 1268, 5011, 7054, 309, 17, ...
let me know the death status and days for which patient paul dunn was hospitalized.
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.name = "Paul Dunn"
[ 1616, 502, 760, 262, 1918, 3722, 290, 1528, 329, 543, 5827, 279, 2518, 12574, 77, 373, 31736, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 30833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 1616, 502, 760, 262, 1918, 3722, 290, 1528, 329, 543, 5827, 279, 2518, 12574, 77, 373, 31736, 13, 46506, 16728, 13, 12545, 62, 31712, 11, 16728, 13, 1069, 5111, 62, 32109, 16034, 16728, 33411, 16728, 13, 3672, 796, 366, 12041, 30833, ...
Show all artist names and the number of exhibitions for each artist in a bar chart, I want to order in descending by the total number.
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID ORDER BY COUNT(*) DESC
[ 15307, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 287, 257, 2318, 8262, 11, 314, 765, 284, 1502, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 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, 477, 6802, 3891, 290, 262, 1271, 286, 48130, 329, 1123, 6802, 287, 257, 2318, 8262, 11, 314, 765, 284, 1502, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 6530, 11, 327, 28270, 7, 28104, 16034, 17127, 7054, 309, 16, 32357, 1268,...
Which films does the actor Alla Sergiyko star in?
SELECT film_name FROM table_10236830_6 WHERE actors_name = "Alla Sergiyko"
[ 13828, 7328, 857, 262, 8674, 1439, 64, 2930, 70, 7745, 7204, 3491, 287, 30, 46506, 2646, 62, 3672, 16034, 3084, 62, 940, 1954, 3104, 1270, 62, 21, 33411, 10544, 62, 3672, 796, 366, 3237, 64, 2930, 70, 7745, 7204, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7328, 857, 262, 8674, 1439, 64, 2930, 70, 7745, 7204, 3491, 287, 30, 46506, 2646, 62, 3672, 16034, 3084, 62, 940, 1954, 3104, 1270, 62, 21, 33411, 10544, 62, 3672, 796, 366, 3237, 64, 2930, 70, 7745, 7204, 1 ]
What was the age of the member of the United States House of Representatives that began their term on May 7, 1886?
SELECT age__years, _days_ FROM table_name_66 WHERE begin_date = "may 7, 1886"
[ 2061, 373, 262, 2479, 286, 262, 2888, 286, 262, 1578, 1829, 2097, 286, 17132, 326, 2540, 511, 3381, 319, 1737, 767, 11, 49539, 30, 46506, 2479, 834, 19002, 11, 4808, 12545, 62, 16034, 3084, 62, 3672, 62, 2791, 33411, 2221, 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 ]
[ 2061, 373, 262, 2479, 286, 262, 2888, 286, 262, 1578, 1829, 2097, 286, 17132, 326, 2540, 511, 3381, 319, 1737, 767, 11, 49539, 30, 46506, 2479, 834, 19002, 11, 4808, 12545, 62, 16034, 3084, 62, 3672, 62, 2791, 33411, 2221, 62, 4475, ...
Show all product names and the number of customers having an order on each product.
SELECT T2.product_name, COUNT(*) FROM Order_items AS T1 JOIN Products AS T2 ON T1.product_id = T2.product_id JOIN Orders AS T3 ON T3.order_id = T1.order_id GROUP BY T2.product_name
[ 15307, 477, 1720, 3891, 290, 262, 1271, 286, 4297, 1719, 281, 1502, 319, 1123, 1720, 13, 46506, 309, 17, 13, 11167, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 8284, 62, 23814, 7054, 309, 16, 32357, 1268, 18675, 7054, 309, 17, 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...
[ 15307, 477, 1720, 3891, 290, 262, 1271, 286, 4297, 1719, 281, 1502, 319, 1123, 1720, 13, 46506, 309, 17, 13, 11167, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 8284, 62, 23814, 7054, 309, 16, 32357, 1268, 18675, 7054, 309, 17, 6177, ...
Find the names of artists that do not have any albums.
SELECT name FROM artist EXCEPT SELECT T2.name FROM album AS T1 JOIN artist AS T2 ON T1.artistid = T2.artistid
[ 16742, 262, 3891, 286, 7912, 326, 466, 407, 423, 597, 16788, 13, 46506, 1438, 16034, 6802, 7788, 42006, 33493, 309, 17, 13, 3672, 16034, 5062, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17, 6177, 309, 16, 13, 49016, 312, 796, 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 ]
[ 16742, 262, 3891, 286, 7912, 326, 466, 407, 423, 597, 16788, 13, 46506, 1438, 16034, 6802, 7788, 42006, 33493, 309, 17, 13, 3672, 16034, 5062, 7054, 309, 16, 32357, 1268, 6802, 7054, 309, 17, 6177, 309, 16, 13, 49016, 312, 796, 309, ...
how many patients diagnosed under icd9 code e9394 are female?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.icd9_code = "E9394"
[ 4919, 867, 3871, 14641, 739, 14158, 67, 24, 2438, 304, 24, 34626, 389, 4048, 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, 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, 14641, 739, 14158, 67, 24, 2438, 304, 24, 34626, 389, 4048, 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, 76, 62, ...
The position that has a pick # of 16 is what?
SELECT "Position" FROM table_31915 WHERE "Pick #" = '16'
[ 464, 2292, 326, 468, 257, 2298, 1303, 286, 1467, 318, 644, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 35175, 1314, 33411, 366, 31686, 1303, 1, 796, 705, 1433, 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 ]
[ 464, 2292, 326, 468, 257, 2298, 1303, 286, 1467, 318, 644, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 35175, 1314, 33411, 366, 31686, 1303, 1, 796, 705, 1433, 6 ]
A bar chart about how films are produced by each studio?, sort by the bars from high to low.
SELECT Studio, COUNT(*) FROM film GROUP BY Studio ORDER BY Studio DESC
[ 32, 2318, 8262, 546, 703, 7328, 389, 4635, 416, 1123, 8034, 21747, 3297, 416, 262, 9210, 422, 1029, 284, 1877, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733, 38678, 11050, 11733, 22196, 34 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 32, 2318, 8262, 546, 703, 7328, 389, 4635, 416, 1123, 8034, 21747, 3297, 416, 262, 9210, 422, 1029, 284, 1877, 13, 46506, 11733, 11, 327, 28270, 7, 28104, 16034, 2646, 44441, 11050, 11733, 38678, 11050, 11733, 22196, 34 ]
In what Year was the Film Your National Gallery winner?
SELECT "Year" FROM table_13678 WHERE "Film" = 'your national gallery'
[ 818, 644, 6280, 373, 262, 13741, 3406, 2351, 12917, 8464, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1485, 30924, 33411, 366, 39750, 1, 796, 705, 14108, 2260, 15604, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 644, 6280, 373, 262, 13741, 3406, 2351, 12917, 8464, 30, 46506, 366, 17688, 1, 16034, 3084, 62, 1485, 30924, 33411, 366, 39750, 1, 796, 705, 14108, 2260, 15604, 6 ]
What game site had a result at l 21 13?
SELECT "Game site" FROM table_34097 WHERE "Result" = 'l 21–13'
[ 2061, 983, 2524, 550, 257, 1255, 379, 300, 2310, 1511, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 23601, 5607, 33411, 366, 23004, 1, 796, 705, 75, 2310, 1906, 1485, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 983, 2524, 550, 257, 1255, 379, 300, 2310, 1511, 30, 46506, 366, 8777, 2524, 1, 16034, 3084, 62, 23601, 5607, 33411, 366, 23004, 1, 796, 705, 75, 2310, 1906, 1485, 6 ]
tell me the number of inpatient hospital admission patients who have cardiac tamponade diagnoses.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND diagnoses.short_title = "Cardiac tamponade"
[ 33331, 502, 262, 1271, 286, 287, 26029, 4436, 13938, 3871, 508, 423, 26077, 47039, 261, 671, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 33331, 502, 262, 1271, 286, 287, 26029, 4436, 13938, 3871, 508, 423, 26077, 47039, 261, 671, 40567, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, 40567, 6177, 16728...
patient 010-36899 was prescribed senokot-s tab since 10/2104?
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '010-36899')) AND medication.drugname = 'senokot-s tab' AND STRFTIME('%y-%m...
[ 26029, 5534, 15, 12, 27412, 2079, 373, 14798, 3308, 482, 313, 12, 82, 7400, 1201, 838, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26029, 5534, 15, 12, 27412, 2079, 373, 14798, 3308, 482, 313, 12, 82, 7400, 1201, 838, 14, 17, 13464, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26...
Which Score has a Record of 18 11 5?
SELECT score FROM table_name_85 WHERE record = "18–11–5"
[ 13828, 15178, 468, 257, 13266, 286, 1248, 1367, 642, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5332, 33411, 1700, 796, 366, 1507, 1906, 1157, 1906, 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 ]
[ 13828, 15178, 468, 257, 13266, 286, 1248, 1367, 642, 30, 46506, 4776, 16034, 3084, 62, 3672, 62, 5332, 33411, 1700, 796, 366, 1507, 1906, 1157, 1906, 20, 1 ]
Find the average of credits of courses that have more than one prerequisite for each department with a bar chart, and sort in desc by the Y please.
SELECT dept_name, AVG(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY AVG(credits) DESC
[ 16742, 262, 2811, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 290, 3297, 287, 1715, 416, 262, 575, 3387, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2811, 286, 10824, 286, 10902, 326, 423, 517, 621, 530, 43119, 329, 1123, 5011, 351, 257, 2318, 8262, 11, 290, 3297, 287, 1715, 416, 262, 575, 3387, 13, 46506, 390, 457, 62, 3672, 11, 35224, 7, 66, 20696, 8, 16034, 1781, ...
Which Position has a Pick # smaller than 23, and a Player of garrett sutherland?
SELECT "Position" FROM table_48381 WHERE "Pick #" < '23' AND "Player" = 'garrett sutherland'
[ 13828, 23158, 468, 257, 12346, 1303, 4833, 621, 2242, 11, 290, 257, 7853, 286, 5482, 11489, 264, 45384, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2780, 36626, 33411, 366, 31686, 1303, 1, 1279, 705, 1954, 6, 5357, 366, 14140, 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 ]
[ 13828, 23158, 468, 257, 12346, 1303, 4833, 621, 2242, 11, 290, 257, 7853, 286, 5482, 11489, 264, 45384, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 2780, 36626, 33411, 366, 31686, 1303, 1, 1279, 705, 1954, 6, 5357, 366, 14140, 1, 796, ...
Show all cities and corresponding number of students by a bar chart, and display in desc by the bars.
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code DESC
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 416, 257, 2318, 8262, 11, 290, 3359, 287, 1715, 416, 262, 9210, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, 1748, 62, 81...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 477, 4736, 290, 11188, 1271, 286, 2444, 416, 257, 2318, 8262, 11, 290, 3359, 287, 1715, 416, 262, 9210, 13, 46506, 1748, 62, 8189, 11, 327, 28270, 7, 28104, 16034, 13613, 44441, 11050, 1748, 62, 8189, 38678, 11050, 1748, 62, 81...
SELECT * FROM Posts WHERE Id=0.
SELECT * FROM Posts WHERE Id = 0
[ 46506, 1635, 16034, 12043, 33411, 5121, 28, 15, 13, 46506, 1635, 16034, 12043, 33411, 5121, 796, 657 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 46506, 1635, 16034, 12043, 33411, 5121, 28, 15, 13, 46506, 1635, 16034, 12043, 33411, 5121, 796, 657 ]
Which unit has a Pennant Number of 82?
SELECT unit FROM table_name_27 WHERE pennant_number = 82
[ 13828, 4326, 468, 257, 6595, 415, 7913, 286, 9415, 30, 46506, 4326, 16034, 3084, 62, 3672, 62, 1983, 33411, 22429, 415, 62, 17618, 796, 9415 ]
[ 1, 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, 4326, 468, 257, 6595, 415, 7913, 286, 9415, 30, 46506, 4326, 16034, 3084, 62, 3672, 62, 1983, 33411, 22429, 415, 62, 17618, 796, 9415 ]
What was the date of the home Detroit game with a decision of Joseph and a record of 27 13 5 2?
SELECT date FROM table_name_85 WHERE decision = "joseph" AND home = "detroit" AND record = "27–13–5–2"
[ 2061, 373, 262, 3128, 286, 262, 1363, 8488, 983, 351, 257, 2551, 286, 7212, 290, 257, 1700, 286, 2681, 1511, 642, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5332, 33411, 2551, 796, 366, 73, 577, 746, 1, 5357, 1363, 796, 366, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 286, 262, 1363, 8488, 983, 351, 257, 2551, 286, 7212, 290, 257, 1700, 286, 2681, 1511, 642, 362, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 5332, 33411, 2551, 796, 366, 73, 577, 746, 1, 5357, 1363, 796, 366, ...
What were the circumstances of the Hostile incident on the road to Jalalabad?
SELECT circumstances FROM table_name_18 WHERE nature_of_incident = "hostile" AND location = "road to jalalabad"
[ 2061, 547, 262, 5917, 286, 262, 14504, 576, 4519, 319, 262, 2975, 284, 28649, 282, 17325, 30, 46506, 5917, 16034, 3084, 62, 3672, 62, 1507, 33411, 3450, 62, 1659, 62, 1939, 738, 796, 366, 4774, 576, 1, 5357, 4067, 796, 366, 6344, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 547, 262, 5917, 286, 262, 14504, 576, 4519, 319, 262, 2975, 284, 28649, 282, 17325, 30, 46506, 5917, 16034, 3084, 62, 3672, 62, 1507, 33411, 3450, 62, 1659, 62, 1939, 738, 796, 366, 4774, 576, 1, 5357, 4067, 796, 366, 6344, 28...
What is the relationship between People_ID and Height ?
SELECT People_ID, Height FROM people
[ 2061, 318, 262, 2776, 1022, 4380, 62, 2389, 290, 27280, 5633, 46506, 4380, 62, 2389, 11, 27280, 16034, 661 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 2776, 1022, 4380, 62, 2389, 290, 27280, 5633, 46506, 4380, 62, 2389, 11, 27280, 16034, 661 ]
Which Total has an FA Cup goals of 1, and a League goals of 4 + 7?
SELECT AVG(total) FROM table_name_23 WHERE fa_cup_goals = "1" AND league_goals = "4 + 7"
[ 13828, 7472, 468, 281, 9677, 5454, 4661, 286, 352, 11, 290, 257, 4041, 4661, 286, 604, 1343, 767, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 24685, 62, 25244, 62, 2188, 874, 796, 366, 16, 1, 5357, 4652, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7472, 468, 281, 9677, 5454, 4661, 286, 352, 11, 290, 257, 4041, 4661, 286, 604, 1343, 767, 30, 46506, 35224, 7, 23350, 8, 16034, 3084, 62, 3672, 62, 1954, 33411, 24685, 62, 25244, 62, 2188, 874, 796, 366, 16, 1, 5357, 4652, ...
how many players selected in round nine were guards ?
SELECT COUNT("player") FROM table_203_815 WHERE "position" = 'guard'
[ 4919, 867, 1938, 6163, 287, 2835, 5193, 547, 10942, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 49503, 33411, 366, 9150, 1, 796, 705, 14864, 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 ]
[ 4919, 867, 1938, 6163, 287, 2835, 5193, 547, 10942, 5633, 46506, 327, 28270, 7203, 7829, 4943, 16034, 3084, 62, 22416, 62, 49503, 33411, 366, 9150, 1, 796, 705, 14864, 6 ]
WHAT IS THE PARIS WITH A FRANCE OF 1.4%?
SELECT "Paris" FROM table_9183 WHERE "France" = '1.4%'
[ 32971, 3180, 3336, 29463, 1797, 13315, 317, 8782, 19240, 3963, 352, 13, 19, 4, 30, 46506, 366, 40313, 1, 16034, 3084, 62, 24, 24839, 33411, 366, 28572, 1, 796, 705, 16, 13, 19, 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 ]
[ 32971, 3180, 3336, 29463, 1797, 13315, 317, 8782, 19240, 3963, 352, 13, 19, 4, 30, 46506, 366, 40313, 1, 16034, 3084, 62, 24, 24839, 33411, 366, 28572, 1, 796, 705, 16, 13, 19, 4, 6 ]
What is the time of ufc 154?
SELECT time FROM table_name_44 WHERE event = "ufc 154"
[ 2061, 318, 262, 640, 286, 334, 16072, 24235, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2598, 33411, 1785, 796, 366, 3046, 66, 24235, 1 ]
[ 1, 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, 640, 286, 334, 16072, 24235, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 2598, 33411, 1785, 796, 366, 3046, 66, 24235, 1 ]
What is the name of the golfer that has the score of 73-65=138?
SELECT player FROM table_name_81 WHERE score = 73 - 65 = 138
[ 2061, 318, 262, 1438, 286, 262, 43791, 2232, 326, 468, 262, 4776, 286, 8854, 12, 2996, 28, 20107, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 6659, 33411, 4776, 796, 8854, 532, 6135, 796, 21503 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 43791, 2232, 326, 468, 262, 4776, 286, 8854, 12, 2996, 28, 20107, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 6659, 33411, 4776, 796, 8854, 532, 6135, 796, 21503 ]
have captopril, glucagon, or folic acid been ordered since 4 years ago for patient 2518?
SELECT COUNT(*) > 0 FROM prescriptions WHERE prescriptions.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 2518) AND prescriptions.drug IN ('captopril', 'glucagon', 'folic acid') AND DATETIME(prescriptions.startdate) >= DATETIME(CURRENT_TIME(), '-4 year')
[ 14150, 3144, 404, 22379, 11, 14182, 1840, 11, 393, 277, 4160, 7408, 587, 6149, 1201, 604, 812, 2084, 329, 5827, 1679, 1507, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 465...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 14150, 3144, 404, 22379, 11, 14182, 1840, 11, 393, 277, 4160, 7408, 587, 6149, 1201, 604, 812, 2084, 329, 5827, 1679, 1507, 30, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 34092, 33411, 34092, 13, 18108, 76, 62, 312, 3268, 357, 465...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of hire_date and the average of manager_id bin hire_date by weekday, I want to rank in desc by the y axis.
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(MANAGER_ID) DESC
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 508, 466, 407, 670, 287, 13346, 351, 11663, 326, 423, 220, 2340, 1022, 1802, 290, 939, 11, 1441, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2811, 286, 4706, 62, 312, 9874, 11078, 62, 4475, 416,...
What is the latest result where a person from the Philippines won?
SELECT MAX(year) FROM table_name_72 WHERE nation_represented = "philippines"
[ 2061, 318, 262, 3452, 1255, 810, 257, 1048, 422, 262, 13316, 1839, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 3277, 62, 33469, 796, 366, 746, 8908, 1127, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1255, 810, 257, 1048, 422, 262, 13316, 1839, 30, 46506, 25882, 7, 1941, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 3277, 62, 33469, 796, 366, 746, 8908, 1127, 1 ]
Name the date for margalita chakhnashvili salome devidze
SELECT "Date" FROM table_1556 WHERE "Opponents" = 'Margalita Chakhnashvili Salome Devidze'
[ 5376, 262, 3128, 329, 6145, 282, 5350, 442, 11322, 77, 1077, 85, 2403, 3664, 462, 1614, 312, 2736, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 3980, 33411, 366, 27524, 3906, 1, 796, 705, 24428, 282, 5350, 609, 11322, 77, 1077, 85, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 3128, 329, 6145, 282, 5350, 442, 11322, 77, 1077, 85, 2403, 3664, 462, 1614, 312, 2736, 46506, 366, 10430, 1, 16034, 3084, 62, 1314, 3980, 33411, 366, 27524, 3906, 1, 796, 705, 24428, 282, 5350, 609, 11322, 77, 1077, 85, ...
What was the speed of the Superbike race?
SELECT speed FROM table_name_10 WHERE race = "superbike"
[ 2061, 373, 262, 2866, 286, 262, 3115, 32256, 3234, 30, 46506, 2866, 16034, 3084, 62, 3672, 62, 940, 33411, 3234, 796, 366, 16668, 32256, 1 ]
[ 1, 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, 2866, 286, 262, 3115, 32256, 3234, 30, 46506, 2866, 16034, 3084, 62, 3672, 62, 940, 33411, 3234, 796, 366, 16668, 32256, 1 ]
Show distinct types of artworks that are nominated in festivals in 2007.
SELECT DISTINCT T2.Type FROM nomination AS T1 JOIN artwork AS T2 ON T1.Artwork_ID = T2.Artwork_ID JOIN festival_detail AS T3 ON T1.Festival_ID = T3.Festival_ID WHERE T3.Year = 2007
[ 15307, 7310, 3858, 286, 1242, 5225, 326, 389, 19332, 287, 25575, 287, 4343, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 6030, 16034, 11872, 7054, 309, 16, 32357, 1268, 16257, 7054, 309, 17, 6177, 309, 16, 13, 8001, 1818, 62, 2389, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 15307, 7310, 3858, 286, 1242, 5225, 326, 389, 19332, 287, 25575, 287, 4343, 13, 46506, 360, 8808, 1268, 4177, 309, 17, 13, 6030, 16034, 11872, 7054, 309, 16, 32357, 1268, 16257, 7054, 309, 17, 6177, 309, 16, 13, 8001, 1818, 62, 2389, ...
when did the first time patient 027-185580 had the maximum heartrate on the last intensive care unit visit?
SELECT vitalperiodic.observationtime FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '027-185580') AND NOT patient.unitdischargetime IS N...
[ 12518, 750, 262, 717, 640, 5827, 657, 1983, 12, 1507, 2816, 1795, 550, 262, 5415, 2612, 4873, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 262, 717, 640, 5827, 657, 1983, 12, 1507, 2816, 1795, 550, 262, 5415, 2612, 4873, 319, 262, 938, 18590, 1337, 4326, 3187, 30, 46506, 9204, 41007, 291, 13, 672, 3168, 341, 2435, 16034, 9204, 41007, 291, 33411, 9204, 41007, ...
Which Year(s) won has a Total larger than 148, and a To par smaller than 17, and a Country of new zealand?
SELECT year_s__won FROM table_name_61 WHERE total > 148 AND to_par < 17 AND country = "new zealand"
[ 13828, 6280, 7, 82, 8, 1839, 468, 257, 7472, 4025, 621, 22613, 11, 290, 257, 1675, 1582, 4833, 621, 1596, 11, 290, 257, 12946, 286, 649, 27689, 392, 30, 46506, 614, 62, 82, 834, 26502, 16034, 3084, 62, 3672, 62, 5333, 33411, 2472, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6280, 7, 82, 8, 1839, 468, 257, 7472, 4025, 621, 22613, 11, 290, 257, 1675, 1582, 4833, 621, 1596, 11, 290, 257, 12946, 286, 649, 27689, 392, 30, 46506, 614, 62, 82, 834, 26502, 16034, 3084, 62, 3672, 62, 5333, 33411, 2472, ...
What was the date in which Behtash Fariba left his team?
SELECT "Date of vacancy" FROM table_24907 WHERE "Outgoing manager" = 'Behtash Fariba'
[ 2061, 373, 262, 3128, 287, 543, 1355, 4352, 1077, 6755, 23718, 1364, 465, 1074, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 21626, 2998, 33411, 366, 7975, 5146, 4706, 1, 796, 705, 3856, 4352, 1077, 6755, 23718, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 287, 543, 1355, 4352, 1077, 6755, 23718, 1364, 465, 1074, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 21626, 2998, 33411, 366, 7975, 5146, 4706, 1, 796, 705, 3856, 4352, 1077, 6755, 23718, 6 ]
What is the date of the episode in which the presenter is Johnny Vaughan?
SELECT date FROM table_20466963_4 WHERE presenter = "Johnny Vaughan"
[ 2061, 318, 262, 3128, 286, 262, 4471, 287, 543, 262, 39597, 318, 15470, 47451, 30, 46506, 3128, 16034, 3084, 62, 18638, 2791, 4846, 18, 62, 19, 33411, 39597, 796, 366, 44960, 47451, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3128, 286, 262, 4471, 287, 543, 262, 39597, 318, 15470, 47451, 30, 46506, 3128, 16034, 3084, 62, 18638, 2791, 4846, 18, 62, 19, 33411, 39597, 796, 366, 44960, 47451, 1 ]
Name The Player who has a Pick # of 27?
SELECT player FROM table_name_13 WHERE pick__number = 27
[ 5376, 383, 7853, 508, 468, 257, 12346, 1303, 286, 2681, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1485, 33411, 2298, 834, 17618, 796, 2681 ]
[ 1, 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, 383, 7853, 508, 468, 257, 12346, 1303, 286, 2681, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 1485, 33411, 2298, 834, 17618, 796, 2681 ]
provide the number of patients whose ethnicity is white and diagnoses long title is personal history of hodgkin's disease?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.long_title = "Personal history of hodgkin's disease"
[ 15234, 485, 262, 1271, 286, 3871, 3025, 26289, 318, 2330, 290, 40567, 890, 3670, 318, 2614, 2106, 286, 289, 375, 70, 5116, 338, 4369, 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, 26289, 318, 2330, 290, 40567, 890, 3670, 318, 2614, 2106, 286, 289, 375, 70, 5116, 338, 4369, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, ...
What team has Away team score of 8.11 (59)?
SELECT "Away team" FROM table_32681 WHERE "Away team score" = '8.11 (59)'
[ 2061, 1074, 468, 21986, 1074, 4776, 286, 807, 13, 1157, 357, 3270, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39195, 6659, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1157, 357, 3270, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 468, 21986, 1074, 4776, 286, 807, 13, 1157, 357, 3270, 19427, 46506, 366, 32, 1014, 1074, 1, 16034, 3084, 62, 39195, 6659, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 23, 13, 1157, 357, 3270, 33047 ]
What was the starting position in the year before 1986?
SELECT "Start" FROM table_33408 WHERE "Year" < '1986'
[ 2061, 373, 262, 3599, 2292, 287, 262, 614, 878, 12113, 30, 46506, 366, 10434, 1, 16034, 3084, 62, 2091, 26200, 33411, 366, 17688, 1, 1279, 705, 28054, 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, 3599, 2292, 287, 262, 614, 878, 12113, 30, 46506, 366, 10434, 1, 16034, 3084, 62, 2091, 26200, 33411, 366, 17688, 1, 1279, 705, 28054, 6 ]
List the names of buildings with at least 200 feet of height and with at least 20 floors.
SELECT name FROM building WHERE height_feet >= 200 AND floors >= 20
[ 8053, 262, 3891, 286, 6832, 351, 379, 1551, 939, 3625, 286, 6001, 290, 351, 379, 1551, 1160, 18570, 13, 46506, 1438, 16034, 2615, 33411, 6001, 62, 39690, 18189, 939, 5357, 18570, 18189, 1160 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3891, 286, 6832, 351, 379, 1551, 939, 3625, 286, 6001, 290, 351, 379, 1551, 1160, 18570, 13, 46506, 1438, 16034, 2615, 33411, 6001, 62, 39690, 18189, 939, 5357, 18570, 18189, 1160 ]
What was Head Coach Jim Morris's best finish?
SELECT "CWS Best Finish" FROM table_52849 WHERE "Head Coach" = 'jim morris'
[ 2061, 373, 7123, 16393, 5395, 14433, 338, 1266, 5461, 30, 46506, 366, 34, 19416, 6705, 32585, 1, 16034, 3084, 62, 49351, 2920, 33411, 366, 13847, 16393, 1, 796, 705, 73, 320, 2146, 2442, 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, 373, 7123, 16393, 5395, 14433, 338, 1266, 5461, 30, 46506, 366, 34, 19416, 6705, 32585, 1, 16034, 3084, 62, 49351, 2920, 33411, 366, 13847, 16393, 1, 796, 705, 73, 320, 2146, 2442, 6 ]
Which race has D. Beadman for the jockey and a 4th place result?
SELECT race FROM table_name_27 WHERE jockey = "d. beadman" AND result = "4th"
[ 13828, 3234, 468, 360, 13, 347, 1329, 805, 329, 262, 474, 8337, 290, 257, 604, 400, 1295, 1255, 30, 46506, 3234, 16034, 3084, 62, 3672, 62, 1983, 33411, 474, 8337, 796, 366, 67, 13, 49773, 805, 1, 5357, 1255, 796, 366, 19, 400, 1 ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3234, 468, 360, 13, 347, 1329, 805, 329, 262, 474, 8337, 290, 257, 604, 400, 1295, 1255, 30, 46506, 3234, 16034, 3084, 62, 3672, 62, 1983, 33411, 474, 8337, 796, 366, 67, 13, 49773, 805, 1, 5357, 1255, 796, 366, 19, 400, 1 ...
Which engine did lie Bayol use when they earned 0 points?
SELECT "Engine" FROM table_68734 WHERE "Points" = '0' AND "Entrant" = 'élie bayol'
[ 13828, 3113, 750, 6486, 4696, 349, 779, 618, 484, 7366, 657, 2173, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 39925, 2682, 33411, 366, 40710, 1, 796, 705, 15, 6, 5357, 366, 14539, 5250, 1, 796, 705, 2634, 14485, 15489, 349, 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 ]
[ 13828, 3113, 750, 6486, 4696, 349, 779, 618, 484, 7366, 657, 2173, 30, 46506, 366, 13798, 1, 16034, 3084, 62, 39925, 2682, 33411, 366, 40710, 1, 796, 705, 15, 6, 5357, 366, 14539, 5250, 1, 796, 705, 2634, 14485, 15489, 349, 6 ]
what are the flights available after 1800 between SAN FRANCISCO and BOSTON
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, flight WHERE (CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'BOSTON' AND flight.departure_time > 1800 AND flight.to_airport = AIRPORT_SERVICE_1.airpor...
[ 10919, 389, 262, 13956, 1695, 706, 21431, 1022, 37376, 8782, 20940, 1797, 8220, 290, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13956, 1695, 706, 21431, 1022, 37376, 8782, 20940, 1797, 8220, 290, 347, 10892, 1340, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 900...
calculate the number of drugs prescribed to patient 006-200601 in a year before.
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-200601')) AND DATETIME(medication.drugstarttime, 'start of year') = DATETI...
[ 9948, 3129, 378, 262, 1271, 286, 5010, 14798, 284, 5827, 3571, 21, 12, 13330, 486, 287, 257, 614, 878, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1271, 286, 5010, 14798, 284, 5827, 3571, 21, 12, 13330, 486, 287, 257, 614, 878, 13, 46506, 327, 28270, 7, 28104, 16034, 14103, 33411, 14103, 13, 26029, 20850, 31712, 312, 3268, 357, 46506, 5827, 13, 26029, 20850, ...
Socket of without quickassist has what release price?
SELECT release_price___usd__ FROM table_name_63 WHERE socket = "without quickassist"
[ 39105, 286, 1231, 2068, 562, 396, 468, 644, 2650, 2756, 30, 46506, 2650, 62, 20888, 17569, 385, 67, 834, 16034, 3084, 62, 3672, 62, 5066, 33411, 17802, 796, 366, 19419, 2068, 562, 396, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 39105, 286, 1231, 2068, 562, 396, 468, 644, 2650, 2756, 30, 46506, 2650, 62, 20888, 17569, 385, 67, 834, 16034, 3084, 62, 3672, 62, 5066, 33411, 17802, 796, 366, 19419, 2068, 562, 396, 1 ]
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a line chart about the change of commission_pct over hire_date .
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1890, 883, 4409, 3025, 9588, 318, 287, 262, 2837, 286, 38055, 290, 1105, 830, 290, 5810, 318, 407, 9242, 393, 5011, 1271, 857, 407, 4961, 284, 2319, 11, 38350, 257, 1627, 8262, 546, 262, 1487, 286, 5810, 62, 79, 310, 625, 11078, 62,...
How many reviews does ' Acacia Cafe ' have ?
SELECT review_count FROM business WHERE name = 'Acacia Cafe'
[ 2437, 867, 8088, 857, 705, 4013, 47431, 26965, 705, 423, 5633, 46506, 2423, 62, 9127, 16034, 1597, 33411, 1438, 796, 705, 12832, 47431, 26965, 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 ]
[ 2437, 867, 8088, 857, 705, 4013, 47431, 26965, 705, 423, 5633, 46506, 2423, 62, 9127, 16034, 1597, 33411, 1438, 796, 705, 12832, 47431, 26965, 6 ]
What team had 10 Labs and the Driver was Alex Yoong?
SELECT "Team" FROM table_74894 WHERE "Laps" = '10' AND "Driver" = 'alex yoong'
[ 2061, 1074, 550, 838, 23500, 290, 262, 12434, 373, 4422, 25455, 506, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 48246, 5824, 33411, 366, 43, 1686, 1, 796, 705, 940, 6, 5357, 366, 32103, 1, 796, 705, 1000, 87, 27406, 506, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1074, 550, 838, 23500, 290, 262, 12434, 373, 4422, 25455, 506, 30, 46506, 366, 15592, 1, 16034, 3084, 62, 48246, 5824, 33411, 366, 43, 1686, 1, 796, 705, 940, 6, 5357, 366, 32103, 1, 796, 705, 1000, 87, 27406, 506, 6 ]
what is the club that as 100 tries?
SELECT "Club" FROM table_15309 WHERE "Tries for" = '100'
[ 10919, 318, 262, 3430, 326, 355, 1802, 8404, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 1314, 26895, 33411, 366, 51, 1678, 329, 1, 796, 705, 3064, 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 ]
[ 10919, 318, 262, 3430, 326, 355, 1802, 8404, 30, 46506, 366, 42350, 1, 16034, 3084, 62, 1314, 26895, 33411, 366, 51, 1678, 329, 1, 796, 705, 3064, 6 ]
what is the number of patients whose insurance is self pay and diagnoses icd9 code is 5761?
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 = "5761"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 5096, 318, 2116, 1414, 290, 40567, 14158, 67, 24, 2438, 318, 642, 4304, 16, 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, 642, 4304, 16, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 3268, 21479, 32357, 1268, ...
Which Date has a Score of 6 1 7 6 (8 6)?
SELECT date FROM table_name_11 WHERE score = "6–1 7–6 (8–6)"
[ 13828, 7536, 468, 257, 15178, 286, 718, 352, 767, 718, 357, 23, 718, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 1157, 33411, 4776, 796, 366, 21, 1906, 16, 767, 1906, 21, 357, 23, 1906, 21, 16725 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 7536, 468, 257, 15178, 286, 718, 352, 767, 718, 357, 23, 718, 19427, 46506, 3128, 16034, 3084, 62, 3672, 62, 1157, 33411, 4776, 796, 366, 21, 1906, 16, 767, 1906, 21, 357, 23, 1906, 21, 16725 ]
Which venue has 2:04.22 notes?
SELECT "Venue" FROM table_12379 WHERE "Notes" = '2:04.22'
[ 13828, 14359, 468, 362, 25, 3023, 13, 1828, 4710, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1065, 29088, 33411, 366, 16130, 1, 796, 705, 17, 25, 3023, 13, 1828, 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 ]
[ 13828, 14359, 468, 362, 25, 3023, 13, 1828, 4710, 30, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 1065, 29088, 33411, 366, 16130, 1, 796, 705, 17, 25, 3023, 13, 1828, 6 ]
what date was giulia casoni the partner?
SELECT date FROM table_name_48 WHERE partner = "giulia casoni"
[ 10919, 3128, 373, 308, 72, 43640, 269, 888, 72, 262, 5212, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2780, 33411, 5212, 796, 366, 12397, 43640, 269, 888, 72, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 3128, 373, 308, 72, 43640, 269, 888, 72, 262, 5212, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 2780, 33411, 5212, 796, 366, 12397, 43640, 269, 888, 72, 1 ]
cobol users with a badge.
SELECT DISTINCT UserId AS "user_link" FROM Badges WHERE Name LIKE '%cobol%'
[ 66, 672, 349, 2985, 351, 257, 23009, 13, 46506, 360, 8808, 1268, 4177, 11787, 7390, 7054, 366, 7220, 62, 8726, 1, 16034, 7772, 3212, 33411, 6530, 34178, 705, 4, 66, 672, 349, 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 ]
[ 66, 672, 349, 2985, 351, 257, 23009, 13, 46506, 360, 8808, 1268, 4177, 11787, 7390, 7054, 366, 7220, 62, 8726, 1, 16034, 7772, 3212, 33411, 6530, 34178, 705, 4, 66, 672, 349, 4, 6 ]
What is the sum of the population in millions that has an influence less than 2.91, a MEP smaller than 13, a member of Latvia, and more than 286,875 inhabitants per MEP?
SELECT SUM(population_millions) FROM table_name_49 WHERE influence < 2.91 AND meps < 13 AND member_state = "latvia" AND inhabitants_per_mep > 286 OFFSET 875
[ 2061, 318, 262, 2160, 286, 262, 3265, 287, 5242, 326, 468, 281, 4588, 1342, 621, 362, 13, 6420, 11, 257, 40771, 4833, 621, 1511, 11, 257, 2888, 286, 35794, 11, 290, 517, 621, 39697, 11, 31360, 17622, 583, 40771, 30, 46506, 35683, 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, 2160, 286, 262, 3265, 287, 5242, 326, 468, 281, 4588, 1342, 621, 362, 13, 6420, 11, 257, 40771, 4833, 621, 1511, 11, 257, 2888, 286, 35794, 11, 290, 517, 621, 39697, 11, 31360, 17622, 583, 40771, 30, 46506, 35683, 7,...
What was the tie no when Watford was the away team?
SELECT tie_no FROM table_name_62 WHERE away_team = "watford"
[ 2061, 373, 262, 9839, 645, 618, 12242, 3841, 373, 262, 1497, 1074, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 5237, 33411, 1497, 62, 15097, 796, 366, 47261, 3841, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 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, 9839, 645, 618, 12242, 3841, 373, 262, 1497, 1074, 30, 46506, 9839, 62, 3919, 16034, 3084, 62, 3672, 62, 5237, 33411, 1497, 62, 15097, 796, 366, 47261, 3841, 1 ]
Which school has the smallest amount of professors?
SELECT T1.school_code FROM department AS T1 JOIN professor AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.school_code ORDER BY COUNT(*) LIMIT 1
[ 13828, 1524, 468, 262, 18197, 2033, 286, 20339, 30, 46506, 309, 16, 13, 14347, 62, 8189, 16034, 5011, 7054, 309, 16, 32357, 1268, 6240, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1524, 468, 262, 18197, 2033, 286, 20339, 30, 46506, 309, 16, 13, 14347, 62, 8189, 16034, 5011, 7054, 309, 16, 32357, 1268, 6240, 7054, 309, 17, 6177, 309, 16, 13, 2934, 457, 62, 8189, 796, 309, 17, 13, 2934, 457, 62, 8189, ...
Which network has more than 31.4 channels with a 4:3 aspect?
SELECT "Network" FROM table_64777 WHERE "Aspect" = '4:3' AND "Channel" > '31.4'
[ 13828, 3127, 468, 517, 621, 3261, 13, 19, 9619, 351, 257, 604, 25, 18, 4843, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 2414, 29331, 33411, 366, 1722, 806, 1, 796, 705, 19, 25, 18, 6, 5357, 366, 29239, 1, 1875, 705, 3132, 13, 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 ]
[ 13828, 3127, 468, 517, 621, 3261, 13, 19, 9619, 351, 257, 604, 25, 18, 4843, 30, 46506, 366, 26245, 1, 16034, 3084, 62, 2414, 29331, 33411, 366, 1722, 806, 1, 796, 705, 19, 25, 18, 6, 5357, 366, 29239, 1, 1875, 705, 3132, 13, 19...
What is Pat Burke's Nationality?
SELECT nationality FROM table_name_34 WHERE player = "pat burke"
[ 2061, 318, 3208, 23259, 338, 2351, 414, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2682, 33411, 2137, 796, 366, 8071, 4356, 365, 1 ]
[ 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, 3208, 23259, 338, 2351, 414, 30, 46506, 29835, 16034, 3084, 62, 3672, 62, 2682, 33411, 2137, 796, 366, 8071, 4356, 365, 1 ]
what is the lab test name that the patient stephanie suchan underwent?
SELECT lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Stephanie Suchan"
[ 10919, 318, 262, 2248, 1332, 1438, 326, 262, 5827, 2239, 7637, 494, 884, 272, 25289, 30, 46506, 2248, 13, 18242, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 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 ]
[ 10919, 318, 262, 2248, 1332, 1438, 326, 262, 5827, 2239, 7637, 494, 884, 272, 25289, 30, 46506, 2248, 13, 18242, 16034, 16728, 3268, 21479, 32357, 1268, 2248, 6177, 16728, 13, 18108, 76, 62, 312, 796, 2248, 13, 18108, 76, 62, 312, 334...
Who is the visitor at the axa sports center in round 20?
SELECT visitor FROM table_name_6 WHERE venue = "axa sports center" AND round = 20
[ 8241, 318, 262, 21493, 379, 262, 7877, 64, 5701, 3641, 287, 2835, 1160, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 21, 33411, 14359, 796, 366, 897, 64, 5701, 3641, 1, 5357, 2835, 796, 1160 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21493, 379, 262, 7877, 64, 5701, 3641, 287, 2835, 1160, 30, 46506, 21493, 16034, 3084, 62, 3672, 62, 21, 33411, 14359, 796, 366, 897, 64, 5701, 3641, 1, 5357, 2835, 796, 1160 ]
how many total days was at & t on strike ?
SELECT SUM("duration of strike") FROM table_203_759 WHERE "company" = 'at&t'
[ 4919, 867, 2472, 1528, 373, 379, 1222, 256, 319, 5587, 5633, 46506, 35683, 7203, 32257, 286, 5587, 4943, 16034, 3084, 62, 22416, 62, 38314, 33411, 366, 39722, 1, 796, 705, 265, 5, 83, 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 ]
[ 4919, 867, 2472, 1528, 373, 379, 1222, 256, 319, 5587, 5633, 46506, 35683, 7203, 32257, 286, 5587, 4943, 16034, 3084, 62, 22416, 62, 38314, 33411, 366, 39722, 1, 796, 705, 265, 5, 83, 6 ]
what are the number of staying councillors that the labor party had ?
SELECT "staying councillors" FROM table_204_223 WHERE "party" = 'labour'
[ 10919, 389, 262, 1271, 286, 10589, 43321, 326, 262, 4827, 2151, 550, 5633, 46506, 366, 301, 8369, 43321, 1, 16034, 3084, 62, 18638, 62, 22047, 33411, 366, 10608, 1, 796, 705, 23912, 454, 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 ]
[ 10919, 389, 262, 1271, 286, 10589, 43321, 326, 262, 4827, 2151, 550, 5633, 46506, 366, 301, 8369, 43321, 1, 16034, 3084, 62, 18638, 62, 22047, 33411, 366, 10608, 1, 796, 705, 23912, 454, 6 ]
Find the first names of students whose first names contain letter 'a'.
SELECT DISTINCT fname FROM student WHERE fname LIKE '%a%'
[ 16742, 262, 717, 3891, 286, 2444, 3025, 717, 3891, 3994, 3850, 705, 64, 4458, 46506, 360, 8808, 1268, 4177, 277, 3672, 16034, 3710, 33411, 277, 3672, 34178, 705, 4, 64, 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 ]
[ 16742, 262, 717, 3891, 286, 2444, 3025, 717, 3891, 3994, 3850, 705, 64, 4458, 46506, 360, 8808, 1268, 4177, 277, 3672, 16034, 3710, 33411, 277, 3672, 34178, 705, 4, 64, 4, 6 ]
next sunday flights from MIAMI to CLEVELAND after 1200 hours
SELECT DISTINCT flight.flight_id FROM airport_service AS AIRPORT_SERVICE_0, airport_service AS AIRPORT_SERVICE_1, city AS CITY_0, city AS CITY_1, date_day, days, flight WHERE ((date_day.day_number = 27 AND date_day.month_number = 8 AND date_day.year = 1991 AND days.day_name = date_day.day_name AND flight.departure_time...
[ 19545, 37437, 323, 13956, 422, 15789, 43870, 284, 30301, 18697, 6981, 706, 24938, 2250, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 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...
[ 19545, 37437, 323, 13956, 422, 15789, 43870, 284, 30301, 18697, 6981, 706, 24938, 2250, 46506, 360, 8808, 1268, 4177, 5474, 13, 22560, 62, 312, 16034, 9003, 62, 15271, 7054, 31600, 15490, 62, 35009, 27389, 62, 15, 11, 9003, 62, 15271, 7...
What are the dates that have an average sea level pressure between 303 and 31, and count them by a bar chart, sort the number of date in descending order.
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 ORDER BY COUNT(date) DESC
[ 2061, 389, 262, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 3297, 262, 1271, 286, 3128, 287, 31491, 1502, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9667, 326, 423, 281, 2811, 5417, 1241, 3833, 1022, 30727, 290, 3261, 11, 290, 954, 606, 416, 257, 2318, 8262, 11, 3297, 262, 1271, 286, 3128, 287, 31491, 1502, 13, 46506, 3128, 11, 327, 28270, 7, 4475, 8, 16034, 6193...
Where did Dante Luciani attend college?
SELECT "College" FROM table_1488 WHERE "Player" = 'Dante Luciani'
[ 8496, 750, 34898, 7598, 25111, 5262, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1415, 3459, 33411, 366, 14140, 1, 796, 705, 35, 12427, 7598, 25111, 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 ]
[ 8496, 750, 34898, 7598, 25111, 5262, 4152, 30, 46506, 366, 38951, 1, 16034, 3084, 62, 1415, 3459, 33411, 366, 14140, 1, 796, 705, 35, 12427, 7598, 25111, 6 ]
Which Incumbent has a First elected larger than 1884?
SELECT "Incumbent" FROM table_38384 WHERE "First elected" > '1884'
[ 13828, 3457, 2178, 298, 468, 257, 3274, 7018, 4025, 621, 1248, 5705, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2548, 22842, 33411, 366, 5962, 7018, 1, 1875, 705, 1507, 5705, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3457, 2178, 298, 468, 257, 3274, 7018, 4025, 621, 1248, 5705, 30, 46506, 366, 25517, 2178, 298, 1, 16034, 3084, 62, 2548, 22842, 33411, 366, 5962, 7018, 1, 1875, 705, 1507, 5705, 6 ]
how many patients whose age is less than 67 and year of death is less than or equal to 2122?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.age < "67" AND demographic.dod_year <= "2122.0"
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 8275, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 4919, 867, 3871, 3025, 2479, 318, 1342, 621, 8275, 290, 614, 286, 1918, 318, 1342, 621, 393, 4961, 284, 362, 18376, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 496, 1...
How many students enrolled in class ACCT-211?
SELECT COUNT(*) FROM CLASS AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code WHERE T1.crs_code = 'ACCT-211'
[ 2437, 867, 2444, 18724, 287, 1398, 15859, 51, 12, 21895, 30, 46506, 327, 28270, 7, 28104, 16034, 42715, 7054, 309, 16, 32357, 1268, 14627, 7054, 309, 17, 6177, 309, 16, 13, 4871, 62, 8189, 796, 309, 17, 13, 4871, 62, 8189, 33411, 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 ]
[ 2437, 867, 2444, 18724, 287, 1398, 15859, 51, 12, 21895, 30, 46506, 327, 28270, 7, 28104, 16034, 42715, 7054, 309, 16, 32357, 1268, 14627, 7054, 309, 17, 6177, 309, 16, 13, 4871, 62, 8189, 796, 309, 17, 13, 4871, 62, 8189, 33411, 30...
Name the population for (croatian: mono tor)
SELECT "Population (2011)" FROM table_3328 WHERE "Cyrillic Name Other Names" = 'Бачки Моноштор (Croatian: Monoštor)'
[ 5376, 262, 3265, 329, 357, 19915, 265, 666, 25, 33361, 7332, 8, 46506, 366, 45251, 357, 9804, 16725, 16034, 3084, 62, 2091, 2078, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 239, 16142, 141, 229, 31583, 18849,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3265, 329, 357, 19915, 265, 666, 25, 33361, 7332, 8, 46506, 366, 45251, 357, 9804, 16725, 16034, 3084, 62, 2091, 2078, 33411, 366, 34, 2417, 359, 291, 6530, 3819, 28531, 1, 796, 705, 140, 239, 16142, 141, 229, 31583, 18849,...
what are all the building with 12 storeys
SELECT building FROM table_13397394_1 WHERE storeys = 12
[ 10919, 389, 477, 262, 2615, 351, 1105, 3650, 893, 46506, 2615, 16034, 3084, 62, 1485, 33372, 34626, 62, 16, 33411, 3650, 893, 796, 1105 ]
[ 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, 477, 262, 2615, 351, 1105, 3650, 893, 46506, 2615, 16034, 3084, 62, 1485, 33372, 34626, 62, 16, 33411, 3650, 893, 796, 1105 ]
when did patient 006-116961 get the agent specific therapy - beta blockers overdose procedure for the first time since 2102?
SELECT treatment.treatmenttime FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-116961')) AND treatment.treatmentname = 'agent specific thera...
[ 12518, 750, 5827, 3571, 21, 12, 1157, 3388, 5333, 651, 262, 5797, 2176, 9102, 532, 12159, 43805, 27357, 8771, 329, 262, 717, 640, 1201, 362, 15377, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3571, 21, 12, 1157, 3388, 5333, 651, 262, 5797, 2176, 9102, 532, 12159, 43805, 27357, 8771, 329, 262, 717, 640, 1201, 362, 15377, 30, 46506, 3513, 13, 42487, 2435, 16034, 3513, 33411, 3513, 13, 26029, 20850, 31712, 312...
Who is every main presenter for the Estonia region/country?
SELECT "Main presenter" FROM table_26679 WHERE "Region/Country" = 'Estonia'
[ 8241, 318, 790, 1388, 39597, 329, 262, 30912, 3814, 14, 19315, 30, 46506, 366, 13383, 39597, 1, 16034, 3084, 62, 2075, 37601, 33411, 366, 47371, 14, 33921, 1, 796, 705, 36, 3743, 544, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 318, 790, 1388, 39597, 329, 262, 30912, 3814, 14, 19315, 30, 46506, 366, 13383, 39597, 1, 16034, 3084, 62, 2075, 37601, 33411, 366, 47371, 14, 33921, 1, 796, 705, 36, 3743, 544, 6 ]
What was the player for t9 and a score of 73-69-74=216?
SELECT player FROM table_name_97 WHERE place = "t9" AND score = 73 - 69 - 74 = 216
[ 2061, 373, 262, 2137, 329, 256, 24, 290, 257, 4776, 286, 8854, 12, 3388, 12, 4524, 28, 20666, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5607, 33411, 1295, 796, 366, 83, 24, 1, 5357, 4776, 796, 8854, 532, 8644, 532, 8915, 796, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2137, 329, 256, 24, 290, 257, 4776, 286, 8854, 12, 3388, 12, 4524, 28, 20666, 30, 46506, 2137, 16034, 3084, 62, 3672, 62, 5607, 33411, 1295, 796, 366, 83, 24, 1, 5357, 4776, 796, 8854, 532, 8644, 532, 8915, 796, 26...
What is the capacity of 3500v volts?
SELECT "Capacity" FROM table_40108 WHERE "Volts" = '3500v'
[ 2061, 318, 262, 5339, 286, 3439, 405, 85, 46297, 30, 46506, 366, 15610, 4355, 1, 16034, 3084, 62, 21844, 2919, 33411, 366, 16598, 912, 1, 796, 705, 2327, 405, 85, 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, 5339, 286, 3439, 405, 85, 46297, 30, 46506, 366, 15610, 4355, 1, 16034, 3084, 62, 21844, 2919, 33411, 366, 16598, 912, 1, 796, 705, 2327, 405, 85, 6 ]
Name the total number of african record
SELECT COUNT(paula_radcliffe___gbr__) FROM table_23619492_3 WHERE world_record = "African record"
[ 5376, 262, 2472, 1271, 286, 6580, 37189, 1700, 46506, 327, 28270, 7, 79, 2518, 64, 62, 6335, 33783, 17569, 70, 1671, 834, 8, 16034, 3084, 62, 24940, 1129, 40256, 62, 18, 33411, 995, 62, 22105, 796, 366, 43032, 1700, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 6580, 37189, 1700, 46506, 327, 28270, 7, 79, 2518, 64, 62, 6335, 33783, 17569, 70, 1671, 834, 8, 16034, 3084, 62, 24940, 1129, 40256, 62, 18, 33411, 995, 62, 22105, 796, 366, 43032, 1700, 1 ]
What is the 2010 when the 2009 is 1r, and a 2008 is 1r?
SELECT "2010" FROM table_7262 WHERE "2009" = '1r' AND "2008" = '1r'
[ 2061, 318, 262, 3050, 618, 262, 3717, 318, 352, 81, 11, 290, 257, 3648, 318, 352, 81, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 22, 29119, 33411, 366, 10531, 1, 796, 705, 16, 81, 6, 5357, 366, 11528, 1, 796, 705, 16, 81, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 3050, 618, 262, 3717, 318, 352, 81, 11, 290, 257, 3648, 318, 352, 81, 30, 46506, 366, 10333, 1, 16034, 3084, 62, 22, 29119, 33411, 366, 10531, 1, 796, 705, 16, 81, 6, 5357, 366, 11528, 1, 796, 705, 16, 81, 6 ]
Are any professors appointed for Winter Other classes ?
SELECT DISTINCT instructor.name FROM course INNER JOIN course_offering ON course.course_id = course_offering.course_id INNER JOIN semester ON semester.semester_id = course_offering.semester INNER JOIN program_course ON program_course.course_id = course_offering.course_id INNER JOIN offering_instructor ON offering_instr...
[ 8491, 597, 20339, 9899, 329, 10633, 3819, 6097, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 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...
[ 8491, 597, 20339, 9899, 329, 10633, 3819, 6097, 5633, 46506, 360, 8808, 1268, 4177, 21187, 13, 3672, 16034, 1781, 3268, 21479, 32357, 1268, 1781, 62, 2364, 1586, 6177, 1781, 13, 17319, 62, 312, 796, 1781, 62, 2364, 1586, 13, 17319, 62, ...
What was Bye's opponent's attendance?
SELECT "Attendance" FROM table_32400 WHERE "Opponent" = 'bye'
[ 2061, 373, 47843, 338, 6125, 338, 14858, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 33916, 405, 33411, 366, 27524, 3471, 1, 796, 705, 16390, 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, 47843, 338, 6125, 338, 14858, 30, 46506, 366, 8086, 437, 590, 1, 16034, 3084, 62, 33916, 405, 33411, 366, 27524, 3471, 1, 796, 705, 16390, 6 ]
What was the time for the winning horse Salford ii?
SELECT time FROM table_name_94 WHERE winner = "salford ii"
[ 2061, 373, 262, 640, 329, 262, 5442, 8223, 311, 1604, 585, 21065, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5824, 33411, 8464, 796, 366, 82, 1604, 585, 21065, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 640, 329, 262, 5442, 8223, 311, 1604, 585, 21065, 30, 46506, 640, 16034, 3084, 62, 3672, 62, 5824, 33411, 8464, 796, 366, 82, 1604, 585, 21065, 1 ]
What is the lowest Top-25 for the open championship, with a Top-10 larger than 3?
SELECT MIN(top_25) FROM table_name_55 WHERE tournament = "the open championship" AND top_10 > 3
[ 2061, 318, 262, 9016, 5849, 12, 1495, 329, 262, 1280, 12184, 11, 351, 257, 5849, 12, 940, 4025, 621, 513, 30, 46506, 20625, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 7756, 796, 366, 1169, 1280, 12184, 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 ]
[ 2061, 318, 262, 9016, 5849, 12, 1495, 329, 262, 1280, 12184, 11, 351, 257, 5849, 12, 940, 4025, 621, 513, 30, 46506, 20625, 7, 4852, 62, 1495, 8, 16034, 3084, 62, 3672, 62, 2816, 33411, 7756, 796, 366, 1169, 1280, 12184, 1, 5357, ...
Who built the Jim Crawford car?
SELECT constructor FROM table_name_76 WHERE driver = "jim crawford"
[ 8241, 3170, 262, 5395, 24499, 1097, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 4304, 33411, 4639, 796, 366, 73, 320, 27784, 3841, 1 ]
[ 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, 3170, 262, 5395, 24499, 1097, 30, 46506, 23772, 16034, 3084, 62, 3672, 62, 4304, 33411, 4639, 796, 366, 73, 320, 27784, 3841, 1 ]
display the department name and number of employees in each of the department.
SELECT T2.department_name, COUNT(*) FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id GROUP BY T2.department_name
[ 13812, 262, 5011, 1438, 290, 1271, 286, 4409, 287, 1123, 286, 262, 5011, 13, 46506, 309, 17, 13, 10378, 1823, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 6177, 309, 16, 13, 1037...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13812, 262, 5011, 1438, 290, 1271, 286, 4409, 287, 1123, 286, 262, 5011, 13, 46506, 309, 17, 13, 10378, 1823, 62, 3672, 11, 327, 28270, 7, 28104, 16034, 4409, 7054, 309, 16, 32357, 1268, 13346, 7054, 309, 17, 6177, 309, 16, 13, 1037...
HOW MANY GAMES WERE TIED AT 3?
SELECT "Tries for" FROM table_17820 WHERE "Drawn" = '3'
[ 37181, 17254, 56, 402, 29559, 370, 9338, 309, 19767, 5161, 513, 30, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 23188, 1238, 33411, 366, 35, 5791, 1, 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, 1, 1, 1, 1, 1, 1, 1 ]
[ 37181, 17254, 56, 402, 29559, 370, 9338, 309, 19767, 5161, 513, 30, 46506, 366, 51, 1678, 329, 1, 16034, 3084, 62, 23188, 1238, 33411, 366, 35, 5791, 1, 796, 705, 18, 6 ]
Name the combativity award with winner of luis le n s nchez
SELECT "Combativity award" FROM table_35894 WHERE "Winner" = 'luis león sánchez'
[ 5376, 262, 5249, 3458, 5764, 351, 8464, 286, 300, 84, 271, 443, 299, 264, 299, 2395, 89, 46506, 366, 20575, 22055, 5764, 1, 16034, 3084, 62, 2327, 4531, 19, 33411, 366, 48056, 1, 796, 705, 2290, 271, 443, 18840, 264, 21162, 2395, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5249, 3458, 5764, 351, 8464, 286, 300, 84, 271, 443, 299, 264, 299, 2395, 89, 46506, 366, 20575, 22055, 5764, 1, 16034, 3084, 62, 2327, 4531, 19, 33411, 366, 48056, 1, 796, 705, 2290, 271, 443, 18840, 264, 21162, 2395, 89...
Show the most frequently used carrier of the phones.
SELECT carrier FROM phone GROUP BY carrier ORDER BY COUNT(*) DESC LIMIT 1
[ 15307, 262, 749, 6777, 973, 11920, 286, 262, 9512, 13, 46506, 11920, 16034, 3072, 44441, 11050, 11920, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 15307, 262, 749, 6777, 973, 11920, 286, 262, 9512, 13, 46506, 11920, 16034, 3072, 44441, 11050, 11920, 38678, 11050, 327, 28270, 7, 28104, 22196, 34, 27564, 2043, 352 ]
Gold of 1, and a Total smaller than 4, and a Bronze smaller than 0 has the lowest silver?
SELECT MIN(silver) FROM table_name_19 WHERE gold = 1 AND total < 4 AND bronze < 0
[ 13306, 286, 352, 11, 290, 257, 7472, 4833, 621, 604, 11, 290, 257, 19461, 4833, 621, 657, 468, 262, 9016, 8465, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 3869, 796, 352, 5357, 2472, 1279, 604, 5357, 2210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13306, 286, 352, 11, 290, 257, 7472, 4833, 621, 604, 11, 290, 257, 19461, 4833, 621, 657, 468, 262, 9016, 8465, 30, 46506, 20625, 7, 40503, 8, 16034, 3084, 62, 3672, 62, 1129, 33411, 3869, 796, 352, 5357, 2472, 1279, 604, 5357, 2210...