NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the venue of the game with Man of the Match Vaclav Zavoral?
CREATE TABLE table_17120964_8 (venue VARCHAR, man_of_the_match VARCHAR)
SELECT venue FROM table_17120964_8 WHERE man_of_the_match = "Vaclav Zavoral"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2122, 4198, 4389, 834, 927, 41, 15098, 584, 4280, 28027, 6, 388, 834, 858, 834, 532, 834, 19515, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5669, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 2517, 2122, 4198, 4389, 834, 927, 549, 17444, 427, 388, 834, 858, 834, 532, 834, 19515, 3274, 96, 553, 9, 18780, 4904, 1967, 138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
male or female 18 _ 65 years of age;
CREATE TABLE table_train_205 ( "id" int, "anemia" bool, "gender" string, "renal_disease" bool, "hematocrit_hct" float, "creatinine_gfr" int, "fasting_plasma_triglyceride" int, "thiazolidinediones" bool, "age" float, "NOUSE" float )
SELECT * FROM table_train_205 WHERE (gender = 'male' OR gender = 'female') AND (age >= 18 AND age <= 65)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 23201, 41, 96, 23, 26, 121, 16, 17, 6, 96, 152, 11658, 121, 3, 12840, 40, 6, 96, 122, 3868, 121, 6108, 6, 96, 1536, 138, 834, 26, 159, 14608, 121, 3, 12840, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1429, 21680, 953, 834, 9719, 834, 23201, 549, 17444, 427, 41, 122, 3868, 3274, 3, 31, 13513, 31, 4674, 7285, 3274, 3, 31, 89, 15, 13513, 31, 61, 3430, 41, 545, 2490, 2423, 507, 3430, 1246, 3, 2, 2423, 7123, 61, ...
What is the total number of Tests when the lost is less than 9 for sir fred allen?
CREATE TABLE table_6907 ( "Name" text, "Years" text, "Tests" real, "Drew" real, "Lost" real, "Win percentage" text )
SELECT COUNT("Tests") FROM table_6907 WHERE "Lost" < '9' AND "Name" = 'sir fred allen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 4560, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 382, 222, 7, 121, 490, 6, 96, 308, 60, 210, 121, 490, 6, 96, 434, 3481, 121, 490, 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, 2847, 17161, 599, 121, 382, 222, 7, 8512, 21680, 953, 834, 3951, 4560, 549, 17444, 427, 96, 434, 3481, 121, 3, 2, 3, 31, 1298, 31, 3430, 96, 23954, 121, 3274, 3, 31, 7, 23, 52, 3, 89, 1271, 6127, 31, 1, -100, ...
What is the average Round for wide receiver r. jay soward and Overall smaller than 29?
CREATE TABLE table_name_16 (round INTEGER, overall VARCHAR, position VARCHAR, name VARCHAR)
SELECT AVG(round) FROM table_name_16 WHERE position = "wide receiver" AND name = "r. jay soward" AND overall < 29
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 7775, 3, 21342, 17966, 6, 1879, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1102, 3274, 96, 6728, 11487, 121, 3430, 564, 3274, 96, 52, 5, 2662, 63, 78, 2239, 121, 3430, 1879, 3, 2, 2838, 1, -100, -100, -100, -100...
Who is the player with 140,000?
CREATE TABLE table_60949 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" text )
SELECT "Player" FROM table_60949 WHERE "Money ( \u00a3 )" = '140,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 4198, 3647, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 15800, 49, 121, 21680, 953, 834, 948, 4198, 3647, 549, 17444, 427, 96, 9168, 15, 63, 41, 3, 2, 76, 1206, 9, 519, 3, 61, 121, 3274, 3, 31, 536, 20431, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE HIGHEST WINS WITH AGAINST SMALLER THAN 924, LOSSES SMALLER THAN 2?
CREATE TABLE table_name_72 (wins INTEGER, against VARCHAR, losses VARCHAR)
SELECT MAX(wins) FROM table_name_72 WHERE against < 924 AND losses < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 3757, 7, 3, 21342, 17966, 6, 581, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 27722, 6038, 549, 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, 4800, 4, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 581, 3, 2, 668, 2266, 3430, 8467, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
WHAT IS THE TEAM WITH astc round 1?
CREATE TABLE table_name_56 (team VARCHAR, series VARCHAR)
SELECT team FROM table_name_56 WHERE series = "astc round 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 11650, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 332, 22684, 11951, 38, 17, 75, 1751, 209, 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, 372, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 939, 3274, 96, 9, 7, 17, 75, 1751, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the nationality of the forward position on the Grizzlies in 2011?
CREATE TABLE table_48320 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text )
SELECT "Nationality" FROM table_48320 WHERE "Position" = 'forward' AND "Years for Grizzlies" = '2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 15003, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 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, 24732, 485, 121, 21680, 953, 834, 3707, 15003, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 26338, 31, 3430, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 121, 3274, 3, 31, 13907, 31, 1, -100, -100...
What college did danny manning go to?
CREATE TABLE table_name_95 (college VARCHAR, player VARCHAR)
SELECT college FROM table_name_95 WHERE player = "danny manning"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 3297, 7883, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1900, 410, 1352, 63, 3, 2434, 53, 281, 12, 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, 1900, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 1959, 3274, 96, 26, 15159, 3, 2434, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What aircraft is located at S of Avion?
CREATE TABLE table_name_3 ( aircraft VARCHAR, location VARCHAR )
SELECT aircraft FROM table_name_3 WHERE location = "s of avion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 6442, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6442, 19, 1069, 44, 180, 13, 13870, 106, 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, 6442, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1128, 3274, 96, 7, 13, 3, 2960, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which round happened on 10 april 2007?
CREATE TABLE table_name_41 (round VARCHAR, date VARCHAR)
SELECT round FROM table_name_41 WHERE date = "10 april 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 7775, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 2817, 30, 335, 3, 9, 2246, 40, 4101, 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, 1751, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 833, 3274, 96, 1714, 3, 9, 2246, 40, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the owner for classical
CREATE TABLE table_name_81 ( owner VARCHAR, format VARCHAR )
SELECT owner FROM table_name_81 WHERE format = "classical"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2527, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2527, 21, 11702, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2527, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 1910, 3274, 96, 4057, 1950, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date did the match where fitzroy was the home team occur?
CREATE TABLE table_57945 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_57945 WHERE "Home team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4440, 2128, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 755, 4440, 2128, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Record has a Score of l 97–99 (ot)?
CREATE TABLE table_name_88 (record VARCHAR, score VARCHAR)
SELECT record FROM table_name_88 WHERE score = "l 97–99 (ot)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 60, 7621, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 11392, 65, 3, 9, 17763, 13, 3, 40, 3, 4327, 104, 3264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 2604, 3274, 96, 40, 3, 4327, 104, 3264, 41, 32, 17, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of hispanic or latino patients who are younger than 44 years of age?
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 ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "HISPANIC OR LATINO" AND demographic.age < "44"
[ 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, 15, 189, 2532, 485, 3274, 96, 7094, 21215, 18830, 4674, 301, 21580, 7400, 121, 3430, 14798, 5, 545...
What is the score for the game in which Arsenal was the away team?
CREATE TABLE table_59778 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" real )
SELECT "Score" FROM table_59778 WHERE "Away team" = 'arsenal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 940, 3940, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3390, 940, 3940, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 291, 7, 35, 138, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Attendance is larger than 1,000, with a Competition of world cup, and a Venue of dublin?
CREATE TABLE table_60019 ( "Date" text, "Result" text, "Competition" text, "Venue" text, "Attendance" real )
SELECT "Date" FROM table_60019 WHERE "Attendance" > '1,000' AND "Competition" = 'world cup' AND "Venue" = 'dublin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 6007, 2294, 41, 96, 308, 342, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 188, 17, 324, 26, 663, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6007, 2294, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 19215, 31, 3430, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 7276, 4119, 31, 3430, 96, 553, 35, 76, 15, ...
What is the 2nd leg of the 4-9 agg.?
CREATE TABLE table_name_68 ( agg VARCHAR )
SELECT 2 AS nd_leg FROM table_name_68 WHERE agg = "4-9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3, 9, 4102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 204, 727, 4553, 13, 8, 314, 7141, 3, 9, 4102, 5, 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, 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, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 3, 9, 4102, 3274, 96, 591, 7141, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of patients with the diagnoses of other specified surgical operations and procedure causing abnormal patient reaction, or later complication, without mention of misadventure at the time of procedure who were ordered a cerebrospinal fluid lab test?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( 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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Abn react-surg proc NEC" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What kind of Week 2 that has a Week 1 of mandy ashford?
CREATE TABLE table_name_91 (week_2 VARCHAR, week_1 VARCHAR)
SELECT week_2 FROM table_name_91 WHERE week_1 = "mandy ashford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 8041, 834, 357, 584, 4280, 28027, 6, 471, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 773, 13, 6551, 204, 24, 65, 3, 9, 6551, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 834, 357, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 471, 834, 536, 3274, 96, 348, 26, 63, 3, 3198, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the least listed owner for pete raymer
CREATE TABLE table_24535095_2 (_number INTEGER, listed_owner_s_ VARCHAR)
SELECT MIN(_number) FROM table_24535095_2 WHERE listed_owner_s_ = "Pete Raymer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 16975, 3301, 834, 357, 41, 834, 5525, 1152, 3, 21342, 17966, 6, 2616, 834, 13238, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 834, 5525, 1152, 61, 21680, 953, 834, 357, 2128, 16975, 3301, 834, 357, 549, 17444, 427, 2616, 834, 13238, 834, 7, 834, 3274, 96, 345, 15, 17, 15, 8279, 935, 121, 1, -100, -100, -100, -100, -100, -1...
What is the livery of the steam locomotive built after 1950 with a wheel arrangement of 2-6-2?
CREATE TABLE table_name_45 (livery VARCHAR, wheel_arrangement VARCHAR, locomotive_type VARCHAR, year_built VARCHAR)
SELECT livery FROM table_name_45 WHERE locomotive_type = "steam" AND year_built > 1950 AND wheel_arrangement = "2-6-2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 7591, 651, 584, 4280, 28027, 6, 5094, 834, 291, 5517, 297, 584, 4280, 28027, 6, 31301, 834, 6137, 584, 4280, 28027, 6, 215, 834, 16152, 584, 4280, 28027,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 619, 651, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 31301, 834, 6137, 3274, 96, 7, 11650, 121, 3430, 215, 834, 16152, 2490, 10247, 3430, 5094, 834, 291, 5517, 297, 3274, 96, 7412, 25369, 121, 1, -100, -100, ...
what number of patients had the drug code calc25?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "CALC25"
[ 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, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What was the winning score on 7 jun 1976?
CREATE TABLE table_name_4 (winning_score VARCHAR, date VARCHAR)
SELECT winning_score FROM table_name_4 WHERE date = "7 jun 1976"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 8163, 834, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3447, 2604, 30, 489, 3, 6959, 16164, 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, 3447, 834, 7, 9022, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 833, 3274, 96, 940, 3, 6959, 16164, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of the [3 H]CFT with an N D less than 393.8 and a [3H] paroxetine of 1045 (45)?
CREATE TABLE table_65228 ( "[ 3 H]CFT" real, "[ 3 H]Nisoxetine" text, "[ 3 H]Paroxetine" text, "N \u00f7 D" real, "S \u00f7 D" real )
SELECT SUM("[ 3 H]CFT") FROM table_65228 WHERE "N \u00f7 D" < '393.8' AND "[ 3 H]Paroxetine" = '1045 (45)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 357, 2577, 41, 96, 6306, 220, 454, 908, 254, 6245, 121, 490, 6, 96, 6306, 220, 454, 908, 567, 159, 32, 226, 15, 4070, 121, 1499, 6, 96, 6306, 220, 454, 908, 345, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 6306, 220, 454, 908, 254, 6245, 8512, 21680, 953, 834, 4122, 357, 2577, 549, 17444, 427, 96, 567, 3, 2, 76, 1206, 89, 940, 309, 121, 3, 2, 3, 31, 3288, 26195, 31, 3430, 96, 6306, 220, 454, ...
Give me a bar chart, that group by location and count them, and sort by the the number of location from low to high please.
CREATE TABLE party ( Party_ID int, Party_Theme text, Location text, First_year text, Last_year text, Number_of_hosts int ) CREATE TABLE host ( Host_ID int, Name text, Nationality text, Age text ) CREATE TABLE party_host ( Party_ID int, Host_ID int, Is_Main_in_Charge bool )
SELECT Location, COUNT(Location) FROM party GROUP BY Location ORDER BY COUNT(Location)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 41, 3450, 834, 4309, 16, 17, 6, 3450, 834, 634, 526, 1499, 6, 10450, 1499, 6, 1485, 834, 1201, 1499, 6, 2506, 834, 1201, 1499, 6, 7720, 834, 858, 834, 12675, 7, 16, 17, 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, 10450, 6, 2847, 17161, 599, 434, 32, 75, 257, 61, 21680, 1088, 350, 4630, 6880, 272, 476, 10450, 4674, 11300, 272, 476, 2847, 17161, 599, 434, 32, 75, 257, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Date has a Location/Attendance of verizon center 7,587?
CREATE TABLE table_49772 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT "Date" FROM table_49772 WHERE "Location/Attendance" = 'verizon center 7,587'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 4013, 357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 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, 308, 342, 121, 21680, 953, 834, 3647, 4013, 357, 549, 17444, 427, 96, 434, 32, 75, 257, 87, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 624, 23, 8892, 1530, 7973, 755, 4225, 31, 1, -100, -100, -100, -100, -100,...
how many patients are of black/haitian ethnicity and used the main drug type?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "BLACK/HAITIAN" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the number of the only locomotive to be withdrawn from service before the year 1945 ?
CREATE TABLE table_204_882 ( id number, "number" number, "builder" text, "entered service" text, "withdrawn" text, "notes" text )
SELECT "number" FROM table_204_882 WHERE "withdrawn" < 1945
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4060, 357, 41, 3, 23, 26, 381, 6, 96, 5525, 1152, 121, 381, 6, 96, 16422, 49, 121, 1499, 6, 96, 35, 11196, 313, 121, 1499, 6, 96, 28032, 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, 5525, 1152, 121, 21680, 953, 834, 26363, 834, 4060, 357, 549, 17444, 427, 96, 28032, 121, 3, 2, 18315, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which band plays Self Versus Self - Immersion?
CREATE TABLE table_name_17 (band VARCHAR, album_or_song VARCHAR)
SELECT band FROM table_name_17 WHERE album_or_song = "self versus self - immersion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 3348, 584, 4280, 28027, 6, 2306, 834, 127, 834, 7, 2444, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1928, 4805, 8662, 13262, 302, 8662, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1928, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2306, 834, 127, 834, 7, 2444, 3274, 96, 7703, 3, 8911, 1044, 3, 18, 27704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the gdp per capita in 2008 for the region that had a combined gross enrollment ration of 89.0?
CREATE TABLE table_25042332_33 (gdp__ppp__per_capita__2008_ INTEGER, combined_gross_enrollment_ratio__2009_ VARCHAR)
SELECT MIN(gdp__ppp__per_capita__2008_) FROM table_25042332_33 WHERE combined_gross_enrollment_ratio__2009_ = "89.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 591, 2773, 2668, 834, 4201, 41, 122, 26, 102, 834, 834, 102, 1572, 834, 834, 883, 834, 4010, 155, 9, 834, 834, 16128, 834, 3, 21342, 17966, 6, 3334, 834, 3844, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 122, 26, 102, 834, 834, 102, 1572, 834, 834, 883, 834, 4010, 155, 9, 834, 834, 16128, 834, 61, 21680, 953, 834, 11434, 591, 2773, 2668, 834, 4201, 549, 17444, 427, 3334, 834, 3844, 7, 7, 834, 35, ...
What were the location and attendance for the game against New Jersey?
CREATE TABLE table_name_33 ( location_attendance VARCHAR, team VARCHAR )
SELECT location_attendance FROM table_name_33 WHERE team = "new jersey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 1128, 11, 11364, 21, 8, 467, 581,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 372, 3274, 96, 5534, 13426, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the name of track and the number of races in each track Visualize by bar chart, and rank from low to high by the bar.
CREATE TABLE track ( Track_ID int, Name text, Location text, Seating real, Year_Opened real ) CREATE TABLE race ( Race_ID int, Name text, Class text, Date text, Track_ID text )
SELECT T2.Name, COUNT(*) FROM race AS T1 JOIN track AS T2 ON T1.Track_ID = T2.Track_ID GROUP BY T1.Track_ID ORDER BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1463, 41, 8799, 834, 4309, 16, 17, 6, 5570, 1499, 6, 10450, 1499, 6, 15915, 53, 490, 6, 2929, 834, 22696, 15, 26, 490, 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, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 1964, 6157, 332, 536, 3, 15355, 3162, 1463, 6157, 332, 357, 9191, 332, 5411, 382, 16729, 834, 4309, 3274, 332, 4416, 382, 16729, 834, 4309, 350, 4630, 6880, 272,...
What is the evening gown score for the contestant from Mississippi?
CREATE TABLE table_name_4 ( evening_gown VARCHAR, state VARCHAR )
SELECT evening_gown FROM table_name_4 WHERE state = "mississippi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 2272, 834, 122, 9197, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2272, 19879, 2604, 21, 8, 4233, 288,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2272, 834, 122, 9197, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 538, 3274, 96, 11502, 159, 7, 23, 1572, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How much gold did South Korea get?
CREATE TABLE table_name_49 (gold INTEGER, nation VARCHAR)
SELECT SUM(gold) FROM table_name_49 WHERE nation = "south korea"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 14910, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 2045, 410, 1013, 7054, 129, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2982, 3274, 96, 7, 670, 107, 3, 5543, 15, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the sum of top-10 values for the Open Championship and less than 3 in the top-25?
CREATE TABLE table_name_61 (top_10 INTEGER, tournament VARCHAR, top_25 VARCHAR)
SELECT SUM(top_10) FROM table_name_61 WHERE tournament = "the open championship" AND top_25 < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 2916, 834, 1714, 3, 21342, 17966, 6, 5892, 584, 4280, 28027, 6, 420, 834, 1828, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2916, 834, 16968, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 5892, 3274, 96, 532, 539, 10183, 121, 3430, 420, 834, 1828, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which season is Euroleague with Greek Cup?
CREATE TABLE table_name_4 ( season VARCHAR, european_cup VARCHAR, national_cup VARCHAR )
SELECT season FROM table_name_4 WHERE european_cup = "euroleague" AND national_cup = "greek cup"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 774, 584, 4280, 28027, 6, 14864, 834, 4658, 584, 4280, 28027, 6, 1157, 834, 4658, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 14864, 834, 4658, 3274, 96, 1238, 32, 29512, 121, 3430, 1157, 834, 4658, 3274, 96, 3584, 15, 157, 4119, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Create a bar chart showing the number of city across city, and could you order in desc by the bar?
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) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT CITY, COUNT(CITY) FROM locations GROUP BY CITY ORDER BY CITY DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 205, 15296, 6, 2847, 17161, 599, 254, 15296, 61, 21680, 3248, 350, 4630, 6880, 272, 476, 205, 15296, 4674, 11300, 272, 476, 205, 15296, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients had drug code atro1i?
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 ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.formulary_drug_cd = "ATRO1I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the highest draws when more than 6 are played and the points against are 54?
CREATE TABLE table_32865 ( "Club" text, "Played" real, "Lost" real, "Drawn" real, "Against" real, "Diff." real, "Points" real )
SELECT MAX("Drawn") FROM table_32865 WHERE "Against" = '54' AND "Played" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 4122, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 20749, 121, 490, 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, 4800, 4, 599, 121, 308, 10936, 29, 8512, 21680, 953, 834, 28070, 4122, 549, 17444, 427, 96, 20749, 121, 3274, 3, 31, 5062, 31, 3430, 96, 15800, 15, 26, 121, 2490, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, ...
Show names of technicians in ascending order of quality rank of the machine they are assigned, and count them by a bar chart
CREATE TABLE repair_assignment ( technician_id int, repair_ID int, Machine_ID int ) CREATE TABLE technician ( technician_id real, Name text, Team text, Starting_Year real, Age int ) CREATE TABLE machine ( Machine_ID int, Making_Year int, Class text, Team text, Machine_series text, value_points real, quality_rank int ) CREATE TABLE repair ( repair_ID int, name text, Launch_Date text, Notes text )
SELECT Name, COUNT(Name) FROM repair_assignment AS T1 JOIN machine AS T2 ON T1.Machine_ID = T2.Machine_ID JOIN technician AS T3 ON T1.technician_id = T3.technician_id GROUP BY Name ORDER BY T2.quality_rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, 834, 9, 7, 6732, 297, 41, 17730, 834, 23, 26, 16, 17, 6, 2096, 834, 4309, 16, 17, 6, 5879, 834, 4309, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2096, 834, 9, 7, 6732, 297, 6157, 332, 536, 3, 15355, 3162, 1437, 6157, 332, 357, 9191, 332, 5411, 329, 1836, 630, 834, 4309, 3274, 332, 4416, 329, 1836, 630, 834, 4309, ...
Who won the stage when Mark Cavendish led the points classification, Rinaldo Nocentini led the general classification, and the stage was less than 11.0?
CREATE TABLE table_1059 ( "Stage" real, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text, "Team classification" text, "Combativity award" text )
SELECT "Winner" FROM table_1059 WHERE "Points classification" = 'Mark Cavendish' AND "General classification" = 'Rinaldo Nocentini' AND "Stage" < '11.0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3390, 41, 96, 134, 6505, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 1714, 3390, 549, 17444, 427, 96, 22512, 7, 13774, 121, 3274, 3, 31, 19762, 17655, 989, 1273, 31, 3430, 96, 20857, 13774, 121, 3274, 3, 31, 448, 10270, 26, 32, 465, 3728, 77, 2...
What is the score on 17 November 1956 when home team is Derby County?
CREATE TABLE table_name_36 (score VARCHAR, date VARCHAR, home_team VARCHAR)
SELECT score FROM table_name_36 WHERE date = "17 november 1956" AND home_team = "derby county"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 30, 100...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 833, 3274, 96, 2517, 3, 5326, 18247, 22951, 121, 3430, 234, 834, 11650, 3274, 96, 588, 969, 5435, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
get the number of emergency hospital admission patients who are taking sulfameth/trimethoprim suspension medication.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND prescriptions.drug = "Sulfameth/Trimethoprim Suspension"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who was the winner of Stage 9 when then general classification was Danilo Di Luca?
CREATE TABLE table_13639 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Young rider classification" text )
SELECT "Winner" FROM table_13639 WHERE "General classification" = 'danilo di luca' AND "Stage" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 3288, 41, 96, 134, 6505, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 23459, 3288, 549, 17444, 427, 96, 20857, 13774, 121, 3274, 3, 31, 3768, 173, 32, 1227, 3, 11525, 9, 31, 3430, 96, 134, 6505, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, ...
when was the last time patient 009-11591 was prescribed since 06/2103?
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 ) 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 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 )
SELECT medication.drugstarttime FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '009-11591')) AND STRFTIME('%y-%m', medication.drugstarttime) >= '2103-06' ORDER BY medication.drugstarttime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7757, 5, 26, 13534, 10208, 715, 21680, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 37...
What is the score when november 15 is the date?
CREATE TABLE table_15305 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text, "Attendance" real )
SELECT "Score" FROM table_15305 WHERE "Date" = 'november 15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 26724, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 1808, 26724, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 627, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the home captain at Sydney Cricket Ground?
CREATE TABLE table_name_34 ( home_captain VARCHAR, venue VARCHAR )
SELECT home_captain FROM table_name_34 WHERE venue = "sydney cricket ground"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 234, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 14268, 44, 7476, 24661,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 5669, 3274, 96, 7, 63, 26, 3186, 18096, 1591, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what year was clayton 's first album ?
CREATE TABLE table_204_394 ( id number, "year" number, "album" text, "label" text, "peak chart\npositions\nus" number, "peak chart\npositions\nus r&b" number )
SELECT MIN("year") FROM table_204_394
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3288, 591, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 23703, 121, 1499, 6, 96, 40, 10333, 121, 1499, 6, 96, 14661, 5059, 2, 29, 4718, 7, 2, 29, 302...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 3288, 591, 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 are the bore & stroke specifications for an engine with 4-barrel carburetor and VIN code of A?
CREATE TABLE table_74550 ( "Engine" text, "Horsepower" text, "Torque" text, "Carburetor" text, "Compression Ratio" text, "Bore & Stroke" text, "VIN Code" text )
SELECT "Bore & Stroke" FROM table_74550 WHERE "Carburetor" = '4-barrel' AND "VIN Code" = 'a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 17147, 41, 96, 31477, 121, 1499, 6, 96, 566, 127, 7, 15, 6740, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 6, 96, 6936, 5808, 15, 17, 127, 121, 1499, 6, 96, 5890,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 127, 15, 3, 184, 5500, 1825, 15, 121, 21680, 953, 834, 4581, 17147, 549, 17444, 427, 96, 6936, 5808, 15, 17, 127, 121, 3274, 3, 31, 591, 18, 1047, 60, 40, 31, 3430, 96, 553, 3162, 3636, 121, 3274, 3, ...
Count the sum of Pop (2004) which has a Governorate of al mahrah with an Area km² smaller than 78,073?
CREATE TABLE table_name_15 (pop__2004_ INTEGER, governorate VARCHAR, area_km² VARCHAR)
SELECT SUM(pop__2004_) FROM table_name_15 WHERE governorate = "al mahrah" AND area_km² < 78 OFFSET 073
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 9791, 834, 834, 21653, 834, 3, 21342, 17966, 6, 13062, 342, 584, 4280, 28027, 6, 616, 834, 5848, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 9791, 834, 834, 21653, 834, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 13062, 342, 3274, 96, 138, 954, 107, 52, 9, 107, 121, 3430, 616, 834, 5848, 357, 3, 2, 3, 3940, 3, 15316, 20788, ...
What party did incumbent Stephen L. Neal belong to?
CREATE TABLE table_1341568_34 ( party VARCHAR, incumbent VARCHAR )
SELECT party FROM table_1341568_34 WHERE incumbent = "Stephen L. Neal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 1808, 3651, 834, 3710, 41, 1088, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 410, 28406, 7872, 301, 5, 1484, 138, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1808, 3651, 834, 3710, 549, 17444, 427, 28406, 3274, 96, 14337, 19017, 301, 5, 1484, 138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When 6.00 is the land area in kilometers squared what is the highest population of 2011?
CREATE TABLE table_189598_7 ( population__2011_ INTEGER, land_area__km²_ VARCHAR )
SELECT MAX(population__2011_) FROM table_189598_7 WHERE land_area__km²_ = "6.00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3301, 3916, 834, 940, 41, 2074, 834, 834, 13907, 834, 3, 21342, 17966, 6, 1322, 834, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 7830, 834, 834, 13907, 834, 61, 21680, 953, 834, 2606, 3301, 3916, 834, 940, 549, 17444, 427, 1322, 834, 498, 834, 834, 5848, 357, 834, 3274, 96, 948, 4200, 121, 1, -100, -100, -100, -100, -100, ...
What is the Tamil Name of the Thaipusam holiday?
CREATE TABLE table_name_96 (tamil_name VARCHAR, english_name VARCHAR)
SELECT tamil_name FROM table_name_96 WHERE english_name = "thaipusam"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 17, 265, 173, 834, 4350, 584, 4280, 28027, 6, 22269, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 22503, 5570, 13, 8, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17, 265, 173, 834, 4350, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 22269, 834, 4350, 3274, 96, 189, 9, 23, 7800, 265, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For an aggregate of 1-3, what was the 2nd leg?
CREATE TABLE table_name_74 (agg VARCHAR)
SELECT 2 AS nd_leg FROM table_name_74 WHERE agg = "1-3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 9, 4102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 242, 46, 12955, 13, 3, 16737, 6, 125, 47, 8, 204, 727, 4553, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 3, 9, 4102, 3274, 96, 16737, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the work when the result is won and the year is before 2003?
CREATE TABLE table_50126 ( "Award" text, "Year" real, "Category" text, "Work" text, "Result" text )
SELECT "Work" FROM table_50126 WHERE "Result" = 'won' AND "Year" < '2003'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 21976, 41, 96, 188, 2239, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 12492, 121, 1499, 6, 96, 20119, 121, 1499, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12492, 121, 21680, 953, 834, 1752, 21976, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 106, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 23948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the payment method code used by more than 3 parties.
CREATE TABLE individuals ( individual_id number, individual_first_name text, individual_middle_name text, inidividual_phone text, individual_email text, individual_address text, individual_last_name text ) CREATE TABLE services ( service_id number, service_type_code text, service_name text, service_descriptio text ) CREATE TABLE organizations ( organization_id number, date_formed time, organization_name text, uk_vat_number text ) CREATE TABLE addresses ( address_id number, line_1_number_building text, town_city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE party_addresses ( party_id number, address_id number, date_address_from time, address_type_code text, date_address_to time ) CREATE TABLE party_forms ( party_id number, form_id number, date_completion_started time, form_status_code text, date_fully_completed time ) CREATE TABLE organization_contact_individuals ( individual_id number, organization_id number, date_contact_from time, date_contact_to time ) CREATE TABLE parties ( party_id number, payment_method_code text, party_phone text, party_email text ) CREATE TABLE forms ( form_id number, form_type_code text, service_id number, form_number text, form_name text, form_description text ) CREATE TABLE party_services ( booking_id number, customer_id number, service_id number, service_datetime time, booking_made_date time )
SELECT payment_method_code FROM parties GROUP BY payment_method_code HAVING COUNT(*) > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1742, 41, 928, 834, 23, 26, 381, 6, 928, 834, 14672, 834, 4350, 1499, 6, 928, 834, 51, 23, 8437, 834, 4350, 1499, 6, 16, 23, 26, 23, 6961, 3471, 834, 6399, 1499, 6, 928, 834, 15,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1942, 834, 23152, 834, 4978, 21680, 2251, 350, 4630, 6880, 272, 476, 1942, 834, 23152, 834, 4978, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When are the birthdays of customer who are classified as 'Good Customer' status, and count them by a line chart, and could you list by the date_of_birth from low to high?
CREATE TABLE Staff ( staff_id INTEGER, staff_address_id INTEGER, nickname VARCHAR(80), first_name VARCHAR(80), middle_name VARCHAR(80), last_name VARCHAR(80), date_of_birth DATETIME, date_joined_staff DATETIME, date_left_staff DATETIME ) CREATE TABLE Lessons ( lesson_id INTEGER, customer_id INTEGER, lesson_status_code VARCHAR(15), staff_id INTEGER, vehicle_id INTEGER, lesson_date DATETIME, lesson_time VARCHAR(10), price DOUBLE ) CREATE TABLE Vehicles ( vehicle_id INTEGER, vehicle_details VARCHAR(255) ) CREATE TABLE Customer_Payments ( customer_id INTEGER, datetime_payment DATETIME, payment_method_code VARCHAR(10), amount_payment DOUBLE ) CREATE TABLE Addresses ( address_id INTEGER, line_1_number_building VARCHAR(80), city VARCHAR(50), zip_postcode VARCHAR(20), state_province_county VARCHAR(50), country VARCHAR(50) ) CREATE TABLE Customers ( customer_id INTEGER, customer_address_id INTEGER, customer_status_code VARCHAR(15), date_became_customer DATETIME, date_of_birth DATETIME, first_name VARCHAR(80), last_name VARCHAR(80), amount_outstanding DOUBLE, email_address VARCHAR(250), phone_number VARCHAR(255), cell_mobile_phone_number VARCHAR(255) )
SELECT date_of_birth, COUNT(date_of_birth) FROM Customers WHERE customer_status_code = 'Good Customer' ORDER BY date_of_birth
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 41, 871, 834, 23, 26, 3, 21342, 17966, 6, 871, 834, 9, 26, 12039, 834, 23, 26, 3, 21342, 17966, 6, 24649, 584, 4280, 28027, 599, 2079, 201, 166, 834, 4350, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 834, 858, 834, 20663, 6, 2847, 17161, 599, 5522, 834, 858, 834, 20663, 61, 21680, 16423, 549, 17444, 427, 884, 834, 8547, 302, 834, 4978, 3274, 3, 31, 20639, 7327, 31, 4674, 11300, 272, 476, 833, 834, 858, 834,...
Who was the cyclist from Belgium?
CREATE TABLE table_69820 ( "Cyclist" text, "Nation" text, "Team" text, "Time" text, "UCI Points" real )
SELECT "Cyclist" FROM table_69820 WHERE "Nation" = 'belgium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 927, 1755, 41, 96, 254, 63, 75, 3350, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 6463, 196, 4564, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 254, 63, 75, 3350, 121, 21680, 953, 834, 3951, 927, 1755, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 2370, 122, 2552, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of users called Michelle
CREATE TABLE review ( rid int, business_id varchar, user_id varchar, rating float, text longtext, year int, month varchar ) CREATE TABLE user ( uid int, user_id varchar, name varchar ) CREATE TABLE business ( bid int, business_id varchar, name varchar, full_address varchar, city varchar, latitude varchar, longitude varchar, review_count bigint, is_open tinyint, rating float, state varchar ) CREATE TABLE category ( id int, business_id varchar, category_name varchar ) CREATE TABLE neighborhood ( id int, business_id varchar, neighborhood_name varchar ) CREATE TABLE checkin ( cid int, business_id varchar, count int, day varchar ) CREATE TABLE tip ( tip_id int, business_id varchar, text longtext, user_id varchar, likes int, year int, month varchar )
SELECT COUNT(DISTINCT (name)) FROM user WHERE name = 'Michelle'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 5413, 16, 17, 6, 268, 834, 23, 26, 3, 4331, 4059, 6, 1139, 834, 23, 26, 3, 4331, 4059, 6, 5773, 3, 12660, 6, 1499, 307, 6327, 6, 215, 16, 17, 6, 847, 3, 4331, 4059, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 41, 4350, 61, 61, 21680, 1139, 549, 17444, 427, 564, 3274, 3, 31, 30123, 109, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me a pie to show mean age from different job.
CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT ) CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER )
SELECT job, AVG(age) FROM Person GROUP BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1246, 3, 21342, 17966, 6, 690, 3, 3463, 4, 382, 6, 7285, 3, 3463, 4, 382, 6, 613, 3, 3463, 4, 382, 3, 61, 3, 32102, 32103, 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, 613, 6, 71, 17217, 599, 545, 61, 21680, 5780, 350, 4630, 6880, 272, 476, 613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is 2007, when 2000 is '0 / 4'?
CREATE TABLE table_48506 ( "Tournament" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text, "1999" text, "2000" text, "2001" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "Career WR" text, "Career Win-Loss" text )
SELECT "2007" FROM table_48506 WHERE "2000" = '0 / 4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 1752, 948, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4271, 121, 1499, 6, 96, 19479, 20364, 1499, 6, 96, 19479, 17395, 1499, 6, 96, 2294, 4314, 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, 20615, 121, 21680, 953, 834, 3707, 1752, 948, 549, 17444, 427, 96, 13527, 121, 3274, 3, 31, 632, 3, 87, 314, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the highest attendance when the Atlanta Falcons played for a week smaller than 10?
CREATE TABLE table_name_19 (attendance INTEGER, opponent VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_19 WHERE opponent = "atlanta falcons" AND week < 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 15116, 663, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 11364, 116, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 15264, 3274, 96, 144, 6761, 9, 12553, 8056, 121, 3430, 471, 3, 2, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the main date when the round is third round qualifying?
CREATE TABLE table_27973624_1 (main_date VARCHAR, round VARCHAR)
SELECT main_date FROM table_27973624_1 WHERE round = "Third round Qualifying"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4327, 3420, 2266, 834, 536, 41, 7484, 834, 5522, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 711, 833, 116, 8, 1751, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 711, 834, 5522, 21680, 953, 834, 2555, 4327, 3420, 2266, 834, 536, 549, 17444, 427, 1751, 3274, 96, 382, 9288, 26, 1751, 2415, 138, 8587, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
When was there a game at Kardinia Park?
CREATE TABLE table_name_78 ( date VARCHAR, venue VARCHAR )
SELECT date FROM table_name_78 WHERE venue = "kardinia park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 833, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 132, 3, 9, 467, 44, 4556, 2644, 23, 9, 1061, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 5669, 3274, 96, 4031, 2644, 23, 9, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the time of the bout that ended in a TKO (strikes)?
CREATE TABLE table_name_83 ( time VARCHAR, method VARCHAR )
SELECT time FROM table_name_83 WHERE method = "tko (strikes)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 97, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 13, 8, 9338, 24, 3492, 16, 3, 9, 332, 12725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1573, 3274, 96, 17, 157, 32, 41, 7, 1788, 7735, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the score of the game when they played at new york islanders?
CREATE TABLE table_name_99 ( score VARCHAR, home VARCHAR )
SELECT score FROM table_name_99 WHERE home = "new york islanders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 2604, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 116, 79, 1944, 44, 126, 25453, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 234, 3274, 96, 5534, 25453, 3368, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Championship with Vitas Gerulaitis as Opponent in the final in a match on Clay Surface?
CREATE TABLE table_name_3 ( championship VARCHAR, surface VARCHAR, opponent_in_the_final VARCHAR )
SELECT championship FROM table_name_3 WHERE surface = "clay" AND opponent_in_the_final = "vitas gerulaitis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 10183, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 12411, 7, 3, 1304, 83, 9, 155, 159, 121, 1, -100, -100, -100, -100, -10...
What is the score for game 6?
CREATE TABLE table_name_11 (score VARCHAR, game VARCHAR)
SELECT score FROM table_name_11 WHERE game = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 7, 9022, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 467, 431, 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, 2596, 549, 17444, 427, 467, 3274, 431, 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,...
Who was the home team at the Nuggets game that had a score of 116–105?
CREATE TABLE table_name_24 (home VARCHAR, score VARCHAR)
SELECT home FROM table_name_24 WHERE score = "116–105"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 5515, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 44, 8, 1174, 122, 2782, 7, 467, 24, 141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2604, 3274, 96, 20159, 104, 12869, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Call sign has a City of license of higgston, ga?
CREATE TABLE table_name_95 (call_sign VARCHAR, city_of_license VARCHAR)
SELECT call_sign FROM table_name_95 WHERE city_of_license = "higgston, ga"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 16482, 834, 6732, 584, 4280, 28027, 6, 690, 834, 858, 834, 28062, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2571, 1320, 65, 3, 9, 896, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 580, 834, 6732, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 690, 834, 858, 834, 28062, 3274, 96, 107, 23, 4102, 4411, 6, 7922, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Rank has a Club of zulte waregem, and Points larger than 22?
CREATE TABLE table_name_93 ( rank VARCHAR, club VARCHAR, points VARCHAR )
SELECT COUNT(rank) FROM table_name_93 WHERE club = "zulte waregem" AND points > 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 11003, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 1949, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 1886, 3274, 96, 172, 83, 17, 15, 3, 3404, 397, 51, 121, 3430, 979, 2490, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the title for david campbell mulford?
CREATE TABLE table_name_90 (title VARCHAR, name VARCHAR)
SELECT title FROM table_name_90 WHERE name = "david campbell mulford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 21869, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 21, 836, 6961, 2856, 7708, 3, 4115, 2590, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 564, 3274, 96, 26, 9, 6961, 2856, 7708, 3, 4115, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List first name and last name of customers that have more than 2 payments.
CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE customer_payments ( customer_id number, datetime_payment time, payment_method_code text, amount_payment number ) CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_code text, date_became_customer time, date_of_birth time, first_name text, last_name text, amount_outstanding number, email_address text, phone_number text, cell_mobile_phone_number text ) CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number )
SELECT T2.first_name, T2.last_name FROM customer_payments AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id GROUP BY T1.customer_id HAVING COUNT(*) > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 1115, 834, 23, 26, 381, 6, 689, 834, 536, 834, 5525, 1152, 834, 10905, 1499, 6, 690, 1499, 6, 10658, 834, 5950, 4978, 1499, 6, 538, 834, 1409, 2494, 565, 834, 13362, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 14672, 834, 4350, 6, 332, 4416, 5064, 834, 4350, 21680, 884, 834, 21752, 7, 6157, 332, 536, 3, 15355, 3162, 722, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 23, 26, 3274, 332, 4416, 25697, 49, 834, ...
Who was Director John Ramster's Composer?
CREATE TABLE table_7034 ( "Year" real, "Production" text, "Composer" text, "Conductor" text, "Director" text )
SELECT "Composer" FROM table_7034 WHERE "Director" = 'john ramster'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3710, 41, 96, 476, 2741, 121, 490, 6, 96, 3174, 8291, 121, 1499, 6, 96, 5890, 2748, 49, 121, 1499, 6, 96, 4302, 7472, 127, 121, 1499, 6, 96, 23620, 127, 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, 5890, 2748, 49, 121, 21680, 953, 834, 2518, 3710, 549, 17444, 427, 96, 23620, 127, 121, 3274, 3, 31, 27341, 3, 2375, 1370, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many people live in the area of Sorell according to the Census of 2011?
CREATE TABLE table_140297_1 (population_2011_census VARCHAR, local_government_area VARCHAR)
SELECT population_2011_census FROM table_140297_1 WHERE local_government_area = "Sorell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 357, 4327, 834, 536, 41, 9791, 7830, 834, 13907, 834, 75, 35, 7, 302, 584, 4280, 28027, 6, 415, 834, 27818, 834, 498, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 0, 0...
[ 3, 23143, 14196, 2074, 834, 13907, 834, 75, 35, 7, 302, 21680, 953, 834, 22012, 357, 4327, 834, 536, 549, 17444, 427, 415, 834, 27818, 834, 498, 3274, 96, 5231, 60, 195, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the position of terry jones whose pick number was after 256?
CREATE TABLE table_38337 ( "Round" real, "Pick" real, "Player" text, "Position" text, "School" text )
SELECT "Position" FROM table_38337 WHERE "Pick" > '256' AND "Player" = 'terry jones'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 519, 4118, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 3747, 519, 4118, 549, 17444, 427, 96, 345, 3142, 121, 2490, 3, 31, 19337, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 449, 651, 3, 1927, 1496, 31, 1, -100, -100, -100, ...
Who was eliminated from the competition when connacht to the quarter final?
CREATE TABLE table_3970 ( "Proceed to Quarter-final" text, "Match points" text, "Aggregate score" text, "Points margin" real, "Eliminated from competition" text )
SELECT "Eliminated from competition" FROM table_3970 WHERE "Proceed to Quarter-final" = 'Connacht'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 2518, 41, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 1499, 6, 96, 329, 14547, 979, 121, 1499, 6, 96, 188, 122, 18301, 342, 2604, 121, 1499, 6, 96, 22512, 7, 634...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 4941, 77, 920, 45, 2259, 121, 21680, 953, 834, 3288, 2518, 549, 17444, 427, 96, 3174, 75, 6958, 12, 17610, 18, 12406, 121, 3274, 3, 31, 4302, 6359, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many Points have a January of 18?
CREATE TABLE table_75363 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT COUNT("Points") FROM table_75363 WHERE "January" = '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3420, 519, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22512, 7, 8512, 21680, 953, 834, 3072, 3420, 519, 549, 17444, 427, 96, 30404, 121, 3274, 3, 31, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the speaker is R. Muthiah, what is the election year maximum?
CREATE TABLE table_23512864_4 (election_year INTEGER, speaker VARCHAR)
SELECT MAX(election_year) FROM table_23512864_4 WHERE speaker = "R. Muthiah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 5553, 2577, 4389, 834, 591, 41, 15, 12252, 834, 1201, 3, 21342, 17966, 6, 5873, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 5873, 19, 391, 5, 4159, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15, 12252, 834, 1201, 61, 21680, 953, 834, 2773, 5553, 2577, 4389, 834, 591, 549, 17444, 427, 5873, 3274, 96, 448, 5, 4159, 7436, 9, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On September 7 what was the record?
CREATE TABLE table_name_63 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_name_63 WHERE date = "september 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 1600, 489, 125, 47, 8, 1368, 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, 1368, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How much Total has a Rank of 5, and a Bronze larger than 3?
CREATE TABLE table_name_44 ( total INTEGER, rank VARCHAR, bronze VARCHAR )
SELECT SUM(total) FROM table_name_44 WHERE rank = "5" AND bronze > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 792, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 9273, 65, 3, 9, 3, 22557,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 11003, 3274, 96, 17395, 3430, 13467, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In what Year is the Works no. 2040-2049?
CREATE TABLE table_name_86 ( year VARCHAR, works_no VARCHAR )
SELECT year FROM table_name_86 WHERE works_no = "2040-2049"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 215, 584, 4280, 28027, 6, 930, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 2929, 19, 8, 12826, 150, 5, 460, 2445, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3840, 549, 17444, 427, 930, 834, 29, 32, 3274, 96, 1755, 2445, 7988, 3647, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients having their sedative - propofol performed since 4 years ago?
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 diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) 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 ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'sedative - propofol' AND DATETIME(treatment.treatmenttime) >= DATETIME(CURRENT_TIME(), '-4 year'))
[ 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, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1058, 5, 10061, 15129, 21545, 23, 26, 21680, 1058, 549, ...
What is the sanskrit word if the transcription is wan athit?
CREATE TABLE table_22146 ( "English name" text, "Thai name" text, "Transcription" text, "Color" text, "Sanskrit word" text, "Planet" text )
SELECT "Sanskrit word" FROM table_22146 WHERE "Transcription" = 'wan athit'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 24300, 41, 96, 26749, 564, 121, 1499, 6, 96, 8991, 9, 23, 564, 121, 1499, 6, 96, 9402, 29, 11830, 121, 1499, 6, 96, 3881, 322, 121, 1499, 6, 96, 134, 3247, 10648, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3247, 10648, 17, 1448, 121, 21680, 953, 834, 2884, 24300, 549, 17444, 427, 96, 9402, 29, 11830, 121, 3274, 3, 31, 3877, 44, 10536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the video associated with a short name of KSTCDT2?
CREATE TABLE table_name_36 ( video VARCHAR, psip_short_name VARCHAR )
SELECT video FROM table_name_36 WHERE psip_short_name = "kstcdt2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 671, 584, 4280, 28027, 6, 3, 102, 7, 23, 102, 834, 7, 14184, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 671, 1968...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 671, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 3, 102, 7, 23, 102, 834, 7, 14184, 834, 4350, 3274, 96, 157, 7, 17, 75, 26, 17, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What conference did the city of Valparaiso join?
CREATE TABLE table_name_5 ( conference_joined VARCHAR, city VARCHAR )
SELECT conference_joined FROM table_name_5 WHERE city = "valparaiso"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2542, 834, 1927, 630, 26, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2542, 410, 8, 690, 13, 3833, 6583, 159,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2542, 834, 1927, 630, 26, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 690, 3274, 96, 2165, 6583, 159, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the To par of the New Zealand Player?
CREATE TABLE table_46575 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "To par" FROM table_46575 WHERE "Country" = 'new zealand'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4122, 3072, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 3696, 260, 121, 21680, 953, 834, 591, 4122, 3072, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 5534, 3, 776, 138, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which highest 'goals against' number had wins of 19 and a 'goals for' number that was bigger than 53?
CREATE TABLE table_53525 ( "Position" real, "Club" text, "Played" real, "Points" text, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT MAX("Goals against") FROM table_53525 WHERE "Wins" = '19' AND "Goals for" > '53'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2469, 1828, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 1499, 6, 96, 18455, 7, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 6221, 5405, 581, 8512, 21680, 953, 834, 755, 2469, 1828, 549, 17444, 427, 96, 18455, 7, 121, 3274, 3, 31, 2294, 31, 3430, 96, 6221, 5405, 21, 121, 2490, 3, 31, 4867, 31, 1, -100, -100, -100, -...
Which High points have a Score of w 110-81?
CREATE TABLE table_name_49 ( high_points VARCHAR, score VARCHAR )
SELECT high_points FROM table_name_49 WHERE score = "w 110-81"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1592, 979, 43, 3, 9, 17763, 13, 3, 210, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2604, 3274, 96, 210, 11190, 18, 4959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the name and salary of instructors whose salary is below the average salary of the instructors in the Physics department.
CREATE TABLE instructor (name VARCHAR, salary INTEGER, dept_name VARCHAR)
SELECT name, salary FROM instructor WHERE salary < (SELECT AVG(salary) FROM instructor WHERE dept_name = 'Physics')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 4350, 584, 4280, 28027, 6, 9090, 3, 21342, 17966, 6, 20, 102, 17, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 564, 11, 9090, 13, 18166, 3, 254...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 6, 9090, 21680, 10617, 549, 17444, 427, 9090, 3, 2, 41, 23143, 14196, 71, 17217, 599, 7, 138, 1208, 61, 21680, 10617, 549, 17444, 427, 20, 102, 17, 834, 4350, 3274, 3, 31, 16977, 7, 447, 7, 31, 61, 1, -100,...
What episode had 10.14 million viewers (U.S.)?
CREATE TABLE table_21550897_1 (_number INTEGER, us_viewers__million_ VARCHAR)
SELECT MIN(_number) FROM table_21550897_1 WHERE us_viewers__million_ = "10.14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 20896, 4018, 4327, 834, 536, 41, 834, 5525, 1152, 3, 21342, 17966, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 834, 5525, 1152, 61, 21680, 953, 834, 357, 20896, 4018, 4327, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 22567, 20364, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many different position for players are listed?
CREATE TABLE club ( club_id number, name text, region text, start_year text ) CREATE TABLE player ( player_id number, name text, position text, club_id number, apps number, tries number, goals text, points number ) CREATE TABLE club_rank ( rank number, club_id number, gold number, silver number, bronze number, total number ) CREATE TABLE competition_result ( competition_id number, club_id_1 number, club_id_2 number, score text ) CREATE TABLE competition ( competition_id number, year number, competition_type text, country text )
SELECT COUNT(DISTINCT position) FROM player
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1886, 834, 23, 26, 381, 6, 564, 1499, 6, 1719, 1499, 6, 456, 834, 1201, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 1959, 834, 23, 26, 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, 2847, 17161, 599, 15438, 25424, 6227, 1102, 61, 21680, 1959, 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, -100, ...
What's the total with silver being less than 0, less than 1 gold, and 3 bronze?
CREATE TABLE table_name_25 (total INTEGER, silver VARCHAR, bronze VARCHAR, gold VARCHAR)
SELECT SUM(total) FROM table_name_25 WHERE bronze = 3 AND gold < 1 AND silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 13467, 3274, 220, 3430, 2045, 3, 2, 209, 3430, 4294, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the bronze medal count when the silver is less than 3 and the gold is 1?
CREATE TABLE table_name_63 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_63 WHERE gold = 1 AND silver < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 13467, 9365, 3476, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 2045, 3274, 209, 3430, 4294, 3, 2, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Bianka Panova's highest total with lower than place 1?
CREATE TABLE table_name_56 (total INTEGER, name VARCHAR, place VARCHAR)
SELECT MAX(total) FROM table_name_56 WHERE name = "bianka panova" AND place < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 235, 1947, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2106, 5979, 9, 4266, 6194, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 564, 3274, 96, 12032, 1258, 2131, 6194, 121, 3430, 286, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the first names of all instructors who have taught some course and the course description.
CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp_initial text, emp_jobcode text, emp_hiredate time, emp_dob time ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code text, stu_phone text, prof_num number ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE class ( class_code text, crs_code text, class_section text, class_time text, class_room text, prof_num number ) CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text )
SELECT T2.emp_fname, T3.crs_description FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN course AS T3 ON T1.crs_code = T3.crs_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17990, 41, 853, 834, 4978, 1499, 6, 21341, 834, 5525, 381, 6, 17990, 834, 6801, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 8943, 834, 5525, 381, 6, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 15, 1167, 834, 89, 4350, 6, 332, 5787, 75, 52, 7, 834, 221, 11830, 21680, 853, 6157, 332, 536, 3, 15355, 3162, 3490, 6157, 332, 357, 9191, 332, 5411, 1409, 89, 834, 5525, 3274, 332, 4416, 15, 1167, 834,...
How many millions of total viewers watched season #8?
CREATE TABLE table_12419515_4 (total_viewers__in_millions_ VARCHAR, season__number VARCHAR)
SELECT total_viewers__in_millions_ FROM table_12419515_4 WHERE season__number = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 22464, 1808, 834, 591, 41, 235, 1947, 834, 4576, 277, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 792, 834, 4576, 277, 834, 834, 77, 834, 17030, 7, 834, 21680, 953, 834, 22504, 22464, 1808, 834, 591, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many exhibitions has each artist had. Show the proportion.
CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int )
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 41, 22371, 834, 4309, 16, 17, 6, 2929, 16, 17, 6, 37, 526, 1499, 6, 9152, 834, 4309, 16, 17, 6, 3, 15569, 834, 345, 4920, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 4473, 6157, 332, 536, 3, 15355, 3162, 2377, 6157, 332, 357, 9191, 332, 5411, 7754, 343, 834, 4309, 3274, 332, 4416, 7754, 343, 834, 4309, 350, 4630, 6880, 272, 476, 332, 5...
What is geelong's aberage crowd as Away Team?
CREATE TABLE table_name_13 ( crowd INTEGER, away_team VARCHAR )
SELECT AVG(crowd) FROM table_name_13 WHERE away_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 4374, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 873, 15, 2961, 31, 7, 862, 545, 4374, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 550, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...