instruction
stringlengths
0
1.06k
response
stringlengths
2
3.61k
input_ids
list
attention_mask
list
labels
list
Which League that has a Open Cup of 1st round, and a Year of 2009?
SELECT league FROM table_name_99 WHERE open_cup = "1st round" AND year = 2009
[ 13828, 4041, 326, 468, 257, 4946, 5454, 286, 352, 301, 2835, 11, 290, 257, 6280, 286, 3717, 30, 46506, 4652, 16034, 3084, 62, 3672, 62, 2079, 33411, 1280, 62, 25244, 796, 366, 16, 301, 2835, 1, 5357, 614, 796, 3717 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4041, 326, 468, 257, 4946, 5454, 286, 352, 301, 2835, 11, 290, 257, 6280, 286, 3717, 30, 46506, 4652, 16034, 3084, 62, 3672, 62, 2079, 33411, 1280, 62, 25244, 796, 366, 16, 301, 2835, 1, 5357, 614, 796, 3717 ]
How many wins were there for Washington State College with losses greater than 980 and a first season before 1906 and rank greater than 42?
SELECT COUNT(wins) FROM table_name_29 WHERE losses > 980 AND first_season < 1906 AND college = "washington state" AND rank > 42
[ 2437, 867, 7864, 547, 612, 329, 2669, 1812, 5535, 351, 9089, 3744, 621, 32614, 290, 257, 717, 1622, 878, 40538, 290, 4279, 3744, 621, 5433, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 9089, 1875, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7864, 547, 612, 329, 2669, 1812, 5535, 351, 9089, 3744, 621, 32614, 290, 257, 717, 1622, 878, 40538, 290, 4279, 3744, 621, 5433, 30, 46506, 327, 28270, 7, 86, 1040, 8, 16034, 3084, 62, 3672, 62, 1959, 33411, 9089, 1875, 3...
Which country has a GDP (nominal) of $29.9 billion?
SELECT country FROM table_name_30 WHERE gdp__nominal_ = "$29.9 billion"
[ 13828, 1499, 468, 257, 12396, 357, 26601, 1292, 8, 286, 720, 1959, 13, 24, 2997, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1270, 33411, 308, 26059, 834, 26601, 1292, 62, 796, 17971, 1959, 13, 24, 2997, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1499, 468, 257, 12396, 357, 26601, 1292, 8, 286, 720, 1959, 13, 24, 2997, 30, 46506, 1499, 16034, 3084, 62, 3672, 62, 1270, 33411, 308, 26059, 834, 26601, 1292, 62, 796, 17971, 1959, 13, 24, 2997, 1 ]
What was the to par of the player of who scored 70-70=140?
SELECT "To par" FROM table_9426 WHERE "Score" = '70-70=140'
[ 2061, 373, 262, 284, 1582, 286, 262, 2137, 286, 508, 7781, 4317, 12, 2154, 28, 15187, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 5824, 2075, 33411, 366, 26595, 1, 796, 705, 2154, 12, 2154, 28, 15187, 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, 373, 262, 284, 1582, 286, 262, 2137, 286, 508, 7781, 4317, 12, 2154, 28, 15187, 30, 46506, 366, 2514, 1582, 1, 16034, 3084, 62, 5824, 2075, 33411, 366, 26595, 1, 796, 705, 2154, 12, 2154, 28, 15187, 6 ]
What date was the Silverstone circuit driven?
SELECT date FROM table_1140119_5 WHERE circuit = "Silverstone"
[ 2061, 3128, 373, 262, 7698, 6440, 10349, 7986, 30, 46506, 3128, 16034, 3084, 62, 16562, 486, 1129, 62, 20, 33411, 10349, 796, 366, 26766, 6440, 1 ]
[ 1, 1, 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, 373, 262, 7698, 6440, 10349, 7986, 30, 46506, 3128, 16034, 3084, 62, 16562, 486, 1129, 62, 20, 33411, 10349, 796, 366, 26766, 6440, 1 ]
Users by average down / answer.
WITH Userdown AS (SELECT Posts.OwnerUserId AS UserId, COUNT(*) AS Downs FROM Posts, Votes WHERE Posts.PostTypeId = 2 AND Votes.PostId = Posts.Id AND Votes.VoteTypeId = 3 AND Posts.OwnerUserId > 0 GROUP BY Posts.OwnerUserId), UserA AS (SELECT Posts.OwnerUserId AS UserId, COUNT(*) AS Answers FROM Posts WHERE Posts.PostTy...
[ 14490, 416, 2811, 866, 1220, 3280, 13, 54, 10554, 11787, 2902, 7054, 357, 46506, 12043, 13, 42419, 12982, 7390, 7054, 11787, 7390, 11, 327, 28270, 7, 28104, 7054, 49618, 16034, 12043, 11, 39584, 33411, 12043, 13, 6307, 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...
[ 14490, 416, 2811, 866, 1220, 3280, 13, 54, 10554, 11787, 2902, 7054, 357, 46506, 12043, 13, 42419, 12982, 7390, 7054, 11787, 7390, 11, 327, 28270, 7, 28104, 7054, 49618, 16034, 12043, 11, 39584, 33411, 12043, 13, 6307, 6030, 7390, 796, ...
Name the host for prime
SELECT host_s_ FROM table_16884579_1 WHERE network = "Prime"
[ 5376, 262, 2583, 329, 6994, 46506, 2583, 62, 82, 62, 16034, 3084, 62, 1433, 3459, 2231, 3720, 62, 16, 33411, 3127, 796, 366, 26405, 1 ]
[ 1, 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, 2583, 329, 6994, 46506, 2583, 62, 82, 62, 16034, 3084, 62, 1433, 3459, 2231, 3720, 62, 16, 33411, 3127, 796, 366, 26405, 1 ]
Mideast region host University of Tennessee is in what state?
SELECT state FROM table_name_70 WHERE region = "mideast" AND host = "university of tennessee"
[ 44, 485, 459, 3814, 2583, 2059, 286, 11287, 318, 287, 644, 1181, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2154, 33411, 3814, 796, 366, 76, 485, 459, 1, 5357, 2583, 796, 366, 403, 1608, 286, 256, 1697, 10702, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 44, 485, 459, 3814, 2583, 2059, 286, 11287, 318, 287, 644, 1181, 30, 46506, 1181, 16034, 3084, 62, 3672, 62, 2154, 33411, 3814, 796, 366, 76, 485, 459, 1, 5357, 2583, 796, 366, 403, 1608, 286, 256, 1697, 10702, 1 ]
How many broadband subscribers are there where the population is ~3,644,070?
SELECT number_of_broadband_subscribers FROM table_name_24 WHERE population = "~3,644,070"
[ 2437, 867, 18729, 18327, 389, 612, 810, 262, 3265, 318, 5299, 18, 11, 29173, 11, 43509, 30, 46506, 1271, 62, 1659, 62, 36654, 3903, 62, 7266, 40075, 364, 16034, 3084, 62, 3672, 62, 1731, 33411, 3265, 796, 366, 93, 18, 11, 29173, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 18729, 18327, 389, 612, 810, 262, 3265, 318, 5299, 18, 11, 29173, 11, 43509, 30, 46506, 1271, 62, 1659, 62, 36654, 3903, 62, 7266, 40075, 364, 16034, 3084, 62, 3672, 62, 1731, 33411, 3265, 796, 366, 93, 18, 11, 29173, 11,...
Who had the most laps led in monterey, california when scott rarick won the race?
SELECT "Most laps led" FROM table_27987 WHERE "Location" = 'Monterey, California' AND "Winning driver" = 'Scott Rarick'
[ 8241, 550, 262, 749, 24590, 2957, 287, 40689, 48023, 11, 2386, 361, 3317, 618, 629, 1252, 374, 283, 624, 1839, 262, 3234, 30, 46506, 366, 6943, 24590, 2957, 1, 16034, 3084, 62, 1983, 44183, 33411, 366, 14749, 1, 796, 705, 26031, 48023...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 8241, 550, 262, 749, 24590, 2957, 287, 40689, 48023, 11, 2386, 361, 3317, 618, 629, 1252, 374, 283, 624, 1839, 262, 3234, 30, 46506, 366, 6943, 24590, 2957, 1, 16034, 3084, 62, 1983, 44183, 33411, 366, 14749, 1, 796, 705, 26031, 48023...
What is the Away team at the Wolverhampton Wanderers Home game with a Score of 2 0?
SELECT away_team FROM table_name_33 WHERE score = "2–0" AND home_team = "wolverhampton wanderers"
[ 2061, 318, 262, 21986, 1074, 379, 262, 26328, 2763, 10972, 22420, 19288, 5995, 983, 351, 257, 15178, 286, 362, 657, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 2091, 33411, 4776, 796, 366, 17, 1906, 15, 1, 5357, 1363, 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 ]
[ 2061, 318, 262, 21986, 1074, 379, 262, 26328, 2763, 10972, 22420, 19288, 5995, 983, 351, 257, 15178, 286, 362, 657, 30, 46506, 1497, 62, 15097, 16034, 3084, 62, 3672, 62, 2091, 33411, 4776, 796, 366, 17, 1906, 15, 1, 5357, 1363, 62, ...
What is the country of player vijay singh?
SELECT "Country" FROM table_62413 WHERE "Player" = 'vijay singh'
[ 2061, 318, 262, 1499, 286, 2137, 410, 2926, 323, 1702, 71, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 1731, 1485, 33411, 366, 14140, 1, 796, 705, 85, 2926, 323, 1702, 71, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1499, 286, 2137, 410, 2926, 323, 1702, 71, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 21, 1731, 1485, 33411, 366, 14140, 1, 796, 705, 85, 2926, 323, 1702, 71, 6 ]
how many patients since 2105 were prescribed heparin, porcine (pf) 5000 unit/0.5 ml inj syringe after monitor vital capacities for deterioration within 2 months?
SELECT COUNT(DISTINCT t1.uniquepid) FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'monitor vital capacities for deterioration' AND STRFTIME('%y', treatment.treatmenttime) >= '2105') AS t1 JOI...
[ 4919, 867, 3871, 1201, 362, 13348, 547, 14798, 339, 1845, 259, 11, 16964, 66, 500, 357, 79, 69, 8, 23336, 4326, 14, 15, 13, 20, 25962, 2529, 827, 38229, 706, 5671, 9204, 32484, 329, 38495, 1626, 362, 1933, 30, 46506, 327, 28270, 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...
[ 4919, 867, 3871, 1201, 362, 13348, 547, 14798, 339, 1845, 259, 11, 16964, 66, 500, 357, 79, 69, 8, 23336, 4326, 14, 15, 13, 20, 25962, 2529, 827, 38229, 706, 5671, 9204, 32484, 329, 38495, 1626, 362, 1933, 30, 46506, 327, 28270, 7, ...
In what district is the incumbent Lawrence J. Smith?
SELECT "District" FROM table_18273 WHERE "Incumbent" = 'Lawrence J. Smith'
[ 818, 644, 4783, 318, 262, 23526, 13914, 449, 13, 4176, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 27367, 33411, 366, 25517, 2178, 298, 1, 796, 705, 16966, 6784, 449, 13, 4176, 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 ]
[ 818, 644, 4783, 318, 262, 23526, 13914, 449, 13, 4176, 30, 46506, 366, 44857, 1, 16034, 3084, 62, 1507, 27367, 33411, 366, 25517, 2178, 298, 1, 796, 705, 16966, 6784, 449, 13, 4176, 6 ]
What is the national share of Guizhou's administrative division?
SELECT "National Share (%)" FROM table_1632 WHERE "Administrative Division" = 'Guizhou'
[ 2061, 318, 262, 2260, 2648, 286, 1962, 528, 15710, 338, 11553, 7297, 30, 46506, 366, 16186, 8734, 11509, 1, 16034, 3084, 62, 1433, 2624, 33411, 366, 41862, 13260, 7458, 1, 796, 705, 8205, 528, 15710, 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 ]
[ 2061, 318, 262, 2260, 2648, 286, 1962, 528, 15710, 338, 11553, 7297, 30, 46506, 366, 16186, 8734, 11509, 1, 16034, 3084, 62, 1433, 2624, 33411, 366, 41862, 13260, 7458, 1, 796, 705, 8205, 528, 15710, 6 ]
What's the general classification of stage 3 with David Loosli as the mountains classification?
SELECT general_classification FROM table_name_74 WHERE mountains_classification = "david loosli" AND stage = "3"
[ 2061, 338, 262, 2276, 17923, 286, 3800, 513, 351, 3271, 6706, 418, 4528, 355, 262, 12269, 17923, 30, 46506, 2276, 62, 4871, 2649, 16034, 3084, 62, 3672, 62, 4524, 33411, 12269, 62, 4871, 2649, 796, 366, 67, 8490, 37222, 4528, 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 ]
[ 2061, 338, 262, 2276, 17923, 286, 3800, 513, 351, 3271, 6706, 418, 4528, 355, 262, 12269, 17923, 30, 46506, 2276, 62, 4871, 2649, 16034, 3084, 62, 3672, 62, 4524, 33411, 12269, 62, 4871, 2649, 796, 366, 67, 8490, 37222, 4528, 1, 5357,...
Bar graph to show the average of product price from different product category code, and show bar in descending order.
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY product_category_code DESC
[ 10374, 4823, 284, 905, 262, 2811, 286, 1720, 2756, 422, 1180, 1720, 6536, 2438, 11, 290, 905, 2318, 287, 31491, 1502, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 22872...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 4823, 284, 905, 262, 2811, 286, 1720, 2756, 422, 1180, 1720, 6536, 2438, 11, 290, 905, 2318, 287, 31491, 1502, 13, 46506, 1720, 62, 22872, 62, 8189, 11, 35224, 7, 11167, 62, 20888, 8, 16034, 18675, 44441, 11050, 1720, 62, 22872...
Show the number of the names of editors that are on the committee of journals with sales bigger than 3000, and display in descending by the total number.
SELECT Name, COUNT(Name) FROM journal_committee AS T1 JOIN editor AS T2 ON T1.Editor_ID = T2.Editor_ID JOIN journal AS T3 ON T1.Journal_ID = T3.Journal_ID WHERE T3.Sales > 3000 GROUP BY Name ORDER BY COUNT(Name) DESC
[ 15307, 262, 1271, 286, 262, 3891, 286, 15719, 326, 389, 319, 262, 5583, 286, 22790, 351, 4200, 5749, 621, 20343, 11, 290, 3359, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 3989, 62, 26799, 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...
[ 15307, 262, 1271, 286, 262, 3891, 286, 15719, 326, 389, 319, 262, 5583, 286, 22790, 351, 4200, 5749, 621, 20343, 11, 290, 3359, 287, 31491, 416, 262, 2472, 1271, 13, 46506, 6530, 11, 327, 28270, 7, 5376, 8, 16034, 3989, 62, 26799, 7...
fasting blood glucose < 126 mg / dl
SELECT * FROM table_train_265 WHERE fasting_blood_glucose_fbg < 126
[ 7217, 278, 2910, 15701, 1279, 19710, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 22980, 33411, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 1279, 19710 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 7217, 278, 2910, 15701, 1279, 19710, 10527, 1220, 288, 75, 46506, 1635, 16034, 3084, 62, 27432, 62, 22980, 33411, 24845, 62, 18041, 62, 4743, 1229, 577, 62, 21855, 70, 1279, 19710 ]
How many ranks have a Bronze smaller than 8, and a Total smaller than 7, and a Gold smaller than 1?
SELECT COUNT(rank) FROM table_name_1 WHERE bronze < 8 AND total < 7 AND gold < 1
[ 2437, 867, 9803, 423, 257, 19461, 4833, 621, 807, 11, 290, 257, 7472, 4833, 621, 767, 11, 290, 257, 3561, 4833, 621, 352, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 22101, 1279, 807, 5357, 2472, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 9803, 423, 257, 19461, 4833, 621, 807, 11, 290, 257, 7472, 4833, 621, 767, 11, 290, 257, 3561, 4833, 621, 352, 30, 46506, 327, 28270, 7, 43027, 8, 16034, 3084, 62, 3672, 62, 16, 33411, 22101, 1279, 807, 5357, 2472, 1279, ...
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, find hire_date and the sum of salary bin hire_date by weekday, and visualize them by a bar chart.
SELECT HIRE_DATE, SUM(SALARY) 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, 1064, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 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...
[ 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, 1064, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 2...
what does the meal code S/ stand for
SELECT DISTINCT compartment, meal_code, meal_description, meal_number FROM food_service WHERE meal_code = 'S/'
[ 10919, 857, 262, 9799, 2438, 311, 14, 1302, 329, 46506, 360, 8808, 1268, 4177, 26247, 11, 9799, 62, 8189, 11, 9799, 62, 11213, 11, 9799, 62, 17618, 16034, 2057, 62, 15271, 33411, 9799, 62, 8189, 796, 705, 50, 14, 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 ]
[ 10919, 857, 262, 9799, 2438, 311, 14, 1302, 329, 46506, 360, 8808, 1268, 4177, 26247, 11, 9799, 62, 8189, 11, 9799, 62, 11213, 11, 9799, 62, 17618, 16034, 2057, 62, 15271, 33411, 9799, 62, 8189, 796, 705, 50, 14, 6 ]
Name the number of team for 19th position
SELECT COUNT(team) FROM table_27666856_3 WHERE position_in_table = "19th"
[ 5376, 262, 1271, 286, 1074, 329, 678, 400, 2292, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 1983, 2791, 3104, 3980, 62, 18, 33411, 2292, 62, 259, 62, 11487, 796, 366, 1129, 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 ]
[ 5376, 262, 1271, 286, 1074, 329, 678, 400, 2292, 46506, 327, 28270, 7, 15097, 8, 16034, 3084, 62, 1983, 2791, 3104, 3980, 62, 18, 33411, 2292, 62, 259, 62, 11487, 796, 366, 1129, 400, 1 ]
In the Champions league, what is the Minimum
SELECT MIN(Champions) AS league FROM table_17505751_5
[ 818, 262, 6662, 4652, 11, 644, 318, 262, 26265, 46506, 20625, 7, 1925, 4350, 8, 7054, 4652, 16034, 3084, 62, 1558, 31654, 48365, 62, 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 ]
[ 818, 262, 6662, 4652, 11, 644, 318, 262, 26265, 46506, 20625, 7, 1925, 4350, 8, 7054, 4652, 16034, 3084, 62, 1558, 31654, 48365, 62, 20 ]
give me the top four most common diagnoses since 5 years ago?
SELECT t1.diagnosisname FROM (SELECT diagnosis.diagnosisname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM diagnosis WHERE DATETIME(diagnosis.diagnosistime) >= DATETIME(CURRENT_TIME(), '-5 year') GROUP BY diagnosis.diagnosisname) AS t1 WHERE t1.c1 <= 4
[ 26535, 502, 262, 1353, 1440, 749, 2219, 40567, 1201, 642, 812, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 26535, 502, 262, 1353, 1440, 749, 2219, 40567, 1201, 642, 812, 2084, 30, 46506, 256, 16, 13, 47356, 5958, 3672, 16034, 357, 46506, 13669, 13, 47356, 5958, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, 357, 12532, 1137, 11050, 327, ...
since 09/07/2105 what is the maximum sao2 of patient 006-57924?
SELECT MAX(vitalperiodic.sao2) FROM vitalperiodic WHERE vitalperiodic.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-57924')) AND NOT vitalperiodic.sao2 IS NULL AND STRFT...
[ 20777, 7769, 14, 2998, 14, 17, 13348, 644, 318, 262, 5415, 473, 78, 17, 286, 5827, 3571, 21, 12, 41734, 1731, 30, 46506, 25882, 7, 85, 1287, 41007, 291, 13, 82, 5488, 17, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 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...
[ 20777, 7769, 14, 2998, 14, 17, 13348, 644, 318, 262, 5415, 473, 78, 17, 286, 5827, 3571, 21, 12, 41734, 1731, 30, 46506, 25882, 7, 85, 1287, 41007, 291, 13, 82, 5488, 17, 8, 16034, 9204, 41007, 291, 33411, 9204, 41007, 291, 13, 26...
among patients who had initial insertion of single-chamber device, rate responsive, calculate the number of those belonging to american indian/alaska native origin
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND procedures.long_title = "Initial insertion of single-chamber device, rate responsive"
[ 35131, 3871, 508, 550, 4238, 36075, 286, 2060, 12, 354, 7789, 3335, 11, 2494, 21802, 11, 15284, 262, 1271, 286, 883, 16686, 284, 45630, 272, 773, 666, 14, 282, 8480, 6868, 8159, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 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...
[ 35131, 3871, 508, 550, 4238, 36075, 286, 2060, 12, 354, 7789, 3335, 11, 2494, 21802, 11, 15284, 262, 1271, 286, 883, 16686, 284, 45630, 272, 773, 666, 14, 282, 8480, 6868, 8159, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, ...
On what Date is the Winning Score 71-69-68-70=278?
SELECT date FROM table_name_60 WHERE winning_score = 71 - 69 - 68 - 70 = 278
[ 2202, 644, 7536, 318, 262, 40983, 15178, 9166, 12, 3388, 12, 3104, 12, 2154, 28, 25870, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1899, 33411, 5442, 62, 26675, 796, 9166, 532, 8644, 532, 8257, 532, 4317, 796, 39174 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2202, 644, 7536, 318, 262, 40983, 15178, 9166, 12, 3388, 12, 3104, 12, 2154, 28, 25870, 30, 46506, 3128, 16034, 3084, 62, 3672, 62, 1899, 33411, 5442, 62, 26675, 796, 9166, 532, 8644, 532, 8257, 532, 4317, 796, 39174 ]
Name the total number of african record
SELECT COUNT("Paula Radcliffe ( GBR )") FROM table_26214 WHERE "World record" = 'African record'
[ 5376, 262, 2472, 1271, 286, 6580, 37189, 1700, 46506, 327, 28270, 7203, 12041, 64, 5325, 33783, 357, 402, 11473, 1267, 4943, 16034, 3084, 62, 2075, 22291, 33411, 366, 10603, 1700, 1, 796, 705, 43032, 1700, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 2472, 1271, 286, 6580, 37189, 1700, 46506, 327, 28270, 7203, 12041, 64, 5325, 33783, 357, 402, 11473, 1267, 4943, 16034, 3084, 62, 2075, 22291, 33411, 366, 10603, 1700, 1, 796, 705, 43032, 1700, 6 ]
Are morning classes conducted in PERSIAN 101 ?
SELECT COUNT(*) > 0 FROM course, course_offering, semester WHERE course_offering.start_time < '12:00:00' AND course_offering.start_time >= '08:00:00' AND course.course_id = course_offering.course_id AND course.department = 'PERSIAN' AND course.number = 101 AND semester.semester = 'WN' AND semester.semester_id = course_...
[ 8491, 3329, 6097, 5952, 287, 350, 4877, 16868, 8949, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 405, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3329, 6097, 5952, 287, 350, 4877, 16868, 8949, 5633, 46506, 327, 28270, 7, 28104, 1875, 657, 16034, 1781, 11, 1781, 62, 2364, 1586, 11, 24878, 33411, 1781, 62, 2364, 1586, 13, 9688, 62, 2435, 1279, 705, 1065, 25, 405, 25, 405, ...
What was the date for the Champs Sports Bowl?
SELECT "Date" FROM table_2398 WHERE "Bowl Game" = 'Champs Sports Bowl'
[ 2061, 373, 262, 3128, 329, 262, 609, 9430, 7092, 8693, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1954, 4089, 33411, 366, 33, 4883, 3776, 1, 796, 705, 1925, 9430, 7092, 8693, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 3128, 329, 262, 609, 9430, 7092, 8693, 30, 46506, 366, 10430, 1, 16034, 3084, 62, 1954, 4089, 33411, 366, 33, 4883, 3776, 1, 796, 705, 1925, 9430, 7092, 8693, 6 ]
when did patient 26849 for the first time leave the hospital during the previous year?
SELECT admissions.dischtime FROM admissions WHERE admissions.subject_id = 26849 AND DATETIME(admissions.dischtime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') ORDER BY admissions.dischtime LIMIT 1
[ 12518, 750, 5827, 36678, 2920, 329, 262, 717, 640, 2666, 262, 4436, 1141, 262, 2180, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 36678, 2920, 5357, 360, 1404, 2767, 12789, 7, 324, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 12518, 750, 5827, 36678, 2920, 329, 262, 717, 640, 2666, 262, 4436, 1141, 262, 2180, 614, 30, 46506, 25349, 13, 6381, 354, 2435, 16034, 25349, 33411, 25349, 13, 32796, 62, 312, 796, 36678, 2920, 5357, 360, 1404, 2767, 12789, 7, 324, 8...
Which women's doubles had the men's singles player Kenichi Tago?
SELECT "Women's doubles" FROM table_57129 WHERE "Men's singles" = 'kenichi tago'
[ 13828, 1466, 338, 21938, 550, 262, 1450, 338, 25287, 2137, 7148, 16590, 309, 3839, 30, 46506, 366, 18495, 338, 21938, 1, 16034, 3084, 62, 3553, 18741, 33411, 366, 10418, 338, 25287, 1, 796, 705, 3464, 16590, 256, 3839, 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 ]
[ 13828, 1466, 338, 21938, 550, 262, 1450, 338, 25287, 2137, 7148, 16590, 309, 3839, 30, 46506, 366, 18495, 338, 21938, 1, 16034, 3084, 62, 3553, 18741, 33411, 366, 10418, 338, 25287, 1, 796, 705, 3464, 16590, 256, 3839, 6 ]
Which season had 34 losses?
SELECT "Season" FROM table_60657 WHERE "Losses" = '34'
[ 13828, 1622, 550, 4974, 9089, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1899, 37680, 33411, 366, 43, 793, 274, 1, 796, 705, 2682, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1622, 550, 4974, 9089, 30, 46506, 366, 18960, 1, 16034, 3084, 62, 1899, 37680, 33411, 366, 43, 793, 274, 1, 796, 705, 2682, 6 ]
what is the date of vacancy when the date of appointment is 1 january 2009?
SELECT "Date of vacancy" FROM table_64526 WHERE "Date of appointment" = '1 january 2009'
[ 10919, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 352, 42897, 2838, 3717, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 49259, 2075, 33411, 366, 10430, 286, 12557, 1, 796, 705, 16, 42897, 2838, 3717, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 3128, 286, 39836, 618, 262, 3128, 286, 12557, 318, 352, 42897, 2838, 3717, 30, 46506, 366, 10430, 286, 39836, 1, 16034, 3084, 62, 49259, 2075, 33411, 366, 10430, 286, 12557, 1, 796, 705, 16, 42897, 2838, 3717, 6 ]
What player has a total of 290 points?
SELECT "Player" FROM table_76426 WHERE "Total" = '290'
[ 2061, 2137, 468, 257, 2472, 286, 26481, 2173, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 2414, 2075, 33411, 366, 14957, 1, 796, 705, 24369, 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 ]
[ 2061, 2137, 468, 257, 2472, 286, 26481, 2173, 30, 46506, 366, 14140, 1, 16034, 3084, 62, 22, 2414, 2075, 33411, 366, 14957, 1, 796, 705, 24369, 6 ]
for the first time this month, when was patient 82132 prescribed furosemide and ferrous sulfate (liquid) at the same time?
SELECT t1.startdate FROM (SELECT admissions.subject_id, prescriptions.startdate FROM prescriptions JOIN admissions ON prescriptions.hadm_id = admissions.hadm_id WHERE prescriptions.drug = 'furosemide' AND admissions.subject_id = 82132 AND DATETIME(prescriptions.startdate, 'start of month') = DATETIME(CURRENT_TIME(), 's...
[ 1640, 262, 717, 640, 428, 1227, 11, 618, 373, 5827, 9415, 19924, 14798, 277, 1434, 43616, 485, 290, 11354, 7596, 22443, 378, 357, 39250, 8, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 1640, 262, 717, 640, 428, 1227, 11, 618, 373, 5827, 9415, 19924, 14798, 277, 1434, 43616, 485, 290, 11354, 7596, 22443, 378, 357, 39250, 8, 379, 262, 976, 640, 30, 46506, 256, 16, 13, 9688, 4475, 16034, 357, 46506, 25349, 13, 32796, ...
In which season did Fc Pakhtakor Tashkent represent the country of Uzbekistan with more than 6 apps?
SELECT MAX(season) FROM table_name_72 WHERE country = "uzbekistan" AND team = "fc pakhtakor tashkent" AND apps > 6
[ 818, 543, 1622, 750, 376, 66, 6162, 4352, 461, 273, 309, 1077, 74, 298, 2380, 262, 1499, 286, 42619, 4103, 351, 517, 621, 718, 6725, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1499, 796, 366, 10277, 47083,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 818, 543, 1622, 750, 376, 66, 6162, 4352, 461, 273, 309, 1077, 74, 298, 2380, 262, 1499, 286, 42619, 4103, 351, 517, 621, 718, 6725, 30, 46506, 25882, 7, 6230, 8, 16034, 3084, 62, 3672, 62, 4761, 33411, 1499, 796, 366, 10277, 47083,...
What was the venue when the away team scored 9.17 (71)?
SELECT "Venue" FROM table_33792 WHERE "Away team score" = '9.17 (71)'
[ 2061, 373, 262, 14359, 618, 262, 1497, 1074, 7781, 860, 13, 1558, 357, 4869, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 48156, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 1558, 357, 4869, 33047 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 373, 262, 14359, 618, 262, 1497, 1074, 7781, 860, 13, 1558, 357, 4869, 19427, 46506, 366, 37522, 518, 1, 16034, 3084, 62, 2091, 48156, 33411, 366, 32, 1014, 1074, 4776, 1, 796, 705, 24, 13, 1558, 357, 4869, 33047 ]
what is maximum age of patients whose admission location is clinic referral/premature and primary disease is sternal wound infection?
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND demographic.diagnosis = "STERNAL WOUND INFECTION"
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 26370, 282, 11699, 10280, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 10919, 318, 5415, 2479, 286, 3871, 3025, 13938, 4067, 318, 15760, 31413, 14, 31605, 1300, 290, 4165, 4369, 318, 26370, 282, 11699, 10280, 30, 46506, 25882, 7, 9536, 6826, 13, 496, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62, 24886,...
What is the title of the original airing on e4 May 2, 2010?
SELECT "Title" FROM table_24835 WHERE "Original airing on E4" = 'May 2, 2010'
[ 2061, 318, 262, 3670, 286, 262, 2656, 31701, 319, 304, 19, 1737, 362, 11, 3050, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 23045, 2327, 33411, 366, 20556, 31701, 319, 412, 19, 1, 796, 705, 6747, 362, 11, 3050, 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, 3670, 286, 262, 2656, 31701, 319, 304, 19, 1737, 362, 11, 3050, 30, 46506, 366, 19160, 1, 16034, 3084, 62, 23045, 2327, 33411, 366, 20556, 31701, 319, 412, 19, 1, 796, 705, 6747, 362, 11, 3050, 6 ]
What is the last match with a resigned manner of departure and a round 1 date of vacancy?
SELECT "Last match" FROM table_35438 WHERE "Manner of departure" = 'resigned' AND "Date of vacancy" = 'round 1'
[ 2061, 318, 262, 938, 2872, 351, 257, 16542, 5642, 286, 12928, 290, 257, 2835, 352, 3128, 286, 39836, 30, 46506, 366, 5956, 2872, 1, 16034, 3084, 62, 32182, 2548, 33411, 366, 5124, 1008, 286, 12928, 1, 796, 705, 411, 3916, 6, 5357, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 938, 2872, 351, 257, 16542, 5642, 286, 12928, 290, 257, 2835, 352, 3128, 286, 39836, 30, 46506, 366, 5956, 2872, 1, 16034, 3084, 62, 32182, 2548, 33411, 366, 5124, 1008, 286, 12928, 1, 796, 705, 411, 3916, 6, 5357, 3...
When did the no. 23 show originally air?
SELECT "Original air date" FROM table_16282 WHERE "No. in season" = '23'
[ 2215, 750, 262, 645, 13, 2242, 905, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1433, 32568, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1954, 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 ]
[ 2215, 750, 262, 645, 13, 2242, 905, 6198, 1633, 30, 46506, 366, 20556, 1633, 3128, 1, 16034, 3084, 62, 1433, 32568, 33411, 366, 2949, 13, 287, 1622, 1, 796, 705, 1954, 6 ]
how many elections had more than 200,000 popular votes ?
SELECT COUNT("election") FROM table_203_558 WHERE "number of\npopular votes" > 200000
[ 4919, 867, 7024, 550, 517, 621, 939, 11, 830, 2968, 5690, 5633, 46506, 327, 28270, 7203, 14300, 4943, 16034, 3084, 62, 22416, 62, 40486, 33411, 366, 17618, 286, 59, 77, 47568, 5690, 1, 1875, 939, 830 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7024, 550, 517, 621, 939, 11, 830, 2968, 5690, 5633, 46506, 327, 28270, 7203, 14300, 4943, 16034, 3084, 62, 22416, 62, 40486, 33411, 366, 17618, 286, 59, 77, 47568, 5690, 1, 1875, 939, 830 ]
what is the number of patients who have had hematopoetic growth factors - sargramostim (leukine ) since 5 years ago?
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'hematopoetic growth factors - sargramostim (leukine )' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-5 year'))
[ 10919, 318, 262, 1271, 286, 3871, 508, 423, 550, 339, 6759, 404, 78, 5139, 3349, 5087, 532, 264, 853, 859, 455, 320, 357, 293, 2724, 500, 1267, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 508, 423, 550, 339, 6759, 404, 78, 5139, 3349, 5087, 532, 264, 853, 859, 455, 320, 357, 293, 2724, 500, 1267, 1201, 642, 812, 2084, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 5827, 13, 403, 1...
flight from DALLAS to MILWAUKEE
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_0.city_code = AIRPORT_SERVICE_0.city_code AND CITY_0.city_name = 'DALLAS' AND CITY_1.city_code = AIRPORT_SERVICE_1.city_code AND CITY_1.city_name = 'MILWAUK...
[ 22560, 422, 360, 7036, 1921, 284, 31515, 15543, 52, 7336, 33635, 16779, 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, 7054, 31600, 15490, 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...
[ 22560, 422, 360, 7036, 1921, 284, 31515, 15543, 52, 7336, 33635, 16779, 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, 7054, 31600, 15490, 62, ...
How many games were recorded when the team was @ Memphis?
SELECT COUNT("Game") FROM table_21556 WHERE "Team" = '@ Memphis'
[ 2437, 867, 1830, 547, 6264, 618, 262, 1074, 373, 2488, 20522, 30, 46506, 327, 28270, 7203, 8777, 4943, 16034, 3084, 62, 23349, 3980, 33411, 366, 15592, 1, 796, 705, 31, 20522, 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, 1830, 547, 6264, 618, 262, 1074, 373, 2488, 20522, 30, 46506, 327, 28270, 7203, 8777, 4943, 16034, 3084, 62, 23349, 3980, 33411, 366, 15592, 1, 796, 705, 31, 20522, 6 ]
For what country does the golfer play who has a score of 72-65=137?
SELECT "Country" FROM table_60342 WHERE "Score" = '72-65=137'
[ 1890, 644, 1499, 857, 262, 43791, 2232, 711, 508, 468, 257, 4776, 286, 7724, 12, 2996, 28, 19708, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1899, 31575, 33411, 366, 26595, 1, 796, 705, 4761, 12, 2996, 28, 19708, 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 ]
[ 1890, 644, 1499, 857, 262, 43791, 2232, 711, 508, 468, 257, 4776, 286, 7724, 12, 2996, 28, 19708, 30, 46506, 366, 33921, 1, 16034, 3084, 62, 1899, 31575, 33411, 366, 26595, 1, 796, 705, 4761, 12, 2996, 28, 19708, 6 ]
What was Kilgore's percentage when Potts (I) had 4% and Kaine (D) 47%, in the poll from October 30, 2005?
SELECT "Kilgore (R)" FROM table_61992 WHERE "Potts (I)" = '4%' AND "Kaine (D)" = '47%' AND "Date" = 'october 30, 2005'
[ 2061, 373, 19902, 70, 382, 338, 5873, 618, 6902, 912, 357, 40, 8, 550, 604, 4, 290, 37193, 357, 35, 8, 6298, 7441, 287, 262, 3278, 422, 3267, 1542, 11, 5075, 30, 46506, 366, 42, 346, 70, 382, 357, 49, 16725, 16034, 3084, 62, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 373, 19902, 70, 382, 338, 5873, 618, 6902, 912, 357, 40, 8, 550, 604, 4, 290, 37193, 357, 35, 8, 6298, 7441, 287, 262, 3278, 422, 3267, 1542, 11, 5075, 30, 46506, 366, 42, 346, 70, 382, 357, 49, 16725, 16034, 3084, 62, 21,...
How many distinct allergies are there?
SELECT COUNT(DISTINCT allergytype) FROM allergy_type
[ 2437, 867, 7310, 36665, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 36197, 4906, 8, 16034, 36197, 62, 4906 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2437, 867, 7310, 36665, 389, 612, 30, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 36197, 4906, 8, 16034, 36197, 62, 4906 ]
Who was the high rebounds of team @ Detroit?
SELECT high_rebounds FROM table_27721131_10 WHERE team = "@ Detroit"
[ 8241, 373, 262, 1029, 18841, 286, 1074, 2488, 8488, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 4761, 1157, 3132, 62, 940, 33411, 1074, 796, 44212, 8488, 1 ]
[ 1, 1, 1, 1, 1, 1, 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, 1029, 18841, 286, 1074, 2488, 8488, 30, 46506, 1029, 62, 34806, 3733, 16034, 3084, 62, 1983, 4761, 1157, 3132, 62, 940, 33411, 1074, 796, 44212, 8488, 1 ]
How old was the person born 24 September 1851 at the time of disaster?
SELECT "Age at Time of Disaster" FROM table_77832 WHERE "Date of Birth" = '24 september 1851'
[ 2437, 1468, 373, 262, 1048, 4642, 1987, 2693, 1248, 4349, 379, 262, 640, 286, 9336, 30, 46506, 366, 23396, 379, 3862, 286, 35213, 1, 16034, 3084, 62, 39761, 2624, 33411, 366, 10430, 286, 17647, 1, 796, 705, 1731, 384, 457, 1491, 1248,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1468, 373, 262, 1048, 4642, 1987, 2693, 1248, 4349, 379, 262, 640, 286, 9336, 30, 46506, 366, 23396, 379, 3862, 286, 35213, 1, 16034, 3084, 62, 39761, 2624, 33411, 366, 10430, 286, 17647, 1, 796, 705, 1731, 384, 457, 1491, 1248,...
What was the attendance on October 27, 1968?
SELECT MAX("Week") FROM table_10859 WHERE "Date" = 'october 27, 1968'
[ 2061, 373, 262, 14858, 319, 3267, 2681, 11, 15963, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 15711, 3270, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2681, 11, 15963, 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, 373, 262, 14858, 319, 3267, 2681, 11, 15963, 30, 46506, 25882, 7203, 20916, 4943, 16034, 3084, 62, 15711, 3270, 33411, 366, 10430, 1, 796, 705, 38441, 2023, 2681, 11, 15963, 6 ]
What is Kent Patterson's nationality?
SELECT "Nationality" FROM table_56361 WHERE "Player" = 'kent patterson'
[ 2061, 318, 8758, 27042, 338, 29835, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 3980, 35195, 33411, 366, 14140, 1, 796, 705, 74, 298, 1458, 23192, 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, 318, 8758, 27042, 338, 29835, 30, 46506, 366, 16186, 414, 1, 16034, 3084, 62, 3980, 35195, 33411, 366, 14140, 1, 796, 705, 74, 298, 1458, 23192, 6 ]
What is the family friendly status of the punk genre song from the 1970s?
SELECT "Family Friendly" FROM table_35966 WHERE "Decade" = '1970s' AND "Genre" = 'punk'
[ 2061, 318, 262, 1641, 8030, 3722, 286, 262, 22782, 12121, 3496, 422, 262, 8069, 82, 30, 46506, 366, 24094, 38683, 1, 16034, 3084, 62, 30743, 2791, 33411, 366, 10707, 671, 1, 796, 705, 30986, 82, 6, 5357, 366, 13746, 260, 1, 796, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 1641, 8030, 3722, 286, 262, 22782, 12121, 3496, 422, 262, 8069, 82, 30, 46506, 366, 24094, 38683, 1, 16034, 3084, 62, 30743, 2791, 33411, 366, 10707, 671, 1, 796, 705, 30986, 82, 6, 5357, 366, 13746, 260, 1, 796, 705...
what is the club in the sixth round proper
SELECT clubs FROM table_27876486_2 WHERE round = "Sixth round proper"
[ 10919, 318, 262, 3430, 287, 262, 11695, 2835, 1774, 46506, 9784, 16034, 3084, 62, 1983, 5774, 2414, 4521, 62, 17, 33411, 2835, 796, 366, 21447, 400, 2835, 1774, 1 ]
[ 1, 1, 1, 1, 1, 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, 287, 262, 11695, 2835, 1774, 46506, 9784, 16034, 3084, 62, 1983, 5774, 2414, 4521, 62, 17, 33411, 2835, 796, 366, 21447, 400, 2835, 1774, 1 ]
Name the home team score when the away team is south melbourne
SELECT home_team AS score FROM table_name_15 WHERE away_team = "south melbourne"
[ 5376, 262, 1363, 1074, 4776, 618, 262, 1497, 1074, 318, 5366, 7758, 12544, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1314, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 1363, 1074, 4776, 618, 262, 1497, 1074, 318, 5366, 7758, 12544, 46506, 1363, 62, 15097, 7054, 4776, 16034, 3084, 62, 3672, 62, 1314, 33411, 1497, 62, 15097, 796, 366, 35782, 7758, 12544, 1 ]
What was the result of the game with 9 goals?
SELECT "Result" FROM table_51220 WHERE "Goal" = '9'
[ 2061, 373, 262, 1255, 286, 262, 983, 351, 860, 4661, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 25836, 1238, 33411, 366, 49045, 1, 796, 705, 24, 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, 1255, 286, 262, 983, 351, 860, 4661, 30, 46506, 366, 23004, 1, 16034, 3084, 62, 25836, 1238, 33411, 366, 49045, 1, 796, 705, 24, 6 ]
What is the smallest year when Ubisoft Montreal was the developer (s)?
SELECT MIN("Year") FROM table_64968 WHERE "Developer(s)" = 'ubisoft montreal'
[ 2061, 318, 262, 18197, 614, 618, 34559, 12871, 373, 262, 8517, 357, 82, 19427, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 33300, 3104, 33411, 366, 45351, 7, 82, 16725, 796, 705, 549, 29719, 40689, 5305, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 318, 262, 18197, 614, 618, 34559, 12871, 373, 262, 8517, 357, 82, 19427, 46506, 20625, 7203, 17688, 4943, 16034, 3084, 62, 33300, 3104, 33411, 366, 45351, 7, 82, 16725, 796, 705, 549, 29719, 40689, 5305, 6 ]
which jockey rode his horse named major hitch ?
SELECT "jockey" FROM table_204_561 WHERE "name" = 'major hitch'
[ 4758, 474, 8337, 22075, 465, 8223, 3706, 1688, 35996, 5633, 46506, 366, 73, 8337, 1, 16034, 3084, 62, 18638, 62, 47915, 33411, 366, 3672, 1, 796, 705, 22478, 35996, 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 ]
[ 4758, 474, 8337, 22075, 465, 8223, 3706, 1688, 35996, 5633, 46506, 366, 73, 8337, 1, 16034, 3084, 62, 18638, 62, 47915, 33411, 366, 3672, 1, 796, 705, 22478, 35996, 6 ]
show me the top three most frequent treatments?
SELECT d_icd_procedures.short_title FROM d_icd_procedures WHERE d_icd_procedures.icd9_code IN (SELECT t1.icd9_code FROM (SELECT procedures_icd.icd9_code, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM procedures_icd GROUP BY procedures_icd.icd9_code) AS t1 WHERE t1.c1 <= 3)
[ 12860, 502, 262, 1353, 1115, 749, 10792, 13820, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 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...
[ 12860, 502, 262, 1353, 1115, 749, 10792, 13820, 30, 46506, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 19509, 62, 7839, 16034, 288, 62, 291, 67, 62, 1676, 771, 942, 33411, 288, 62, 291, 67, 62, 1676, 771, 942, 13, 291, 67, 24, 62,...
Who wrote the sorry of the episode directed by Dan Attias?
SELECT story_by FROM table_13755296_1 WHERE directed_by = "Dan Attias"
[ 8241, 2630, 262, 7926, 286, 262, 4471, 7924, 416, 6035, 3460, 4448, 30, 46506, 1621, 62, 1525, 16034, 3084, 62, 1485, 38172, 27137, 62, 16, 33411, 7924, 62, 1525, 796, 366, 21174, 3460, 4448, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2630, 262, 7926, 286, 262, 4471, 7924, 416, 6035, 3460, 4448, 30, 46506, 1621, 62, 1525, 16034, 3084, 62, 1485, 38172, 27137, 62, 16, 33411, 7924, 62, 1525, 796, 366, 21174, 3460, 4448, 1 ]
Return the description of the product called 'Chocolate'.
SELECT product_description FROM products WHERE product_name = "Chocolate"
[ 13615, 262, 6764, 286, 262, 1720, 1444, 705, 1925, 9140, 4458, 46506, 1720, 62, 11213, 16034, 3186, 33411, 1720, 62, 3672, 796, 366, 1925, 9140, 1 ]
[ 1, 1, 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, 6764, 286, 262, 1720, 1444, 705, 1925, 9140, 4458, 46506, 1720, 62, 11213, 16034, 3186, 33411, 1720, 62, 3672, 796, 366, 1925, 9140, 1 ]
Who is the opponent in the final of the Tournament of Blenheim?
SELECT opponent_in_the_final FROM table_name_42 WHERE tournament = "blenheim"
[ 8241, 318, 262, 6125, 287, 262, 2457, 286, 262, 9595, 286, 1086, 268, 9096, 30, 46506, 6125, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 3682, 33411, 7756, 796, 366, 2436, 268, 9096, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6125, 287, 262, 2457, 286, 262, 9595, 286, 1086, 268, 9096, 30, 46506, 6125, 62, 259, 62, 1169, 62, 20311, 16034, 3084, 62, 3672, 62, 3682, 33411, 7756, 796, 366, 2436, 268, 9096, 1 ]
How many reserves were established on 19740329 29.03.1974?
SELECT COUNT("NSG Nr.") FROM table_28236 WHERE "Date established" = '19740329 29.03.1974'
[ 2437, 867, 14072, 547, 4920, 319, 29903, 31552, 1959, 2808, 13, 3070, 13, 40828, 30, 46506, 327, 28270, 7203, 8035, 38, 399, 81, 19570, 16034, 3084, 62, 2078, 24940, 33411, 366, 10430, 4920, 1, 796, 705, 24991, 31552, 1959, 2808, 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 ]
[ 2437, 867, 14072, 547, 4920, 319, 29903, 31552, 1959, 2808, 13, 3070, 13, 40828, 30, 46506, 327, 28270, 7203, 8035, 38, 399, 81, 19570, 16034, 3084, 62, 2078, 24940, 33411, 366, 10430, 4920, 1, 796, 705, 24991, 31552, 1959, 2808, 13, ...
what is the component before usb ?
SELECT "component" FROM table_204_451 WHERE id = (SELECT id FROM table_204_451 WHERE "component" = 'usb') - 1
[ 10919, 318, 262, 7515, 878, 38551, 5633, 46506, 366, 42895, 1, 16034, 3084, 62, 18638, 62, 36330, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 36330, 33411, 366, 42895, 1, 796, 705, 43319, 11537, 532, 352 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 318, 262, 7515, 878, 38551, 5633, 46506, 366, 42895, 1, 16034, 3084, 62, 18638, 62, 36330, 33411, 4686, 796, 357, 46506, 4686, 16034, 3084, 62, 18638, 62, 36330, 33411, 366, 42895, 1, 796, 705, 43319, 11537, 532, 352 ]
among patients of age 50s during the previous year, what were the top four most frequent lab tests?
SELECT t1.labname FROM (SELECT lab.labname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.age BETWEEN 50 AND 59) AND DATETIME(lab.labresulttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year')...
[ 35131, 3871, 286, 2479, 2026, 82, 1141, 262, 2180, 614, 11, 644, 547, 262, 1353, 1440, 749, 10792, 2248, 5254, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 35131, 3871, 286, 2479, 2026, 82, 1141, 262, 2180, 614, 11, 644, 547, 262, 1353, 1440, 749, 10792, 2248, 5254, 30, 46506, 256, 16, 13, 23912, 3672, 16034, 357, 46506, 2248, 13, 23912, 3672, 11, 360, 24290, 62, 49, 15154, 3419, 28729, ...
Which Beam has a Model of 570?
SELECT "Beam" FROM table_48875 WHERE "Model" = '570'
[ 13828, 25855, 468, 257, 9104, 286, 44626, 30, 46506, 366, 3856, 321, 1, 16034, 3084, 62, 2780, 31360, 33411, 366, 17633, 1, 796, 705, 39254, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 25855, 468, 257, 9104, 286, 44626, 30, 46506, 366, 3856, 321, 1, 16034, 3084, 62, 2780, 31360, 33411, 366, 17633, 1, 796, 705, 39254, 6 ]
What is the lowest January, when Game is less than 46, when Score is '5 - 3', and when Record is '15-22-8'?
SELECT MIN(january) FROM table_name_94 WHERE game < 46 AND score = "5 - 3" AND record = "15-22-8"
[ 2061, 318, 262, 9016, 3269, 11, 618, 3776, 318, 1342, 621, 6337, 11, 618, 15178, 318, 705, 20, 532, 513, 3256, 290, 618, 13266, 318, 705, 1314, 12, 1828, 12, 23, 30960, 46506, 20625, 7, 13881, 2838, 8, 16034, 3084, 62, 3672, 62, 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, 1, 1, 1, 1, 1, 1, 1...
[ 2061, 318, 262, 9016, 3269, 11, 618, 3776, 318, 1342, 621, 6337, 11, 618, 15178, 318, 705, 20, 532, 513, 3256, 290, 618, 13266, 318, 705, 1314, 12, 1828, 12, 23, 30960, 46506, 20625, 7, 13881, 2838, 8, 16034, 3084, 62, 3672, 62, 5...
What time did the game at memorial stadium take place?
SELECT "Time ( ET )" FROM table_39687 WHERE "Location" = 'memorial stadium'
[ 2061, 640, 750, 262, 983, 379, 17357, 10308, 1011, 1295, 30, 46506, 366, 7575, 357, 12152, 1267, 1, 16034, 3084, 62, 2670, 39925, 33411, 366, 14749, 1, 796, 705, 11883, 5132, 10308, 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, 640, 750, 262, 983, 379, 17357, 10308, 1011, 1295, 30, 46506, 366, 7575, 357, 12152, 1267, 1, 16034, 3084, 62, 2670, 39925, 33411, 366, 14749, 1, 796, 705, 11883, 5132, 10308, 6 ]
When they played at the Bankatlantic Center, what was their record?
SELECT "Record" FROM table_21650 WHERE "Location" = 'BankAtlantic Center'
[ 2215, 484, 2826, 379, 262, 5018, 43342, 3337, 11, 644, 373, 511, 1700, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 20666, 1120, 33411, 366, 14749, 1, 796, 705, 28650, 41120, 3337, 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 ]
[ 2215, 484, 2826, 379, 262, 5018, 43342, 3337, 11, 644, 373, 511, 1700, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 20666, 1120, 33411, 366, 14749, 1, 796, 705, 28650, 41120, 3337, 6 ]
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the sum of salary bin hire_date by time, could you sort from high to low by the Y please?
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(SALARY) DESC
[ 1890, 477, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 640, 11, 714, 345, 3297, 422, 1029, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4409, 508, 423, 262, 7475, 360, 393, 311, 287, 511, 717, 1438, 11, 3197, 257, 2318, 8262, 546, 262, 6082, 286, 11078, 62, 4475, 290, 262, 2160, 286, 9588, 9874, 11078, 62, 4475, 416, 640, 11, 714, 345, 3297, 422, 1029, ...
Display a bar chart for what are the hometowns of gymnasts and the corresponding number of gymnasts?, show Hometown from low to high order.
SELECT Hometown, COUNT(*) FROM gymnast AS T1 JOIN people AS T2 ON T1.Gymnast_ID = T2.People_ID GROUP BY T2.Hometown ORDER BY Hometown
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 20994, 82, 286, 38581, 5773, 290, 262, 11188, 1271, 286, 38581, 5773, 21747, 905, 367, 19191, 422, 1877, 284, 1029, 1502, 13, 46506, 367, 19191, 11, 327, 28270, 7, 28104, 16034, 38581, 459, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 23114, 257, 2318, 8262, 329, 644, 389, 262, 20994, 82, 286, 38581, 5773, 290, 262, 11188, 1271, 286, 38581, 5773, 21747, 905, 367, 19191, 422, 1877, 284, 1029, 1502, 13, 46506, 367, 19191, 11, 327, 28270, 7, 28104, 16034, 38581, 459, ...
What is the average MHz Frequency of radio rezonans?
SELECT AVG("Frequency MHz") FROM table_67920 WHERE "Program" = 'radio rezonans'
[ 2061, 318, 262, 2811, 19805, 31902, 286, 5243, 302, 26361, 504, 30, 46506, 35224, 7203, 37, 28707, 19805, 4943, 16034, 3084, 62, 3134, 37128, 33411, 366, 15167, 1, 796, 705, 37004, 302, 26361, 504, 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, 318, 262, 2811, 19805, 31902, 286, 5243, 302, 26361, 504, 30, 46506, 35224, 7203, 37, 28707, 19805, 4943, 16034, 3084, 62, 3134, 37128, 33411, 366, 15167, 1, 796, 705, 37004, 302, 26361, 504, 6 ]
Compare the total number of each fate with a bar chart, list X-axis in asc order.
SELECT Fate, COUNT(Fate) FROM mission GROUP BY Fate ORDER BY Fate
[ 41488, 262, 2472, 1271, 286, 1123, 10030, 351, 257, 2318, 8262, 11, 1351, 1395, 12, 22704, 287, 10570, 1502, 13, 46506, 20341, 11, 327, 28270, 7, 37, 378, 8, 16034, 4365, 44441, 11050, 20341, 38678, 11050, 20341 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 41488, 262, 2472, 1271, 286, 1123, 10030, 351, 257, 2318, 8262, 11, 1351, 1395, 12, 22704, 287, 10570, 1502, 13, 46506, 20341, 11, 327, 28270, 7, 37, 378, 8, 16034, 4365, 44441, 11050, 20341, 38678, 11050, 20341 ]
Who is the Winning Driver, when Most Laps Led is Dario Franchitti, and when Pole Position is H lio Castroneves?
SELECT "Winning driver" FROM table_40550 WHERE "Most laps led" = 'dario franchitti' AND "Pole position" = 'hélio castroneves'
[ 8241, 318, 262, 40983, 12434, 11, 618, 4042, 406, 1686, 22964, 318, 360, 4982, 41705, 715, 72, 11, 290, 618, 29385, 23158, 318, 367, 300, 952, 5833, 33171, 1158, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 1821, 22730, 33411...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40983, 12434, 11, 618, 4042, 406, 1686, 22964, 318, 360, 4982, 41705, 715, 72, 11, 290, 618, 29385, 23158, 318, 367, 300, 952, 5833, 33171, 1158, 30, 46506, 366, 16643, 768, 4639, 1, 16034, 3084, 62, 1821, 22730, 33411...
what is the number of patients whose diagnoses long title is mitral valve disorders?
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Mitral valve disorders"
[ 10919, 318, 262, 1271, 286, 3871, 3025, 40567, 890, 3670, 318, 10255, 1373, 22580, 11916, 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, 1810...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 40567, 890, 3670, 318, 10255, 1373, 22580, 11916, 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, 1810...
Which home team had a visitor of Ottawa Senators with a score of 1 5?
SELECT "Home" FROM table_78166 WHERE "Visitor" = 'ottawa senators' AND "Score" = '1–5'
[ 13828, 1363, 1074, 550, 257, 21493, 286, 14074, 22195, 351, 257, 4776, 286, 352, 642, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3695, 23055, 33411, 366, 15854, 2072, 1, 796, 705, 1252, 6909, 15469, 6, 5357, 366, 26595, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 1363, 1074, 550, 257, 21493, 286, 14074, 22195, 351, 257, 4776, 286, 352, 642, 30, 46506, 366, 16060, 1, 16034, 3084, 62, 3695, 23055, 33411, 366, 15854, 2072, 1, 796, 705, 1252, 6909, 15469, 6, 5357, 366, 26595, 1, 796, 705, ...
when has patient 79348 received a calcium, total lab test for the first time in 05/this year?
SELECT labevents.charttime FROM labevents WHERE labevents.itemid IN (SELECT d_labitems.itemid FROM d_labitems WHERE d_labitems.label = 'calcium, total') AND labevents.hadm_id IN (SELECT admissions.hadm_id FROM admissions WHERE admissions.subject_id = 79348) AND DATETIME(labevents.charttime, 'start of year') = DATETIME(...
[ 12518, 468, 5827, 9225, 28978, 2722, 257, 19700, 11, 2472, 2248, 1332, 329, 262, 717, 640, 287, 8870, 14, 5661, 614, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 468, 5827, 9225, 28978, 2722, 257, 19700, 11, 2472, 2248, 1332, 329, 262, 717, 640, 287, 8870, 14, 5661, 614, 30, 46506, 2248, 31534, 13, 40926, 2435, 16034, 2248, 31534, 33411, 2248, 31534, 13, 9186, 312, 3268, 357, 46506, 288, ...
Who is the director for the film title Eldra?
SELECT "Director" FROM table_28652 WHERE "Film title" = 'Eldra'
[ 8241, 318, 262, 3437, 329, 262, 2646, 3670, 19208, 430, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2078, 43193, 33411, 366, 39750, 3670, 1, 796, 705, 36, 335, 430, 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 ]
[ 8241, 318, 262, 3437, 329, 262, 2646, 3670, 19208, 430, 30, 46506, 366, 28702, 1, 16034, 3084, 62, 2078, 43193, 33411, 366, 39750, 3670, 1, 796, 705, 36, 335, 430, 6 ]
When 7.08 is the amount of viewers how many directors are there?
SELECT COUNT("Director") FROM table_27105 WHERE "Viewers" = '7.08'
[ 2215, 767, 13, 2919, 318, 262, 2033, 286, 10209, 703, 867, 13445, 389, 612, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 1983, 13348, 33411, 366, 7680, 364, 1, 796, 705, 22, 13, 2919, 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 ]
[ 2215, 767, 13, 2919, 318, 262, 2033, 286, 10209, 703, 867, 13445, 389, 612, 30, 46506, 327, 28270, 7203, 28702, 4943, 16034, 3084, 62, 1983, 13348, 33411, 366, 7680, 364, 1, 796, 705, 22, 13, 2919, 6 ]
When was Alexey Kuleshov born?
SELECT birth_date FROM table_19900792_1 WHERE player = "Alexey Kuleshov"
[ 2215, 373, 4422, 2959, 509, 5028, 28026, 4642, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 1129, 12865, 48156, 62, 16, 33411, 2137, 796, 366, 15309, 2959, 509, 5028, 28026, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2215, 373, 4422, 2959, 509, 5028, 28026, 4642, 30, 46506, 4082, 62, 4475, 16034, 3084, 62, 1129, 12865, 48156, 62, 16, 33411, 2137, 796, 366, 15309, 2959, 509, 5028, 28026, 1 ]
Bar chart x axis participant type code y axis the number of participant type code, show by the bar in desc please.
SELECT Participant_Type_Code, COUNT(Participant_Type_Code) FROM Participants GROUP BY Participant_Type_Code ORDER BY Participant_Type_Code DESC
[ 10374, 8262, 2124, 16488, 18399, 2099, 2438, 331, 16488, 262, 1271, 286, 18399, 2099, 2438, 11, 905, 416, 262, 2318, 287, 1715, 3387, 13, 46506, 29880, 62, 6030, 62, 10669, 11, 327, 28270, 7, 34363, 415, 62, 6030, 62, 10669, 8, 16034,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10374, 8262, 2124, 16488, 18399, 2099, 2438, 331, 16488, 262, 1271, 286, 18399, 2099, 2438, 11, 905, 416, 262, 2318, 287, 1715, 3387, 13, 46506, 29880, 62, 6030, 62, 10669, 11, 327, 28270, 7, 34363, 415, 62, 6030, 62, 10669, 8, 16034,...
What is Postition, when Date of Birth (Age) is Example, and when Player is Mark Spencer?
SELECT "Position" FROM table_41528 WHERE "Date of Birth (Age)" = 'example' AND "Player" = 'mark spencer'
[ 2061, 318, 2947, 653, 11, 618, 7536, 286, 17647, 357, 23396, 8, 318, 17934, 11, 290, 618, 7853, 318, 2940, 15971, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 35038, 2078, 33411, 366, 10430, 286, 17647, 357, 23396, 16725, 796, 705, 2068...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2947, 653, 11, 618, 7536, 286, 17647, 357, 23396, 8, 318, 17934, 11, 290, 618, 7853, 318, 2940, 15971, 30, 46506, 366, 26545, 1, 16034, 3084, 62, 35038, 2078, 33411, 366, 10430, 286, 17647, 357, 23396, 16725, 796, 705, 2068...
Role of narrator, and a Year larger than 2009, and a Release/Air Date of 7 october 2010 belongs to what author?
SELECT "Author" FROM table_67775 WHERE "Role" = 'narrator' AND "Year" > '2009' AND "Release/Air Date" = '7 october 2010'
[ 47445, 286, 32339, 11, 290, 257, 6280, 4025, 621, 3717, 11, 290, 257, 13868, 14, 16170, 7536, 286, 767, 19318, 2023, 3050, 14448, 284, 644, 1772, 30, 46506, 366, 13838, 1, 16034, 3084, 62, 3134, 34483, 33411, 366, 47445, 1, 796, 705, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 47445, 286, 32339, 11, 290, 257, 6280, 4025, 621, 3717, 11, 290, 257, 13868, 14, 16170, 7536, 286, 767, 19318, 2023, 3050, 14448, 284, 644, 1772, 30, 46506, 366, 13838, 1, 16034, 3084, 62, 3134, 34483, 33411, 366, 47445, 1, 796, 705, ...
What is the brand of the Sigma 30mm f2.8 DN, which has a maximum aperture of f /2.8 and a focal length of 30mm?
SELECT "Brand" FROM table_79373 WHERE "Max. aperture" = 'f /2.8' AND "Focal Length" = '30mm' AND "Product Name" = 'sigma 30mm f2.8 dn'
[ 2061, 318, 262, 4508, 286, 262, 31669, 1542, 3020, 277, 17, 13, 23, 45080, 11, 543, 468, 257, 5415, 32729, 286, 277, 1220, 17, 13, 23, 290, 257, 25397, 4129, 286, 1542, 3020, 30, 46506, 366, 38416, 1, 16034, 3084, 62, 3720, 34770, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4508, 286, 262, 31669, 1542, 3020, 277, 17, 13, 23, 45080, 11, 543, 468, 257, 5415, 32729, 286, 277, 1220, 17, 13, 23, 290, 257, 25397, 4129, 286, 1542, 3020, 30, 46506, 366, 38416, 1, 16034, 3084, 62, 3720, 34770, ...
what were the three most frequently ordered procedures for patients who had previously received sedative agent - lorazepam in the same month in 2101?
SELECT t3.treatmentname FROM (SELECT t2.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM (SELECT patient.uniquepid, treatment.treatmenttime FROM treatment JOIN patient ON treatment.patientunitstayid = patient.patientunitstayid WHERE treatment.treatmentname = 'sedative agent - lorazepam' AND STRFTIME...
[ 10919, 547, 262, 1115, 749, 6777, 6149, 9021, 329, 3871, 508, 550, 4271, 2722, 10081, 876, 5797, 532, 300, 273, 1031, 538, 321, 287, 262, 976, 1227, 287, 2310, 486, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 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, 1...
[ 10919, 547, 262, 1115, 749, 6777, 6149, 9021, 329, 3871, 508, 550, 4271, 2722, 10081, 876, 5797, 532, 300, 273, 1031, 538, 321, 287, 262, 976, 1227, 287, 2310, 486, 30, 46506, 256, 18, 13, 42487, 3672, 16034, 357, 46506, 256, 17, 13...
what's the edo flight with duration being 17 days, 15 hours, 53 minutes, 18 seconds
SELECT "EDO Flight" FROM table_19139 WHERE "Duration" = '17 days, 15 hours, 53 minutes, 18 seconds'
[ 10919, 338, 262, 1225, 78, 5474, 351, 9478, 852, 1596, 1528, 11, 1315, 2250, 11, 7192, 2431, 11, 1248, 4201, 46506, 366, 1961, 46, 13365, 1, 16034, 3084, 62, 1129, 20219, 33411, 366, 26054, 1, 796, 705, 1558, 1528, 11, 1315, 2250, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 10919, 338, 262, 1225, 78, 5474, 351, 9478, 852, 1596, 1528, 11, 1315, 2250, 11, 7192, 2431, 11, 1248, 4201, 46506, 366, 1961, 46, 13365, 1, 16034, 3084, 62, 1129, 20219, 33411, 366, 26054, 1, 796, 705, 1558, 1528, 11, 1315, 2250, 1...
How many games had Robin Lopez (10) for the most rebounds?
SELECT COUNT(game) FROM table_27733258_2 WHERE high_rebounds = "Robin Lopez (10)"
[ 2437, 867, 1830, 550, 12325, 22593, 357, 940, 8, 329, 262, 749, 18841, 30, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 27019, 2091, 25600, 62, 17, 33411, 1029, 62, 34806, 3733, 796, 366, 40656, 22593, 357, 940, 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, 1, 1, 1 ]
[ 2437, 867, 1830, 550, 12325, 22593, 357, 940, 8, 329, 262, 749, 18841, 30, 46506, 327, 28270, 7, 6057, 8, 16034, 3084, 62, 27019, 2091, 25600, 62, 17, 33411, 1029, 62, 34806, 3733, 796, 366, 40656, 22593, 357, 940, 16725 ]
Tell me the player for pick of 145
SELECT "Player" FROM table_4356 WHERE "Pick" = '145'
[ 24446, 502, 262, 2137, 329, 2298, 286, 20299, 46506, 366, 14140, 1, 16034, 3084, 62, 19, 32066, 33411, 366, 31686, 1, 796, 705, 18781, 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 ]
[ 24446, 502, 262, 2137, 329, 2298, 286, 20299, 46506, 366, 14140, 1, 16034, 3084, 62, 19, 32066, 33411, 366, 31686, 1, 796, 705, 18781, 6 ]
What was the record on February 2?
SELECT "Record" FROM table_46772 WHERE "Date" = 'february 2'
[ 2061, 373, 262, 1700, 319, 3945, 362, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24669, 4761, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 362, 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, 1700, 319, 3945, 362, 30, 46506, 366, 23739, 1, 16034, 3084, 62, 24669, 4761, 33411, 366, 10430, 1, 796, 705, 69, 1765, 3728, 362, 6 ]
Name the february
SELECT "February" FROM table_20050
[ 5376, 262, 730, 65, 3728, 46506, 366, 21816, 1, 16034, 3084, 62, 2167, 1120 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 5376, 262, 730, 65, 3728, 46506, 366, 21816, 1, 16034, 3084, 62, 2167, 1120 ]
What State/Country is Sean Langman the skipper?
SELECT state_country FROM table_25594888_1 WHERE skipper = "Sean Langman"
[ 2061, 1812, 14, 33921, 318, 11465, 16332, 805, 262, 1341, 14710, 30, 46506, 1181, 62, 19315, 16034, 3084, 62, 1495, 3270, 2780, 3459, 62, 16, 33411, 1341, 14710, 796, 366, 26408, 16332, 805, 1 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 2061, 1812, 14, 33921, 318, 11465, 16332, 805, 262, 1341, 14710, 30, 46506, 1181, 62, 19315, 16034, 3084, 62, 1495, 3270, 2780, 3459, 62, 16, 33411, 1341, 14710, 796, 366, 26408, 16332, 805, 1 ]
In which event did Fabuleux 5 get a result smaller than 70.88?
SELECT "Event" FROM table_13945 WHERE "Horse" = 'fabuleux 5' AND "Result" < '70.88'
[ 818, 543, 1785, 750, 14236, 2261, 2821, 642, 651, 257, 1255, 4833, 621, 4317, 13, 3459, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 20219, 2231, 33411, 366, 39, 7615, 1, 796, 705, 36434, 2261, 2821, 642, 6, 5357, 366, 23004, 1, 1279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 818, 543, 1785, 750, 14236, 2261, 2821, 642, 651, 257, 1255, 4833, 621, 4317, 13, 3459, 30, 46506, 366, 9237, 1, 16034, 3084, 62, 20219, 2231, 33411, 366, 39, 7615, 1, 796, 705, 36434, 2261, 2821, 642, 6, 5357, 366, 23004, 1, 1279, ...
How many numbers were recorded for Qatari female when Qatari male was 97?
SELECT COUNT(qatari_female) FROM table_19309079_2 WHERE qatari_male = 97
[ 2437, 867, 3146, 547, 6264, 329, 1195, 35554, 4048, 618, 1195, 35554, 4257, 373, 10111, 30, 46506, 327, 28270, 7, 80, 35554, 62, 24724, 8, 16034, 3084, 62, 1129, 26895, 2998, 24, 62, 17, 33411, 10662, 35554, 62, 22606, 796, 10111 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3146, 547, 6264, 329, 1195, 35554, 4048, 618, 1195, 35554, 4257, 373, 10111, 30, 46506, 327, 28270, 7, 80, 35554, 62, 24724, 8, 16034, 3084, 62, 1129, 26895, 2998, 24, 62, 17, 33411, 10662, 35554, 62, 22606, 796, 10111 ]
count the number of elective hospital admissions who had clinic referral/premature as their admission location.
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.admission_location = "CLINIC REFERRAL/PREMATURE"
[ 9127, 262, 1271, 286, 1742, 425, 4436, 25349, 508, 550, 15760, 31413, 14, 31605, 1300, 355, 511, 13938, 4067, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 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...
[ 9127, 262, 1271, 286, 1742, 425, 4436, 25349, 508, 550, 15760, 31413, 14, 31605, 1300, 355, 511, 13938, 4067, 13, 46506, 327, 28270, 7, 35, 8808, 1268, 4177, 16728, 13, 32796, 62, 312, 8, 16034, 16728, 33411, 16728, 13, 324, 3411, 62,...
Which poll put Dick Durbin at 56%?
SELECT "Poll Source" FROM table_8093 WHERE "Democrat: Dick Durbin" = '56%'
[ 13828, 3278, 1234, 11740, 360, 5945, 259, 379, 7265, 4, 30, 46506, 366, 39176, 8090, 1, 16034, 3084, 62, 1795, 6052, 33411, 366, 11522, 35128, 25, 11740, 360, 5945, 259, 1, 796, 705, 3980, 4, 6 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 13828, 3278, 1234, 11740, 360, 5945, 259, 379, 7265, 4, 30, 46506, 366, 39176, 8090, 1, 16034, 3084, 62, 1795, 6052, 33411, 366, 11522, 35128, 25, 11740, 360, 5945, 259, 1, 796, 705, 3980, 4, 6 ]
What were the options that were completed before the 4 th task that had viewers selecting nan?
SELECT "Options" FROM table_6554 WHERE "Result" = 'completed' AND "Task No." < '4' AND "Viewers' selection" = 'nan'
[ 2061, 547, 262, 3689, 326, 547, 5668, 878, 262, 604, 294, 4876, 326, 550, 10209, 17246, 15709, 30, 46506, 366, 29046, 1, 16034, 3084, 62, 35916, 19, 33411, 366, 23004, 1, 796, 705, 785, 16838, 6, 5357, 366, 25714, 1400, 526, 1279, 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 ]
[ 2061, 547, 262, 3689, 326, 547, 5668, 878, 262, 604, 294, 4876, 326, 550, 10209, 17246, 15709, 30, 46506, 366, 29046, 1, 16034, 3084, 62, 35916, 19, 33411, 366, 23004, 1, 796, 705, 785, 16838, 6, 5357, 366, 25714, 1400, 526, 1279, 7...
Name the surface for united airlines tournament of champions final round
SELECT "Surface" FROM table_69646 WHERE "Tournament" = 'united airlines tournament of champions' AND "Round" = 'final'
[ 5376, 262, 4417, 329, 16503, 26225, 7756, 286, 7827, 2457, 2835, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3388, 27720, 33411, 366, 51, 5138, 1, 796, 705, 41187, 26225, 7756, 286, 7827, 6, 5357, 366, 22685, 1, 796, 705, 20311, 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 ]
[ 5376, 262, 4417, 329, 16503, 26225, 7756, 286, 7827, 2457, 2835, 46506, 366, 14214, 2550, 1, 16034, 3084, 62, 3388, 27720, 33411, 366, 51, 5138, 1, 796, 705, 41187, 26225, 7756, 286, 7827, 6, 5357, 366, 22685, 1, 796, 705, 20311, 6 ]
give the total number of riders listed .
SELECT COUNT("rider") FROM table_204_162
[ 26535, 262, 2472, 1271, 286, 13750, 5610, 764, 46506, 327, 28270, 7203, 49449, 4943, 16034, 3084, 62, 18638, 62, 25061 ]
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1 ]
[ 26535, 262, 2472, 1271, 286, 13750, 5610, 764, 46506, 327, 28270, 7203, 49449, 4943, 16034, 3084, 62, 18638, 62, 25061 ]