NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Season 7 has a Seat larger than 1, and a Season 3 of w. brett wilson?
CREATE TABLE table_name_89 (season_7 VARCHAR, seat VARCHAR, season_3 VARCHAR)
SELECT season_7 FROM table_name_89 WHERE seat > 1 AND season_3 = "w. brett wilson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 9476, 834, 940, 584, 4280, 28027, 6, 3143, 584, 4280, 28027, 6, 774, 834, 519, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 7960, 489, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 774, 834, 940, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 3143, 2490, 209, 3430, 774, 834, 519, 3274, 96, 210, 5, 3, 1999, 17, 17, 3, 210, 173, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Away result of 0–3, and a Season of 1969-70 is what competition?
CREATE TABLE table_name_48 (competition VARCHAR, away_result VARCHAR, season VARCHAR)
SELECT competition FROM table_name_48 WHERE away_result = "0–3" AND season = "1969-70"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 550, 834, 60, 7, 83, 17, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 71, 1343,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 550, 834, 60, 7, 83, 17, 3274, 96, 632, 104, 519, 121, 3430, 774, 3274, 96, 2294, 3951, 18, 2518, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the studio host for the game that has Paul Sunderland as play by play commentator and Jack Haley as the Studio Analyst?
CREATE TABLE table_name_19 (studio_host VARCHAR, play_by_play VARCHAR, studio_analysts VARCHAR)
SELECT studio_host FROM table_name_19 WHERE play_by_play = "paul sunderland" AND studio_analysts = "jack haley"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 22991, 834, 12675, 584, 4280, 28027, 6, 577, 834, 969, 834, 4895, 584, 4280, 28027, 6, 3100, 834, 152, 9, 120, 7, 17, 7, 584, 4280, 28027, 61, 3, 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, 3100, 834, 12675, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 577, 834, 969, 834, 4895, 3274, 96, 102, 9, 83, 1997, 221, 7721, 121, 3430, 3100, 834, 152, 9, 120, 7, 17, 7, 3274, 96, 9325, 4244, 1306, 121, ...
What was the score when geelong was the away team?
CREATE TABLE table_name_45 ( home_team VARCHAR )
SELECT home_team AS score FROM table_name_45 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 873, 15, 2961, 47, 8, 550, 372, 58, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 234, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is maximum age of patients whose ethnicity is white - russian and days of hospital stay is 27?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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 )
SELECT MAX(demographic.age) FROM demographic WHERE demographic.ethnicity = "WHITE - RUSSIAN" AND demographic.days_stay = "27"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 3, 18, 3, 8503, 4256, 21758, 121, 3430, 14798, 5, 1135, 7, 834, 21545, 3274, 96, 2555, 12...
Show all member names who are not in charge of any event.
CREATE TABLE member (member_name VARCHAR); CREATE TABLE party_events (member_in_charge_id VARCHAR); CREATE TABLE member (member_name VARCHAR, member_id VARCHAR)
SELECT member_name FROM member EXCEPT SELECT T1.member_name FROM member AS T1 JOIN party_events AS T2 ON T1.member_id = T2.member_in_charge_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 12066, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 834, 15, 2169, 7, 41, 12066, 834, 77, 834, 7993, 834, 23, 26, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1144, 834, 4350, 21680, 1144, 262, 4, 30416, 3, 23143, 14196, 332, 5411, 12066, 834, 4350, 21680, 1144, 6157, 332, 536, 3, 15355, 3162, 1088, 834, 15, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 12066, 834, 23, 26, 32...
how many patients whose primary disease is guillain barre syndrome and days of hospital stay is greater than 10?
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) 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, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "GUILLAIN BARRE SYNDROME" AND demographic.days_stay > "10"
[ 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, 25930, 4844, 159, 3274, 96, 13961, 10781, 13570, 272, 4280, 4386, 180, 476, 10604, 13103, 427, 121, ...
What is the status for Saint George?
CREATE TABLE table_1598 ( "Official Name" text, "Status" text, "Area km 2" text, "Population" real, "Census Ranking" text )
SELECT "Status" FROM table_1598 WHERE "Official Name" = 'Saint George'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3916, 41, 96, 667, 89, 22816, 5570, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 188, 864, 2280, 204, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 1808, 3916, 549, 17444, 427, 96, 667, 89, 22816, 5570, 121, 3274, 3, 31, 26667, 3080, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many laps did Emerson Fittipaldi do on a grid larger than 14, and when was the Time/Retired of accident?
CREATE TABLE table_name_98 ( laps VARCHAR, driver VARCHAR, grid VARCHAR, time_retired VARCHAR )
SELECT COUNT(laps) FROM table_name_98 WHERE grid > 14 AND time_retired = "accident" AND driver = "emerson fittipaldi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 14941, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 8634, 2490, 968, 3430, 97, 834, 10682, 1271, 3274, 96, 6004, 4215, 121, 3430, 2535, 3274, 96, 15, 5567, 106, 1400, 11537, 138, 26, 23...
For what cause is Touring Car Racing the discipline?
CREATE TABLE table_48647 ( "Discipline" text, "Circuit" text, "Event" text, "Session" text, "Cause" text )
SELECT "Cause" FROM table_48647 WHERE "Discipline" = 'touring car racing'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3840, 4177, 41, 96, 15683, 23, 10574, 15, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 134, 15, 7, 1938, 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, 254, 9, 1074, 121, 21680, 953, 834, 591, 3840, 4177, 549, 17444, 427, 96, 15683, 23, 10574, 15, 121, 3274, 3, 31, 235, 7920, 443, 8191, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When 5 is the l what is the lowest amount of stolen ends?
CREATE TABLE table_29565541_2 (stolen_ends INTEGER, l VARCHAR)
SELECT MIN(stolen_ends) FROM table_29565541_2 WHERE l = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4834, 3769, 4853, 834, 357, 41, 7, 235, 40, 35, 834, 989, 7, 3, 21342, 17966, 6, 3, 40, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 305, 19, 8, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7, 235, 40, 35, 834, 989, 7, 61, 21680, 953, 834, 3166, 4834, 3769, 4853, 834, 357, 549, 17444, 427, 3, 40, 3274, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which To Par has a Money ($) of 350, and a Player of henry picard?
CREATE TABLE table_61954 ( "Place" text, "Player" text, "Country" text, "Score" text, "To Par" text, "Money ( $ )" real )
SELECT "To Par" FROM table_61954 WHERE "Money ( $ )" = '350' AND "Player" = 'henry picard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 3301, 591, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 2180, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 2180, 121, 21680, 953, 834, 4241, 3301, 591, 549, 17444, 427, 96, 9168, 15, 63, 41, 1514, 3, 61, 121, 3274, 3, 31, 16975, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 3225, 651, 6686, 986, 31, 1, -100, ...
When did the season located in the Netherlands premier?
CREATE TABLE table_1949994_7 ( premiere_air_dates VARCHAR, country VARCHAR )
SELECT premiere_air_dates FROM table_1949994_7 WHERE country = "The Netherlands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3647, 3264, 591, 834, 940, 41, 13539, 834, 2256, 834, 5522, 7, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 410, 8, 774, 106...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13539, 834, 2256, 834, 5522, 7, 21680, 953, 834, 2294, 3647, 3264, 591, 834, 940, 549, 17444, 427, 684, 3274, 96, 634, 12023, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many high assists are listed for the game with a score of 68-60?
CREATE TABLE table_17118657_8 (high_assists VARCHAR, score VARCHAR)
SELECT COUNT(high_assists) FROM table_17118657_8 WHERE score = "68-60"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2596, 3840, 3436, 834, 927, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 306, 13041, 33, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 834, 6500, 7, 17, 7, 61, 21680, 953, 834, 2517, 2596, 3840, 3436, 834, 927, 549, 17444, 427, 2604, 3274, 96, 3651, 19516, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the fastest lap for round 14
CREATE TABLE table_25322130_3 ( fastest_lap VARCHAR, round VARCHAR )
SELECT COUNT(fastest_lap) FROM table_25322130_3 WHERE round = "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2668, 2658, 1458, 834, 519, 41, 10391, 834, 8478, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 10391, 14941, 21, 1751, 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, 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, 11584, 222, 834, 8478, 61, 21680, 953, 834, 1828, 2668, 2658, 1458, 834, 519, 549, 17444, 427, 1751, 3274, 96, 2534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many losses does Central Blues have?
CREATE TABLE table_26200568_16 ( losses INTEGER, club VARCHAR )
SELECT MAX(losses) FROM table_26200568_16 WHERE club = "Central Blues"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 22594, 3651, 834, 2938, 41, 8467, 3, 21342, 17966, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8467, 405, 2808, 2419, 7, 43, 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, 4800, 4, 599, 2298, 2260, 61, 21680, 953, 834, 2688, 22594, 3651, 834, 2938, 549, 17444, 427, 1886, 3274, 96, 30497, 2419, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What team drove a Dodge vehicle?
CREATE TABLE table_5446 ( "Pos." real, "Car #" real, "Driver" text, "Make" text, "Team" text )
SELECT "Team" FROM table_5446 WHERE "Make" = 'dodge'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 4448, 41, 96, 345, 32, 7, 535, 490, 6, 96, 6936, 1713, 121, 490, 6, 96, 20982, 52, 121, 1499, 6, 96, 22638, 121, 1499, 6, 96, 18699, 121, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 5062, 4448, 549, 17444, 427, 96, 22638, 121, 3274, 3, 31, 26, 32, 26, 397, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many number of english when kunrei-shiki is otya
CREATE TABLE table_26263954_1 ( english VARCHAR, kunrei_shiki VARCHAR )
SELECT COUNT(english) FROM table_26263954_1 WHERE kunrei_shiki = "otya"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2688, 3288, 5062, 834, 536, 41, 22269, 584, 4280, 28027, 6, 3, 157, 202, 60, 23, 834, 5605, 2168, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4606, 40, 1273, 61, 21680, 953, 834, 2688, 2688, 3288, 5062, 834, 536, 549, 17444, 427, 3, 157, 202, 60, 23, 834, 5605, 2168, 3274, 96, 32, 17, 63, 9, 121, 1, -100, -100, -100, -100, -100, -100, ...
Visualize a pie chart about the proportion of All_Games and Team_ID.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT All_Games, Team_ID FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 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 the date Listed of the Bridge Built in 1864?
CREATE TABLE table_name_79 (listed VARCHAR, built VARCHAR)
SELECT listed FROM table_name_79 WHERE built = "1864"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 19279, 584, 4280, 28027, 6, 1192, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 3, 28886, 13, 8, 6132, 14862, 16, 507, 4389, 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, 2616, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1192, 3274, 96, 25398, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
which was the first human rights treaty to be signed ?
CREATE TABLE table_203_109 ( id number, "treaty" text, "organization" text, "introduced" number, "signed" number, "ratified" number )
SELECT "treaty" FROM table_203_109 ORDER BY "signed" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 17304, 41, 3, 23, 26, 381, 6, 96, 929, 144, 63, 121, 1499, 6, 96, 17939, 257, 121, 1499, 6, 96, 20322, 32, 12160, 26, 121, 381, 6, 96, 15532, 121, 381, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 929, 144, 63, 121, 21680, 953, 834, 23330, 834, 17304, 4674, 11300, 272, 476, 96, 15532, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average Tournaments, when Highest Rank is "Maegashira 1"?
CREATE TABLE table_name_90 (tournaments INTEGER, highest_rank VARCHAR)
SELECT AVG(tournaments) FROM table_name_90 WHERE highest_rank = "maegashira 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 17, 1211, 29, 9, 4128, 3, 21342, 17966, 6, 2030, 834, 6254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 20502, 7, 6, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 17, 1211, 29, 9, 4128, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 2030, 834, 6254, 3274, 96, 51, 9, 15, 5556, 9288, 9, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Wich rank is given to the Canton of Schaffhausen?
CREATE TABLE table_name_4 ( rank INTEGER, canton VARCHAR )
SELECT SUM(rank) FROM table_name_4 WHERE canton = "schaffhausen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 11003, 3, 21342, 17966, 6, 26652, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 549, 362, 11003, 19, 787, 12, 8, 1336, 6992, 13, 27320, 89, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 26652, 3274, 96, 860, 4127, 18535, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the ranking of the movie made at Walt Disney Pictures?
CREATE TABLE table_name_50 ( rank VARCHAR, studio VARCHAR )
SELECT rank FROM table_name_50 WHERE studio = "walt disney pictures"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 11003, 584, 4280, 28027, 6, 3100, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11592, 13, 8, 1974, 263, 44, 14591, 6118, 16571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3100, 3274, 96, 5380, 17, 1028, 3186, 1933, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position did the Belenenses club occupy in 1960/61?
CREATE TABLE table_name_2 ( position_in_1960_1961 VARCHAR, clubs VARCHAR )
SELECT position_in_1960_1961 FROM table_name_2 WHERE clubs = "belenenses"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 1102, 834, 77, 834, 2294, 3328, 834, 2294, 4241, 584, 4280, 28027, 6, 8122, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 8, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 834, 77, 834, 2294, 3328, 834, 2294, 4241, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 8122, 3274, 96, 2370, 35, 5167, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many caps have a Position of prop, and a Player of rui cordeiro?
CREATE TABLE table_name_6 ( caps VARCHAR, position VARCHAR, player VARCHAR )
SELECT COUNT(caps) FROM table_name_6 WHERE position = "prop" AND player = "rui cordeiro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 16753, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16753, 43, 3, 9, 14258, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4010, 7, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1102, 3274, 96, 10401, 121, 3430, 1959, 3274, 96, 52, 76, 23, 7496, 21810, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest Matches were the points were smaller than 8, the place was larger than 13, and the drawn is less than 1?
CREATE TABLE table_48164 ( "Place" real, "Matches" real, "Drawn" real, "Lost" real, "Difference" text, "Points" real )
SELECT MAX("Matches") FROM table_48164 WHERE "Points" < '8' AND "Place" > '13' AND "Drawn" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 26987, 41, 96, 345, 11706, 121, 490, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 308, 99, 11788, 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, 4800, 4, 599, 121, 329, 144, 2951, 8512, 21680, 953, 834, 3707, 26987, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 927, 31, 3430, 96, 345, 11706, 121, 2490, 3, 31, 2368, 31, 3430, 96, 308, 10936, 29, 121, ...
What was the final score of the Australian Open?
CREATE TABLE table_name_13 (score_in_the_final VARCHAR, championship VARCHAR)
SELECT score_in_the_final FROM table_name_13 WHERE championship = "australian open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 7, 9022, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 2604, 13, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 10183, 3274, 96, 402, 3109, 9928, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Home team has a Venue of victoria park?
CREATE TABLE table_54731 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_54731 WHERE "Venue" = 'victoria park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 3341, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 4177, 3341, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 7287, 3600, 9, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Name, when Moving To is 'NEC Nijmegen'?
CREATE TABLE table_49811 ( "Date From" text, "Date To" text, "Pos." text, "Name" text, "Moving To" text )
SELECT "Name" FROM table_49811 WHERE "Moving To" = 'nec nijmegen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3916, 2596, 41, 96, 308, 342, 1029, 121, 1499, 6, 96, 308, 342, 304, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 329, 32, 3745, 304, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 121, 21680, 953, 834, 591, 3916, 2596, 549, 17444, 427, 96, 329, 32, 3745, 304, 121, 3274, 3, 31, 29, 15, 75, 3, 29, 23, 354, 526, 729, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many days since the time patient 005-48105 was admitted to the hospital?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT 1 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.hospitaladmittime)) FROM patient WHERE patient.uniquepid = '005-48105' AND patient.hospitaldischargetime IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 209, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 31386, 20466, 17, 715, 61, 61, 216...
Which Parent has height smaller than 756 and a Prom of 39?
CREATE TABLE table_78230 ( "Peak" text, "Height (m)" real, "Prom. (m)" real, "Class" text, "Parent" text )
SELECT "Parent" FROM table_78230 WHERE "Height (m)" < '756' AND "Prom. (m)" = '39'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 13427, 41, 96, 345, 15, 1639, 121, 1499, 6, 96, 3845, 2632, 41, 51, 61, 121, 490, 6, 96, 3174, 51, 5, 41, 51, 61, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 1321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13212, 295, 121, 21680, 953, 834, 3940, 13427, 549, 17444, 427, 96, 3845, 2632, 41, 51, 61, 121, 3, 2, 3, 31, 3072, 948, 31, 3430, 96, 3174, 51, 5, 41, 51, 61, 121, 3274, 3, 31, 3288, 31, 1, -100, -100, ...
What is the count of the songs that last approximately 4 minutes?
CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text )
SELECT COUNT(*) FROM files WHERE duration LIKE "4:%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 3, 89, 834, 23, 26, 381, 6, 2377, 834, 4350, 1499, 6, 1042, 834, 7991, 1499, 6, 8659, 1499, 6, 10874, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2073, 549, 17444, 427, 8659, 8729, 9914, 96, 591, 10, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients speak cape language and are under 71 years of age?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "CAPE" AND demographic.age < "71"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 16986, 427, 121, 3430, 14798, 5, 545, 3, 2, 96, 4450, 121, 1, -100, -100, -100,...
Which position did the drafted player affiliated with UCLA play?
CREATE TABLE table_5654 ( "Pick #" real, "MLS Team" text, "Player" text, "Position" text, "Affiliation" text )
SELECT "Position" FROM table_5654 WHERE "Affiliation" = 'ucla'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 5062, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 17976, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 188, 89, 8027, 23,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 4834, 5062, 549, 17444, 427, 96, 188, 89, 8027, 23, 257, 121, 3274, 3, 31, 76, 4651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many patients with morbid obesity/sda primary disease died in or before the year 2183?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid 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 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 text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MORBID OBESITY/SDA" AND demographic.dod_year <= "2183.0"
[ 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, 25930, 4844, 159, 3274, 96, 5365, 12108, 4309, 3, 10539, 3205, 15296, 87, 134, 4296, 121, 3430, 14...
What team does Jimmy Frazelle play on?
CREATE TABLE table_name_41 ( mls_team VARCHAR, player VARCHAR )
SELECT mls_team FROM table_name_41 WHERE player = "jimmy frazelle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 3, 51, 40, 7, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 405, 16754, 10323, 172, 693, 577...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 51, 40, 7, 834, 11650, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1959, 3274, 96, 354, 603, 2258, 8072, 172, 693, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tell me the time of patient 016-8658's hospital admission?
CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '016-8658'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, 4370, 41, 3362, 4267, 32, 26, 1294, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2912, 381, 6, 3, 7, 9, 32, 357, 381, 6, 842, 2206, 381, 6, 14114, 257, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2938, 18, 3840, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many wins did South Warrnambool have that had more than 6 flags and a draw greater than 10?
CREATE TABLE table_name_77 ( wins VARCHAR, club VARCHAR, flags VARCHAR, draws VARCHAR )
SELECT wins FROM table_name_77 WHERE flags > 6 AND draws > 10 AND club = "south warrnambool"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 9204, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 6, 5692, 7, 584, 4280, 28027, 6, 14924, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9204, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 5692, 7, 2490, 431, 3430, 14924, 2490, 335, 3430, 1886, 3274, 96, 7, 670, 107, 615, 52, 13363, 12840, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What are all the approved treatments for the target CD30?
CREATE TABLE table_20926 ( "Antibody" text, "Brand name" text, "Approval date" real, "Type" text, "Target" text, "Approved treatment(s)" text )
SELECT "Approved treatment(s)" FROM table_20926 WHERE "Target" = 'CD30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4198, 2688, 41, 96, 27355, 6965, 121, 1499, 6, 96, 18304, 727, 564, 121, 1499, 6, 96, 9648, 8843, 138, 833, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 382, 291, 2782,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9648, 8843, 15, 26, 1058, 599, 7, 61, 121, 21680, 953, 834, 357, 4198, 2688, 549, 17444, 427, 96, 382, 291, 2782, 121, 3274, 3, 31, 6931, 1458, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how long did bernard pilon serve in the canadian army ?
CREATE TABLE table_204_608 ( id number, "name" text, "elected party" text, "constituency" text, "elected date" text, "military service" text )
SELECT "military service" - "military service" FROM table_204_608 WHERE "name" = 'bernard pilon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3328, 927, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 19971, 1088, 121, 1499, 6, 96, 8056, 17, 155, 76, 4392, 121, 1499, 6, 96, 19971, 833, 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, 5952, 17, 1208, 313, 121, 3, 18, 96, 5952, 17, 1208, 313, 121, 21680, 953, 834, 26363, 834, 3328, 927, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 1152, 29, 986, 2816, 40, 106, 31, 1, -100, -100, -100, -100...
What is the lowest ranking team in Australia?
CREATE TABLE table_10861 ( "Rank" real, "Country" text, "Overall" text, "Innovation Inputs" text, "Innovation Performance" text )
SELECT MIN("Rank") FROM table_10861 WHERE "Country" = 'australia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 4241, 41, 96, 22557, 121, 490, 6, 96, 10628, 651, 121, 1499, 6, 96, 23847, 1748, 121, 1499, 6, 96, 1570, 5326, 257, 86, 2562, 7, 121, 1499, 6, 96, 1570, 5326, 257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 8512, 21680, 953, 834, 16169, 4241, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 2064, 8792, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many matches as captain were played where Asian Cup played as a captain is Qatar 1988
CREATE TABLE table_272865_20 ( matches_as_captain VARCHAR, asian_cup_played_as_a_captain VARCHAR )
SELECT matches_as_captain FROM table_272865_20 WHERE asian_cup_played_as_a_captain = "Qatar 1988"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2577, 4122, 834, 1755, 41, 6407, 834, 9, 7, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 3, 9, 10488, 834, 4658, 834, 4895, 15, 26, 834, 9, 7, 834, 9, 834, 4010, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6407, 834, 9, 7, 834, 4010, 17, 9, 77, 21680, 953, 834, 2555, 2577, 4122, 834, 1755, 549, 17444, 427, 3, 9, 10488, 834, 4658, 834, 4895, 15, 26, 834, 9, 7, 834, 9, 834, 4010, 17, 9, 77, 3274, 96, 2247, 9, 20...
Which Production in 2009 had a Result of Nominated at the Helpmann awards Award Ceremony?
CREATE TABLE table_name_67 ( production VARCHAR, award_ceremony VARCHAR, result VARCHAR, year VARCHAR )
SELECT production FROM table_name_67 WHERE result = "nominated" AND year = 2009 AND award_ceremony = "helpmann awards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 999, 584, 4280, 28027, 6, 2760, 834, 2110, 15, 21208, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 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, 999, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 741, 3274, 96, 3114, 77, 920, 121, 3430, 215, 3274, 2464, 3430, 2760, 834, 2110, 15, 21208, 3274, 96, 15061, 2434, 6120, 121, 1, -100, -100, -100, -100, -100, ...
Name the 2011 with 2010 of 1r and 2012 of sf
CREATE TABLE table_37805 ( "Tournament" text, "2006" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text, "2013" text )
SELECT "2011" FROM table_37805 WHERE "2010" = '1r' AND "2012" = 'sf'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3940, 3076, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 21196, 121, 1499, 6, 96, 16128, 121, 1499, 6, 96, 16660, 121, 1499, 6, 96, 14926, 121, 1499, 6, 96, 13907...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13907, 121, 21680, 953, 834, 519, 3940, 3076, 549, 17444, 427, 96, 14926, 121, 3274, 3, 31, 536, 52, 31, 3430, 96, 12172, 121, 3274, 3, 31, 7, 89, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time/retired for thierry boutsen?
CREATE TABLE table_name_92 ( time_retired VARCHAR, driver VARCHAR )
SELECT time_retired FROM table_name_92 WHERE driver = "thierry boutsen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 97, 87, 10682, 1271, 21, 3, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2535, 3274, 96, 189, 972, 651, 9338, 7, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result for game 5?
CREATE TABLE table_9742 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Result" FROM table_9742 WHERE "Game" = 'game 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4327, 4165, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 2271, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 4327, 4165, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 7261, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is minimum age of patients whose admission location is phys referral/normal deli and primary disease is bladder cancer/sda?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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, route text, drug_dose 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT MIN(demographic.age) FROM demographic WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND demographic.diagnosis = "BLADDER CANCER/SDA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083, 20805, 21415, 87, 24833, 329, 4090, 309, 22590, 121, 3430, 14798, 5, 25930, 4...
What was the bleeding time during the prolonged partial thromboplastin time in which the prothrombin time is unaffected?
CREATE TABLE table_2947 ( "Condition" text, "Prothrombin time" text, "Partial thromboplastin time" text, "Bleeding time" text, "Platelet count" text )
SELECT "Bleeding time" FROM table_2947 WHERE "Partial thromboplastin time" = 'Prolonged' AND "Prothrombin time" = 'Unaffected'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4177, 41, 96, 4302, 10569, 121, 1499, 6, 96, 3174, 8514, 51, 4517, 97, 121, 1499, 6, 96, 13212, 10646, 3, 8514, 6310, 23918, 77, 97, 121, 1499, 6, 96, 279, 40, 6958...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 40, 6958, 53, 97, 121, 21680, 953, 834, 3166, 4177, 549, 17444, 427, 96, 13212, 10646, 3, 8514, 6310, 23918, 77, 97, 121, 3274, 3, 31, 3174, 23629, 31, 3430, 96, 3174, 8514, 51, 4517, 97, 121, 3274, 3, ...
Which Location has a Silver of japan?
CREATE TABLE table_name_10 ( location VARCHAR, silver VARCHAR )
SELECT location FROM table_name_10 WHERE silver = "japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 1128, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 10450, 65, 3, 9, 5642, 13, 2662, 2837, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 4294, 3274, 96, 1191, 2837, 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 Score that has a To standard of 3, and a Player of Jim Furyk?
CREATE TABLE table_name_15 ( score VARCHAR, to_par VARCHAR, player VARCHAR )
SELECT score FROM table_name_15 WHERE to_par = "–3" AND player = "jim furyk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2604, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17763, 24, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 12, 834, 1893, 3274, 96, 104, 519, 121, 3430, 1959, 3274, 96, 354, 603, 4223, 63, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Sleeves have a Year of 2006-2008?
CREATE TABLE table_44512 ( "Year" text, "Supplier" text, "Chest" text, "Sleeves" text, "Back" text )
SELECT "Sleeves" FROM table_44512 WHERE "Year" = '2006-2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 24163, 41, 96, 476, 2741, 121, 1499, 6, 96, 134, 413, 5900, 49, 121, 1499, 6, 96, 3541, 222, 121, 1499, 6, 96, 134, 109, 15, 162, 7, 121, 1499, 6, 96, 21106, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 109, 15, 162, 7, 121, 21680, 953, 834, 3628, 24163, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 21196, 18, 16128, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What season has 2 as a rank?
CREATE TABLE table_35611 ( "Rank" text, "Margin" text, "Opponent" text, "Venue" text, "Season" text )
SELECT "Season" FROM table_35611 WHERE "Rank" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 4241, 536, 41, 96, 22557, 121, 1499, 6, 96, 7286, 122, 77, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 15, 9, 73...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 9, 739, 121, 21680, 953, 834, 2469, 4241, 536, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many races had 4 podiums, 5 poles and more than 3 Flaps?
CREATE TABLE table_name_64 ( race INTEGER, flap VARCHAR, podium VARCHAR, pole VARCHAR )
SELECT SUM(race) FROM table_name_64 WHERE podium = 4 AND pole = 5 AND flap > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1964, 3, 21342, 17966, 6, 23050, 584, 4280, 28027, 6, 22828, 584, 4280, 28027, 6, 11148, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 12614, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 22828, 3274, 314, 3430, 11148, 3274, 305, 3430, 23050, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who is the previous president to henry cotton ?
CREATE TABLE table_204_278 ( id number, "name of president" text, "picture" text, "life span" text, "year of presidency" text, "place of conference" text )
SELECT "name of president" FROM table_204_278 WHERE id = (SELECT id FROM table_204_278 WHERE "name of president" = 'henry cotton') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 357, 3940, 41, 3, 23, 26, 381, 6, 96, 4350, 13, 2753, 121, 1499, 6, 96, 6174, 2693, 121, 1499, 6, 96, 4597, 8438, 121, 1499, 6, 96, 1201, 13, 27405, 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, 4350, 13, 2753, 121, 21680, 953, 834, 26363, 834, 357, 3940, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 357, 3940, 549, 17444, 427, 96, 4350, 13, 2753, 121, 327...
What are the possible multipliers for 1900MHz processors?
CREATE TABLE table_27277284_27 ( mult_1 VARCHAR, frequency VARCHAR )
SELECT mult_1 FROM table_27277284_27 WHERE frequency = "1900MHz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 41, 980, 834, 536, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 487, 15574, 277, 21, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 980, 834, 536, 21680, 953, 834, 2555, 2555, 5865, 4608, 834, 2555, 549, 17444, 427, 7321, 3274, 96, 2294, 1206, 20210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Draw a scatter chart about the correlation between School_ID and ACC_Percent , and group by attribute All_Games.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Games
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1121, 834, 4309, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 23055, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total national rank of Canada with lanes larger than 3?
CREATE TABLE table_69176 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT SUM("Rank") FROM table_69176 WHERE "Nationality" = 'canada' AND "Lane" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 26782, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 1499, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22557, 8512, 21680, 953, 834, 3951, 26782, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 658, 18089, 31, 3430, 96, 434, 152, 15, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100...
liverpool had 8 wins . who is next ?
CREATE TABLE table_204_448 ( id number, "team" text, "winners" number, "runners-up" number, "years won" text, "years runner-up" text )
SELECT "team" FROM table_204_448 WHERE "winners" < 8 ORDER BY "winners" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3707, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 3757, 687, 7, 121, 381, 6, 96, 10806, 7, 18, 413, 121, 381, 6, 96, 1201, 7, 751, 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, 11650, 121, 21680, 953, 834, 26363, 834, 591, 3707, 549, 17444, 427, 96, 3757, 687, 7, 121, 3, 2, 505, 4674, 11300, 272, 476, 96, 3757, 687, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -10...
What is Anna Rogowska's average result?
CREATE TABLE table_name_7 ( result INTEGER, name VARCHAR )
SELECT AVG(result) FROM table_name_7 WHERE name = "anna rogowska"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 741, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7588, 2158, 839, 210, 10717, 31, 7, 1348, 741, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 60, 7, 83, 17, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 564, 3274, 96, 10878, 3, 3822, 2381, 10717, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the winner when the runner-up was Guangzhou Apollo?
CREATE TABLE table_name_34 ( winners VARCHAR, runners_up VARCHAR )
SELECT winners FROM table_name_34 WHERE runners_up = "guangzhou apollo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 8969, 584, 4280, 28027, 6, 16448, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 116, 8, 3, 10806, 18, 413, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8969, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 16448, 834, 413, 3274, 96, 1744, 1468, 25303, 3, 9521, 195, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the record of the champion in 2008?
CREATE TABLE table_name_85 (record VARCHAR, year VARCHAR)
SELECT record FROM table_name_85 WHERE year = 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 60, 7621, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 13, 8, 6336, 16, 2628, 58, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 215, 3274, 2628, 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...
what's the points with driver  mark martin
CREATE TABLE table_10160447_1 (points VARCHAR, driver VARCHAR)
SELECT points FROM table_10160447_1 WHERE driver = "Mark Martin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 19129, 591, 4177, 834, 536, 41, 2700, 7, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 979, 28, 2535, 3946, 3157, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 1714, 19129, 591, 4177, 834, 536, 549, 17444, 427, 2535, 3274, 96, 19762, 3394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What club/province does the prop player with over 45 caps play for?
CREATE TABLE table_51556 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text )
SELECT "Club/province" FROM table_51556 WHERE "Caps" > '45' AND "Position" = 'prop'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1808, 4834, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 308, 342, 13, 26337, 41, 188, 397, 61, 121, 1499, 6, 96, 19566, 7, 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, 254, 11158, 87, 1409, 2494, 565, 121, 21680, 953, 834, 755, 1808, 4834, 549, 17444, 427, 96, 19566, 7, 121, 2490, 3, 31, 2128, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 10401, 31, 1, -100, -100, -100...
Find the purchase time, age and address of each member, and show the results in the order of purchase time.
CREATE TABLE happy_hour_member ( hh_id number, member_id number, total_amount number ) CREATE TABLE happy_hour ( hh_id number, shop_id number, month text, num_of_shaff_in_charge number ) CREATE TABLE member ( member_id number, name text, membership_card text, age number, time_of_purchase number, level_of_membership number, address text ) CREATE TABLE shop ( shop_id number, address text, num_of_staff text, score number, open_year text )
SELECT time_of_purchase, age, address FROM member ORDER BY time_of_purchase
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1095, 834, 5842, 834, 12066, 41, 3, 107, 107, 834, 23, 26, 381, 6, 1144, 834, 23, 26, 381, 6, 792, 834, 9, 11231, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 834, 858, 834, 29446, 6, 1246, 6, 1115, 21680, 1144, 4674, 11300, 272, 476, 97, 834, 858, 834, 29446, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different numbers of floors are there for the Chongqing Poly Tower?
CREATE TABLE table_2942 ( "Rank" real, "Building [A ]" text, "City" text, "Country" text, "Height (m)" text, "Height (ft)" text, "Floors" real, "Built" text )
SELECT COUNT("Floors") FROM table_2942 WHERE "Building [A ]" = 'Chongqing Poly Tower'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4165, 41, 96, 22557, 121, 490, 6, 96, 24752, 53, 784, 188, 3, 908, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 3845, 2632, 41, 51,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11251, 127, 7, 8512, 21680, 953, 834, 3166, 4165, 549, 17444, 427, 96, 24752, 53, 784, 188, 3, 908, 121, 3274, 3, 31, 254, 23001, 1824, 53, 7945, 10677, 31, 1, -100, -100, -100, -100, -100, ...
What is the sum of top-10s for events with more than 0 wins?
CREATE TABLE table_name_68 ( top_10 INTEGER, wins INTEGER )
SELECT SUM(top_10) FROM table_name_68 WHERE wins > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 420, 834, 1714, 3, 21342, 17966, 6, 9204, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 420, 4536, 7, 21, 984, 28, 72,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 2916, 834, 16968, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 9204, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which away team scored 12.18 (90)?
CREATE TABLE table_78499 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_78499 WHERE "Away team score" = '12.18 (90)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 591, 3264, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 372, 121, 21680, 953, 834, 3940, 591, 3264, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 9368, 2606, 41, 2394, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the father that was born on January 2, 1842?
CREATE TABLE table_name_30 (father VARCHAR, date_of_birth VARCHAR)
SELECT father FROM table_name_30 WHERE date_of_birth = "january 2, 1842"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 22534, 584, 4280, 28027, 6, 833, 834, 858, 834, 20663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 2353, 24, 47, 2170, 30, 1762, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2353, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 833, 834, 858, 834, 20663, 3274, 96, 7066, 76, 1208, 3547, 507, 4165, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What party did Don Fuqua belong to?
CREATE TABLE table_1341865_11 ( party VARCHAR, incumbent VARCHAR )
SELECT party FROM table_1341865_11 WHERE incumbent = "Don Fuqua"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2606, 4122, 834, 2596, 41, 1088, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 410, 1008, 6343, 4960, 13000, 12, 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, 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, 1088, 21680, 953, 834, 23747, 2606, 4122, 834, 2596, 549, 17444, 427, 28406, 3274, 96, 13843, 6343, 4960, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When is Part 6, when Part 4 is on March 2, 2008?
CREATE TABLE table_name_89 (part_6 VARCHAR, part_4 VARCHAR)
SELECT part_6 FROM table_name_89 WHERE part_4 = "march 2, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 2274, 834, 948, 584, 4280, 28027, 6, 294, 834, 591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 19, 2733, 8580, 116, 2733, 314, 19, 30, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 294, 834, 948, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 294, 834, 591, 3274, 96, 51, 7064, 3547, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the frequency where the power is 25kw?
CREATE TABLE table_12657 ( "Branding" text, "Callsign" text, "Frequency" text, "Power (kW)" text, "Location" text )
SELECT "Frequency" FROM table_12657 WHERE "Power (kW)" = '25kw'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 3436, 41, 96, 18304, 727, 53, 121, 1499, 6, 96, 254, 1748, 6732, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 23553, 41, 21729, 61, 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, 371, 60, 835, 11298, 121, 21680, 953, 834, 21976, 3436, 549, 17444, 427, 96, 23553, 41, 21729, 61, 121, 3274, 3, 31, 1828, 157, 210, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who were Petrova's opponents with Vania King?
CREATE TABLE table_27611593_5 (opponents VARCHAR, partner VARCHAR)
SELECT opponents FROM table_27611593_5 WHERE partner = "Vania King"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4241, 1808, 4271, 834, 755, 41, 32, 102, 9977, 7, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 17786, 900, 31, 7, 16383, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16383, 21680, 953, 834, 2555, 4241, 1808, 4271, 834, 755, 549, 17444, 427, 2397, 3274, 96, 553, 11219, 2671, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission location and diagnoses short title of subject id 3623?
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 ) 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.admission_location, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "3623"
[ 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, 14836, 6, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549,...
For those employees who was hired before 2002-06-21, find hire_date and the average of salary bin hire_date by time, and visualize them by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) 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(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is City, when Prize is '$146,000'?
CREATE TABLE table_name_18 ( city VARCHAR, prize VARCHAR )
SELECT city FROM table_name_18 WHERE prize = "$146,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 690, 584, 4280, 28027, 6, 6441, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 896, 6, 116, 11329, 19, 3, 31, 3229, 2534, 14835, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 6441, 3274, 96, 3229, 2534, 14835, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the builder for wd number being 22
CREATE TABLE table_20236726_2 (builder VARCHAR, wd_no VARCHAR)
SELECT builder FROM table_20236726_2 WHERE wd_no = 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 2773, 3708, 2688, 834, 357, 41, 16422, 49, 584, 4280, 28027, 6, 3, 210, 26, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 918, 49, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 918, 49, 21680, 953, 834, 1755, 2773, 3708, 2688, 834, 357, 549, 17444, 427, 3, 210, 26, 834, 29, 32, 3274, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Bar chart x axis team name y axis school_id, display in desc by the Y-axis.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT Team_Name, School_ID FROM basketball_match ORDER BY School_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 23954, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 1121, 834, 4309, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bar chart, X is bed type and the Y-axis is their appearance frequency, list in desc by the x axis.
CREATE TABLE Rooms ( RoomId TEXT, roomName TEXT, beds INTEGER, bedType TEXT, maxOccupancy INTEGER, basePrice INTEGER, decor TEXT ) CREATE TABLE Reservations ( Code INTEGER, Room TEXT, CheckIn TEXT, CheckOut TEXT, Rate REAL, LastName TEXT, FirstName TEXT, Adults INTEGER, Kids INTEGER )
SELECT bedType, COUNT(bedType) FROM Rooms WHERE decor = "traditional" GROUP BY bedType ORDER BY bedType DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4181, 7, 41, 4181, 196, 26, 3, 3463, 4, 382, 6, 562, 23954, 3, 3463, 4, 382, 6, 8326, 3, 21342, 17966, 6, 1953, 25160, 3, 3463, 4, 382, 6, 9858, 667, 75, 4658, 6833, 3, 21342, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1953, 25160, 6, 2847, 17161, 599, 4143, 25160, 61, 21680, 4181, 7, 549, 17444, 427, 4469, 3274, 96, 26374, 121, 350, 4630, 6880, 272, 476, 1953, 25160, 4674, 11300, 272, 476, 1953, 25160, 309, 25067, 1, -100, -100, -1...
Which Overall is the highest one that has a Name of daimon shelton, and a Round larger than 6?
CREATE TABLE table_name_26 (overall INTEGER, name VARCHAR, round VARCHAR)
SELECT MAX(overall) FROM table_name_26 WHERE name = "daimon shelton" AND round > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1890, 1748, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9126, 19, 8, 2030, 80, 24, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 564, 3274, 96, 26, 9, 23, 2157, 255, 7377, 121, 3430, 1751, 2490, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me a list of all spanish officer titles that could receive recognition as group captain in english
CREATE TABLE table_1015521_2 (rank_in_english VARCHAR, commonwealth_equivalent VARCHAR)
SELECT rank_in_english FROM table_1015521_2 WHERE commonwealth_equivalent = "Group Captain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 20896, 2658, 834, 357, 41, 6254, 834, 77, 834, 4606, 40, 1273, 584, 4280, 28027, 6, 1017, 1123, 138, 189, 834, 15, 1169, 15592, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11003, 834, 77, 834, 4606, 40, 1273, 21680, 953, 834, 1714, 20896, 2658, 834, 357, 549, 17444, 427, 1017, 1123, 138, 189, 834, 15, 1169, 15592, 3274, 96, 27247, 12202, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What was the score on may 19?
CREATE TABLE table_name_77 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_77 WHERE date = "may 19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 164, 957, 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, 2604, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 833, 3274, 96, 13726, 957, 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 most number of cuts made that had more than 7 events played and more than 2 top-25s?
CREATE TABLE table_name_18 (cuts_made INTEGER, events VARCHAR, top_25 VARCHAR)
SELECT MAX(cuts_made) FROM table_name_18 WHERE events = 7 AND top_25 > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 3044, 7, 834, 4725, 3, 21342, 17966, 6, 984, 584, 4280, 28027, 6, 420, 834, 1828, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 3044, 7, 834, 4725, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 984, 3274, 489, 3430, 420, 834, 1828, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What record was set when the result/game was montreal 20 @ ottawa 10?
CREATE TABLE table_21436373_8 (type_of_record VARCHAR, result_games VARCHAR)
SELECT type_of_record FROM table_21436373_8 WHERE result_games = "Montreal 20 @ Ottawa 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4906, 3891, 4552, 834, 927, 41, 6137, 834, 858, 834, 60, 7621, 584, 4280, 28027, 6, 741, 834, 7261, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1368, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 686, 834, 858, 834, 60, 7621, 21680, 953, 834, 2658, 4906, 3891, 4552, 834, 927, 549, 17444, 427, 741, 834, 7261, 7, 3274, 96, 9168, 17, 6644, 460, 3320, 19809, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What is the average attendance for the game that was after week 4 and on November 14, 1954?
CREATE TABLE table_name_30 (attendance INTEGER, week VARCHAR, date VARCHAR)
SELECT AVG(attendance) FROM table_name_30 WHERE week > 4 AND date = "november 14, 1954"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 15116, 663, 3, 21342, 17966, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 11364, 21, 8, 467...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 471, 2490, 314, 3430, 833, 3274, 96, 5326, 18247, 11363, 24970, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
I want to know the date for western oval venue
CREATE TABLE table_56145 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_56145 WHERE "Venue" = 'western oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 20987, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4834, 20987, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 24411, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the No. 1 of the person with a No. 2 of John?
CREATE TABLE table_name_26 ( no_1 VARCHAR, no_2 VARCHAR )
SELECT no_1 FROM table_name_26 WHERE no_2 = "john"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 150, 834, 536, 584, 4280, 28027, 6, 150, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 465, 5, 209, 13, 8, 568, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 834, 536, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 150, 834, 357, 3274, 96, 27341, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year was 7th heaven made?
CREATE TABLE table_name_24 ( year VARCHAR, film VARCHAR )
SELECT year FROM table_name_24 WHERE film = "7th heaven"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 215, 584, 4280, 28027, 6, 814, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 489, 189, 9922, 263, 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, 215, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 814, 3274, 96, 940, 189, 9922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the loss of the game when the record was 14 8?
CREATE TABLE table_67317 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Time" text, "Att." text, "Record" text )
SELECT "Loss" FROM table_67317 WHERE "Record" = '14–8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 519, 2517, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 13368, 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, 434, 32, 7, 7, 121, 21680, 953, 834, 3708, 519, 2517, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2534, 104, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Match Report, when Venue is "Westfalenstadion , Dortmund"?
CREATE TABLE table_name_92 (match_report VARCHAR, venue VARCHAR)
SELECT match_report FROM table_name_92 WHERE venue = "westfalenstadion , dortmund"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 19515, 834, 60, 1493, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12296, 3750, 6, 116, 29940, 19, 96, 31933,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1588, 834, 60, 1493, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 5669, 3274, 96, 12425, 89, 138, 35, 2427, 26, 23, 106, 3, 6, 5048, 51, 1106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many poles did the player have during the Formula BMW Pacific race?
CREATE TABLE table_17246160_1 ( poles INTEGER, series VARCHAR )
SELECT MAX(poles) FROM table_17246160_1 WHERE series = "Formula BMW Pacific"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27156, 4448, 19129, 834, 536, 41, 11148, 7, 3, 21342, 17966, 6, 939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 11148, 7, 410, 8, 1959, 43, 383, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 14332, 7, 61, 21680, 953, 834, 27156, 4448, 19129, 834, 536, 549, 17444, 427, 939, 3274, 96, 3809, 4115, 9, 8764, 5824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What date had a time of 20:10?
CREATE TABLE table_name_25 (date VARCHAR, time VARCHAR)
SELECT date FROM table_name_25 WHERE time = "20:10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 5522, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 141, 3, 9, 97, 13, 460, 10, 1714, 58, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 97, 3274, 96, 1755, 10, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where is the first day cover cancellation for the 3 April 2008 IIHF World Championships, Quebec City stamp?
CREATE TABLE table_11900773_6 ( first_day_cover_cancellation VARCHAR, date_of_issue VARCHAR, theme VARCHAR )
SELECT first_day_cover_cancellation FROM table_11900773_6 WHERE date_of_issue = "3 April 2008" AND theme = "IIHF World Championships, Quebec City"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 7015, 4013, 519, 834, 948, 41, 166, 834, 1135, 834, 9817, 834, 1608, 8725, 257, 584, 4280, 28027, 6, 833, 834, 858, 834, 13159, 584, 4280, 28027, 6, 3800, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 834, 1135, 834, 9817, 834, 1608, 8725, 257, 21680, 953, 834, 2596, 7015, 4013, 519, 834, 948, 549, 17444, 427, 833, 834, 858, 834, 13159, 3274, 96, 519, 1186, 2628, 121, 3430, 3800, 3274, 96, 196, 196, 17097, 1...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of name and the average of price , and group by attribute name, rank by the Y-axis in desc.
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 T1.Name, T1.Price FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Price 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, 5411, 23954, 6, 332, 5411, 345, 4920, 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, 541...
How many drivers participated in the race Australian Grand Prix held in 2009?
CREATE TABLE races (raceid VARCHAR, name VARCHAR); CREATE TABLE results (raceid VARCHAR)
SELECT COUNT(*) FROM results AS T1 JOIN races AS T2 ON T1.raceid = T2.raceid WHERE T2.name = "Australian Grand Prix" AND YEAR = 2009
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10879, 41, 12614, 23, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 772, 41, 12614, 23, 26, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 772, 6157, 332, 536, 3, 15355, 3162, 10879, 6157, 332, 357, 9191, 332, 5411, 12614, 23, 26, 3274, 332, 4416, 12614, 23, 26, 549, 17444, 427, 332, 4416, 4350, 3274, 96, 31971, 29, 2...
what was the cost of sodium chloride 0.9 % iv 1000 ml bag?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'sodium chloride 0.9 % iv 1000 ml bag')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 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, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 526, 17530, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 7757, 5, 526, 17530, 23, 26, 21680, ...
how many patients whose primary disease is acute subdural hematoma and year of death is less than or equal to 2183?
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, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "ACUTE SUBDURAL HEMATOMA" AND demographic.dod_year <= "2183.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5173, 25002, 180, 10134, 7874, 21415, 454, 20211, 5647, 4148, 121, 3430,...
What is the power of an engine of 1972?
CREATE TABLE table_name_73 ( power VARCHAR, years VARCHAR )
SELECT power FROM table_name_73 WHERE years = "1972"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 579, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 579, 13, 46, 1948, 13, 16583, 58, 1, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 579, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 203, 3274, 96, 2294, 5865, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What location has October 10 as date?
CREATE TABLE table_name_64 ( location VARCHAR, date VARCHAR )
SELECT location FROM table_name_64 WHERE date = "october 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1128, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1128, 65, 1797, 335, 38, 833, 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, 1128, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 833, 3274, 96, 32, 75, 235, 1152, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many tracks have an unformatted capacity per side of 2000kb?
CREATE TABLE table_name_7 ( tracks VARCHAR, unformatted_capacity_per_side VARCHAR )
SELECT COUNT(tracks) FROM table_name_7 WHERE unformatted_capacity_per_side = "2000kb"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 6542, 584, 4280, 28027, 6, 73, 8995, 1054, 834, 4010, 9, 6726, 834, 883, 834, 1583, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 65...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11991, 7, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 73, 8995, 1054, 834, 4010, 9, 6726, 834, 883, 834, 1583, 3274, 96, 13527, 157, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100,...