NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Find the most prominent max page size among all the products.
CREATE TABLE district ( district_id number, district_name text, headquartered_city text, city_population number, city_area number ) CREATE TABLE store_product ( store_id number, product_id number ) CREATE TABLE store_district ( store_id number, district_id number ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_category number, ranking number ) CREATE TABLE product ( product_id number, product text, dimensions text, dpi number, pages_per_minute_color number, max_page_size text, interface text )
SELECT max_page_size FROM product GROUP BY max_page_size ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3939, 41, 3939, 834, 23, 26, 381, 6, 3939, 834, 4350, 1499, 6, 3, 27630, 834, 6726, 1499, 6, 690, 834, 9791, 7830, 381, 6, 690, 834, 498, 381, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9858, 834, 6492, 834, 7991, 21680, 556, 350, 4630, 6880, 272, 476, 9858, 834, 6492, 834, 7991, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -1...
Which Points have an Opponent of calgary flames, and a January larger than 22?
CREATE TABLE table_name_90 ( points INTEGER, opponent VARCHAR, january VARCHAR )
SELECT AVG(points) FROM table_name_90 WHERE opponent = "calgary flames" AND january > 22
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 979, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 3, 7066, 76, 1208, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, 7, 43, 46, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 15264, 3274, 96, 1489, 1478, 63, 12314, 7, 121, 3430, 3, 7066, 76, 1208, 2490, 1630, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Player from Memphis?
CREATE TABLE table_44815 ( "Round" real, "Pick" real, "Player" text, "Position" text, "Nationality" text, "School/Club Team" text )
SELECT "Player" FROM table_44815 WHERE "School/Club Team" = 'memphis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3707, 1808, 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, 24732, 485, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 591, 3707, 1808, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 526, 7656, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the rank of the swimmer with a time of 2:11.83?
CREATE TABLE table_name_35 ( rank VARCHAR, time VARCHAR )
SELECT rank FROM table_name_35 WHERE time = "2:11.83"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 11003, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 8, 27424, 28, 3, 9, 97, 13, 27078, 162...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 97, 3274, 96, 357, 10, 10032, 4591, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who directed production code 3x6116?
CREATE TABLE table_30085 ( "\u2116" real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Directed by" FROM table_30085 WHERE "Production code" = '3X6116'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 4433, 41, 96, 2, 76, 2658, 2938, 121, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 5426, 4433, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 4, 4241, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which number belonged to the school team from Arizona?
CREATE TABLE table_15621965_17 ( no VARCHAR, school_club_team VARCHAR )
SELECT no FROM table_15621965_17 WHERE school_club_team = "Arizona"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4056, 2294, 4122, 834, 2517, 41, 150, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 381, 36, 23629, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 150, 21680, 953, 834, 1808, 4056, 2294, 4122, 834, 2517, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 188, 13266, 106, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What State has an Opened (closing date if defunct) that shows 1960?
CREATE TABLE table_name_28 ( state VARCHAR, opened__closing_date_if_defunct_ VARCHAR )
SELECT state FROM table_name_28 WHERE opened__closing_date_if_defunct_ = "1960"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 538, 584, 4280, 28027, 6, 2946, 834, 834, 3903, 7, 53, 834, 5522, 834, 99, 834, 221, 25322, 17, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 538, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 2946, 834, 834, 3903, 7, 53, 834, 5522, 834, 99, 834, 221, 25322, 17, 834, 3274, 96, 2294, 3328, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the area coordinator for the municipality with 1715 people living in it in 2010?
CREATE TABLE table_2402209_1 (area_coordinator VARCHAR, population__2010_ VARCHAR)
SELECT area_coordinator FROM table_2402209_1 WHERE population__2010_ = 1715
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 2884, 4198, 834, 536, 41, 498, 834, 509, 127, 2644, 1016, 584, 4280, 28027, 6, 2074, 834, 834, 14926, 834, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 616, 834, 509, 127, 2644, 1016, 21680, 953, 834, 11944, 2884, 4198, 834, 536, 549, 17444, 427, 2074, 834, 834, 14926, 834, 3274, 1003, 1808, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which class had a vehicle of Nissan in 2007?
CREATE TABLE table_14177 ( "Year" real, "Class" text, "Vehicle" text, "Position" text, "Stages won" text )
SELECT "Class" FROM table_14177 WHERE "Vehicle" = 'nissan' AND "Year" = '2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 26793, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 553, 15, 107, 23, 2482, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 134, 6505, 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, 21486, 121, 21680, 953, 834, 2534, 26793, 549, 17444, 427, 96, 553, 15, 107, 23, 2482, 121, 3274, 3, 31, 29, 159, 7, 152, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 20615, 31, 1, -100, -100, -100, -100, -100...
What was the time of the game on April 5?
CREATE TABLE table_name_87 ( time VARCHAR, date VARCHAR )
SELECT time FROM table_name_87 WHERE date = "april 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 97, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 97, 13, 8, 467, 30, 1186, 305, 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, 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, 97, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many of the patients with sigmoid diverticulitis colovestical fistula/SDA as their primary disease had a hospital stay for more than 26 days?
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 WHERE demographic.diagnosis = "SIGMOID DIVERTICULITIS, COLOVESTICAL FISTULA/SDA" AND demographic.days_stay > "26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 134, 8834, 5365, 4309, 10826, 16174, 18679, 4254, 3177, 4555, 6, 3, 19...
What is the Class when Wessex Trains Pink is the Livery?
CREATE TABLE table_name_90 (class VARCHAR, livery VARCHAR)
SELECT class FROM table_name_90 WHERE livery = "wessex trains pink"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 4057, 584, 4280, 28027, 6, 619, 651, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4501, 116, 101, 7, 7, 994, 15059, 7, 12070, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 619, 651, 3274, 96, 1123, 7, 7, 994, 14053, 5571, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country has a score of 66-73-69=208?
CREATE TABLE table_60398 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_60398 WHERE "Score" = '66-73-69=208'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 519, 3916, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3328, 519, 3916, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3539, 18, 4552, 18, 3951, 2423, 23946, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which colle/junior/club team did Michel Boudreau play for?
CREATE TABLE table_1473672_3 (college_junior_club_team VARCHAR, player VARCHAR)
SELECT college_junior_club_team FROM table_1473672_3 WHERE player = "Michel Boudreau"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 3420, 5865, 834, 519, 41, 3297, 7883, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 21680, 953, 834, 24719, 3420, 5865, 834, 519, 549, 17444, 427, 1959, 3274, 96, 30123, 272, 20180, 402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the round wher the fabien foret had the fastest lap and david salom was the pole position?
CREATE TABLE table_29686983_1 (round VARCHAR, fastest_lap VARCHAR, pole_position VARCHAR)
SELECT round FROM table_29686983_1 WHERE fastest_lap = "Fabien Foret" AND pole_position = "David Salom"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3651, 3951, 4591, 834, 536, 41, 7775, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28027, 6, 11148, 834, 4718, 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, 1751, 21680, 953, 834, 3166, 3651, 3951, 4591, 834, 536, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 17477, 23, 35, 242, 15, 17, 121, 3430, 11148, 834, 4718, 3274, 96, 308, 9, 6961, 5158, 32, 51, 121, 1, -100, -1...
What is the rank number for a placing of 28.5 and a total less than 92.7?
CREATE TABLE table_55934 ( "Rank" real, "Name" text, "Nation" text, "Placings" text, "Total" real )
SELECT COUNT("Rank") FROM table_55934 WHERE "Placings" = '28.5' AND "Total" < '92.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4271, 591, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 345, 9700, 53, 7, 121, 1499, 6, 96, 3696, 1947, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22557, 8512, 21680, 953, 834, 3769, 4271, 591, 549, 17444, 427, 96, 345, 9700, 53, 7, 121, 3274, 3, 31, 357, 19253, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 1298, 21280, 31, 1, -100, -1...
Who were the co drivers past 1994 in the WSC class?
CREATE TABLE table_name_43 ( co_drivers VARCHAR, year VARCHAR, class VARCHAR )
SELECT co_drivers FROM table_name_43 WHERE year > 1994 AND class = "wsc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 576, 834, 13739, 52, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 576, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 576, 834, 13739, 52, 7, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 215, 2490, 7520, 3430, 853, 3274, 96, 210, 7, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the aggregate score for the match won by Brive?
CREATE TABLE table_28068063_2 ( aggregate_score VARCHAR, winners VARCHAR )
SELECT aggregate_score FROM table_28068063_2 WHERE winners = "Brive"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 5176, 2079, 3891, 834, 357, 41, 12955, 834, 7, 9022, 584, 4280, 28027, 6, 8969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 12955, 2604, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12955, 834, 7, 9022, 21680, 953, 834, 2577, 5176, 2079, 3891, 834, 357, 549, 17444, 427, 8969, 3274, 96, 279, 52, 757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the attendance in texas stadium?
CREATE TABLE table_name_86 (attendance INTEGER, venue VARCHAR)
SELECT SUM(attendance) FROM table_name_86 WHERE venue = "texas stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 15116, 663, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11364, 16, 3, 10354, 9, 7, 14939, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 5669, 3274, 96, 10354, 9, 7, 14939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, draw a bar chart about the distribution of job_id and the amount of job_id , and group by attribute job_id.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE 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 job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, ...
What Player has a Country of west germany?
CREATE TABLE table_name_86 ( player VARCHAR, country VARCHAR )
SELECT player FROM table_name_86 WHERE country = "west germany"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 1959, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 12387, 65, 3, 9, 6993, 13, 4653, 13692, 63, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 684, 3274, 96, 12425, 13692, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Result has a Captain 1 of louis burger, and a Date of 30 october–2 november?
CREATE TABLE table_name_53 (result VARCHAR, captain_1 VARCHAR, date VARCHAR)
SELECT result FROM table_name_53 WHERE captain_1 = "louis burger" AND date = "30 october–2 november"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 14268, 834, 536, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 20119, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 14268, 834, 536, 3274, 96, 40, 1063, 159, 3, 9079, 121, 3430, 833, 3274, 96, 1458, 3, 32, 75, 235, 1152, 104, 357, 3, 5326, 18247, 121, 1, -100, -100, -100, ...
What is the crowd size of the Away team, Fitzroy?
CREATE TABLE table_11945 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Crowd" FROM table_11945 WHERE "Away team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 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, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 3623, 26, 121, 21680, 953, 834, 19993, 2128, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
count the number of patients whose admission location is clinic referral/premature and procedure icd9 code is 4233?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "CLINIC REFERRAL/PREMATURE" AND procedures.icd9_code = "4233"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
who are the awardees when the name of award is best agricultural film?
CREATE TABLE table_25926120_7 (awardee_s_ VARCHAR, name_of_award VARCHAR)
SELECT awardee_s_ FROM table_25926120_7 WHERE name_of_award = "Best Agricultural Film"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3390, 2688, 15518, 834, 940, 41, 9, 2239, 15, 15, 834, 7, 834, 584, 4280, 28027, 6, 564, 834, 858, 834, 9, 2239, 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, 0, 0, 0...
[ 3, 23143, 14196, 2760, 15, 15, 834, 7, 834, 21680, 953, 834, 357, 3390, 2688, 15518, 834, 940, 549, 17444, 427, 564, 834, 858, 834, 9, 2239, 3274, 96, 17278, 3, 24354, 3417, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where are all of Utah's games held and how many have attended?
CREATE TABLE table_21243 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Location Attendance" FROM table_21243 WHERE "Team" = 'Utah'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 27730, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 22497, 663, 121, 21680, 953, 834, 2658, 27730, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 1265, 17, 9, 107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the opponent in a game higher than 76 on April 6?
CREATE TABLE table_name_52 ( opponent VARCHAR, game VARCHAR, april VARCHAR )
SELECT opponent FROM table_name_52 WHERE game > 76 AND april = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 15264, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 3, 9, 2246, 40, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 467, 2490, 3, 3959, 3430, 3, 9, 2246, 40, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of routes that have destination John F Kennedy International Airport.
CREATE TABLE airlines ( alid number, name text, iata text, icao text, callsign text, country text, active text ) CREATE TABLE routes ( rid number, dst_apid number, dst_ap text, src_apid number, src_ap text, alid number, airline text, codeshare text ) CREATE TABLE airports ( apid number, name text, city text, country text, x number, y number, elevation number, iata text, icao text )
SELECT COUNT(*) FROM airports AS T1 JOIN routes AS T2 ON T1.apid = T2.dst_apid WHERE T1.name = 'John F Kennedy International Airport'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19184, 41, 3, 9, 8130, 381, 6, 564, 1499, 6, 3, 17221, 1499, 6, 3, 2617, 32, 1499, 6, 580, 6732, 1499, 6, 684, 1499, 6, 1676, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 3761, 7, 6157, 332, 536, 3, 15355, 3162, 9729, 6157, 332, 357, 9191, 332, 5411, 9, 12417, 3274, 332, 4416, 26, 7, 17, 834, 9, 12417, 549, 17444, 427, 332, 5411, 4350, 3274, 3, 31...
What title was watched by 3.8 million US viewers?
CREATE TABLE table_28695 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (millions)" text )
SELECT "Title" FROM table_28695 WHERE "U.S. viewers (millions)" = '3.8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3840, 3301, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 382, 155, 109, 121, 21680, 953, 834, 357, 3840, 3301, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 26195, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date was at Oakland-Alameda County Coliseum with a time of 3:40 and a game less than 5?
CREATE TABLE table_name_6 (date VARCHAR, time VARCHAR, game VARCHAR, location VARCHAR)
SELECT date FROM table_name_6 WHERE game < 5 AND location = "oakland-alameda county coliseum" AND time = "3:40"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 5522, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 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, 833, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 467, 3, 2, 305, 3430, 1128, 3274, 96, 32, 1639, 40, 232, 18, 138, 9, 2726, 9, 5435, 3, 9044, 7, 15, 440, 121, 3430, 97, 3274, 96, 519, 10, 2445, 121, 1, ...
in what year did the colors red and gold join?
CREATE TABLE table_20887670_1 ( year_joined VARCHAR, colors VARCHAR )
SELECT COUNT(year_joined) FROM table_20887670_1 WHERE colors = "Red and Gold"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4060, 3959, 2518, 834, 536, 41, 215, 834, 1927, 630, 26, 584, 4280, 28027, 6, 2602, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 16, 125, 215, 410, 8, 2602...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1201, 834, 1927, 630, 26, 61, 21680, 953, 834, 1755, 4060, 3959, 2518, 834, 536, 549, 17444, 427, 2602, 3274, 96, 1649, 26, 11, 2540, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the livery of the locomotive with a serial number 83-1010?
CREATE TABLE table_name_33 ( livery VARCHAR, serial_no VARCHAR )
SELECT livery FROM table_name_33 WHERE serial_no = "83-1010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 619, 651, 584, 4280, 28027, 6, 10501, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 619, 651, 13, 8, 31301, 28, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 619, 651, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 10501, 834, 29, 32, 3274, 96, 4591, 4536, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the time for the match with a record of 2-0?
CREATE TABLE table_name_74 (time VARCHAR, record VARCHAR)
SELECT time FROM table_name_74 WHERE record = "2-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 715, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 97, 21, 8, 1588, 28, 3, 9, 1368, 13, 3, 19423, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1368, 3274, 96, 19423, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of high rebounds for minnesota?
CREATE TABLE table_22879262_7 (high_rebounds VARCHAR, team VARCHAR)
SELECT COUNT(high_rebounds) FROM table_22879262_7 WHERE team = "Minnesota"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4225, 4508, 4056, 834, 940, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 792, 381, 13, 306, 3, 237...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6739, 834, 23768, 61, 21680, 953, 834, 2884, 4225, 4508, 4056, 834, 940, 549, 17444, 427, 372, 3274, 96, 12858, 1496, 32, 17, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Portuguese name of the film who's English title is, Belle Toujours?
CREATE TABLE table_24786 ( "Year (Ceremony)" text, "English title" text, "Portuguese title" text, "Director" text, "Result" text )
SELECT "Portuguese title" FROM table_24786 WHERE "English title" = 'Belle Toujours'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4177, 3840, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 26749, 2233, 121, 1499, 6, 96, 14714, 76, 15991, 15, 2233, 121, 1499, 6, 96, 23620, 127,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14714, 76, 15991, 15, 2233, 121, 21680, 953, 834, 357, 4177, 3840, 549, 17444, 427, 96, 26749, 2233, 121, 3274, 3, 31, 279, 693, 3, 31511, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who wrote the title with the production code is 7acx08?
CREATE TABLE table_22269839_1 ( written_by VARCHAR, production_code VARCHAR )
SELECT written_by FROM table_22269839_1 WHERE production_code = "7ACX08"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 2688, 3916, 3288, 834, 536, 41, 1545, 834, 969, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 8, 2233, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2884, 2688, 3916, 3288, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 96, 940, 5173, 4, 4018, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date did the away team Bristol Rovers play?
CREATE TABLE table_9137 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_9137 WHERE "Away team" = 'bristol rovers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4729, 4118, 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, 308, 342, 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, 308, 342, 121, 21680, 953, 834, 4729, 4118, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 115, 17149, 40, 3, 8843, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Competition has a Score of 0-1, and Opponents of pkns fc?
CREATE TABLE table_75462 ( "Date" text, "Venue" text, "Opponents" text, "Score" text, "Competition" text )
SELECT "Competition" FROM table_75462 WHERE "Score" = '0-1' AND "Opponents" = 'pkns fc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 4448, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 5890, 4995, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4995, 4749, 121, 21680, 953, 834, 3072, 4448, 357, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 632, 2292, 31, 3430, 96, 667, 102, 9977, 7, 121, 3274, 3, 31, 102, 157, 29, 7, 3, 89, 75, 31, 1, ...
Name the broadcast date for 6.0 viewers
CREATE TABLE table_2102782_1 ( broadcast_date VARCHAR, viewers__in_millions_ VARCHAR )
SELECT broadcast_date FROM table_2102782_1 WHERE viewers__in_millions_ = "6.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 2555, 4613, 834, 536, 41, 6878, 834, 5522, 584, 4280, 28027, 6, 13569, 834, 834, 77, 834, 17030, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6878, 834, 5522, 21680, 953, 834, 15239, 2555, 4613, 834, 536, 549, 17444, 427, 13569, 834, 834, 77, 834, 17030, 7, 834, 3274, 96, 22642, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Chesterfield Spires average?
CREATE TABLE table_21991074_1 (average VARCHAR, club VARCHAR)
SELECT average FROM table_21991074_1 WHERE club = "Chesterfield Spires"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 19479, 1714, 4581, 834, 536, 41, 28951, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 20976, 1846, 2526, 2060, 7, 1348, 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, 1348, 21680, 953, 834, 357, 19479, 1714, 4581, 834, 536, 549, 17444, 427, 1886, 3274, 96, 254, 88, 1370, 1846, 2526, 2060, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the most number for charvez davis
CREATE TABLE table_25360865_1 (_number INTEGER, name VARCHAR)
SELECT MAX(_number) FROM table_25360865_1 WHERE name = "Charvez Davis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3420, 4018, 4122, 834, 536, 41, 834, 5525, 1152, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 381, 21, 3, 4059, 6071, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 834, 5525, 1152, 61, 21680, 953, 834, 1828, 3420, 4018, 4122, 834, 536, 549, 17444, 427, 564, 3274, 96, 18947, 6071, 8688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What torque does daewoo have?
CREATE TABLE table_36522 ( "Name" text, "Capacity" text, "Type" text, "Power" text, "Torque" text )
SELECT "Torque" FROM table_36522 WHERE "Type" = 'daewoo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 2884, 41, 96, 23954, 121, 1499, 6, 96, 19566, 9, 6726, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 23553, 121, 1499, 6, 96, 382, 127, 835, 121, 1499, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 382, 127, 835, 121, 21680, 953, 834, 10402, 2884, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 26, 9, 15, 14952, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result for Gold Coast when Melbourne and Sydney are yes, while Auckland and Perth are no?
CREATE TABLE table_name_8 (gold_coast VARCHAR, perth VARCHAR, auckland VARCHAR, melbourne VARCHAR, sydney VARCHAR)
SELECT gold_coast FROM table_name_8 WHERE melbourne = "yes" AND sydney = "yes" AND auckland = "no" AND perth = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 14910, 834, 25500, 584, 4280, 28027, 6, 399, 189, 584, 4280, 28027, 6, 3, 9, 4636, 40, 232, 584, 4280, 28027, 6, 3, 2341, 26255, 584, 4280, 28027, 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, 2045, 834, 25500, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 3, 2341, 26255, 3274, 96, 10070, 121, 3430, 3, 7, 63, 26, 3186, 3274, 96, 10070, 121, 3430, 3, 9, 4636, 40, 232, 3274, 96, 29, 32, 121, 3430, 3...
What is the lowest Score when the Country is canada?
CREATE TABLE table_44312 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT MIN("Score") FROM table_44312 WHERE "Country" = 'canada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 519, 2122, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 121, 134, 9022, 8512, 21680, 953, 834, 3628, 519, 2122, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 658, 18089, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what are the number of ivy league institutions ?
CREATE TABLE table_203_610 ( id number, "institution" text, "location" text, "nickname" text, "founded" number, "historical affiliation" text, "enrollment" number, "primary conference" text )
SELECT COUNT("institution") FROM table_203_610 WHERE "primary conference" = 'ivy league'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 27097, 41, 3, 23, 26, 381, 6, 96, 77, 17448, 121, 1499, 6, 96, 14836, 121, 1499, 6, 96, 11191, 4350, 121, 1499, 6, 96, 23329, 121, 381, 6, 96, 28005, 138, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 77, 17448, 8512, 21680, 953, 834, 23330, 834, 27097, 549, 17444, 427, 96, 8234, 1208, 2542, 121, 3274, 3, 31, 23, 208, 63, 5533, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which county includes Himco Dump?
CREATE TABLE table_5707 ( "CERCLIS ID" text, "Name" text, "County" text, "Proposed" text, "Listed" text, "Construction completed" text, "Partially deleted" text, "Deleted" text )
SELECT "County" FROM table_5707 WHERE "Name" = 'himco dump'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4560, 41, 96, 4770, 4902, 25769, 4699, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 3174, 12151, 121, 1499, 6, 96, 28886, 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, 10628, 63, 121, 21680, 953, 834, 3436, 4560, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 10813, 509, 11986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Away team at the game with a Score of 1 0 and Attendance of 1,791?
CREATE TABLE table_63659 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" text )
SELECT "Away team" FROM table_63659 WHERE "Score" = '1 – 0' AND "Attendance" = '1,791'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3420, 3390, 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, 188, 1343, 372, 121, 21680, 953, 834, 948, 3420, 3390, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 536, 3, 104, 3, 632, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 4347, 4440, 536, 31, 1, ...
How many lap two's did marco andretti do?
CREATE TABLE table_2756 ( "Pos" text, "##" real, "Name" text, "Team" text, "Lap One" text, "Lap Two" text, "Lap Three" text, "Lap Four" text, "Total Time" text, "Avg. Speed" text )
SELECT COUNT("Lap Two") FROM table_2756 WHERE "Name" = 'Marco Andretti'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4834, 41, 96, 345, 32, 7, 121, 1499, 6, 96, 30345, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 555, 121, 1499, 6, 96, 3612, 102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3612, 102, 2759, 8512, 21680, 953, 834, 2555, 4834, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 7286, 509, 275, 52, 10652, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which patients had a quantitative g6pd lab test and were admitted before the year 2114?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2114" AND lab.label = "Quantitative G6PD"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many years is ur sulcus listed with a diameter less than 1,145.0?
CREATE TABLE table_name_68 (year_named VARCHAR, name VARCHAR, diameter VARCHAR)
SELECT COUNT(year_named) FROM table_name_68 WHERE name = "ur sulcus" AND diameter < 1 OFFSET 145.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 1201, 834, 4350, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 9260, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 19, 3, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1201, 834, 4350, 26, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 564, 3274, 96, 450, 3, 7, 83, 1071, 7, 121, 3430, 9260, 3, 2, 209, 3, 15316, 20788, 968, 20734, 1, -100, -100, -100, ...
Which venue did North Melbourne play away with a crowd greater than 30,000?
CREATE TABLE table_12034 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_12034 WHERE "Crowd" > '30,000' AND "Away team" = 'north melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15518, 3710, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 15518, 3710, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 17093, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 29, 127, 189, 3, 2341, 26255, 31, 1, -100, -...
What was the record for the October 16 game?
CREATE TABLE table_27537518_4 ( record VARCHAR, date VARCHAR )
SELECT record FROM table_27537518_4 WHERE date = "October 16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25988, 22954, 2606, 834, 591, 41, 1368, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 21, 8, 1797, 898, 467, 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, 1368, 21680, 953, 834, 25988, 22954, 2606, 834, 591, 549, 17444, 427, 833, 3274, 96, 28680, 898, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average number of international passengers of all airports?
CREATE TABLE airport_aircraft ( id number, airport_id number, aircraft_id number ) CREATE TABLE pilot ( pilot_id number, name text, age number ) CREATE TABLE aircraft ( aircraft_id number, aircraft text, description text, max_gross_weight text, total_disk_area text, max_disk_loading text ) CREATE TABLE airport ( airport_id number, airport_name text, total_passengers number, %_change_2007 text, international_passengers number, domestic_passengers number, transit_passengers number, aircraft_movements number, freight_metric_tonnes number ) CREATE TABLE match ( round number, location text, country text, date text, fastest_qualifying text, winning_pilot text, winning_aircraft text )
SELECT AVG(international_passengers) FROM airport
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 834, 2256, 6696, 41, 3, 23, 26, 381, 6, 3761, 834, 23, 26, 381, 6, 6442, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4487, 41, 4487, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 27817, 834, 3968, 4606, 277, 61, 21680, 3761, 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 is the total number of Second, when First is greater than 18, when Season is 1992-93, and when Premier is greater than 16?
CREATE TABLE table_name_5 (second VARCHAR, premier VARCHAR, first VARCHAR, season VARCHAR)
SELECT COUNT(second) FROM table_name_5 WHERE first > 18 AND season = "1992-93" AND premier > 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 12091, 584, 4280, 28027, 6, 2761, 584, 4280, 28027, 6, 166, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 2847, 17161, 599, 12091, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 166, 2490, 507, 3430, 774, 3274, 96, 19479, 7412, 4271, 121, 3430, 2761, 2490, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the result on week 1?
CREATE TABLE table_name_27 ( result VARCHAR, week VARCHAR )
SELECT result FROM table_name_27 WHERE week = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 30, 471, 209, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 471, 3274, 209, 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 athlete has a wind number of 1.4?
CREATE TABLE table_59432 ( "Mark" text, "Wind*" text, "Athlete" text, "Nationality" text, "Venue" text, "Date" text )
SELECT "Athlete" FROM table_59432 WHERE "Wind*" = '1.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 591, 2668, 41, 96, 19762, 121, 1499, 6, 96, 18455, 26, 1935, 121, 1499, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 553, 35, 76, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 189, 1655, 15, 121, 21680, 953, 834, 3390, 591, 2668, 549, 17444, 427, 96, 18455, 26, 1935, 121, 3274, 3, 31, 14912, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who do not work in departments with managers that have ids between 100 and 200, a bar chart shows the distribution of first_name and employee_id , and sort bars from high to low order please.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) 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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 30085, 834, 567, 17683, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, ...
Which series occurred in which the semi-finalist was runner-up and the 7800.00 was 6420.00?
CREATE TABLE table_2544694_3 ( indonesia_super_series_2008 VARCHAR, runner_up VARCHAR )
SELECT indonesia_super_series_2008 FROM table_2544694_3 WHERE runner_up = "Semi-Finalist" AND 780000 = "6420.00"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3628, 3951, 591, 834, 519, 41, 16, 2029, 15, 7, 23, 9, 834, 21771, 834, 10833, 7, 834, 16128, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16, 2029, 15, 7, 23, 9, 834, 21771, 834, 10833, 7, 834, 16128, 21680, 953, 834, 1828, 3628, 3951, 591, 834, 519, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 134, 15, 51, 23, 18, 371, 10270, 343, 121, 3430, 3,...
whats the sex of patient 012-169?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime 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 lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '012-169'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1868, 5, 122, 3868, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 4542, 17234, 3951, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country was the player with the score line 69-71-72-69=281 from?
CREATE TABLE table_name_6 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_6 WHERE score = 69 - 71 - 72 - 69 = 281
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 17529, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 47, 8, 1959, 28, 8, 2604, 689, 3, 3951, 18, 4450, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 2604, 3274, 3, 3951, 3, 18, 3, 4450, 3, 18, 9455, 3, 18, 3, 3951, 3274, 204, 4959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose ethnicity is black/african american and item id is 51363?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "BLACK/AFRICAN AMERICAN" AND lab.itemid = "51363"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what is admission type and days of hospital stay of subject name charley pescatore?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) 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 demographic.admission_type, demographic.days_stay FROM demographic WHERE demographic.name = "Charley Pescatore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 6137, 6, 14798, 5, 1135, 7, 834, 21545, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 18947, 1306, 276, 1579, 1016, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the different ids and names of the stations that have had more than 12 bikes available. Plot them as bar chart.
CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT )
SELECT name, id FROM station AS T1 JOIN status AS T2 ON T1.id = T2.station_id WHERE T2.bikes_available > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 3, 21342, 17966, 6, 564, 3, 3463, 4, 382, 6, 50, 17, 13046, 13098, 4666, 6, 307, 13046, 13098, 4666, 6, 12908, 834, 13362, 3, 21342, 17966, 6, 690, 3, 3463, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 6, 3, 23, 26, 21680, 2478, 6157, 332, 536, 3, 15355, 3162, 2637, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 4416, 6682, 834, 23, 26, 549, 17444, 427, 332, 4416, 15214, 7, 834, 28843, 2490, 586, 1, ...
what is the year for player is derrick favors?
CREATE TABLE table_17097 ( "Year" text, "Player" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text )
SELECT "Year" FROM table_17097 WHERE "Player" = 'Derrick Favors'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2518, 4327, 41, 96, 476, 2741, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 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, 476, 2741, 121, 21680, 953, 834, 536, 2518, 4327, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 308, 49, 5206, 16717, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result of the game that was played on Nov. 26, 1972?
CREATE TABLE table_21667 ( "Week" real, "Date" text, "Opponent" text, "Stadium" text, "Result" text, "Record" text, "Streak" text, "Attendance" real )
SELECT "Result" FROM table_21667 WHERE "Date" = 'Nov. 26'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 3708, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 20119, 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, 20119, 121, 21680, 953, 834, 27184, 3708, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 4168, 208, 5, 2208, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the score for september 11
CREATE TABLE table_name_48 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_48 WHERE date = "september 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2604, 21, 16022, 18247, 850, 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, 2604, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the opponent before week 3 and a result of w 28-6?
CREATE TABLE table_8117 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Opponent" FROM table_8117 WHERE "Week" < '3' AND "Result" = 'w 28-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4959, 2517, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 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, 667, 102, 9977, 121, 21680, 953, 834, 4959, 2517, 549, 17444, 427, 96, 518, 10266, 121, 3, 2, 3, 31, 519, 31, 3430, 96, 20119, 121, 3274, 3, 31, 210, 2059, 5783, 31, 1, -100, -100, -100, -100, -100, -100, -1...
Name the listed owner for mike garvey
CREATE TABLE table_24535095_2 (listed_owner_s_ VARCHAR, crew_chief VARCHAR)
SELECT listed_owner_s_ FROM table_24535095_2 WHERE crew_chief = "Mike Garvey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 16975, 3301, 834, 357, 41, 19279, 834, 13238, 834, 7, 834, 584, 4280, 28027, 6, 4627, 834, 20053, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 261...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2616, 834, 13238, 834, 7, 834, 21680, 953, 834, 357, 2128, 16975, 3301, 834, 357, 549, 17444, 427, 4627, 834, 20053, 3274, 96, 329, 5208, 3121, 162, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the average age of unmarried patients born after 2087.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT AVG(demographic.age) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.dob_year > "2087"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 134, 2365, 3765, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 2490, 96, 1755, 4225, 121, 1, -...
What is Opponent, when Result is Win, and when Date is Aug 7?
CREATE TABLE table_49108 ( "Week" real, "Date" text, "Opponent" text, "Score" text, "Result" text, "Attendance" text, "Record" text )
SELECT "Opponent" FROM table_49108 WHERE "Result" = 'win' AND "Date" = 'aug 7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 16169, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 3647, 16169, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 3757, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 402, 122, 489, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What state has an interview of 8.313 (8) ?
CREATE TABLE table_20636 ( "State" text, "Preliminary Average" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Semifinal Average" text )
SELECT "State" FROM table_20636 WHERE "Interview" = '8.313 (8)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 3420, 41, 96, 134, 4748, 121, 1499, 6, 96, 10572, 4941, 77, 1208, 23836, 121, 1499, 6, 96, 17555, 4576, 121, 1499, 6, 96, 134, 210, 603, 7628, 121, 1499, 6, 96, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4748, 121, 21680, 953, 834, 24643, 3420, 549, 17444, 427, 96, 17555, 4576, 121, 3274, 3, 31, 927, 5, 519, 2368, 3, 28007, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who was the Democratic incumbent in the South Carolina 5 District?
CREATE TABLE table_name_84 ( incumbent VARCHAR, party VARCHAR, district VARCHAR )
SELECT incumbent FROM table_name_84 WHERE party = "democratic" AND district = "south carolina 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 28406, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 10021, 28406, 16, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 28406, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1088, 3274, 96, 23319, 447, 121, 3430, 3939, 3274, 96, 7, 670, 107, 443, 12057, 9, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many female patients have been diagnosed with syncope telemetry?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "SYNCOPE;TELEMETRY"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 134, 476, 567, 25032, ...
Which Surface has an Opponent(s) of anna-lena gr nefeld tatjana malek?
CREATE TABLE table_61899 ( "Year" real, "Edition" text, "Round" text, "Date" text, "Location" text, "Surface" text, "Against" text, "Opponent(s)" text, "Score" text, "Result" text )
SELECT "Surface" FROM table_61899 WHERE "Opponent(s)" = 'anna-lena grönefeld tatjana malek'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2606, 3264, 41, 96, 476, 2741, 121, 490, 6, 96, 427, 10569, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 450, 4861, 121, 21680, 953, 834, 948, 2606, 3264, 549, 17444, 427, 96, 667, 102, 9977, 599, 7, 61, 121, 3274, 3, 31, 10878, 18, 40, 35, 9, 3542, 11431, 15, 5003, 3, 17, 144, 7066, 9, 5069, 157, 31, 1,...
What is the highest number of wins?
CREATE TABLE table_26609690_1 (wins INTEGER)
SELECT MAX(wins) FROM table_26609690_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3328, 4314, 2394, 834, 536, 41, 3757, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 9204, 58, 1, 0, 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, 4800, 4, 599, 3757, 7, 61, 21680, 953, 834, 2688, 3328, 4314, 2394, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Papers about feature engineering
CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperfield ( fieldid int, paperid int )
SELECT DISTINCT paper.paperid FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'feature engineering' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1057, 41, 1057, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 6, 2233, 3, 4331, 4059, 6, 5669, 23, 26, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 30844, 3867, 31, 3430, 1040, 4397, 27111, 5, 4397, 271...
When was the game with 13-5-6 record played?
CREATE TABLE table_23308178_5 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_23308178_5 WHERE record = "13-5-6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 4018, 27640, 834, 755, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 467, 28, 209, 18366, 5783, 1368, 1944, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20879, 4018, 27640, 834, 755, 549, 17444, 427, 1368, 3274, 96, 2368, 4525, 5783, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What IHSAA clas is the school with a county number of 12 clinton and the hornets as their mascot?
CREATE TABLE table_name_80 (ihsaa_class VARCHAR, _number___county VARCHAR, mascot VARCHAR)
SELECT ihsaa_class FROM table_name_80 WHERE _number___county = "12 clinton" AND mascot = "hornets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 23, 107, 7, 9, 9, 834, 4057, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 834, 834, 13362, 63, 584, 4280, 28027, 6, 3, 2754, 4310, 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, 3, 23, 107, 7, 9, 9, 834, 4057, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 3, 834, 5525, 1152, 834, 834, 834, 13362, 63, 3274, 96, 2122, 3, 14758, 6992, 121, 3430, 3, 2754, 4310, 3274, 96, 6293, 15, 17, ...
Where was the game played when the high assists were scored by billups , stuckey (4)?
CREATE TABLE table_11960944_11 (location_attendance VARCHAR, high_assists VARCHAR)
SELECT location_attendance FROM table_11960944_11 WHERE high_assists = "Billups , Stuckey (4)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4314, 4198, 3628, 834, 2596, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 2596, 4314, 4198, 3628, 834, 2596, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 279, 1092, 413, 7, 3, 6, 472, 4636, 15, 63, 3, 10820, 121, 1, -100, -100, -100, -10...
What song is it that artist morena camilleri does and has more than 38 points
CREATE TABLE table_37229 ( "Draw" real, "Artist" text, "Song" text, "Composer" text, "Lyricist" text, "Place" real, "Points" real )
SELECT "Song" FROM table_37229 WHERE "Points" > '38' AND "Artist" = 'morena camilleri'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 357, 3166, 41, 96, 308, 10936, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 2444, 121, 1499, 6, 96, 5890, 2748, 49, 121, 1499, 6, 96, 434, 63, 2234, 343, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 2444, 121, 21680, 953, 834, 4118, 357, 3166, 549, 17444, 427, 96, 22512, 7, 121, 2490, 3, 31, 3747, 31, 3430, 96, 7754, 343, 121, 3274, 3, 31, 2528, 35, 9, 5511, 7613, 23, 31, 1, -100, -100, -100, -100,...
For those records from the products and each product's manufacturer, find name and the sum of manufacturer , and group by attribute name, and visualize them by a bar chart, and show by the Y-axis from low to high.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Manufacturer
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 7296, 76, 8717, 450, 49, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272,...
Name the date for air canada centre 18,736
CREATE TABLE table_23186738_9 ( date VARCHAR, location_attendance VARCHAR )
SELECT date FROM table_23186738_9 WHERE location_attendance = "Air Canada Centre 18,736"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2606, 3708, 3747, 834, 1298, 41, 833, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 799, 19343, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 2773, 2606, 3708, 3747, 834, 1298, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 20162, 1894, 2969, 14985, 940, 3420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who did not have any job in the past, a scatter chart shows the correlation between manager_id and department_id .
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 departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_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 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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT MANAGER_ID, DEPARTMENT_ID FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history)
[ 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, 283, 15610, 17966, 834, 4309, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 613, 834, ...
What is Record, when High Rebounds is 'Tyson Chandler (6)'?
CREATE TABLE table_76589 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_76589 WHERE "High rebounds" = 'tyson chandler (6)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 755, 3914, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3959, 755, 3914, 549, 17444, 427, 96, 21417, 3, 23768, 121, 3274, 3, 31, 17, 63, 739, 3, 8694, 12807, 3, 18669, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What team was visiting on February 15?
CREATE TABLE table_name_85 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_85 WHERE date = "february 15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 3466, 155, 127, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 3644, 30, 2083, 627, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7019, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 833, 3274, 96, 89, 15, 9052, 1208, 627, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose discharge location is rehab/distinct part hosp and age is less than 54?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "REHAB/DISTINCT PART HOSP" AND demographic.age < "54"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 4386, 5478, 279, 87, 15438, 25424, 6227, 3, 19846, 3, 6299, ...
How many Points have a Date of march 19, 2009?
CREATE TABLE table_name_7 ( points VARCHAR, date VARCHAR )
SELECT COUNT(points) FROM table_name_7 WHERE date = "march 19, 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 979, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 43, 3, 9, 7678, 13, 10556, 12370, 2464, 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, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 833, 3274, 96, 51, 7064, 12370, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people witnessed their home team score 13.15 (93)?
CREATE TABLE table_78497 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MAX("Crowd") FROM table_78497 WHERE "Home team score" = '13.15 (93)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 591, 4327, 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, 4800, 4, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3940, 591, 4327, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 2368, 5, 1808, 14156, 5268, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What engine was used after 1984?
CREATE TABLE table_name_87 ( engine VARCHAR, year INTEGER )
SELECT engine FROM table_name_87 WHERE year > 1984
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 1948, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 47, 261, 227, 13480, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 215, 2490, 13480, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the entrant for all the round with Jean Alesi?
CREATE TABLE table_51605 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Entrant" FROM table_51605 WHERE "Rounds" = 'all' AND "Driver" = 'jean alesi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2938, 3076, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 16924, 3569, 121, 21680, 953, 834, 755, 2938, 3076, 549, 17444, 427, 96, 448, 32, 1106, 7, 121, 3274, 3, 31, 1748, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 26459, 4620, 23, 31, 1, -100, -100, -100, -100, -...
what is the total number of deanery as new haven ?
CREATE TABLE table_204_540 ( id number, "name" text, "town" text, "deanery" text, "vicariate" text, "founded" number, "original ethnic community" text )
SELECT COUNT("deanery") FROM table_204_540 WHERE "town" = 'new haven'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 25379, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 3540, 121, 1499, 6, 96, 221, 152, 4203, 121, 1499, 6, 96, 7287, 1665, 342, 121, 1499, 6, 96, 23329...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 221, 152, 4203, 8512, 21680, 953, 834, 26363, 834, 25379, 549, 17444, 427, 96, 3540, 121, 3274, 3, 31, 5534, 43, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who are all the candidates when Sam Rayburn was incumbent?
CREATE TABLE table_1342292_42 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342292_42 WHERE incumbent = "Sam Rayburn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2884, 4508, 834, 4165, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 66, 8, 4341, 116, 3084, 8279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4341, 21680, 953, 834, 23747, 2884, 4508, 834, 4165, 549, 17444, 427, 28406, 3274, 96, 134, 265, 8279, 7223, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many rebound did the person who scored 147 points have?
CREATE TABLE table_22824199_1 ( rebounds VARCHAR, points VARCHAR )
SELECT COUNT(rebounds) FROM table_22824199_1 WHERE points = 147
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 2266, 19479, 834, 536, 41, 3, 23768, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 20756, 410, 8, 568, 113, 5799, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 23768, 61, 21680, 953, 834, 357, 2577, 2266, 19479, 834, 536, 549, 17444, 427, 979, 3274, 3, 24719, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the number of silver when gold is less than 1 and bronze is 0 when total is less than 2
CREATE TABLE table_56944 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Silver") FROM table_56944 WHERE "Gold" < '1' AND "Bronze" = '0' AND "Total" < '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3951, 3628, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 173, 624, 8512, 21680, 953, 834, 755, 3951, 3628, 549, 17444, 427, 96, 23576, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 22780, 29, 776, 121, 3274, 3, 31, 632, 31, 3430, 96, 3696, 1947, 121...
Which opponent has an attendance of 17,015?
CREATE TABLE table_name_33 ( opponent VARCHAR, attendance VARCHAR )
SELECT opponent FROM table_name_33 WHERE attendance = "17,015"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 15264, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 15264, 65, 46, 11364, 13, 12864, 632, 1808, 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, 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, 15264, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 11364, 3274, 96, 2517, 6, 4542, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest Lane number of a person with a time of 55.94 with a Rank that's bigger than 8?
CREATE TABLE table_71939 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real )
SELECT MAX("Lane") FROM table_71939 WHERE "Time" > '55.94' AND "Rank" > '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2294, 3288, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 490, 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, 4800, 4, 599, 121, 434, 152, 15, 8512, 21680, 953, 834, 940, 2294, 3288, 549, 17444, 427, 96, 13368, 121, 2490, 3, 31, 3769, 5, 4240, 31, 3430, 96, 22557, 121, 2490, 3, 31, 927, 31, 1, -100, -100, -100, -100, -1...
Who has a react smaller than 0.149 and a lane smaller than 6?
CREATE TABLE table_name_23 ( name VARCHAR, react VARCHAR, lane VARCHAR )
SELECT name FROM table_name_23 WHERE react < 0.149 AND lane < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 564, 584, 4280, 28027, 6, 8922, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 3, 9, 8922, 2755, 145, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 8922, 3, 2, 4097, 24816, 3430, 3, 8102, 3, 2, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the winner after 2011?
CREATE TABLE table_name_81 ( winner VARCHAR, year INTEGER )
SELECT winner FROM table_name_81 WHERE year > 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 4668, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 227, 2722, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 215, 2490, 2722, 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...
In Pacifico Central where the rainfall by depth (mm/year) was 2801 what was the rainfall by volume?
CREATE TABLE table_25983027_1 ( rainfall_by_volume__km_3__year_ VARCHAR, rainfall_by_depth__mm_year_ VARCHAR )
SELECT rainfall_by_volume__km_3__year_ FROM table_25983027_1 WHERE rainfall_by_depth__mm_year_ = 2801
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3916, 1458, 2555, 834, 536, 41, 24801, 834, 969, 834, 23439, 834, 834, 5848, 834, 519, 834, 834, 1201, 834, 584, 4280, 28027, 6, 24801, 834, 969, 834, 10437, 834, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 24801, 834, 969, 834, 23439, 834, 834, 5848, 834, 519, 834, 834, 1201, 834, 21680, 953, 834, 1828, 3916, 1458, 2555, 834, 536, 549, 17444, 427, 24801, 834, 969, 834, 10437, 834, 834, 635, 834, 1201, 834, 3274, 2059, ...
What is the 2005 Lukoil oil prodroduction when in 2007 oil production 5.545 million tonnes?
CREATE TABLE table_name_88 (Id VARCHAR)
SELECT 2005 FROM table_name_88 WHERE 2007 = "5.545"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3105, 2318, 157, 32, 173, 1043, 813, 26, 52, 32, 8291, 116, 16, 4101, 1043, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3105, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 4101, 3274, 96, 15938, 2128, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...