NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Name the label for traditional chinese
CREATE TABLE table_1893815_1 ( label VARCHAR, chinese__traditional_ VARCHAR )
SELECT label FROM table_1893815_1 WHERE chinese__traditional_ = "情歌沒有告訴你"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 3747, 1808, 834, 536, 41, 3783, 584, 4280, 28027, 6, 3, 1436, 1496, 15, 834, 834, 26374, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3783, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3783, 21680, 953, 834, 25312, 3747, 1808, 834, 536, 549, 17444, 427, 3, 1436, 1496, 15, 834, 834, 26374, 834, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year did Team of Andretti Green Racing have a finish smaller than 8 with a Dallara chassis?
CREATE TABLE table_name_51 ( year VARCHAR, finish VARCHAR, chassis VARCHAR, team VARCHAR )
SELECT year FROM table_name_51 WHERE chassis = "dallara" AND team = "andretti green racing" AND finish < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 215, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 22836, 3274, 96, 26, 1748, 2551, 121, 3430, 372, 3274, 96, 232, 52, 10652, 1442, 8191, 121, 3430, 1992, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100,...
What was the SECR number of the item made in 1861?
CREATE TABLE table_name_31 (secr_numbers VARCHAR, year_made VARCHAR)
SELECT secr_numbers FROM table_name_31 WHERE year_made = "1861"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7549, 52, 834, 5525, 1152, 7, 584, 4280, 28027, 6, 215, 834, 4725, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5985, 4545, 381, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4220, 52, 834, 5525, 1152, 7, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 215, 834, 4725, 3274, 96, 2606, 4241, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the ages of editors and the theme of journals for which they serve on committees by a bar chart, and list the bars in ascending alphabetical order of theme.
CREATE TABLE journal_committee ( Editor_ID int, Journal_ID int, Work_Type text ) CREATE TABLE editor ( Editor_ID int, Name text, Age real ) CREATE TABLE journal ( Journal_ID int, Date text, Theme text, Sales int )
SELECT Theme, Age 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 ORDER BY T3.Theme
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 834, 287, 1538, 17, 15, 15, 41, 11953, 834, 4309, 16, 17, 6, 3559, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 37, 526, 6, 7526, 21680, 6378, 834, 287, 1538, 17, 15, 15, 6157, 332, 536, 3, 15355, 3162, 6005, 6157, 332, 357, 9191, 332, 5411, 26527, 127, 834, 4309, 3274, 332, 4416, 26527, 127, 834, 4309, 3, 15355, 3162, 6378, ...
When was the game played at Moorabbin Oval?
CREATE TABLE table_name_59 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_59 WHERE venue = "moorabbin oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 5522, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 1944, 44, 1290, 127, 12982, 77, 411, 2165, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 5669, 3274, 96, 21477, 12982, 77, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
on what album did the single old habits die hard appear ?
CREATE TABLE table_200_22 ( id number, "year" number, "single" text, "peak chart positions\nger" number, "peak chart positions\nire" number, "peak chart positions\nuk" number, "peak chart positions\nus" number, "peak chart positions\nus\nmain" number, "peak chart positions\nus\ndance...
SELECT "year" FROM table_200_22 WHERE "single" = '"old habits die hard"'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 834, 2884, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 7, 53, 109, 121, 1499, 6, 96, 14661, 5059, 4655, 2, 9369, 121, 381, 6, 96, 14661, 5059, 4655, 2, 29...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 3632, 834, 2884, 549, 17444, 427, 96, 7, 53, 109, 121, 3274, 3, 31, 121, 1490, 8966, 67, 614, 121, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the City, when the Prize is $1,859,000?
CREATE TABLE table_67354 ( "Date" text, "City" text, "Event" text, "Winner" text, "Prize" text )
SELECT "City" FROM table_67354 WHERE "Prize" = '$1,859,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 2469, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 7855, 776, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 3708, 2469, 591, 549, 17444, 427, 96, 7855, 776, 121, 3274, 3, 31, 3229, 4347, 4433, 23938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Rank of the Film with a Worldwide Gross of $914,691,118?
CREATE TABLE table_43703 ( "Rank" real, "Title" text, "Studio" text, "Director" text, "Worldwide Gross" text )
SELECT "Rank" FROM table_43703 WHERE "Worldwide Gross" = '$914,691,118'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 2518, 519, 41, 96, 22557, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13076, 26, 23, 32, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 17954, 6728, 17969, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22557, 121, 21680, 953, 834, 4906, 2518, 519, 549, 17444, 427, 96, 17954, 6728, 17969, 121, 3274, 3, 31, 3229, 4729, 8525, 3951, 4347, 20056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the crowd with an Away team score of 8.11 (59)?
CREATE TABLE table_32680 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT AVG("Crowd") FROM table_32680 WHERE "Away team score" = '8.11 (59)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2688, 2079, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 519, 2688, 2079, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 20677, 536, 41, 3390, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
What day does the home side score 13.13 (91)?
CREATE TABLE table_57968 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_57968 WHERE "Home team score" = '13.13 (91)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4440, 3651, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 755, 4440, 3651, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 2368, 5, 2368, 14156, 6982, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Atomic property has Helium of 4.16?
CREATE TABLE table_name_57 ( atomic_property VARCHAR, helium VARCHAR )
SELECT atomic_property FROM table_name_57 WHERE helium = "4.16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 3, 20844, 834, 10401, 49, 17, 63, 584, 4280, 28027, 6, 3, 17801, 440, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 20474, 447, 785, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 20844, 834, 10401, 49, 17, 63, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 3, 17801, 440, 3274, 96, 7984, 2938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is b - bishop where ab - angry boar is vw - vertical wolf?
CREATE TABLE table_28262 ( "AB - Angry boar" text, "B - Bishop" text, "BA - Running Bear" text, "BB - Blind Bear" text, "BC - Beast Cadet" text )
SELECT "B - Bishop" FROM table_28262 WHERE "AB - Angry boar" = 'VW - Vertical Wolf'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2688, 357, 41, 96, 5359, 3, 18, 3, 8365, 651, 3005, 291, 121, 1499, 6, 96, 279, 3, 18, 16098, 121, 1499, 6, 96, 4882, 3, 18, 18286, 9034, 121, 1499, 6, 96, 7640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 3, 18, 16098, 121, 21680, 953, 834, 2577, 2688, 357, 549, 17444, 427, 96, 5359, 3, 18, 3, 8365, 651, 3005, 291, 121, 3274, 3, 31, 553, 518, 3, 18, 28057, 9091, 31, 1, -100, -100, -100, -100, -100, -100,...
Tell me the types of the policy used by the customer named 'Dayana Robel'.
CREATE TABLE settlements ( settlement_id number, claim_id number, effective_date time, settlement_amount number ) CREATE TABLE customers_policies ( customer_id number, policy_id number, date_opened time, date_closed time ) CREATE TABLE services ( service_id number, service_name...
SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = "Dayana Robel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7025, 7, 41, 7025, 834, 23, 26, 381, 6, 1988, 834, 23, 26, 381, 6, 1231, 834, 5522, 97, 6, 7025, 834, 9, 11231, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 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...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 17, 5787, 3233, 17686, 834, 6137, 834, 4978, 21680, 722, 6157, 3, 17, 536, 3, 15355, 3162, 722, 834, 3003, 6267, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697, 49, 834, 23, 26, 3274, 3,...
What is the total number of Long with a Av/g of 124.9 but Loss greater than 0?
CREATE TABLE table_36461 ( "Name" text, "GP-GS" real, "Gain" real, "Loss" real, "Long" real, "Avg/G" real )
SELECT COUNT("Long") FROM table_36461 WHERE "Loss" > '0' AND "Avg/G" = '124.9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 4448, 536, 41, 96, 23954, 121, 1499, 6, 96, 8049, 18, 8256, 121, 490, 6, 96, 517, 9, 77, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 434, 2444, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 434, 2444, 8512, 21680, 953, 834, 3420, 4448, 536, 549, 17444, 427, 96, 434, 32, 7, 7, 121, 2490, 3, 31, 632, 31, 3430, 96, 188, 208, 122, 87, 517, 121, 3274, 3, 31, 2122, 27336, 31, 1, ...
provide the number of patients whose drug code is lora1?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "LORA1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What league has a value of 0 29 (152) for Europe?
CREATE TABLE table_15444 ( "Name" text, "Years" text, "League" text, "FA Cup" text, "League Cup" text, "Europe" text, "Other [C ]" text, "Total" text )
SELECT "League" FROM table_15444 WHERE "Europe" = '0 29 (152)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 3628, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 4795, 3802, 121, 1499, 6, 96, 2796, 9, 5398, 3802, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 9, 5398, 121, 21680, 953, 834, 27308, 3628, 549, 17444, 427, 96, 11351, 121, 3274, 3, 31, 632, 2838, 17251, 7318, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose religion is jewish and diagnoses long title is diabetes with ophthalmic manifestations, type ii or unspecified type, not stated as uncontrolled?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.religion = "JEWISH" AND diagnoses.long_title = "Diabetes with ophthalmic manifestations, type II or unspecified type, not stated as uncontrolled"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which one of the songs was originally performed by Rickie Lee Jones?
CREATE TABLE table_12310814_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_12310814_1 WHERE original_artist = "Rickie Lee Jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 16169, 2534, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 926, 834, 1408, 343, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 80, 13, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2324, 834, 3995, 867, 21680, 953, 834, 14574, 16169, 2534, 834, 536, 549, 17444, 427, 926, 834, 1408, 343, 3274, 96, 448, 447, 11390, 5531, 6193, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Halang has a Rera of ʒo²?
CREATE TABLE table_name_6 (halang VARCHAR, rera VARCHAR)
SELECT halang FROM table_name_6 WHERE rera = "ʒo²"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 1024, 4612, 584, 4280, 28027, 6, 3, 52, 1498, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1626, 4612, 65, 3, 9, 391, 1498, 13, 3, 2, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4244, 4612, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 3, 52, 1498, 3274, 96, 2, 32, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
WHERE IS ANDRE PETERSSON FROM?
CREATE TABLE table_11803648_17 ( nationality VARCHAR, player VARCHAR )
SELECT nationality FROM table_11803648_17 WHERE player = "Andre Petersson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2079, 3420, 3707, 834, 2517, 41, 1157, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 549, 17444, 427, 6827, 3430, 4386, 22970, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 2596, 2079, 3420, 3707, 834, 2517, 549, 17444, 427, 1959, 3274, 96, 7175, 60, 2737, 7, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What venue listed is dated February 22, 2003?
CREATE TABLE table_name_4 ( venue VARCHAR, date VARCHAR )
SELECT venue FROM table_name_4 WHERE date = "february 22, 2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 2616, 19, 3, 14134, 2083, 12889, 3888, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 833, 3274, 96, 89, 15, 9052, 1208, 12889, 3888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When were the years on which warwick had a population greater than 10,956 and allora had a population bigger than 2,439?
CREATE TABLE table_67959 ( "Year" real, "Population (Region total)" real, "Population (Stanthorpe)" real, "Population (Warwick)" real, "Population (Allora)" real, "Population (Glengallan)" real, "Population (Rosenthal)" real )
SELECT SUM("Year") FROM table_67959 WHERE "Population (Warwick)" = '10,956' AND "Population (Allora)" > '2,439'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 4440, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 27773, 7830, 41, 17748, 23, 106, 792, 61, 121, 490, 6, 96, 27773, 7830, 41, 134, 3672, 107, 127, 855, 61, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 948, 4440, 3390, 549, 17444, 427, 96, 27773, 7830, 41, 21032, 5981, 61, 121, 3274, 3, 31, 1714, 6, 3301, 948, 31, 3430, 96, 27773, 7830, 41, 6838, 127, 9, 61,...
Which team is from Birmingham & Telford?
CREATE TABLE table_name_17 (team VARCHAR, city_area VARCHAR)
SELECT team FROM table_name_17 WHERE city_area = "birmingham & telford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 11650, 584, 4280, 28027, 6, 690, 834, 498, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 19, 45, 15922, 3, 184, 10636, 2590, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 690, 834, 498, 3274, 96, 8781, 51, 14799, 3, 184, 3, 1625, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What city has the museum that holds the Sue specimen?
CREATE TABLE table_name_48 (museum VARCHAR, name VARCHAR)
SELECT museum AS city FROM table_name_48 WHERE name = "sue"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 25581, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 690, 65, 8, 7071, 24, 4532, 8, 17564, 19622, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7071, 6157, 690, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 564, 3274, 96, 7, 76, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2005-2006 team for player Phil Kessel?
CREATE TABLE table_name_89 ( name VARCHAR )
SELECT 2005 AS _2006_team FROM table_name_89 WHERE name = "phil kessel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3105, 18, 21196, 372, 21, 1959, 8188, 480, 19132, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3105, 6157, 3, 834, 21196, 834, 11650, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 564, 3274, 96, 18118, 3, 157, 19132, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Date of Catalogue number 602517739468?
CREATE TABLE table_39391 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalogue" text )
SELECT "Date" FROM table_39391 WHERE "Catalogue" = '602517739468'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3288, 536, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 10384, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3288, 3288, 536, 549, 17444, 427, 96, 18610, 9, 10384, 121, 3274, 3, 31, 3328, 1828, 2517, 4552, 4240, 3651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Place of the Player with a Score of 72-70-72=214?
CREATE TABLE table_50355 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_50355 WHERE "Score" = '72-70-72=214'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 2469, 755, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 1752, 2469, 755, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 5865, 18, 2518, 18, 5865, 2423, 27357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the host of Horrid Henry?
CREATE TABLE table_79979 ( "Country" text, "Name" text, "Host" text, "Channel" text, "Prize" text, "First year aired" text )
SELECT "Host" FROM table_79979 WHERE "Country" = 'horrid henry'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3264, 4440, 41, 96, 10628, 651, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 566, 3481, 121, 1499, 6, 96, 3541, 4515, 40, 121, 1499, 6, 96, 7855, 776, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 566, 3481, 121, 21680, 953, 834, 940, 3264, 4440, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 107, 127, 4055, 3, 3225, 651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Overall has a Round smaller than 6, and a Pick # of 26?
CREATE TABLE table_name_68 (overall INTEGER, round VARCHAR, pick__number VARCHAR)
SELECT SUM(overall) FROM table_name_68 WHERE round < 6 AND pick__number = 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1890, 1748, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 912...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 1751, 3, 2, 431, 3430, 1432, 834, 834, 5525, 1152, 3274, 2208, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Oberliga Bayern has a Season of 1981-82?
CREATE TABLE table_75230 ( "Season" text, "Oberliga Bayern" text, "Oberliga Hessen" text, "Oberliga Baden-W\u00fcrttemberg" text, "Oberliga S\u00fcdwest" text )
SELECT "Oberliga Bayern" FROM table_75230 WHERE "Season" = '1981-82'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 13427, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 667, 1152, 17140, 17525, 121, 1499, 6, 96, 667, 1152, 17140, 216, 4932, 121, 1499, 6, 96, 667, 1152, 17140, 3862, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 1152, 17140, 17525, 121, 21680, 953, 834, 3072, 13427, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3274, 3, 31, 2294, 4959, 18, 4613, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Name (Birth-Death), when Left Office is 7 October 1958?
CREATE TABLE table_name_79 ( name__birth_death_ VARCHAR, left_office VARCHAR )
SELECT name__birth_death_ FROM table_name_79 WHERE left_office = "7 october 1958"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 564, 834, 834, 20663, 834, 221, 9, 189, 834, 584, 4280, 28027, 6, 646, 834, 19632, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 557...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 564, 834, 834, 20663, 834, 221, 9, 189, 834, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 646, 834, 19632, 3274, 96, 940, 3, 32, 75, 235, 1152, 22306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose insurance is private and year of birth is less than 2150?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Private" AND demographic.dob_year < "2150"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 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, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 7855, 208, 342, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2, 96, 357, 1...
What is the Area of the Parish with a Population of 71?
CREATE TABLE table_name_71 (area_km_2 VARCHAR, population VARCHAR)
SELECT area_km_2 FROM table_name_71 WHERE population = 71
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 498, 834, 5848, 834, 357, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5690, 13, 8, 21954, 28, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 616, 834, 5848, 834, 357, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 2074, 3274, 3, 4450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Bar chart x axis away team y axis the number of away team, and show by the X-axis in desc.
CREATE TABLE stadium ( id int, name text, Home_Games int, Average_Attendance real, Total_Attendance real, Capacity_Percentage real ) CREATE TABLE injury_accident ( game_id int, id int, Player text, Injury text, Number_of_matches text, Source text ) CREATE TABLE game ( ...
SELECT Away_team, COUNT(Away_team) FROM game GROUP BY Away_team ORDER BY Away_team DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 1210, 834, 23055, 7, 16, 17, 6, 23836, 834, 188, 17, 324, 26, 663, 490, 6, 9273, 834, 188, 17, 324, 26, 663, 490, 6, 4000, 9, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 1343, 834, 11650, 6, 2847, 17161, 599, 188, 1343, 834, 11650, 61, 21680, 467, 350, 4630, 6880, 272, 476, 71, 1343, 834, 11650, 4674, 11300, 272, 476, 71, 1343, 834, 11650, 309, 25067, 1, -100, -100, -100, -100, ...
Where was d: 25~70nm, l: 10~20 μm geometry researched?
CREATE TABLE table_30057479_1 (researched_at VARCHAR, geometry VARCHAR)
SELECT researched_at FROM table_30057479_1 WHERE geometry = "D: 25~70nm, L: 10~20 μm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3436, 591, 4440, 834, 536, 41, 60, 13173, 15, 26, 834, 144, 584, 4280, 28027, 6, 23898, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 3, 26, 10, 944,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 24172, 834, 144, 21680, 953, 834, 5426, 3436, 591, 4440, 834, 536, 549, 17444, 427, 23898, 3274, 96, 308, 10, 944, 2, 2518, 29, 51, 6, 301, 10, 335, 2, 1755, 3, 2, 51, 121, 1, -100, -100, -100, -100, -100, -100,...
which rider earned first position with 25 points ?
CREATE TABLE table_204_114 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "grid" number, "points" number )
SELECT "rider" FROM table_204_114 WHERE "points" = 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 18959, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 715, 87, 10682, 1271, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4055, 49, 121, 21680, 953, 834, 26363, 834, 18959, 549, 17444, 427, 96, 2700, 7, 121, 3274, 944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is maximum age of patients whose admission type is emergency and admission year is greater than or equal to 2174?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.admityear >= "2174"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 427, 13098, 18464, 17063, 121, 3430, 14798, 5, 20466, 17, 1201, 2490, 2423, 96, 2658, 4581, 121, 1, ...
Return a bar chart about the distribution of Sex and the average of Weight , and group by attribute Sex, and I want to display by the y-axis from low to high please.
CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real ) CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight re...
SELECT Sex, AVG(Weight) FROM people GROUP BY Sex ORDER BY AVG(Weight)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 41, 25833, 17, 15, 834, 4309, 16, 17, 6, 2449, 834, 4309, 16, 17, 6, 14457, 834, 23799, 1499, 6, 7678, 1499, 6, 4224, 834, 2206, 490, 6, 9151, 834, 2206, 490, 6, 4495, 2748, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 679, 226, 6, 71, 17217, 599, 1326, 2632, 61, 21680, 151, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 71, 17217, 599, 1326, 2632, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the time of rider Loic Napoleone, who had less than 18 laps and a grid greater than 8?
CREATE TABLE table_name_7 ( time VARCHAR, rider VARCHAR, laps VARCHAR, grid VARCHAR )
SELECT time FROM table_name_7 WHERE laps < 18 AND grid > 8 AND rider = "loic napoleone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 97, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 14941, 7, 3, 2, 507, 3430, 8634, 2490, 505, 3430, 2564, 52, 3274, 96, 40, 32, 447, 3, 29, 9, 14332, 782, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What was their record when the attendance was 26,827?
CREATE TABLE table_69248 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Record" FROM table_69248 WHERE "Attendance" = '26,827'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 357, 3707, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 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...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3951, 357, 3707, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 2688, 6, 927, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
If the matches for NQF is 2009, what is the position?
CREATE TABLE table_2425 ( "Name" text, "Nationality" text, "Position" text, "Matches for NQF" text, "Appearances" real, "Goals" real, "Yellow Cards" real, "Red Cards" real )
SELECT "Position" FROM table_2425 WHERE "Matches for NQF" = '2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 1828, 41, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 329, 144, 2951, 21, 445, 2247, 371, 121, 1499, 6, 96, 964...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 2266, 1828, 549, 17444, 427, 96, 329, 144, 2951, 21, 445, 2247, 371, 121, 3274, 3, 31, 16660, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest overall for a round larger than 8 for pavol demitra?
CREATE TABLE table_name_40 ( overall INTEGER, round VARCHAR, player VARCHAR )
SELECT MAX(overall) FROM table_name_40 WHERE round > 8 AND player = "pavol demitra"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 1879, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1879, 21, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 1751, 2490, 505, 3430, 1959, 3274, 96, 102, 9, 4571, 340, 23, 1313, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the attendance with date of june 11
CREATE TABLE table_name_92 ( attendance VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_92 WHERE date = "june 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 11364, 28, 833, 13, 3, 6959, 15, 850, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 833, 3274, 96, 6959, 15, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the collegiate institution in queens
CREATE TABLE table_18159601_1 (collegiate_institution VARCHAR, city VARCHAR)
SELECT collegiate_institution FROM table_18159601_1 WHERE city = "Queens"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1808, 4314, 4542, 834, 536, 41, 31003, 834, 77, 17448, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 3, 31003, 6568, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 31003, 834, 77, 17448, 21680, 953, 834, 2606, 1808, 4314, 4542, 834, 536, 549, 17444, 427, 690, 3274, 96, 5991, 15, 35, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who had the high rebounds when the team played Sacramento?
CREATE TABLE table_17355408_9 (high_rebounds VARCHAR, team VARCHAR)
SELECT high_rebounds FROM table_17355408_9 WHERE team = "Sacramento"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 5062, 4018, 834, 1298, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 306, 3, 23768, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2517, 2469, 5062, 4018, 834, 1298, 549, 17444, 427, 372, 3274, 96, 134, 9, 2935, 297, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest amount of games played in the 2003-04 season?
CREATE TABLE table_name_25 ( played INTEGER, season VARCHAR )
SELECT MAX(played) FROM table_name_25 WHERE season = "2003-04"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1944, 3, 21342, 17966, 6, 774, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 866, 13, 1031, 1944, 16, 8, 3888, 18083, 774, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 774, 3274, 96, 23948, 18083, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What opponents played Waldstadion in a game?
CREATE TABLE table_24951872_2 ( opponent VARCHAR, game_site VARCHAR )
SELECT opponent FROM table_24951872_2 WHERE game_site = "Waldstadion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3301, 25828, 357, 834, 357, 41, 15264, 584, 4280, 28027, 6, 467, 834, 3585, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 16383, 1944, 11699, 2427, 26, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 2266, 3301, 25828, 357, 834, 357, 549, 17444, 427, 467, 834, 3585, 3274, 96, 518, 138, 26, 2427, 26, 23, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
papers written by emina torlak within the last 10 years
CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE keyphr...
SELECT DISTINCT writes.paperid FROM author, paper, writes WHERE author.authorname = 'emina torlak' AND paper.year >= YEAR(CURDATE()) - 10 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 4397, 27111, 41, 1040, 23, 26, 16, 17, 6, 843, 27111, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, 6378, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 11858, 5, 19587, 23, 26, 21680, 2291, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 15, 1109, 9, 12, 52, 40, 1639, 31, 3430, 1040, 5, 1201, 2490, 2423, 30431, 599, ...
Which Attendance has a Tie # of 15?
CREATE TABLE table_36005 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Attendance" FROM table_36005 WHERE "Tie no" = '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19208, 3076, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, 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...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 19208, 3076, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find id of the candidate whose email is stanley.monahan@example.org?
CREATE TABLE student_course_registrations ( student_id number, course_id number, registration_date time ) CREATE TABLE candidate_assessments ( candidate_id number, qualification text, assessment_date time, asessment_outcome_code text ) CREATE TABLE student_course_attendance ( student_i...
SELECT T2.candidate_id FROM people AS T1 JOIN candidates AS T2 ON T1.person_id = T2.candidate_id WHERE T1.email_address = "stanley.monahan@example.org"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 19221, 834, 5200, 1628, 41, 1236, 834, 23, 26, 381, 6, 503, 834, 23, 26, 381, 6, 3816, 834, 5522, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4775, 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...
[ 3, 23143, 14196, 332, 4416, 1608, 12416, 342, 834, 23, 26, 21680, 151, 6157, 332, 536, 3, 15355, 3162, 4341, 6157, 332, 357, 9191, 332, 5411, 6075, 834, 23, 26, 3274, 332, 4416, 1608, 12416, 342, 834, 23, 26, 549, 17444, 427, 332, ...
What was the attendance when the score was 88-98?
CREATE TABLE table_name_20 ( attendance VARCHAR, score VARCHAR )
SELECT attendance FROM table_name_20 WHERE score = "88-98"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 11364, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 116, 8, 2604, 47, 3, 4060, 18, 3916, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 2604, 3274, 96, 4060, 18, 3916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a bar chart about the distribution of All_Home and the sum of Team_ID , and group by attribute All_Home, and display by the x-axis in ascending.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT All_Home, SUM(Team_ID) FROM basketball_match GROUP BY All_Home ORDER BY All_Home
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 19040, 6, 180, 6122, 599, 18699, 834, 4309, 61, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 4674, 11300, 272, 476, 432, 834, 19040, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the the name of the customers who have a loan with amount more than 3000.
CREATE TABLE loan ( cust_id VARCHAR ) CREATE TABLE customer ( cust_name VARCHAR, cust_id VARCHAR )
SELECT T1.cust_name FROM customer AS T1 JOIN loan AS T2 ON T1.cust_id = T2.cust_id WHERE amount > 3000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2289, 41, 123, 7, 17, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 41, 123, 7, 17, 834, 4350, 584, 4280, 28027, 6, 123, 7, 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...
[ 3, 23143, 14196, 332, 5411, 1071, 7, 17, 834, 4350, 21680, 884, 6157, 332, 536, 3, 15355, 3162, 2289, 6157, 332, 357, 9191, 332, 5411, 1071, 7, 17, 834, 23, 26, 3274, 332, 4416, 1071, 7, 17, 834, 23, 26, 549, 17444, 427, 866, 24...
What is the total population with less than 789 males?
CREATE TABLE table_name_12 ( total_population VARCHAR, male INTEGER )
SELECT COUNT(total_population) FROM table_name_12 WHERE male < 789
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 792, 834, 9791, 7830, 584, 4280, 28027, 6, 5069, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 2074, 28, 705, 145, 489, 3914,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 834, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 5069, 3, 2, 489, 3914, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many ranks had marcin mroczek as the celebrity in a season more recent than 4?
CREATE TABLE table_7086 ( "Rank" real, "Celebrity" text, "Professional Partner" text, "Season" real, "Average" real )
SELECT COUNT("Rank") FROM table_7086 WHERE "Celebrity" = 'marcin mroczek' AND "Season" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3840, 41, 96, 22557, 121, 490, 6, 96, 254, 400, 2160, 17, 63, 121, 1499, 6, 96, 3174, 17585, 138, 5793, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 490, 6, 96, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 2518, 3840, 549, 17444, 427, 96, 254, 400, 2160, 17, 63, 121, 3274, 3, 31, 1635, 75, 77, 3, 51, 7818, 776, 157, 31, 3430, 96, 134, 15, 9, 739, 121, 2490, 3, ...
what is the average days of hospital stay for the patients whose admission location is phys referral/normal deli?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT AVG(demographic.days_stay) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 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, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, 22590, 121, 1, -100...
provide the number of patients whose primary disease is celo-vessicle fistula and age is less than 45?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CELO-VESSICLE FISTULA" AND demographic.age < "45"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 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, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 4770, 5017, 18, 553, 10087, 196, 22704, 377, 13582, 4254, 188, 121, 34...
Which date has a Result of l 25-13?
CREATE TABLE table_name_18 ( date VARCHAR, result VARCHAR )
SELECT date FROM table_name_18 WHERE result = "l 25-13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 833, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 833, 65, 3, 9, 3, 20119, 13, 3, 40, 944, 13056, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 741, 3274, 96, 40, 944, 13056, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -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, give me the comparison about the average of manager_id over the job_id , and group by attribute job_id by a bar chart, and could you order bar in asc order?
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,...
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, ...
What is the lowest weekly rank with an air date of november 26, 2007?
CREATE TABLE table_11178271_1 (weekly_rank INTEGER, air_date VARCHAR)
SELECT MIN(weekly_rank) FROM table_11178271_1 WHERE air_date = "November 26, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 3940, 2555, 536, 834, 536, 41, 8041, 120, 834, 6254, 3, 21342, 17966, 6, 799, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 5547, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 120, 834, 6254, 61, 21680, 953, 834, 15866, 3940, 2555, 536, 834, 536, 549, 17444, 427, 799, 834, 5522, 3274, 96, 28635, 13597, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the 1997 when 1992 is QF, 1995 is 1R, and 1999 is 1R?
CREATE TABLE table_64985 ( "Tournament" text, "1986" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text )
SELECT "1997" FROM table_64985 WHERE "1999" = '1r' AND "1992" = 'qf' AND "1995" = '1r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 3916, 755, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3840, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 3914, 121, 1499, 6, 96, 2294, 2394, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2294, 4327, 121, 21680, 953, 834, 4389, 3916, 755, 549, 17444, 427, 96, 2294, 3264, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 19479, 357, 121, 3274, 3, 31, 1824, 89, 31, 3430, 96, 19479, 17395, 3274, 3, 31, 5...
What is the year when the performance is 60.73m and the age (years) is more than 45?
CREATE TABLE table_name_85 (year VARCHAR, performance VARCHAR, age__years_ VARCHAR)
SELECT COUNT(year) FROM table_name_85 WHERE performance = "60.73m" AND age__years_ > 45
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 1201, 584, 4280, 28027, 6, 821, 584, 4280, 28027, 6, 1246, 834, 834, 1201, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 215...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 821, 3274, 96, 3328, 5, 4552, 51, 121, 3430, 1246, 834, 834, 1201, 7, 834, 2490, 3479, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Name the country for lusail national stadium
CREATE TABLE table_30441 ( "Stadium" text, "Capacity" real, "City" text, "Country" text, "Tenant" text, "Opening" text )
SELECT "Country" FROM table_30441 WHERE "Stadium" = 'Lusail National Stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23702, 4853, 41, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, 490, 6, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 382, 35, 288, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 23702, 4853, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 434, 302, 9, 173, 868, 12750, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the highest division number through the years?
CREATE TABLE table_1990460_1 ( division INTEGER )
SELECT MAX(division) FROM table_1990460_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2394, 25991, 834, 536, 41, 4889, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2030, 4889, 381, 190, 8, 203, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 26, 23, 6610, 61, 21680, 953, 834, 2294, 2394, 25991, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what's the won with tries for being 84
CREATE TABLE table_19114 ( "Club" text, "Played" text, "Won" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Won" FROM table_19114 WHERE "Tries for" = '84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 18959, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 518, 106, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 106, 121, 21680, 953, 834, 2294, 18959, 549, 17444, 427, 96, 382, 2593, 21, 121, 3274, 3, 31, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times is runners-up less than 0?
CREATE TABLE table_name_11 ( winners VARCHAR, runners_up INTEGER )
SELECT COUNT(winners) FROM table_name_11 WHERE runners_up < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 8969, 584, 4280, 28027, 6, 16448, 834, 413, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 19, 16448, 18, 413, 705, 145, 3, 632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3757, 687, 7, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 16448, 834, 413, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of Magnitude on february 12, 1953?
CREATE TABLE table_name_44 ( magnitude INTEGER, date VARCHAR )
SELECT SUM(magnitude) FROM table_name_44 WHERE date = "february 12, 1953"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 20722, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 14767, 20341, 30, 29976, 76, 1208, 10440, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7493, 29, 20341, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 833, 3274, 96, 89, 15, 9052, 1208, 10440, 23726, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank has Notes of fb, and a Time of 5:57.31?
CREATE TABLE table_name_70 ( rank VARCHAR, notes VARCHAR, time VARCHAR )
SELECT rank FROM table_name_70 WHERE notes = "fb" AND time = "5:57.31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 11003, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 2507, 7, 13, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3358, 3274, 96, 89, 115, 121, 3430, 97, 3274, 96, 755, 10, 3436, 5, 3341, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is average age of patients whose admission type is emergency and year of birth is greater than 1821?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.admission_type = "EMERGENCY" AND demographic.dob_year > "1821"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 427, 13098, 18464, 17063, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 2490, 96, 2606, 2658, 121, ...
How many documents in different ending date? Return a line chart grouping by ending date, and rank from low to high by the Date_in_Locaton_To.
CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Ref_Calendar ( ...
SELECT Date_in_Locaton_To, COUNT(Date_in_Locaton_To) FROM Document_Locations GROUP BY Date_in_Locaton_To ORDER BY Date_in_Locaton_To
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 834, 434, 32, 75, 1628, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 10450, 834, 22737, 3, 28027, 599, 1808, 201, 7678, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 309, 6048, 382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 2138, 106, 834, 3696, 61, 21680, 11167, 834, 434, 32, 75, 1628, 350, 4630, 6880, 272, 476, 7678, 834, 77, ...
How many values for joined occur at Guilford College?
CREATE TABLE table_28409 ( "Institution" text, "Location" text, "Nickname" text, "Founded" real, "Type" text, "Enrollment" real, "Football?" text, "Joined" real )
SELECT COUNT("Joined") FROM table_28409 WHERE "Institution" = 'Guilford College'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4608, 4198, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 25160, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 683, 32, 630, 26, 8512, 21680, 953, 834, 357, 4608, 4198, 549, 17444, 427, 96, 1570, 17448, 121, 3274, 3, 31, 9105, 173, 2590, 1888, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which one is the top camp on feb. .9
CREATE TABLE table_204_217 ( id number, "camp" text, "div sec\ndivision" text, "admin\ndistrict" text, "9 feb" number, "11 feb" number, "16 feb" number, "25 feb" number, "27 feb" number, "2 mar" number, "4 mar" number, "6 mar" number, "11 mar" number, "13 mar" num...
SELECT "camp" FROM table_204_217 ORDER BY "9 feb" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 2517, 41, 3, 23, 26, 381, 6, 96, 12389, 121, 1499, 6, 96, 8481, 4220, 2, 727, 23, 6610, 121, 1499, 6, 96, 20466, 29, 2, 727, 23, 20066, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12389, 121, 21680, 953, 834, 26363, 834, 357, 2517, 4674, 11300, 272, 476, 96, 1298, 3, 89, 15, 115, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the first year steve grissom had a top 5 finish in the nation wide series ?
CREATE TABLE table_203_424 ( id number, "year" number, "starts" number, "wins" number, "top 5" number, "top 10" number, "poles" number, "avg. start" number, "avg. finish" number, "winnings" text, "position" text, "team(s)" text )
SELECT MIN("year") FROM table_203_424 WHERE "top 5" > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 2266, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 10208, 7, 121, 381, 6, 96, 3757, 7, 121, 381, 6, 96, 2916, 3, 17395, 381, 6, 96, 2916, 335, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 1201, 8512, 21680, 953, 834, 23330, 834, 591, 2266, 549, 17444, 427, 96, 2916, 3, 17395, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many field goals had 597 points?
CREATE TABLE table_27203 ( "Player" text, "Minutes" real, "Field Goals" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT COUNT("Field Goals") FROM table_27203 WHERE "Points" = '597'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 23330, 41, 96, 15800, 49, 121, 1499, 6, 96, 12858, 2810, 7, 121, 490, 6, 96, 3183, 8804, 17916, 7, 121, 490, 6, 96, 1649, 6115, 7, 121, 490, 6, 96, 188, 7, 7, 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, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 3183, 8804, 17916, 7, 8512, 21680, 953, 834, 2555, 23330, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 3390, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which years have a rank less than 2?
CREATE TABLE table_48223 ( "Rank" real, "Player" text, "Years" text, "Games" real, "Reb. Avg." real, "Total Rebounds" real )
SELECT "Years" FROM table_48223 WHERE "Rank" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 357, 2773, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 1649, 115, 5, 71, 208, 122, 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...
[ 3, 23143, 14196, 96, 476, 2741, 7, 121, 21680, 953, 834, 3707, 357, 2773, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show me a bar chart for what is the average price of the products for each category?, order by the Y from low to high.
CREATE TABLE Products ( product_id INTEGER, parent_product_id INTEGER, product_category_code VARCHAR(20), date_product_first_available DATETIME, date_product_discontinued DATETIME, product_name VARCHAR(80), product_description VARCHAR(255), product_price DECIMAL(19,4) ) CREATE TABLE Com...
SELECT product_category_code, AVG(product_price) FROM Products GROUP BY product_category_code ORDER BY AVG(product_price)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 556, 834, 23, 26, 3, 21342, 17966, 6, 4208, 834, 15892, 834, 23, 26, 3, 21342, 17966, 6, 556, 834, 8367, 839, 651, 834, 4978, 584, 4280, 28027, 599, 1755, 201, 833, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 556, 834, 8367, 839, 651, 834, 4978, 6, 71, 17217, 599, 15892, 834, 102, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 556, 834, 8367, 839, 651, 834, 4978, 4674, 11300, 272, 476, 71, 17217, 599, 15892, 834, 102,...
Give me the comparison about School_ID over the ACC_Road , and group by attribute ACC_Home by a bar chart.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What driver has more than 39 laps on gird 15?
CREATE TABLE table_11015 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Driver" FROM table_11015 WHERE "Laps" > '39' AND "Grid" = '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19277, 1808, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20982, 52, 121, 21680, 953, 834, 19277, 1808, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 3288, 31, 3430, 96, 13313, 26, 121, 3274, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
show me a good arabic restaurant in mountain view ?
CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_name varchar ) CREATE TABLE geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rati...
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'mountain view' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1128, 41, 2062, 834, 23, 26, 16, 17, 6, 629, 834, 5525, 1152, 16, 17, 6, 2815, 834, 4350, 3, 4331, 4059, 6, 690, 834, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 438...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 1128, 6, 2062, 549, 17444, 427, 1128, 5, 6726, 834, 4350, 3274, 3, 31, 11231, 9, 77, 903, 31, 3430, 2062, 5, 12437, 834, 6137, 3274, 3, 31, 2551, 15979, 3...
Name the least total with rank less than 7, gold more than 16 and bronze less than 29
CREATE TABLE table_name_54 ( total INTEGER, bronze VARCHAR, rank VARCHAR, gold VARCHAR )
SELECT MIN(total) FROM table_name_54 WHERE rank < 7 AND gold > 16 AND bronze < 29
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 792, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 11003, 3, 2, 489, 3430, 2045, 2490, 898, 3430, 13467, 3, 2, 2838, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest number of wins when draws are larger than 1, and byes are larger than 0?
CREATE TABLE table_65914 ( "Hampden FL" text, "Wins" real, "Byes" real, "Losses" real, "Draws" real, "Against" real )
SELECT MAX("Wins") FROM table_65914 WHERE "Draws" > '1' AND "Byes" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3390, 2534, 41, 96, 566, 4624, 537, 7212, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 279, 10070, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 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...
[ 3, 23143, 14196, 4800, 4, 599, 121, 18455, 7, 8512, 21680, 953, 834, 948, 3390, 2534, 549, 17444, 427, 96, 308, 10936, 7, 121, 2490, 3, 31, 536, 31, 3430, 96, 279, 10070, 121, 2490, 3, 31, 632, 31, 1, -100, -100, -100, -100, -10...
what is the name of the first club on this chart ?
CREATE TABLE table_203_145 ( id number, "position" number, "club" text, "played" number, "points" text, "wins" number, "draws" number, "losses" number, "goals for" number, "goals against" number, "goal difference" number )
SELECT "club" FROM table_203_145 WHERE id = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 20987, 41, 3, 23, 26, 381, 6, 96, 4718, 121, 381, 6, 96, 13442, 121, 1499, 6, 96, 4895, 15, 26, 121, 381, 6, 96, 2700, 7, 121, 1499, 6, 96, 3757, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13442, 121, 21680, 953, 834, 23330, 834, 20987, 549, 17444, 427, 3, 23, 26, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the seat of the RCM in the county that has a density of 9.7?
CREATE TABLE table_214920_1 (seat_of_rcm VARCHAR, density__pop_per_km2_ VARCHAR)
SELECT seat_of_rcm FROM table_214920_1 WHERE density__pop_per_km2_ = "9.7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 27749, 834, 536, 41, 7, 1544, 834, 858, 834, 52, 75, 51, 584, 4280, 28027, 6, 11048, 834, 834, 9791, 834, 883, 834, 5848, 357, 834, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3143, 834, 858, 834, 52, 75, 51, 21680, 953, 834, 27357, 27749, 834, 536, 549, 17444, 427, 11048, 834, 834, 9791, 834, 883, 834, 5848, 357, 834, 3274, 96, 8797, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
On what day was the race that Cale Yarborough won in 364 laps?
CREATE TABLE table_22298383_1 (day VARCHAR, laps VARCHAR, driver VARCHAR)
SELECT day FROM table_22298383_1 WHERE laps = "364" AND driver = "Cale Yarborough"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3166, 4591, 4591, 834, 536, 41, 1135, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 239, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 239, 21680, 953, 834, 2884, 3166, 4591, 4591, 834, 536, 549, 17444, 427, 14941, 7, 3274, 96, 3420, 20364, 3430, 2535, 3274, 96, 14318, 15, 4701, 52, 12823, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who was not last elected in either 2005 or 2009 ?
CREATE TABLE table_203_447 ( id number, "constituency" number, "region" text, "name" text, "party" text, "last elected" number )
SELECT "name" FROM table_203_447 WHERE "last elected" <> 2005 AND "last elected" <> 2009
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 4177, 41, 3, 23, 26, 381, 6, 96, 8056, 17, 155, 76, 4392, 121, 381, 6, 96, 18145, 121, 1499, 6, 96, 4350, 121, 1499, 6, 96, 8071, 121, 1499, 6, 96, 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...
[ 3, 23143, 14196, 96, 4350, 121, 21680, 953, 834, 23330, 834, 591, 4177, 549, 17444, 427, 96, 5064, 8160, 121, 3, 2, 3155, 3105, 3430, 96, 5064, 8160, 121, 3, 2, 3155, 2464, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of Rhode Island College's softball stadium?
CREATE TABLE table_1974545_3 ( softball_stadium VARCHAR, school VARCHAR )
SELECT softball_stadium FROM table_1974545_3 WHERE school = "Rhode Island College"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27181, 2128, 2128, 834, 519, 41, 1835, 3184, 834, 2427, 12925, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 17903, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1835, 3184, 834, 2427, 12925, 21680, 953, 834, 27181, 2128, 2128, 834, 519, 549, 17444, 427, 496, 3274, 96, 448, 107, 32, 221, 2834, 1888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give me the number of patients whose age is less than 83 and drug code is cipr200pm?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "83" AND prescriptions.formulary_drug_cd = "CIPR200PM"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What shows for 2006 when 1999 is Grand Slam Tournaments?
CREATE TABLE table_name_7 (Id VARCHAR)
SELECT 2006 FROM table_name_7 WHERE 1990 = "grand slam tournaments"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 21, 3581, 116, 5247, 19, 2698, 29291, 20502, 7, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3581, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 5541, 3274, 96, 15448, 3, 7, 40, 265, 5892, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Club of the Player with a Date of Birth of 1977-02-03?
CREATE TABLE table_name_61 ( club VARCHAR, date_of_birth VARCHAR )
SELECT club FROM table_name_61 WHERE date_of_birth = "1977-02-03"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1886, 584, 4280, 28027, 6, 833, 834, 858, 834, 20663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1949, 13, 8, 12387, 28, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 833, 834, 858, 834, 20663, 3274, 96, 2294, 4013, 18, 4305, 18, 4928, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average age of patients whose marital status is married and are aged 44 years or older?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.age >= "44"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 545, 2490, 2423, 96, 3628, 121, 1, -100, -100, -100, -1...
What is the highest rebounds for game 81?
CREATE TABLE table_76478 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_76478 WHERE "Game" = '81'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 591, 3940, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 3959, 591, 3940, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 4959, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the points with grid more than 8 and time/retired of +47.487 secs
CREATE TABLE table_name_74 ( points VARCHAR, grid VARCHAR, time_retired VARCHAR )
SELECT points FROM table_name_74 WHERE grid > 8 AND time_retired = "+47.487 secs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 979, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 979, 28, 86...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 8634, 2490, 505, 3430, 97, 834, 10682, 1271, 3274, 96, 1220, 4177, 5, 591, 4225, 4220, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what are the different budget type codes, and how many documents are there for each?, could you order in ascending by the the total number please?
CREATE TABLE Projects ( Project_ID INTEGER, Project_Details VARCHAR(255) ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Documents_with_Expenses ( Document_ID INTEGER, Budget_Type_Code C...
SELECT Budget_Type_Code, COUNT(*) FROM Documents_with_Expenses GROUP BY Budget_Type_Code ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2786, 7, 41, 2786, 834, 4309, 3, 21342, 17966, 6, 2786, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 12532, 834, 25160, 834, 22737, 6, 2847, 17161, 599, 1935, 61, 21680, 11167, 7, 834, 4065, 834, 12882, 5167, 7, 350, 4630, 6880, 272, 476, 12532, 834, 25160, 834, 22737, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 6...
Which country has doosan infracore as then company name?
CREATE TABLE table_237199_1 ( country VARCHAR, company_name VARCHAR )
SELECT country FROM table_237199_1 WHERE company_name = "Doosan Infracore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 19479, 834, 536, 41, 684, 584, 4280, 28027, 6, 349, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 103, 32, 7, 152, 16, 9880, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 357, 4118, 19479, 834, 536, 549, 17444, 427, 349, 834, 4350, 3274, 96, 4135, 32, 7, 152, 86, 9880, 127, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the average transaction amount for different transaction types.
CREATE TABLE TRANSACTIONS (transaction_type_code VARCHAR, amount_of_transaction INTEGER)
SELECT transaction_type_code, AVG(amount_of_transaction) FROM TRANSACTIONS GROUP BY transaction_type_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26585, 30518, 134, 41, 7031, 4787, 834, 6137, 834, 4978, 584, 4280, 28027, 6, 866, 834, 858, 834, 7031, 4787, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 1348, 5878, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5878, 834, 6137, 834, 4978, 6, 71, 17217, 599, 9, 11231, 834, 858, 834, 7031, 4787, 61, 21680, 26585, 30518, 134, 350, 4630, 6880, 272, 476, 5878, 834, 6137, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -...
What is the Open 1st VIII for the 2012 crew?
CREATE TABLE table_11575 ( "Crew" real, "Open 1st VIII" text, "Open 2nd VIII" text, "Open 3rd VIII" text, "Year 11 1st VIII" text, "Year 11 2nd VIII" text, "Year 11 3rd VIII" text, "Year 10 1st Quad" text, "Year 10 2nd Quad" text, "Year 10 3rd Quad" text, "Year 10 4th Quad" t...
SELECT "Open 1st VIII" FROM table_11575 WHERE "Crew" = '2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 3072, 41, 96, 254, 60, 210, 121, 490, 6, 96, 22696, 209, 7, 17, 27936, 121, 1499, 6, 96, 22696, 204, 727, 27936, 121, 1499, 6, 96, 22696, 220, 52, 26, 27936, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22696, 209, 7, 17, 27936, 121, 21680, 953, 834, 15660, 3072, 549, 17444, 427, 96, 254, 60, 210, 121, 3274, 3, 31, 12172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average attendance at a game held at Firhill for the 5(r) round?
CREATE TABLE table_name_26 (attendance INTEGER, venue VARCHAR, round VARCHAR)
SELECT AVG(attendance) FROM table_name_26 WHERE venue = "firhill" AND round = "5(r)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 15116, 663, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 11364, 44, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 5669, 3274, 96, 14581, 6321, 121, 3430, 1751, 3274, 96, 755, 599, 52, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the pole position for the belgian grand prix?
CREATE TABLE table_52253 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Pole Position" FROM table_52253 WHERE "Race" = 'belgian grand prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 1828, 519, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8931, 15, 14258, 121, 21680, 953, 834, 5373, 1828, 519, 549, 17444, 427, 96, 448, 3302, 121, 3274, 3, 31, 2370, 22898, 1907, 3407, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many terms began when the term ended in January 3, 1989?
CREATE TABLE table_197446_1 ( term_began VARCHAR, term_ended VARCHAR )
SELECT COUNT(term_began) FROM table_197446_1 WHERE term_ended = "January 3, 1989"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4581, 4448, 834, 536, 41, 1657, 834, 346, 2565, 584, 4280, 28027, 6, 1657, 834, 14550, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1353, 1553, 116...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1987, 834, 346, 2565, 61, 21680, 953, 834, 2294, 4581, 4448, 834, 536, 549, 17444, 427, 1657, 834, 14550, 3274, 96, 30404, 6180, 9975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show each county along with the number of schools.
CREATE TABLE endowment ( endowment_id int, School_id int, donator_name text, amount real ) CREATE TABLE budget ( School_id int, Year int, Budgeted int, total_budget_percent_budgeted real, Invested int, total_budget_percent_invested real, Budget_invested_percent text ) CREAT...
SELECT County, COUNT(*) FROM School GROUP BY County
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 414, 2381, 297, 41, 414, 2381, 297, 834, 23, 26, 16, 17, 6, 1121, 834, 23, 26, 16, 17, 6, 278, 1016, 834, 4350, 1499, 6, 866, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1334, 6, 2847, 17161, 599, 1935, 61, 21680, 1121, 350, 4630, 6880, 272, 476, 1334, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...