NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
When did the episode with production code 410 air?
CREATE TABLE table_274 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT "Original air date" FROM table_274 WHERE "Production code" = '410'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 591, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 2496...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3380, 10270, 799, 833, 121, 21680, 953, 834, 2555, 591, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 24175, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is No. 10, when No. 1 is Noah, and when No. 9 is Carter?
CREATE TABLE table_name_45 (no_10 VARCHAR, no_1 VARCHAR, no_9 VARCHAR)
SELECT no_10 FROM table_name_45 WHERE no_1 = "noah" AND no_9 = "carter"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 29, 32, 834, 1714, 584, 4280, 28027, 6, 150, 834, 536, 584, 4280, 28027, 6, 150, 834, 1298, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 150, 834, 1714, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 150, 834, 536, 3274, 96, 29, 32, 9, 107, 121, 3430, 150, 834, 1298, 3274, 96, 1720, 449, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What games have more than 1 draw?
CREATE TABLE table_name_22 ( games INTEGER, drawn INTEGER )
SELECT AVG(games) FROM table_name_22 WHERE drawn > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 1031, 3, 21342, 17966, 6, 6796, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1031, 43, 72, 145, 209, 3314, 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, 71, 17217, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 6796, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show the smallest enrollment of each state, and could you rank in ascending by the total number?
CREATE TABLE College ( cName varchar(20), state varchar(2), enr numeric(5,0) ) CREATE TABLE Tryout ( pID numeric(5,0), cName varchar(20), pPos varchar(8), decision varchar(3) ) CREATE TABLE Player ( pID numeric(5,0), pName varchar(20), yCard varchar(3), HS numeric(5,0) )
SELECT state, MIN(enr) FROM College GROUP BY state ORDER BY MIN(enr)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1888, 41, 3, 75, 23954, 3, 4331, 4059, 599, 1755, 201, 538, 3, 4331, 4059, 16426, 6, 3, 35, 52, 206, 17552, 599, 11116, 632, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 6, 3, 17684, 599, 35, 52, 61, 21680, 1888, 350, 4630, 6880, 272, 476, 538, 4674, 11300, 272, 476, 3, 17684, 599, 35, 52, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the position for 1980 1987
CREATE TABLE table_24565004_19 ( position VARCHAR, period VARCHAR )
SELECT position FROM table_24565004_19 WHERE period = "1980 – 1987"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2294, 41, 1102, 584, 4280, 28027, 6, 1059, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1102, 21, 6694, 12701, 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, 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, 1102, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2294, 549, 17444, 427, 1059, 3274, 96, 2294, 2079, 3, 104, 12701, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients have drug code morp0.5-4?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "MORP0.5-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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 was the score of the game when Blackpool was away?
CREATE TABLE table_name_77 ( score VARCHAR, away_team VARCHAR )
SELECT score FROM table_name_77 WHERE away_team = "blackpool"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 2604, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 1589, 13194, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 550, 834, 11650, 3274, 96, 19699, 13194, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the record during the loss by key (7-11)?
CREATE TABLE table_name_27 (record VARCHAR, loss VARCHAR)
SELECT record FROM table_name_27 WHERE loss = "key (7-11)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 60, 7621, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 383, 8, 1453, 57, 843, 13649, 9169, 61, 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, 1368, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1453, 3274, 96, 4397, 13649, 9169, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which poll source has the largest sample size ?
CREATE TABLE table_204_0 ( id number, "poll source" text, "date(s)\nadministered" text, "sample\nsize" number, "margin of\nerror" text, "ed burke" text, "roland burris" text, "gery chico" text, "bill daley" text, "tom dart" text, "danny k. davis" text, "miguel del valle" ...
SELECT "poll source" FROM table_204_0 ORDER BY "sample\nsize" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 632, 41, 3, 23, 26, 381, 6, 96, 3233, 40, 1391, 121, 1499, 6, 96, 5522, 599, 7, 61, 2, 29, 9, 26, 17791, 15, 26, 121, 1499, 6, 96, 7, 9, 9208, 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, 3233, 40, 1391, 121, 21680, 953, 834, 26363, 834, 632, 4674, 11300, 272, 476, 96, 7, 9, 9208, 2, 29, 7991, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country is Lee Trevino from?
CREATE TABLE table_name_41 (country VARCHAR, player VARCHAR)
SELECT country FROM table_name_41 WHERE player = "lee trevino"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 17529, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 19, 5531, 4691, 2494, 32, 45, 58, 1, 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, 684, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1959, 3274, 96, 109, 15, 3, 929, 2494, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people were assisted in 1997?
CREATE TABLE table_name_14 (people_assisted VARCHAR, year VARCHAR)
SELECT people_assisted FROM table_name_14 WHERE year = "1997"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 16588, 834, 9, 7, 15777, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 11752, 16, 6622, 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, 151, 834, 9, 7, 15777, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 215, 3274, 96, 2294, 4327, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the allied target code of the group that targetted ghent/sint-denijs-westrem?
CREATE TABLE table_72198 ( "Target" text, "Target Code (Allied)" text, "Luftwaffe unit (wing)" text, "Allied forces" text, "Effect on Allied Squadrons (according to official figures)" text )
SELECT "Target Code (Allied)" FROM table_72198 WHERE "Target" = 'Ghent/Sint-Denijs-Westrem'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 24151, 41, 96, 382, 291, 2782, 121, 1499, 6, 96, 382, 291, 2782, 3636, 41, 26454, 61, 121, 1499, 6, 96, 434, 76, 89, 17, 210, 9, 7398, 1745, 41, 3108, 61, 121, 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, 96, 382, 291, 2782, 3636, 41, 26454, 61, 121, 21680, 953, 834, 5865, 24151, 549, 17444, 427, 96, 382, 291, 2782, 121, 3274, 3, 31, 517, 107, 295, 87, 134, 77, 17, 18, 308, 35, 23, 354, 7, 18, 19069, 60, 51, 31...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and the average of code , and group by attribute name, I want to list from high to low by the bar.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 2...
what junction is the furthest from mahanayim junction ?
CREATE TABLE table_203_333 ( id number, "kilometers" number, "name" text, "location" text, "intersecting routes" text )
SELECT "name" FROM table_203_333 ORDER BY "kilometers" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 23360, 41, 3, 23, 26, 381, 6, 96, 31247, 7, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 3870, 7549, 1222, 9729, 121, 1499, 3, 61, 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, 4350, 121, 21680, 953, 834, 23330, 834, 23360, 4674, 11300, 272, 476, 96, 31247, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For those employees who did not have any job in the past, return a bar chart about the distribution of hire_date and the average of salary bin hire_date by weekday, show in asc by the y-axis.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY AVG(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 613...
Which Socialist Labor ticket has a Office of secretary of state?
CREATE TABLE table_name_78 (socialist_labor_ticket VARCHAR, office VARCHAR)
SELECT socialist_labor_ticket FROM table_name_78 WHERE office = "secretary of state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 15745, 343, 834, 9456, 834, 26639, 584, 4280, 28027, 6, 828, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2730, 343, 9836, 4142, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23737, 834, 9456, 834, 26639, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 828, 3274, 96, 27527, 1208, 13, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result and score of Game #29?
CREATE TABLE table_17334 ( "#" real, "Date" text, "Visitor" text, "Score" text, "Home" text, "Leading scorer" text, "Attendance" text, "Record" text, "Streak" text )
SELECT "Score" FROM table_17334 WHERE "#" = '29'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 519, 3710, 41, 96, 4663, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 9022, 121, 21680, 953, 834, 2517, 519, 3710, 549, 17444, 427, 96, 4663, 121, 3274, 3, 31, 3166, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many grand final dual television commentators were there in 1961?
CREATE TABLE table_18921 ( "Year(s)" real, "Grand Final Television Commentator" text, "Grand Final Dual Television Commentator" text, "Spokesperson" text, "Semi Final Television Commentator" text, "Semi Final Dual Television Commentator" text )
SELECT COUNT("Grand Final Dual Television Commentator") FROM table_18921 WHERE "Year(s)" = '1961'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25312, 2658, 41, 96, 476, 2741, 599, 7, 61, 121, 490, 6, 96, 4744, 727, 6514, 21922, 5257, 1016, 121, 1499, 6, 96, 4744, 727, 6514, 17338, 21922, 5257, 1016, 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, 2847, 17161, 599, 121, 4744, 727, 6514, 17338, 21922, 5257, 1016, 8512, 21680, 953, 834, 25312, 2658, 549, 17444, 427, 96, 476, 2741, 599, 7, 61, 121, 3274, 3, 31, 2294, 4241, 31, 1, -100, -100, -100, -100, -100, -1...
What year did they finish 1st, southern?
CREATE TABLE table_12002388_1 (year INTEGER, reg_season VARCHAR)
SELECT MAX(year) FROM table_12002388_1 WHERE reg_season = "1st, Southern"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 3632, 2773, 4060, 834, 536, 41, 1201, 3, 21342, 17966, 6, 5925, 834, 9476, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 79, 1992, 209, 7, 17, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 536, 3632, 2773, 4060, 834, 536, 549, 17444, 427, 5925, 834, 9476, 3274, 96, 536, 7, 17, 6, 5193, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Country, when Player is 'Hale Irwin'?
CREATE TABLE table_name_96 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_96 WHERE player = "hale irwin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 12387, 19, 3, 31, 566, 9, 109, 27, 52,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1959, 3274, 96, 3828, 15, 3, 23, 52, 3757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who lived longer evelyn irons or arturo islas ?
CREATE TABLE table_203_449 ( id number, "name" text, "lifetime" text, "nationality" text, "notable as" text, "notes" text )
SELECT "name" FROM table_203_449 WHERE "name" IN ('evelyn irons', 'arturo islas') ORDER BY "lifetime" - "lifetime" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3647, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 4597, 715, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 2264, 179, 38, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3647, 549, 17444, 427, 96, 4350, 121, 3388, 41, 31, 15, 162, 120, 29, 3575, 7, 31, 6, 3, 31, 1408, 450, 32, 19, 521, 7, 31, 61, 4674, 11300, 272, 476, 96, 4597,...
Which Sub-Parish (Sogn) is in the Parish (Prestegjeld) of hafslo parish and has a church called Hafslo Kyrkje?
CREATE TABLE table_name_30 ( sub_parish__sogn_ VARCHAR, parish__prestegjeld_ VARCHAR, church_name VARCHAR )
SELECT sub_parish__sogn_ FROM table_name_30 WHERE parish__prestegjeld_ = "hafslo parish" AND church_name = "hafslo kyrkje"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 584, 4280, 28027, 6, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 584, 4280, 28027, 6, 2078, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 769, 834, 1893, 1273, 834, 834, 7, 32, 122, 29, 834, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 3274, 96, 1024, 89, 7, 40, 32, 14961, 121, 3430, 2078, 834, ...
What is the total Tonnage GRT with a Type of cargo ship, and a Nationality of norway?
CREATE TABLE table_55010 ( "Date" text, "Ship" text, "Type" text, "Nationality" text, "Tonnage GRT" real )
SELECT SUM("Tonnage GRT") FROM table_55010 WHERE "Type" = 'cargo ship' AND "Nationality" = 'norway'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17147, 1714, 41, 96, 308, 342, 121, 1499, 6, 96, 134, 10462, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 382, 106, 9761, 350, 5934, 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, 382, 106, 9761, 350, 5934, 8512, 21680, 953, 834, 17147, 1714, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 1720, 839, 4383, 31, 3430, 96, 24732, 485, 121, 3274, 3, 31, 29, 127, 1343, 31, 1, ...
A pie chart about what are the statuses and average populations of each city?
CREATE TABLE competition_record ( Competition_ID int, Farm_ID int, Rank int ) CREATE TABLE farm ( Farm_ID int, Year int, Total_Horses real, Working_Horses real, Total_Cattle real, Oxen real, Bulls real, Cows real, Pigs real, Sheep_and_Goats real ) CREATE TABLE farm_...
SELECT Status, AVG(Population) FROM city GROUP BY Status
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 834, 60, 7621, 41, 15571, 834, 4309, 16, 17, 6, 4990, 834, 4309, 16, 17, 6, 3, 22557, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3797, 41, 4990, 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, 19318, 6, 71, 17217, 599, 27773, 7830, 61, 21680, 690, 350, 4630, 6880, 272, 476, 19318, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show all publishers and the number of books for each publisher.
CREATE TABLE movie ( movie_id number, title text, year number, director text, budget_million number, gross_worldwide number ) CREATE TABLE book_club ( book_club_id number, year number, author_or_editor text, book_title text, publisher text, category text, result text...
SELECT publisher, COUNT(*) FROM book_club GROUP BY publisher
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1974, 41, 1974, 834, 23, 26, 381, 6, 2233, 1499, 6, 215, 381, 6, 2090, 1499, 6, 1487, 834, 17030, 381, 6, 8690, 834, 7276, 6728, 381, 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, 14859, 6, 2847, 17161, 599, 1935, 61, 21680, 484, 834, 13442, 350, 4630, 6880, 272, 476, 14859, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What place did Keith Clearwater get?
CREATE TABLE table_name_99 (place VARCHAR, player VARCHAR)
SELECT place FROM table_name_99 WHERE player = "keith clearwater"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 4687, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 410, 17017, 8912, 3552, 129, 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, 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, 286, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 1959, 3274, 96, 5754, 107, 964, 3552, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the least total when bronze is less than 2 and rank is more than 2 with silver less than 1
CREATE TABLE table_15177 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Total") FROM table_15177 WHERE "Bronze" < '2' AND "Rank" > '2' AND "Silver" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 26793, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 8512, 21680, 953, 834, 1808, 26793, 549, 17444, 427, 96, 22780, 29, 776, 121, 3, 2, 3, 31, 357, 31, 3430, 96, 22557, 121, 2490, 3, 31, 357, 31, 3430, 96, 134, 173, 624, 121, 3, ...
find the number of patients whose hospital stay is more than 69 days and their lab test is named prolactin.
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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "69" AND lab.label = "Prolactin"
[ 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, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Of the years that had exactly 17096 departures, what is the greatest number of aircraft kilometers flown?
CREATE TABLE table_53 ( "Year" real, "Aircraft kilometers" real, "Departures" real, "Flying hours" real, "Passengers" real, "Seat factor" text, "Employees" real, "Profit/loss" text )
SELECT MAX("Aircraft kilometers") FROM table_53 WHERE "Departures" = '17096'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 41, 96, 476, 2741, 121, 490, 6, 96, 20162, 6696, 20325, 121, 490, 6, 96, 2962, 2274, 7665, 121, 490, 6, 96, 371, 120, 53, 716, 121, 490, 6, 96, 20192, 4606, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20162, 6696, 20325, 8512, 21680, 953, 834, 4867, 549, 17444, 427, 96, 2962, 2274, 7665, 121, 3274, 3, 31, 536, 2518, 4314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the first name of students in the descending order of age.
CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE department ( dno number, division text, dname text, room text, building text, dphone number ) CREATE TABLE faculty ( ...
SELECT fname FROM student ORDER BY age DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6, 3, 40, 4350, 1499, 6, 3, 89, 4350, 1499, 6, 1246, 381, 6, 3, 7, 994, 1499, 6, 779, 381, 6, 8815, 381, 6, 690, 834, 4978, 1499, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 89, 4350, 21680, 1236, 4674, 11300, 272, 476, 1246, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Attendance, when Home is Cleveland, and when Date is January 30?
CREATE TABLE table_name_74 (attendance VARCHAR, home VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_74 WHERE home = "cleveland" AND date = "january 30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 15116, 663, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 22497, 663, 6, 116, 1210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 234, 3274, 96, 75, 4563, 232, 121, 3430, 833, 3274, 96, 7066, 76, 1208, 604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the year that the position was 1st in paris?
CREATE TABLE table_name_26 ( year VARCHAR, position VARCHAR, venue VARCHAR )
SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 215, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 215, 24, 8, 1102, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1102, 3274, 96, 536, 7, 17, 121, 3430, 5669, 3274, 96, 1893, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the record at the game that had a score of 7-10?
CREATE TABLE table_name_76 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_76 WHERE score = "7-10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 60, 7621, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 44, 8, 467, 24, 141, 3, 9, 2604, 13, 489,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2604, 3274, 96, 940, 4536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest attendance on September 14, 1986?
CREATE TABLE table_69445 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_69445 WHERE "Date" = 'september 14, 1986'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 591, 2128, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3951, 591, 2128, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7, 6707, 18247, 11363, 12698, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average in 2010 of the team with a code of (IATA/ICAO) or cra/lrcv?
CREATE TABLE table_name_20 ( code__iata_icao_ VARCHAR )
SELECT 2010 FROM table_name_20 WHERE code__iata_icao_ = "cra/lrcv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 1081, 834, 834, 17221, 834, 2617, 32, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 16, 2735, 13, 8, 372, 28, 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, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2735, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1081, 834, 834, 17221, 834, 2617, 32, 834, 3274, 96, 2935, 87, 40, 52, 75, 208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What date was the opponents the Oakland Raiders?
CREATE TABLE table_name_88 ( date VARCHAR, opponent VARCHAR )
SELECT date FROM table_name_88 WHERE opponent = "oakland raiders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 16383, 8, 19837, 13016, 588, 7, 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, 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, 833, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 15264, 3274, 96, 32, 1639, 40, 232, 15941, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the csa 4/16/09 for opinionway being 4/17/09 of 12%
CREATE TABLE table_54872 ( "Party" text, "Results 2004" text, "Ifop 11/12/08" text, "Ifop 1/9/09" text, "Ipsos 3/14/09" text, "CSA 4/16/09" text, "OpinionWay 4/17/09" text, "Ifop 4/24/09" text, "Ipsos 5/2/09" text, "Ifop 5/11/09" text, "OpinionWay 5/11/09" text )
SELECT "CSA 4/16/09" FROM table_54872 WHERE "OpinionWay 4/17/09" = '12%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 4225, 357, 41, 96, 13725, 63, 121, 1499, 6, 96, 20119, 7, 4406, 121, 1499, 6, 96, 5801, 32, 102, 850, 18009, 87, 4018, 121, 1499, 6, 96, 5801, 32, 102, 3, 12989, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24135, 314, 16033, 87, 4198, 121, 21680, 953, 834, 5062, 4225, 357, 549, 17444, 427, 96, 667, 22441, 518, 9, 63, 314, 87, 2517, 87, 4198, 121, 3274, 3, 31, 26821, 31, 1, -100, -100, -100, -100, -100, -100, -10...
What's the volume:issue of Sheryl Crow with 3 weeks on top?
CREATE TABLE table_name_7 (volume VARCHAR, weeks_on_top VARCHAR, artist VARCHAR)
SELECT volume AS :issue FROM table_name_7 WHERE weeks_on_top = "3" AND artist = "sheryl crow"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 23439, 584, 4280, 28027, 6, 1274, 834, 106, 834, 2916, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2908, 6157, 3, 10, 13159, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1274, 834, 106, 834, 2916, 3274, 96, 519, 121, 3430, 2377, 3274, 96, 7, 88, 12973, 3, 75, 3623, 121, 1, -100, -100, -100, -100, -100, -10...
What is the name of the school with the Tornadoes Lady Tornadoes?
CREATE TABLE table_name_41 ( school VARCHAR, nickname_s_ VARCHAR )
SELECT school FROM table_name_41 WHERE nickname_s_ = "tornadoes lady tornadoes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 496, 584, 4280, 28027, 6, 24649, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 496, 28, 8, 3794, 25065...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 496, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 24649, 834, 7, 834, 3274, 96, 17, 127, 25065, 15, 7, 9360, 29578, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the id and local authority of the station whose maximum precipitation is higher than 50 Visualize by bar chart, I want to list local_authority from high to low order please.
CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE route ( train_id int, station_id int ) CREATE TA...
SELECT local_authority, id FROM weekly_weather AS t1 JOIN station AS t2 ON t1.station_id = t2.id ORDER BY local_authority DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2412, 41, 3, 23, 26, 16, 17, 6, 2412, 834, 5525, 1152, 16, 17, 6, 564, 1499, 6, 5233, 1499, 6, 3954, 1499, 6, 97, 1499, 6, 8572, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 415, 834, 17415, 485, 6, 3, 23, 26, 21680, 5547, 834, 26809, 6157, 3, 17, 536, 3, 15355, 3162, 2478, 6157, 3, 17, 357, 9191, 3, 17, 5411, 6682, 834, 23, 26, 3274, 3, 17, 4416, 23, 26, 4674, 11300, 272, 476, 41...
provide the number of patients whose gender is f and primary disease is left internal jugular vein thrombosis;left arm edema?
CREATE TABLE diagnoses ( 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 COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "LEFT INTERNAL JUGULAR VEIN THROMBOSIS;LEFT ARM EDEMA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 3765, 6245, 3, 21342, ...
What is the NFL Recap with more than 62,310 in attendance with a result of w 30 29?
CREATE TABLE table_10388 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "NFL Recap" text, "Attendance" real )
SELECT "NFL Recap" FROM table_10388 WHERE "Attendance" > '62,310' AND "Result" = 'w 30–29'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17864, 4060, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12619, 434, 419, 4010, 121, 21680, 953, 834, 17864, 4060, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 4056, 6, 19947, 31, 3430, 96, 20119, 121, 3274, 3, 31, 210, 604, 104, 3166, 31, 1, -100...
Who was nominated for outstanding director of a musical?
CREATE TABLE table_name_30 ( nominee VARCHAR, category VARCHAR )
SELECT nominee FROM table_name_30 WHERE category = "outstanding director of a musical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 21077, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 150, 1109, 920, 21, 4590, 2090, 13, 3, 9, 4183, 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, 21077, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 3295, 3274, 96, 670, 11018, 2090, 13, 3, 9, 4183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest wins entry with fewer than 51 goals, more than 39 points, and a goal difference smaller than 13?
CREATE TABLE table_name_74 ( wins INTEGER, goal_difference VARCHAR, goals_against VARCHAR, points VARCHAR )
SELECT MAX(wins) FROM table_name_74 WHERE goals_against < 51 AND points > 39 AND goal_difference < 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 9204, 3, 21342, 17966, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 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, 4800, 4, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1766, 834, 9, 16720, 7, 17, 3, 2, 11696, 3430, 979, 2490, 6352, 3430, 1288, 834, 26, 99, 11788, 3, 2, 1179, 1, -100, -100, -100, -100...
What is the highest week that was played against the Minnesota Vikings?
CREATE TABLE table_76260 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Record" text, "Attendance" text )
SELECT MAX("Week") FROM table_76260 WHERE "Opponent" = 'minnesota vikings'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 18365, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10266, 8512, 21680, 953, 834, 3959, 18365, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 1109, 1496, 32, 17, 9, 3, 21346, 53, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What Attack has a 30,00% GERB?
CREATE TABLE table_name_74 ( attack VARCHAR, gerb VARCHAR )
SELECT attack FROM table_name_74 WHERE gerb = "30,00%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 3211, 584, 4280, 28027, 6, 3, 1304, 115, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 24655, 65, 3, 9, 220, 27229, 1454, 3, 17966, 279,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3211, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3, 1304, 115, 3274, 96, 519, 27229, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Benito Cheng's Pick number?
CREATE TABLE table_66030 ( "Pick" real, "Player" text, "Country of origin*" text, "PBA team" text, "College" text )
SELECT "Pick" FROM table_66030 WHERE "Player" = 'benito cheng'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27720, 1458, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 13, 5233, 1935, 121, 1499, 6, 96, 345, 4882, 372, 121, 1499, 6, 96, 9939, 7883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3142, 121, 21680, 953, 834, 27720, 1458, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 115, 35, 23, 235, 3, 1559, 122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which country has a score of 70-71-72=213?
CREATE TABLE table_name_76 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_76 WHERE score = 70 - 71 - 72 = 213
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 17529, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 3, 9, 2604, 13, 2861, 18, 4450, 18, 5865, 2423, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 2604, 3274, 2861, 3, 18, 3, 4450, 3, 18, 9455, 3274, 204, 2368, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many players were in the team Boston Red Stockings in 2000?
CREATE TABLE salary (team_id VARCHAR, year VARCHAR); CREATE TABLE team (team_id_br VARCHAR, name VARCHAR)
SELECT COUNT(*) FROM salary AS T1 JOIN team AS T2 ON T1.team_id = T2.team_id_br WHERE T2.name = 'Boston Red Stockings' AND T1.year = 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 9090, 41, 11650, 834, 23, 26, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 372, 41, 11650, 834, 23, 26, 834, 115, 52, 584, 428...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1935, 61, 21680, 9090, 6157, 332, 536, 3, 15355, 3162, 372, 6157, 332, 357, 9191, 332, 5411, 11650, 834, 23, 26, 3274, 332, 4416, 11650, 834, 23, 26, 834, 115, 52, 549, 17444, 427, 332, 4416, 4350,...
Who had the highest assists in game 3?
CREATE TABLE table_name_92 ( high_assists VARCHAR, game VARCHAR )
SELECT high_assists FROM table_name_92 WHERE game = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 2030, 13041, 16, 467, 220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 467, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients with snf discharge who were admitted to hospital before 2154?
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.discharge_location = "SNF" AND demographic.admityear < "2154"
[ 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, 26, 159, 7993, 834, 14836, 3274, 96, 134, 12619, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96,...
Draw a bar chart about the distribution of Sex and the average of Weight , and group by attribute Sex, I want to rank in asc by the y-axis.
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 was the attendance of the Browns' September 7, 1953 game?
CREATE TABLE table_32899 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Attendance" FROM table_32899 WHERE "Date" = 'september 7, 1953'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 3264, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 28070, 3264, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7, 6707, 18247, 7973, 23726, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the final score when River Plate was the runner-up?
CREATE TABLE table_2208838_2 (result VARCHAR, runner_up VARCHAR)
SELECT result FROM table_2208838_2 WHERE runner_up = "River Plate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1755, 4060, 3747, 834, 357, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 2604, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 357, 1755, 4060, 3747, 834, 357, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 448, 23, 624, 14477, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many years have had the position of 2nd?
CREATE TABLE table_name_66 ( year VARCHAR, position VARCHAR )
SELECT COUNT(year) FROM table_name_66 WHERE position = "2nd"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 215, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 43, 141, 8, 1102, 13, 204, 727, 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, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 1102, 3274, 96, 357, 727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the maximum, minimum, and average booked count for the products booked?
CREATE TABLE products_booked (booked_count INTEGER)
SELECT MAX(booked_count), MIN(booked_count), AVG(booked_count) FROM products_booked
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 834, 2567, 15, 26, 41, 2567, 15, 26, 834, 13362, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2411, 6, 2559, 6, 11, 1348, 13007, 3476, 21, 8, 494, 13007, 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...
[ 3, 23143, 14196, 4800, 4, 599, 2567, 15, 26, 834, 13362, 201, 3, 17684, 599, 2567, 15, 26, 834, 13362, 201, 71, 17217, 599, 2567, 15, 26, 834, 13362, 61, 21680, 494, 834, 2567, 15, 26, 1, -100, -100, -100, -100, -100, -100, -100, ...
What date was the loss of ponson (4 3)?
CREATE TABLE table_name_68 ( date VARCHAR, loss VARCHAR )
SELECT date FROM table_name_68 WHERE loss = "ponson (4–3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 833, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 1453, 13, 3, 5041, 739, 8457, 3, 5268, 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, 3651, 549, 17444, 427, 1453, 3274, 96, 5041, 739, 8457, 104, 5268, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the date administered when Vivian Davis Figures was at 36%?
CREATE TABLE table_49516 ( "Poll Source" text, "Dates administered" text, "Democrat: Vivian Davis Figures" text, "Republican: Jeff Sessions" text, "Lead Margin" real )
SELECT "Dates administered" FROM table_49516 WHERE "Democrat: Vivian Davis Figures" = '36%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3301, 2938, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 1813, 5907, 29, 8688, 7996, 7, 121, 1499, 6, 96, 1649, 15727, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 6203, 19092, 121, 21680, 953, 834, 591, 3301, 2938, 549, 17444, 427, 96, 19679, 10, 1813, 5907, 29, 8688, 7996, 7, 121, 3274, 3, 31, 519, 6370, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average 5432 value with a 11502 larger than 1163, a 15122 less than 15122, and a 3620 less than 624?
CREATE TABLE table_name_12 ( Id VARCHAR )
SELECT AVG(5432) FROM table_name_12 WHERE 11502 > 1163 AND 15122 < 15122 AND 3620 < 624
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 10630, 2668, 701, 28, 3, 9, 3, 15660, 4305, 2186, 145, 850, 3891, 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, 17217, 599, 5062, 2668, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 3, 15660, 4305, 2490, 850, 3891, 3430, 627, 20889, 3, 2, 627, 20889, 3430, 4475, 1755, 3, 2, 431, 2266, 1, -100, -100, -100, -100, ...
What was the date of the game in week 14?
CREATE TABLE table_17927 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" real )
SELECT "Date" FROM table_17927 WHERE "Week" = '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2555, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26593, 2555, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result of the game when the record was 5-1?
CREATE TABLE table_name_21 (result VARCHAR, record VARCHAR)
SELECT result FROM table_name_21 WHERE record = "5-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 116, 8, 1368, 47, 305, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 741, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1368, 3274, 96, 755, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date that Elvir Krehmic made a high jump record?
CREATE TABLE table_name_78 ( date VARCHAR, athlete VARCHAR )
SELECT date FROM table_name_78 WHERE athlete = "elvir krehmic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 833, 584, 4280, 28027, 6, 17893, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 24, 1289, 5771, 14873, 107, 3113, 263, 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, 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, 3940, 549, 17444, 427, 17893, 3274, 96, 15, 40, 5771, 3, 157, 60, 107, 3113, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which NFL team has a pick# less than 200 for Travis Davis?
CREATE TABLE table_name_23 (nfl_team VARCHAR, pick__number VARCHAR, player VARCHAR)
SELECT nfl_team FROM table_name_23 WHERE pick__number < 200 AND player = "travis davis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 29, 89, 40, 834, 11650, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 89, 40, 834, 11650, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3, 2, 2382, 3430, 1959, 3274, 96, 1313, 3466, 836, 3466, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many minutes were played by Sue Bird?
CREATE TABLE table_27204 ( "Player" text, "Minutes" real, "Field Goals" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT MIN("Minutes") FROM table_27204 WHERE "Player" = 'Sue Bird'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 26363, 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, 3, 17684, 599, 121, 12858, 2810, 7, 8512, 21680, 953, 834, 2555, 26363, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 134, 76, 15, 9992, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the fastest lap(s) when josef newgarden led the most laps at edmonton?
CREATE TABLE table_29690363_3 ( fastest_lap VARCHAR, most_laps_led VARCHAR, race VARCHAR )
SELECT fastest_lap FROM table_29690363_3 WHERE most_laps_led = "Josef Newgarden" AND race = "Edmonton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3951, 4928, 3891, 834, 519, 41, 10391, 834, 8478, 584, 4280, 28027, 6, 167, 834, 8478, 7, 834, 1361, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10391, 834, 8478, 21680, 953, 834, 3166, 3951, 4928, 3891, 834, 519, 549, 17444, 427, 167, 834, 8478, 7, 834, 1361, 3274, 96, 683, 32, 7, 15, 89, 368, 6390, 35, 121, 3430, 1964, 3274, 96, 427, 26, 4662, 106, 121, ...
What was the Goal in Stade Roi Baudouin, Brussels?
CREATE TABLE table_name_81 ( goal INTEGER, venue VARCHAR )
SELECT AVG(goal) FROM table_name_81 WHERE venue = "stade roi baudouin, brussels"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1288, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 17916, 16, 472, 9, 221, 2158, 23, 3528, 26, 1063, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 839, 138, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 5669, 3274, 96, 2427, 221, 3, 52, 32, 23, 3, 2635, 26, 1063, 77, 6, 3, 9052, 9816, 7, 121, 1, -100, -100, -100, -100, -100, -100, ...
Create a bar chart showing maximal revenue across headquarter
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Headquarter, MAX(Revenue) FROM Manufacturers GROUP BY Headquarter
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3642, 19973, 6, 4800, 4, 599, 1649, 15098, 61, 21680, 15248, 7, 350, 4630, 6880, 272, 476, 3642, 19973, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
WHAT IS THE SEATS IN Hamburgische B rgerschaft THAT HAS GREEN POLITICS?
CREATE TABLE table_name_83 ( seats_in_hamburgische_bürgerschaft VARCHAR, ideology VARCHAR )
SELECT seats_in_hamburgische_bürgerschaft FROM table_name_83 WHERE ideology = "green politics"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 6116, 834, 77, 834, 1483, 4824, 2014, 834, 23391, 3445, 584, 4280, 28027, 6, 26403, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6116, 834, 77, 834, 1483, 4824, 2014, 834, 23391, 3445, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 26403, 3274, 96, 9423, 6525, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Airport's ICAO is ENTO?
CREATE TABLE table_name_23 (airport VARCHAR, icao VARCHAR)
SELECT airport FROM table_name_23 WHERE icao = "ento"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 2256, 1493, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5735, 31, 7, 3, 15038, 667, 19, 3, 6431, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3761, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 3, 2617, 32, 3274, 96, 35, 235, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the score on 22 august 2012
CREATE TABLE table_name_37 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_37 WHERE date = "22 august 2012"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2604, 30, 1630, 14663, 1673, 1, 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, 2604, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 833, 3274, 96, 2884, 14663, 1673, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the title of all the albums of the artist 'AC/DC'.
CREATE TABLE ARTIST ( ArtistId VARCHAR, Name VARCHAR ) CREATE TABLE ALBUM ( ArtistId VARCHAR )
SELECT Title FROM ALBUM AS T1 JOIN ARTIST AS T2 ON T1.ArtistId = T2.ArtistId WHERE T2.Name = "AC/DC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8241, 13582, 41, 9152, 196, 26, 584, 4280, 28027, 6, 5570, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 71, 16976, 6122, 41, 9152, 196, 26, 584, 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, 11029, 21680, 71, 16976, 6122, 6157, 332, 536, 3, 15355, 3162, 3, 8241, 13582, 6157, 332, 357, 9191, 332, 5411, 7754, 343, 196, 26, 3274, 332, 4416, 7754, 343, 196, 26, 549, 17444, 427, 332, 4416, 23954, 3274, 96, 5...
What is the original air date for the episode with a production code of 318?
CREATE TABLE table_15185133_1 (original_air_date VARCHAR, production_code VARCHAR)
SELECT original_air_date FROM table_15185133_1 WHERE production_code = 318
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 21594, 22974, 834, 536, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 926, 799,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 1808, 21594, 22974, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 220, 2606, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the result of the competition in 2006 world cup qualification?
CREATE TABLE table_14825 ( "Date" text, "Venue" text, "Result" text, "Competition" text, "Scored" real )
SELECT "Result" FROM table_14825 WHERE "Competition" = '2006 world cup qualification'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 1828, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 134, 9022, 26, 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, 96, 20119, 121, 21680, 953, 834, 24748, 1828, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 21196, 296, 4119, 15513, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
get me the type of admission and short title of procedure for patient with patient id 2560.
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 demographic.admission_type, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "2560"
[ 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, 14798, 5, 9, 26, 5451, 834, 6137, 6, 4293, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, ...
Which Points is the highest one that has a Nationality of aut, and a Name of thomas morgenstern?
CREATE TABLE table_name_32 ( points INTEGER, nationality VARCHAR, name VARCHAR )
SELECT MAX(points) FROM table_name_32 WHERE nationality = "aut" AND name = "thomas morgenstern"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 979, 3, 21342, 17966, 6, 1157, 485, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, 7, 19, 8, 2030, 80, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1157, 485, 3274, 96, 402, 17, 121, 3430, 564, 3274, 96, 189, 32, 2754, 8030, 729, 13072, 121, 1, -100, -100, -100, -100, -100, -100, -1...
who is the opponents when the surface is clay and the date is 12 july 1992?
CREATE TABLE table_49533 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents" text, "Score" text )
SELECT "Opponents" FROM table_49533 WHERE "Surface" = 'clay' AND "Date" = '12 july 1992'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3301, 4201, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 102, 9977, 7, 121, 21680, 953, 834, 591, 3301, 4201, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 4651, 63, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2122, 3, 2047, 120, 9047, 31, 1, -100, -...
For each grade, report the grade, the number of classrooms in which it is taught and the total number of students in the grade.
CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number )
SELECT grade, COUNT(DISTINCT classroom), COUNT(*) FROM list GROUP BY grade
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 381, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 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, 2769, 6, 2847, 17161, 599, 15438, 25424, 6227, 4858, 201, 2847, 17161, 599, 1935, 61, 21680, 570, 350, 4630, 6880, 272, 476, 2769, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time for a lane less than 6, and a heat less than 4 for Joanne Malar?
CREATE TABLE table_name_19 (time VARCHAR, name VARCHAR, lane VARCHAR, heat VARCHAR)
SELECT time FROM table_name_19 WHERE lane < 6 AND heat < 4 AND name = "joanne malar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 715, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 6, 1678, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 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, 97, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 3, 8102, 3, 2, 431, 3430, 1678, 3, 2, 314, 3430, 564, 3274, 96, 1927, 4515, 1460, 291, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Opponent in the final has a Date of 19 september 1988?
CREATE TABLE table_58982 ( "Outcome" text, "Date" text, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Opponent in the final" FROM table_58982 WHERE "Date" = '19 september 1988'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 3916, 357, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 102, 9977, 16, 8, 804, 121, 21680, 953, 834, 3449, 3916, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2294, 16022, 18247, 10414, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the original title of the film from years after 1985 from the UK?
CREATE TABLE table_name_75 ( original_title VARCHAR, year VARCHAR, country VARCHAR )
SELECT original_title FROM table_name_75 WHERE year > 1985 AND country = "uk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 926, 834, 21869, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 926, 2233, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 21869, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 215, 2490, 13200, 3430, 684, 3274, 96, 1598, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many crimes has been conducted?
CREATE TABLE greatermanchestercrime ( crimeid text, crimets time, location text, lsoa text, type text, outcome text )
SELECT COUNT(*) FROM greatermanchestercrime
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2123, 348, 13263, 2685, 526, 41, 5447, 23, 26, 1499, 6, 5447, 17, 7, 97, 6, 1128, 1499, 6, 3, 40, 7, 32, 9, 1499, 6, 686, 1499, 6, 6138, 1499, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 2123, 348, 13263, 2685, 526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What dates did they play Miami?
CREATE TABLE table_21533 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_21533 WHERE "Team" = 'Miami'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 1808, 4201, 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, 308, 342, 121, 21680, 953, 834, 357, 1808, 4201, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 329, 23, 3690, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
On what date did Mike Hawthorn have the fastest lap for the E Tyre of the Silverstone Circuit?
CREATE TABLE table_10852 ( "Race" text, "Circuit" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Constructor" text, "Tyre" text, "Report" text )
SELECT "Date" FROM table_10852 WHERE "Fastest lap" = 'mike hawthorn' AND "Tyre" = 'e' AND "Circuit" = 'silverstone'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 5373, 41, 96, 448, 3302, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 4377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16169, 5373, 549, 17444, 427, 96, 371, 9, 7, 4377, 14941, 121, 3274, 3, 31, 20068, 15, 4244, 210, 17, 6293, 31, 3430, 96, 382, 63, 60, 121, 3274, 3, 31, 15, 31, 3430, 96, 25...
What was the score of the game when the home team was Lincoln City?
CREATE TABLE table_name_74 ( score VARCHAR, home_team VARCHAR )
SELECT score FROM table_name_74 WHERE home_team = "lincoln city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 2604, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 8, 234, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 234, 834, 11650, 3274, 96, 40, 77, 3297, 29, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most recent year with a United States nationality and the school Hamline?
CREATE TABLE table_32207 ( "Player" text, "Nationality" text, "Position" text, "From" real, "School/Country" text )
SELECT MAX("From") FROM table_32207 WHERE "Nationality" = 'united states' AND "School/Country" = 'hamline'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 26426, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 22674, 121, 490, 6, 96, 29364, 87, 10628, 651, 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, 4800, 4, 599, 121, 22674, 8512, 21680, 953, 834, 2668, 26426, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 29364, 87, 10628, 651, 121, 3274, 3, 31, 1483, 747, 31, 1, -100, ...
What is the highest number of students with a teacher:student ratio of 20.8?
CREATE TABLE table_19162 ( "School Name" text, "City" text, "Students" real, "FTE Teachers" text, "Pupil/Teacher Ratio" text, "School Level" text, "Low Grade" text, "High Grade" text )
SELECT MAX("Students") FROM table_19162 WHERE "Pupil/Teacher Ratio" = '20.8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2938, 357, 41, 96, 29364, 5570, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 13076, 24180, 121, 490, 6, 96, 371, 3463, 18991, 121, 1499, 6, 96, 345, 413, 173, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13076, 24180, 8512, 21680, 953, 834, 2294, 2938, 357, 549, 17444, 427, 96, 345, 413, 173, 87, 382, 15, 9, 1703, 6455, 23, 32, 121, 3274, 3, 31, 357, 22384, 31, 1, -100, -100, -100, -100, -100, ...
How many were penanced for a total of 7666?
CREATE TABLE table_name_48 ( penanced VARCHAR, total VARCHAR )
SELECT penanced FROM table_name_48 WHERE total = "7666"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 4550, 663, 26, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 130, 4550, 663, 26, 21, 3, 9, 792, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4550, 663, 26, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 792, 3274, 96, 3959, 3539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the original air date of the episode written by Michelle Offen?
CREATE TABLE table_19517621_4 (original_airdate VARCHAR, written_by VARCHAR)
SELECT original_airdate FROM table_19517621_4 WHERE written_by = "Michelle Offen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 26782, 2658, 834, 591, 41, 21878, 834, 2256, 5522, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 926, 799, 833,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 926, 834, 2256, 5522, 21680, 953, 834, 22464, 26782, 2658, 834, 591, 549, 17444, 427, 1545, 834, 969, 3274, 96, 30123, 109, 4395, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Visitor, when Home is Philadelphia, and when Date is November 18?
CREATE TABLE table_47647 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text, "Points" real )
SELECT "Visitor" FROM table_47647 WHERE "Home" = 'philadelphia' AND "Date" = 'november 18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3959, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 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, 553, 159, 155, 127, 121, 21680, 953, 834, 591, 3959, 4177, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 18118, 15311, 11692, 9, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 507, 31, 1, -100, -100, ...
What is the Record with a Score with 80 87, and a Visitor with bucks?
CREATE TABLE table_name_12 ( record VARCHAR, score VARCHAR, visitor VARCHAR )
SELECT record FROM table_name_12 WHERE score = "80–87" AND visitor = "bucks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1368, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11392, 28, 3, 9, 17763,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 2604, 3274, 96, 2079, 104, 4225, 121, 3430, 7019, 3274, 96, 13863, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which patients are taking drug via ns route?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "NS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
Which countries won by 9 strokes?
CREATE TABLE table_1205 ( "Year" real, "Dates" text, "Venue" text, "Champion" text, "Country" text, "Score" real, "To par" text, "Margin of victory" text, "Runner(s)-up" text, "Purse ( $ )" real, "Winners share ($)" real )
SELECT "Country" FROM table_1205 WHERE "Margin of victory" = '9 strokes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 3076, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 6203, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 651, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2122, 3076, 549, 17444, 427, 96, 7286, 122, 77, 13, 6224, 121, 3274, 3, 31, 1298, 9529, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
let me know the short title of diagnoses for the patient with patient id 21796.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "21796"
[ 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, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 357, 2517, 4314, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team had pick 203?
CREATE TABLE table_29012 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "NHL team" FROM table_29012 WHERE "Pick #" = '203'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 2122, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15743, 434, 372, 121, 21680, 953, 834, 23838, 2122, 549, 17444, 427, 96, 345, 3142, 1713, 121, 3274, 3, 31, 23330, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the club that has the turkish basketball cup and fiba eurochallenge (3rd tier)?
CREATE TABLE table_name_97 (club VARCHAR, national_cup VARCHAR, european_cup VARCHAR)
SELECT club FROM table_name_97 WHERE national_cup = "turkish basketball cup" AND european_cup = "fiba eurochallenge (3rd tier)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 13442, 584, 4280, 28027, 6, 1157, 834, 4658, 584, 4280, 28027, 6, 14864, 834, 4658, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1886...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1886, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1157, 834, 4658, 3274, 96, 2905, 157, 1273, 8498, 4119, 121, 3430, 14864, 834, 4658, 3274, 96, 89, 23, 115, 9, 3983, 12654, 40, 35, 397, 6918, 52, 26, 3, 32...
how many times meperidine 25 mg/1 ml 1 ml syr was prescribed since 1 year ago?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE intakeoutput ( ...
SELECT COUNT(*) FROM medication WHERE medication.drugname = 'meperidine 25 mg/1 ml 1 ml syr' AND DATETIME(medication.drugstarttime) >= DATETIME(CURRENT_TIME(), '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1935, 61, 21680, 7757, 549, 17444, 427, 7757, 5, 26, 13534, 4350, 3274, 3, 31, 526, 883, 30095, 944, 5453, 14785, 3, 51, 40, 209, 3, 51, 40, 3, 7, 63, 52, 31, 3430, 309, 6048, 382, 15382, 599, ...
Who was the incumbent when Bo Itshaky was the Republican?
CREATE TABLE table_name_63 ( incumbent VARCHAR, republican VARCHAR )
SELECT incumbent FROM table_name_63 WHERE republican = "bo itshaky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 28406, 584, 4280, 28027, 6, 20237, 152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 28406, 116, 1491, 94, 7, 15416, 63, 47, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 28406, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 20237, 152, 3274, 96, 115, 32, 165, 15416, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which location is in Oregon, ranked under 121, and contains Mount McLoughlin?
CREATE TABLE table_name_71 ( location VARCHAR, mountain_peak VARCHAR, state VARCHAR, rank VARCHAR )
SELECT location FROM table_name_71 WHERE state = "oregon" AND rank < 121 AND mountain_peak = "mount mcloughlin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 1128, 584, 4280, 28027, 6, 4180, 834, 14661, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 1128, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 538, 3274, 96, 127, 15, 5307, 121, 3430, 11003, 3, 2, 3, 22011, 3430, 4180, 834, 14661, 3274, 96, 11231, 3, 51, 3903, 14439, 40, 77, 121, 1, -100, -100, -10...
what is the total number of medals that india won in the asian youth games ?
CREATE TABLE table_203_747 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "total" FROM table_203_747 WHERE "nation" = 'india'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 940, 4177, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 121, 21680, 953, 834, 23330, 834, 940, 4177, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 8482, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart shows the distribution of meter_500 and meter_100 , and list by the Y-axis in asc.
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Coun...
SELECT meter_500, meter_100 FROM swimmer ORDER BY meter_100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499, 6, 868, 485, 1499, 6, 3, 4401, 834, 2915, 490, 6, 3, 4401, 834, 3632, 1499, 6, 3, 4401, 834, 5426, 1499, 6, 3, 4401, 834, 5548, 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, 3, 4401, 834, 2560, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 3, 4401, 834, 2915, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...