NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which strain has 1,312 genes?
CREATE TABLE table_name_50 ( strain VARCHAR, genes VARCHAR )
SELECT strain FROM table_name_50 WHERE genes = "1,312"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 6035, 584, 4280, 28027, 6, 13485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 6035, 65, 1914, 519, 2122, 13485, 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, 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, 6035, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 13485, 3274, 96, 4347, 519, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many series are named 'Lockdown'?
CREATE TABLE table_124 ( "Series #" real, "Episode #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT COUNT("Series #") FROM table_124 WHERE "Title" = 'Lockdown'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 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, 12106, 7, 1713, 8512, 21680, 953, 834, 22504, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 434, 3961, 3035, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What circuit features the placemakers v8 supercars race?
CREATE TABLE table_20884163_2 (circuit VARCHAR, race_title VARCHAR)
SELECT circuit FROM table_20884163_2 WHERE race_title = "PlaceMakers V8 Supercars"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4060, 4853, 3891, 834, 357, 41, 15357, 21560, 584, 4280, 28027, 6, 1964, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4558, 753, 8, 286, 8910, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4558, 21680, 953, 834, 1755, 4060, 4853, 3891, 834, 357, 549, 17444, 427, 1964, 834, 21869, 3274, 96, 345, 11706, 22638, 52, 7, 584, 927, 2011, 1720, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent in the game played after Week 4 on October 15, 2000?
CREATE TABLE table_name_37 ( opponent VARCHAR, week VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_37 WHERE week > 4 AND date = "october 15, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 15264, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 16, 8, 467, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 471, 2490, 314, 3430, 833, 3274, 96, 32, 75, 235, 1152, 10725, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which highest Points has a Score of 1–1 ot?
CREATE TABLE table_name_49 (points INTEGER, score VARCHAR)
SELECT MAX(points) FROM table_name_49 WHERE score = "1–1 ot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 2700, 7, 3, 21342, 17966, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2030, 4564, 7, 65, 3, 9, 17763, 13, 209, 104, 536, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2604, 3274, 96, 536, 104, 536, 3, 32, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who wrote season 10
CREATE TABLE table_17355743_1 (written_by VARCHAR, season__number VARCHAR)
SELECT written_by FROM table_17355743_1 WHERE season__number = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2469, 3436, 4906, 834, 536, 41, 14973, 834, 969, 584, 4280, 28027, 6, 774, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 2832, 774, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2517, 2469, 3436, 4906, 834, 536, 549, 17444, 427, 774, 834, 834, 5525, 1152, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many of patients who underwent the procedure titled open reduction of fracture with internal fixation, femur also had the lab test category as blood gas?
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,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Open reduction of fracture with internal fixation, femur" AND lab."CATEGORY" = "Blood Gas"
[ 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, 3388, 18206...
What week did they have a bye?
CREATE TABLE table_name_52 ( week VARCHAR, date VARCHAR )
SELECT week FROM table_name_52 WHERE date = "bye"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 471, 410, 79, 43, 3, 9, 57, 15, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 833, 3274, 96, 969, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who is the rb player from team oakland?
CREATE TABLE table_63004 ( "Pick" real, "Team" text, "Player" text, "Position" text, "College" text )
SELECT "Player" FROM table_63004 WHERE "Position" = 'rb' AND "Team" = 'oakland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26106, 6348, 41, 96, 345, 3142, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 26106, 6348, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 52, 115, 31, 3430, 96, 18699, 121, 3274, 3, 31, 32, 1639, 40, 232, 31, 1, -100, -100, -100, -100, -100, ...
Which edition released on 2007-06-07 has a Java EE compatibility of 5?
CREATE TABLE table_49694 ( "Product" text, "Vendor" text, "Edition" text, "Release date" text, "Java EE compatibility" text, "License" text )
SELECT "Edition" FROM table_49694 WHERE "Java EE compatibility" = '5' AND "Release date" = '2007-06-07'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 3951, 591, 41, 96, 3174, 7472, 121, 1499, 6, 96, 553, 989, 127, 121, 1499, 6, 96, 427, 10569, 121, 1499, 6, 96, 1649, 40, 14608, 833, 121, 1499, 6, 96, 683, 8644, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 10569, 121, 21680, 953, 834, 3647, 3951, 591, 549, 17444, 427, 96, 683, 8644, 3, 5080, 14235, 485, 121, 3274, 3, 31, 755, 31, 3430, 96, 1649, 40, 14608, 833, 121, 3274, 3, 31, 20615, 18, 5176, 18, 4560, ...
What is the cumulative time (min and seconds) that has more than 6 seconds in shuttle time and a total level time of 64.8 seconds?
CREATE TABLE table_9023 ( "Level" real, "Shuttles" real, "Cumulative Shuttles" real, "Speed (km/h)" real, "Shuttle Time (seconds)" real, "Total level time (s)" real, "Distance (m)" real, "Cumulative Distance (m)" real, "Cumulative Time (min and seconds)" text )
SELECT "Cumulative Time (min and seconds)" FROM table_9023 WHERE "Shuttle Time (seconds)" > '6' AND "Total level time (s)" = '64.8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 2773, 41, 96, 25465, 121, 490, 6, 96, 134, 13985, 17, 965, 121, 490, 6, 96, 15784, 4115, 1528, 28099, 7, 121, 490, 6, 96, 28328, 41, 5848, 87, 107, 61, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15784, 4115, 1528, 2900, 41, 1109, 11, 3978, 61, 121, 21680, 953, 834, 2394, 2773, 549, 17444, 427, 96, 10499, 76, 8692, 2900, 41, 12091, 7, 61, 121, 2490, 3, 31, 948, 31, 3430, 96, 3696, 1947, 593, 97, 41, ...
What is the instition where the main campus location is overland park?
CREATE TABLE table_12434380_1 ( institution VARCHAR, main_campus_location VARCHAR )
SELECT institution FROM table_12434380_1 WHERE main_campus_location = "Overland Park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22504, 3710, 22671, 834, 536, 41, 6568, 584, 4280, 28027, 6, 711, 834, 25532, 834, 14836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16, 7, 17, 474...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6568, 21680, 953, 834, 22504, 3710, 22671, 834, 536, 549, 17444, 427, 711, 834, 25532, 834, 14836, 3274, 96, 23847, 40, 232, 1061, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which model number has an order part number of TMDML44BKX5LD?
CREATE TABLE table_name_32 (model_number VARCHAR, order_part_number VARCHAR)
SELECT model_number FROM table_name_32 WHERE order_part_number = "tmdml44bkx5ld"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 21770, 834, 5525, 1152, 584, 4280, 28027, 6, 455, 834, 2274, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 825, 381, 65, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 825, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 455, 834, 2274, 834, 5525, 1152, 3274, 96, 17, 51, 26, 51, 40, 3628, 115, 157, 226, 755, 40, 26, 121, 1, -100, -100, -100, -100, -100, -100,...
When 120 is the number in series who is the writer?
CREATE TABLE table_2468961_7 ( written_by VARCHAR, no_in_series VARCHAR )
SELECT written_by FROM table_2468961_7 WHERE no_in_series = 120
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3651, 4314, 536, 834, 940, 41, 1545, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 5864, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1545, 834, 969, 21680, 953, 834, 2266, 3651, 4314, 536, 834, 940, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 5864, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
plot scatter on what are the id of each employee and the number of document destruction authorised by that employee?
CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) )...
SELECT Destruction_Authorised_by_Employee_ID, COUNT(*) FROM Documents_to_be_Destroyed GROUP BY Destruction_Authorised_by_Employee_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15871, 7, 41, 15871, 834, 4309, 3, 21342, 17966, 6, 2158, 109, 834, 22737, 3, 28027, 599, 1808, 201, 15871, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 350, 3868, 834, 329, 19813, 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, 2973, 26853, 834, 23602, 127, 3375, 834, 969, 834, 427, 51, 7379, 63, 15, 15, 834, 4309, 6, 2847, 17161, 599, 1935, 61, 21680, 11167, 7, 834, 235, 834, 346, 834, 2962, 6626, 10093, 350, 4630, 6880, 272, 476, 2973, ...
Where is the train going to when departing at 20.35?
CREATE TABLE table_18332845_2 (going_to VARCHAR, departure VARCHAR)
SELECT going_to FROM table_18332845_2 WHERE departure = "20.35"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24361, 28070, 2128, 834, 357, 41, 9545, 834, 235, 584, 4280, 28027, 6, 12028, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 19, 8, 2412, 352, 12, 116, 15407, 53,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 352, 834, 235, 21680, 953, 834, 24361, 28070, 2128, 834, 357, 549, 17444, 427, 12028, 3274, 96, 1755, 5, 2469, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the mean number of goals when the rank's less than 8 and there are 261 matches?
CREATE TABLE table_name_88 ( goals INTEGER, rank VARCHAR, matches VARCHAR )
SELECT AVG(goals) FROM table_name_88 WHERE rank < 8 AND matches = 261
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 1766, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 6407, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1243, 381, 13, 1766, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 11003, 3, 2, 505, 3430, 6407, 3274, 204, 4241, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the first name and office of history professor who did not get a Ph.D. degree.
CREATE TABLE department ( dept_code VARCHAR, dept_name VARCHAR ) CREATE TABLE professor ( prof_office VARCHAR, emp_num VARCHAR, dept_code VARCHAR, prof_high_degree VARCHAR ) CREATE TABLE employee ( emp_fname VARCHAR, emp_num VARCHAR )
SELECT T2.emp_fname, T1.prof_office FROM professor AS T1 JOIN employee AS T2 ON T1.emp_num = T2.emp_num JOIN department AS T3 ON T1.dept_code = T3.dept_code WHERE T3.dept_name = 'History' AND T1.prof_high_degree <> 'Ph.D.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4978, 584, 4280, 28027, 6, 20, 102, 17, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 7108, 834, 1963...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 15, 1167, 834, 89, 4350, 6, 332, 5411, 1409, 89, 834, 19632, 21680, 5812, 6157, 332, 536, 3, 15355, 3162, 3490, 6157, 332, 357, 9191, 332, 5411, 15, 1167, 834, 5525, 3274, 332, 4416, 15, 1167, 834, 5525, ...
Which venue has Tickets Sold/ Available with a Gross Revenue (1979) of $665,232?
CREATE TABLE table_name_26 ( tickets_sold___available VARCHAR, gross_revenue__1979_ VARCHAR )
SELECT tickets_sold___available FROM table_name_26 WHERE gross_revenue__1979_ = "$665,232"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 3500, 834, 7, 1490, 834, 834, 834, 28843, 584, 4280, 28027, 6, 8690, 834, 60, 15098, 834, 834, 2294, 4440, 834, 584, 4280, 28027, 3, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3500, 834, 7, 1490, 834, 834, 834, 28843, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 8690, 834, 60, 15098, 834, 834, 2294, 4440, 834, 3274, 96, 3229, 3539, 11116, 23188, 121, 1, -100, -100, -100, -100, -100, ...
What is the lowest pick for the Buffalo Bills?
CREATE TABLE table_name_60 ( pick INTEGER, team VARCHAR )
SELECT MIN(pick) FROM table_name_60 WHERE team = "buffalo bills"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 1432, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1432, 21, 8, 17563, 3259, 7, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 17967, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 372, 3274, 96, 115, 2999, 138, 32, 7200, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the high assists when the game was at American Airlines Center 20,223?
CREATE TABLE table_name_8 ( high_assists VARCHAR, location_attendance VARCHAR )
SELECT high_assists FROM table_name_8 WHERE location_attendance = "american airlines center 20,223"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 306, 13041, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 23064, 29, 19184, 1530, 16047, 357, 2773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the driver who had a final position of 14?
CREATE TABLE table_name_19 (driver VARCHAR, fin_pos VARCHAR)
SELECT driver FROM table_name_19 WHERE fin_pos = "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 13739, 52, 584, 4280, 28027, 6, 2202, 834, 2748, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2535, 113, 141, 3, 9, 804, 1102, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2202, 834, 2748, 3274, 96, 2534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name and salary of the instructors who are advisors of any student from History department?
CREATE TABLE instructor (name VARCHAR, salary VARCHAR, id VARCHAR); CREATE TABLE advisor (i_id VARCHAR, s_id VARCHAR); CREATE TABLE student (id VARCHAR, dept_name VARCHAR)
SELECT T2.name, T2.salary FROM advisor AS T1 JOIN instructor AS T2 ON T1.i_id = T2.id JOIN student AS T3 ON T1.s_id = T3.id WHERE T3.dept_name = 'History'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 4350, 584, 4280, 28027, 6, 9090, 584, 4280, 28027, 6, 3, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8815, 41, 23, 834, 23, 26, 584,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4350, 6, 332, 4416, 7, 138, 1208, 21680, 8815, 6157, 332, 536, 3, 15355, 3162, 10617, 6157, 332, 357, 9191, 332, 5411, 23, 834, 23, 26, 3274, 332, 4416, 23, 26, 3, 15355, 3162, 1236, 6157, 332, 519, 919...
What is the match report of the match on 20 August?
CREATE TABLE table_name_12 ( match_report VARCHAR, date VARCHAR )
SELECT match_report FROM table_name_12 WHERE date = "20 august"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1588, 834, 60, 1493, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1588, 934, 13, 8, 1588, 30, 460, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1588, 834, 60, 1493, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 833, 3274, 96, 1755, 14663, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which charts had debut sales of of more than 339333.011497678?
CREATE TABLE table_23180638_1 ( oricon_albums_chart VARCHAR, debut_sales__copies_ INTEGER )
SELECT oricon_albums_chart FROM table_23180638_1 WHERE debut_sales__copies_ > 339333.011497678
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2606, 5176, 3747, 834, 536, 41, 5322, 1018, 834, 23703, 7, 834, 4059, 17, 584, 4280, 28027, 6, 5695, 834, 7, 4529, 834, 834, 17634, 7, 834, 3, 21342, 17966, 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, 5322, 1018, 834, 23703, 7, 834, 4059, 17, 21680, 953, 834, 2773, 2606, 5176, 3747, 834, 536, 549, 17444, 427, 5695, 834, 7, 4529, 834, 834, 17634, 7, 834, 2490, 220, 3288, 23360, 5, 4542, 24816, 3959, 3940, 1, -100,...
What is the name of the primary with a DCSF number larger than 2337 and an Ofsted number smaller than 135339?
CREATE TABLE table_name_74 (name VARCHAR, ofsted_number VARCHAR, type VARCHAR, dcsf_number VARCHAR)
SELECT name FROM table_name_74 WHERE type = "primary" AND dcsf_number > 2337 AND ofsted_number < 135339
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 4350, 584, 4280, 28027, 6, 13, 6265, 834, 5525, 1152, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 3, 26, 75, 7, 89, 834, 5525, 1152, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 686, 3274, 96, 8234, 1208, 121, 3430, 3, 26, 75, 7, 89, 834, 5525, 1152, 2490, 1902, 4118, 3430, 13, 6265, 834, 5525, 1152, 3, 2, 1179, 4867, 3288, 1, -100, ...
What did the home team score against Fitzroy?
CREATE TABLE table_name_61 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team AS score FROM table_name_61 WHERE away_team = "fitzroy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 410, 8, 234, 372, 2604, 581, 9783, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 550, 834, 11650, 3274, 96, 89, 5615, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Occupational pensions of 7%, and a Working tax credit of 2%, and a Other social security benefits of 6% has what investment income?
CREATE TABLE table_35397 ( "Region" text, "Employment ( salaries & wages)" text, "Self employed" text, "Investment income" text, "Working tax credit" text, "State pensions" text, "Occupational pensions" text, "Disability benefits" text, "Other social security benefits" text, "Oth...
SELECT "Investment income" FROM table_35397 WHERE "Occupational pensions" = '7%' AND "Working tax credit" = '2%' AND "Other social security benefits" = '6%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 519, 4327, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 427, 51, 7379, 63, 297, 41, 21331, 3, 184, 15488, 61, 121, 1499, 6, 96, 134, 10386, 8152, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13898, 297, 2055, 121, 21680, 953, 834, 2469, 519, 4327, 549, 17444, 427, 96, 29195, 8645, 7, 121, 3274, 3, 31, 6170, 31, 3430, 96, 12492, 53, 1104, 998, 121, 3274, 3, 31, 5406, 31, 3430, 96, 667, 189, 49, 5...
Name the number of regular judge when host is bernie chan
CREATE TABLE table_1597866_3 (regular_judge VARCHAR, host VARCHAR)
SELECT COUNT(regular_judge) FROM table_1597866_3 WHERE host = "Bernie Chan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 21441, 3539, 834, 519, 41, 60, 122, 4885, 834, 354, 13164, 584, 4280, 28027, 6, 2290, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 1646, 5191,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 60, 122, 4885, 834, 354, 13164, 61, 21680, 953, 834, 1808, 21441, 3539, 834, 519, 549, 17444, 427, 2290, 3274, 96, 2703, 23752, 12402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many captains are in each rank.
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Rank, COUNT(*) FROM captain GROUP BY Rank
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 6, 2847, 17161, 599, 1935, 61, 21680, 14268, 350, 4630, 6880, 272, 476, 3, 22557, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the nurse has the most appointments?
CREATE TABLE procedures ( code number, name text, cost number ) CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE room ( roomnumber number, roomtype text, blockfloor number, blockcode number, unavailable ...
SELECT T1.name FROM nurse AS T1 JOIN appointment AS T2 ON T1.employeeid = T2.prepnurse GROUP BY T1.employeeid ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1081, 381, 6, 564, 1499, 6, 583, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10444, 41, 3490, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 3366, 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, 332, 5411, 4350, 21680, 10444, 6157, 332, 536, 3, 15355, 3162, 4141, 6157, 332, 357, 9191, 332, 5411, 15, 51, 7379, 63, 15, 15, 23, 26, 3274, 332, 4416, 2026, 102, 29, 3589, 15, 350, 4630, 6880, 272, 476, 332, 541...
What was the percentage in 2006 when in 2001 was 66.9 %?
CREATE TABLE table_22535 ( "Ethnic Group" text, "2001 (%)" text, "2001 (people)" text, "2006 (%)" text, "2006 (people)" real )
SELECT "2006 (%)" FROM table_22535 WHERE "2001 (%)" = '66.9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 2469, 41, 96, 427, 189, 2532, 1531, 121, 1499, 6, 96, 23658, 41, 6210, 121, 1499, 6, 96, 23658, 41, 16588, 61, 121, 1499, 6, 96, 21196, 41, 6210, 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, 21196, 41, 6210, 121, 21680, 953, 834, 20489, 2469, 549, 17444, 427, 96, 23658, 41, 6210, 121, 3274, 3, 31, 3539, 5, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average number of wins for Runcorn Highfield with more than 0 draws?
CREATE TABLE table_39499 ( "Season" text, "Team" text, "Wins" real, "Losses" real, "Draws" real )
SELECT AVG("Wins") FROM table_39499 WHERE "Team" = 'runcorn highfield' AND "Draws" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 591, 3264, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 18455, 7, 8512, 21680, 953, 834, 3288, 591, 3264, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 4312, 13165, 306, 1846, 31, 3430, 96, 308, 10936, 7, 121, 2490, 3, 31, 632, 31, 1, -100, -100, ...
what is the location of game 4?
CREATE TABLE table_name_20 (location VARCHAR, game VARCHAR)
SELECT location FROM table_name_20 WHERE game = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 14836, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1128, 13, 467, 314, 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, 1128, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 467, 3274, 314, 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,...
Which 1991 has an A 1993 ?
CREATE TABLE table_36304 ( "Tournament" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "1993" text, "1994" text, "1995" text, "1996" text, "1997" text, "1998" text )
SELECT "1991" FROM table_36304 WHERE "1993" = 'a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 23702, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 4060, 121, 1499, 6, 96, 2294, 3914, 121, 1499, 6, 96, 2294, 2394, 121, 1499, 6, 96, 2294, 4729, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2294, 4729, 121, 21680, 953, 834, 3420, 23702, 549, 17444, 427, 96, 2294, 4271, 121, 3274, 3, 31, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the coach with a w-l% greater than 0.516, a first yr before 1925, a yr plyf greater than 2, and a last yr in 1967?
CREATE TABLE table_44738 ( "Coach" text, "First Yr" real, "Last Yr" real, "W-L%" real, "G > .500" real, "Yr plyf" real, "G plyf" real, "W plyf" real, "L plyf" real )
SELECT "Coach" FROM table_44738 WHERE "W-L%" > '0.516' AND "First Yr" < '1925' AND "Yr plyf" > '2' AND "Last Yr" = '1967'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4177, 3747, 41, 96, 3881, 1836, 121, 1499, 6, 96, 25171, 3, 476, 52, 121, 490, 6, 96, 3612, 7, 17, 3, 476, 52, 121, 490, 6, 96, 518, 18, 434, 1454, 121, 490, 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, 3881, 1836, 121, 21680, 953, 834, 591, 4177, 3747, 549, 17444, 427, 96, 518, 18, 434, 1454, 121, 2490, 3, 31, 12100, 2938, 31, 3430, 96, 25171, 3, 476, 52, 121, 3, 2, 3, 31, 2294, 1828, 31, 3430, 96, 476, ...
Which Position has a School/Club Team of stanford?
CREATE TABLE table_name_15 (position VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_15 WHERE school_club_team = "stanford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 4718, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 3, 9, 1121, 87, 254, 11158,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 5627, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the total number from each flag, could you display bar from low to high order?
CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text ) CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text )
SELECT Flag, COUNT(*) FROM Ship GROUP BY Flag ORDER BY Flag
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 12202, 834, 4309, 16, 17, 6, 5570, 1499, 6, 15508, 834, 4309, 16, 17, 6, 1246, 1499, 6, 4501, 1499, 6, 3, 22557, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 17016, 6, 2847, 17161, 599, 1935, 61, 21680, 15508, 350, 4630, 6880, 272, 476, 17016, 4674, 11300, 272, 476, 17016, 1, -100, -100, -100, -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, visualize a bar chart about the distribution of last_name and department_id .
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 employees ( EMPLOYEE_ID decimal(6,0...
SELECT LAST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 12510, 834, 567, 17683, 6, 3396, 19846, 11810, 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, 283, ...
What was the average year that Xuxa 3 earned the certification 2x platinum, and that the sales were higher than 750,000?
CREATE TABLE table_15182 ( "Year" real, "\u00c1lbum" text, "Charts" text, "Sales" real, "Certification" text )
SELECT AVG("Year") FROM table_15182 WHERE "Certification" = '2x platinum' AND "\u00c1lbum" = 'xuxa 3' AND "Sales" > '750,000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 4613, 41, 96, 476, 2741, 121, 490, 6, 96, 2, 76, 1206, 75, 536, 40, 115, 440, 121, 1499, 6, 96, 18947, 17, 7, 121, 1499, 6, 96, 134, 4529, 121, 490, 6, 96, 254...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 476, 2741, 8512, 21680, 953, 834, 26578, 4613, 549, 17444, 427, 96, 254, 49, 17, 2420, 121, 3274, 3, 31, 357, 226, 26325, 31, 3430, 96, 2, 76, 1206, 75, 536, 40, 115, 440, 121, 3274, 3, 31, ...
Which Attendance is the lowest one that has a Venue of away, and a Date of 19?
CREATE TABLE table_34418 ( "Date" real, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text )
SELECT MIN("Attendance") FROM table_34418 WHERE "Venue" = 'away' AND "Date" = '19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3628, 2606, 41, 96, 308, 342, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 519, 3628, 2606, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 8006, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2294, 31, 1, -100, -10...
If the position is AM and the league is larger than 7.0, what is the total R number?
CREATE TABLE table ( r VARCHAR, position VARCHAR, AM VARCHAR, league VARCHAR )
SELECT COUNT(r) FROM table WHERE position = AM AND league > 7.0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 41, 3, 52, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 5422, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 1102, 19, 5422, 11, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 52, 61, 21680, 953, 549, 17444, 427, 1102, 3274, 5422, 3430, 5533, 2490, 3, 26346, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result of the 2007 AFC asian cup?
CREATE TABLE table_name_19 ( result VARCHAR, competition VARCHAR )
SELECT result FROM table_name_19 WHERE competition = "2007 afc asian cup"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 741, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 4101, 71, 5390, 3, 9, 10488, 4119, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2259, 3274, 96, 20615, 3, 9, 89, 75, 3, 9, 10488, 4119, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What gun has a time to feet ratio of 18.8 at 55 degrees?
CREATE TABLE table_16439764_1 ( gun VARCHAR, time_to_ft__m__at_55°__seconds_ VARCHAR )
SELECT gun FROM table_16439764_1 WHERE time_to_ft__m__at_55°__seconds_ = "18.8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4906, 4327, 4389, 834, 536, 41, 4740, 584, 4280, 28027, 6, 97, 834, 235, 834, 89, 17, 834, 834, 51, 834, 834, 144, 834, 3769, 1956, 834, 834, 12091, 7, 834, 584, 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, 4740, 21680, 953, 834, 2938, 4906, 4327, 4389, 834, 536, 549, 17444, 427, 97, 834, 235, 834, 89, 17, 834, 834, 51, 834, 834, 144, 834, 3769, 1956, 834, 834, 12091, 7, 834, 3274, 96, 2606, 5, 927, 121, 1, -100, -...
Name the high assists for score being l 98–118 (ot)
CREATE TABLE table_17102076_10 (high_assists VARCHAR, score VARCHAR)
SELECT high_assists FROM table_17102076_10 WHERE score = "L 98–118 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 1714, 1755, 3959, 834, 1714, 41, 6739, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 306, 13041, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 2517, 1714, 1755, 3959, 834, 1714, 549, 17444, 427, 2604, 3274, 96, 434, 3, 3916, 104, 20056, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the nationalities and ages of journalists?
CREATE TABLE journalist ( Nationality VARCHAR, Age VARCHAR )
SELECT Nationality, Age FROM journalist
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 9994, 41, 868, 485, 584, 4280, 28027, 6, 7526, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1157, 2197, 11, 3, 2568, 13, 16085, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 868, 485, 6, 7526, 21680, 9994, 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, -100, -100, -100, -100, -100...
Who were the middle school principal(s) in 2010-2011?
CREATE TABLE table_73721 ( "Year" text, "Superintendent" text, "Middlesex Principal" text, "Gorham Principal" text, "Middle School Principal" text, "High School Principal" text )
SELECT "Middle School Principal" FROM table_73721 WHERE "Year" = '2010-2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27931, 2658, 41, 96, 476, 2741, 121, 1499, 6, 96, 23290, 2429, 727, 295, 121, 1499, 6, 96, 329, 23, 8437, 7, 994, 15449, 121, 1499, 6, 96, 517, 127, 1483, 15449, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 23, 8437, 1121, 15449, 121, 21680, 953, 834, 27931, 2658, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 14926, 18, 13907, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
find out the primary disease and lab test ordered for patient wilbur braatz.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT demographic.diagnosis, lab.label FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.name = "Wilbur Braatz"
[ 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, 14798, 5, 25930, 4844, 159, 6, 7690, 5, 40, 10333, 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, 427, 14798, 5, 4350, 327...
Which date has a Terrain of plain stage, and a Stage of 4?
CREATE TABLE table_32382 ( "Stage" text, "Date" text, "Route" text, "Terrain" text, "Length" text, "Winner" text )
SELECT "Date" FROM table_32382 WHERE "Terrain" = 'plain stage' AND "Stage" = '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3747, 357, 41, 96, 134, 6505, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 448, 670, 15, 121, 1499, 6, 96, 382, 49, 6559, 121, 1499, 6, 96, 434, 4606, 189, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 2668, 3747, 357, 549, 17444, 427, 96, 382, 49, 6559, 121, 3274, 3, 31, 18689, 1726, 31, 3430, 96, 134, 6505, 121, 3274, 3, 31, 591, 31, 1, -100, -100, -100, -100, -100, -100, ...
What's the money ($) for the t3 place and the score of 74-74-71-69=288?
CREATE TABLE table_62654 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Money ( $ )" FROM table_62654 WHERE "Place" = 't3' AND "Score" = '74-74-71-69=288'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4122, 591, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9168, 15, 63, 41, 1514, 3, 61, 121, 21680, 953, 834, 4056, 4122, 591, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 17, 519, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 4581, 18, 4581, 18, 4450, 18, 39...
What is the lowest post number for calvin borel?
CREATE TABLE table_name_31 (post INTEGER, jockey VARCHAR)
SELECT MIN(post) FROM table_name_31 WHERE jockey = "calvin borel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 5950, 3, 21342, 17966, 6, 8624, 4397, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 442, 381, 21, 3, 1489, 2494, 18033, 40, 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, 3, 17684, 599, 5950, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 8624, 4397, 3274, 96, 1489, 2494, 18033, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Apogee, when Designation is Prognoz 6?
CREATE TABLE table_12859 ( "Designation" text, "Launch date/time ( GMT )" text, "Mass" text, "Apogee" text, "Inclination" text )
SELECT "Apogee" FROM table_12859 WHERE "Designation" = 'prognoz 6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2577, 3390, 41, 96, 19103, 257, 121, 1499, 6, 96, 3612, 202, 524, 833, 87, 715, 41, 22866, 3, 61, 121, 1499, 6, 96, 27189, 121, 1499, 6, 96, 188, 102, 32, 397, 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, 102, 32, 397, 15, 121, 21680, 953, 834, 536, 2577, 3390, 549, 17444, 427, 96, 19103, 257, 121, 3274, 3, 31, 1409, 6715, 172, 431, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average Total with a Rank greater than 1, and a Bronze larger than 8?
CREATE TABLE table_name_3 (total INTEGER, rank VARCHAR, bronze VARCHAR)
SELECT AVG(total) FROM table_name_3 WHERE rank > 1 AND bronze > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 235, 1947, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 9273, 28, 3, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 11003, 2490, 209, 3430, 13467, 2490, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many points on average are there for less than 5 games played?
CREATE TABLE table_name_84 ( points INTEGER, games_played INTEGER )
SELECT AVG(points) FROM table_name_84 WHERE games_played < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 979, 3, 21342, 17966, 6, 1031, 834, 4895, 15, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 30, 1348, 33, 132, 21, 705, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 1031, 834, 4895, 15, 26, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is that player from South Africa who had a total score under 293?
CREATE TABLE table_name_93 ( player VARCHAR, total VARCHAR, country VARCHAR )
SELECT player FROM table_name_93 WHERE total < 293 AND country = "south africa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 1959, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 24, 1959, 45, 1013, 2648, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 792, 3, 2, 204, 4271, 3430, 684, 3274, 96, 7, 670, 107, 24040, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average weight of a player who is less than 175 centimeters tall?
CREATE TABLE table_name_83 (weight__kg_ INTEGER, height__cm_ INTEGER)
SELECT AVG(weight__kg_) FROM table_name_83 WHERE height__cm_ < 175
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 9378, 834, 834, 8711, 834, 3, 21342, 17966, 6, 3902, 834, 834, 75, 51, 834, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1293,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 9378, 834, 834, 8711, 834, 61, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 3902, 834, 834, 75, 51, 834, 3, 2, 209, 3072, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were the opponents of the final on June 23, 2003?
CREATE TABLE table_56425 ( "Date" text, "Tournament" text, "Surface" text, "Partnering" text, "Opponents in the final" text, "Score" text )
SELECT "Opponents in the final" FROM table_56425 WHERE "Date" = 'june 23, 2003'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 591, 1828, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, 687, 53, 121, 1499, 6, 96, 667, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 7, 16, 8, 804, 121, 21680, 953, 834, 4834, 591, 1828, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 6959, 15, 12992, 3888, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the distinct payment method codes in all the invoices?
CREATE TABLE INVOICES (payment_method_code VARCHAR)
SELECT DISTINCT payment_method_code FROM INVOICES
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3388, 8040, 8906, 134, 41, 21752, 834, 23152, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 6746, 1942, 1573, 5633, 16, 66, 8, 10921, 7, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 15438, 25424, 6227, 1942, 834, 23152, 834, 4978, 21680, 3388, 8040, 8906, 134, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average age of patients whose primary disease is pneumonia human immunodeficiency virus but not tuberculosis and were admitted in or after year 2195?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "PNEUMONIA;HUMAN IMMUNODEFIENCY VIRUS;RULE OUT TUBERCULOSIS" AND demographic.admityear >= "2195"
[ 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, 25930, 4844, 159, 3274, 96, 15420, 12062, 5365, 26077, 117, 17861, 9312, 3, 5166, 9696, 7400, 5596, 4936, 5332, 17063, 584, 5705, 3063, ...
What is the Alpha 2 code for the area also known as TCA?
CREATE TABLE table_24888 ( "English short name (upper/lower case)" text, "Alpha-2 code" text, "Alpha-3 code" text, "Numeric code" real, "ISO 3166-2 codes" text )
SELECT "Alpha-2 code" FROM table_24888 WHERE "Alpha-3 code" = 'TCA'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 10927, 41, 96, 26749, 710, 564, 41, 15689, 87, 3216, 49, 495, 61, 121, 1499, 6, 96, 19240, 1024, 4949, 1081, 121, 1499, 6, 96, 19240, 1024, 3486, 1081, 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, 19240, 1024, 4949, 1081, 121, 21680, 953, 834, 2266, 10927, 549, 17444, 427, 96, 19240, 1024, 3486, 1081, 121, 3274, 3, 31, 3838, 188, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Outcome has a Score of 6–4, 2–6, 6–3?
CREATE TABLE table_name_86 (outcome VARCHAR, score VARCHAR)
SELECT outcome FROM table_name_86 WHERE score = "6–4, 2–6, 6–3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 670, 287, 15, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3387, 287, 15, 65, 3, 9, 17763, 13, 431, 104, 8525,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6138, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 2604, 3274, 96, 948, 104, 8525, 204, 104, 11071, 431, 104, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which team picked directly after the detroit lions chose gary steele ?
CREATE TABLE table_203_229 ( id number, "pick #" number, "nfl team" text, "player" text, "position" text, "college" text )
SELECT "nfl team" FROM table_203_229 WHERE "pick #" = (SELECT "pick #" FROM table_203_229 WHERE "nfl team" = 'detroit lions' AND "player" = 'gary steele') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 3166, 41, 3, 23, 26, 381, 6, 96, 17967, 1713, 121, 381, 6, 96, 29, 89, 40, 372, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 89, 40, 372, 121, 21680, 953, 834, 23330, 834, 357, 3166, 549, 17444, 427, 96, 17967, 1713, 121, 3274, 41, 23143, 14196, 96, 17967, 1713, 121, 21680, 953, 834, 23330, 834, 357, 3166, 549, 17444, 427, 96, 29,...
What is the Console when Space Invaders is the Arcade?
CREATE TABLE table_66312 ( "Year" text, "Arcade" text, "Standalone" text, "Console" text, "Computer" text )
SELECT "Console" FROM table_66312 WHERE "Arcade" = 'space invaders'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 519, 2122, 41, 96, 476, 2741, 121, 1499, 6, 96, 188, 52, 6615, 121, 1499, 6, 96, 134, 17, 232, 138, 782, 121, 1499, 6, 96, 4302, 10294, 121, 1499, 6, 96, 5890, 25...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 10294, 121, 21680, 953, 834, 3539, 519, 2122, 549, 17444, 427, 96, 188, 52, 6615, 121, 3274, 3, 31, 6633, 24281, 52, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many measures had a yes vote of 216545?
CREATE TABLE table_256286_39 (passed VARCHAR, yes_votes VARCHAR)
SELECT COUNT(passed) FROM table_256286_39 WHERE yes_votes = 216545
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4056, 3840, 834, 3288, 41, 3968, 15, 26, 584, 4280, 28027, 6, 4273, 834, 1621, 1422, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3629, 141, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3968, 15, 26, 61, 21680, 953, 834, 1828, 4056, 3840, 834, 3288, 549, 17444, 427, 4273, 834, 1621, 1422, 3274, 1401, 4122, 2128, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the finish associated with under 11 starts, a honda engine, before 2003?
CREATE TABLE table_37706 ( "Year" real, "Chassis" text, "Engine" text, "Start" real, "Finish" real, "Team" text )
SELECT AVG("Finish") FROM table_37706 WHERE "Start" < '11' AND "Engine" = 'honda' AND "Year" < '2003'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 2518, 948, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 7681, 17, 121, 490, 6, 96, 371, 77, 1273, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 371, 77, 1273, 8512, 21680, 953, 834, 4118, 2518, 948, 549, 17444, 427, 96, 7681, 17, 121, 3, 2, 3, 31, 2596, 31, 3430, 96, 31477, 121, 3274, 3, 31, 31782, 31, 3430, 96, 476, 2741, 121, 3, ...
What is the Singapore League Cup when rank is more than 4, and the S-League is 2 (12)?
CREATE TABLE table_name_50 (singapore_league_cup VARCHAR, rank VARCHAR, s_league VARCHAR)
SELECT singapore_league_cup FROM table_name_50 WHERE rank > 4 AND s_league = "2 (12)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 7, 53, 9, 21642, 834, 29512, 834, 4658, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 3, 7, 834, 29512, 584, 4280, 28027, 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, 10159, 9, 21642, 834, 29512, 834, 4658, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 11003, 2490, 314, 3430, 3, 7, 834, 29512, 3274, 96, 357, 16465, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player has a long of less than 15 and an average of 6 yards.
CREATE TABLE table_52822 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real )
SELECT "Player" FROM table_52822 WHERE "Long" < '15' AND "Avg." = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 2884, 41, 96, 15800, 49, 121, 1499, 6, 96, 1649, 75, 535, 490, 6, 96, 476, 986, 7, 121, 490, 6, 96, 188, 208, 122, 535, 490, 6, 96, 10494, 31, 7, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 755, 2577, 2884, 549, 17444, 427, 96, 434, 2444, 121, 3, 2, 3, 31, 1808, 31, 3430, 96, 188, 208, 122, 535, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest round number for the fight that had a time of 1:09?
CREATE TABLE table_name_12 ( round INTEGER, time VARCHAR )
SELECT MIN(round) FROM table_name_12 WHERE time = "1:09"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1751, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 1751, 381, 21, 8, 2870, 24, 141, 3, 9, 97, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 97, 3274, 96, 536, 10, 4198, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the weight in kg when the jockey was B. York?
CREATE TABLE table_23769 ( "Result" text, "Date" text, "Race" text, "Venue" text, "Group" text, "Distance" text, "Weight (kg)" text, "Jockey" text, "Winner/2nd" text )
SELECT "Weight (kg)" FROM table_23769 WHERE "Jockey" = 'B. York'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4118, 3951, 41, 96, 20119, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 448, 3302, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 27247, 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, 1326, 2632, 41, 8711, 61, 121, 21680, 953, 834, 357, 4118, 3951, 549, 17444, 427, 96, 683, 3961, 15, 63, 121, 3274, 3, 31, 279, 5, 1060, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who has a total of 272?
CREATE TABLE table_name_46 (player VARCHAR, total VARCHAR)
SELECT player FROM table_name_46 WHERE total = 272
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 20846, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 65, 3, 9, 792, 13, 2307, 357, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 792, 3274, 2307, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the lowest league goals when the league apps is 1 and the fa cup goals is more than 0?
CREATE TABLE table_name_1 ( league_goals INTEGER, league_apps VARCHAR, fa_cup_goals VARCHAR )
SELECT MIN(league_goals) FROM table_name_1 WHERE league_apps = "1" AND fa_cup_goals > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 5533, 834, 839, 5405, 3, 21342, 17966, 6, 5533, 834, 3096, 7, 584, 4280, 28027, 6, 3, 89, 9, 834, 4658, 834, 839, 5405, 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, 3, 17684, 599, 29512, 834, 839, 5405, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 5533, 834, 3096, 7, 3274, 96, 536, 121, 3430, 3, 89, 9, 834, 4658, 834, 839, 5405, 2490, 3, 632, 1, -100, -100, -100, -...
what is the goals scored when draw is less than 8, points is 19 and goals conceded is more than 26?
CREATE TABLE table_name_44 ( goals_scored INTEGER, goals_conceded VARCHAR, draw VARCHAR, points VARCHAR )
SELECT SUM(goals_scored) FROM table_name_44 WHERE draw < 8 AND points = 19 AND goals_conceded > 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 1766, 834, 3523, 1271, 3, 21342, 17966, 6, 1766, 834, 11620, 221, 26, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 6, 979, 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, 180, 6122, 599, 839, 5405, 834, 3523, 1271, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3314, 3, 2, 505, 3430, 979, 3274, 957, 3430, 1766, 834, 11620, 221, 26, 2490, 2208, 1, -100, -100, -100, -100, -100,...
Name the number for simon cellan jones
CREATE TABLE table_26914076_2 (no VARCHAR, directed_by VARCHAR)
SELECT no FROM table_26914076_2 WHERE directed_by = "Simon Cellan Jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4729, 2445, 3959, 834, 357, 41, 29, 32, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 21, 108, 2157, 2358, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 150, 21680, 953, 834, 2688, 4729, 2445, 3959, 834, 357, 549, 17444, 427, 6640, 834, 969, 3274, 96, 134, 23, 2157, 7845, 152, 6193, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which School/Club Team has a Player of deandre liggins?
CREATE TABLE table_name_34 ( school_club_team VARCHAR, player VARCHAR )
SELECT school_club_team FROM table_name_34 WHERE player = "deandre liggins"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1121, 87, 254, 11158, 2271, 65, 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, 496, 834, 13442, 834, 11650, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1959, 3274, 96, 221, 232, 60, 3, 2825, 19655, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What away team scored 18.14 (122)?
CREATE TABLE table_33144 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_33144 WHERE "Away team score" = '18.14 (122)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 20885, 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, 188, 1343, 372, 121, 21680, 953, 834, 4201, 20885, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2606, 5, 2534, 16465, 7318, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the replacced by with ascoli
CREATE TABLE table_17275810_7 (replaced_by VARCHAR, team VARCHAR)
SELECT replaced_by FROM table_17275810_7 WHERE team = "Ascoli"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2555, 3449, 1714, 834, 940, 41, 60, 4687, 26, 834, 969, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3852, 9700, 565, 26, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5821, 834, 969, 21680, 953, 834, 2517, 2555, 3449, 1714, 834, 940, 549, 17444, 427, 372, 3274, 96, 188, 7, 9044, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the lowest week for attedance less thaan 32,738
CREATE TABLE table_name_77 ( week INTEGER, attendance INTEGER )
SELECT MIN(week) FROM table_name_77 WHERE attendance < 32 OFFSET 738
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 471, 3, 21342, 17966, 6, 11364, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 7402, 471, 21, 44, 1054, 663, 705, 3, 189, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 11364, 3, 2, 3538, 3, 15316, 20788, 489, 3747, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position does Kerry Wood play in?
CREATE TABLE table_17051 ( "Player" text, "Position" text, "School" text, "Hometown" text, "MLB Draft" text )
SELECT "Position" FROM table_17051 WHERE "Player" = 'Kerry Wood'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3076, 536, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 6858, 279, 21409, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 2517, 3076, 536, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 439, 49, 651, 2985, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score for the game that is less than 4 and a high points of williams (28)?
CREATE TABLE table_name_40 ( score VARCHAR, game VARCHAR, high_points VARCHAR )
SELECT score FROM table_name_40 WHERE game < 4 AND high_points = "williams (28)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 2604, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 467, 3, 2, 314, 3430, 306, 834, 2700, 7, 3274, 96, 8894, 23, 265, 7, 4743, 13520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who got the pole position if the supporting is USAC National Midget Series?
CREATE TABLE table_27696 ( "Round" real, "Circuit" text, "Location" text, "Date" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Supporting" text )
SELECT "Pole position" FROM table_27696 WHERE "Supporting" = 'USAC National Midget Series'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3959, 4314, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 8931, 15, 1102, 121, 21680, 953, 834, 357, 3959, 4314, 549, 17444, 427, 96, 134, 413, 1493, 53, 121, 3274, 3, 31, 17663, 254, 868, 6650, 2782, 4531, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position is played by farmar, jordan jordan farmar?
CREATE TABLE table_name_29 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_29 WHERE player = "farmar, jordan jordan farmar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 19, 1944, 57, 623, 1635, 6, 3, 12775, 3768, 3, 12775, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 1959, 3274, 96, 5544, 1635, 6, 3, 12775, 3768, 3, 12775, 3768, 623, 1635, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest grid value with constructor Mclaren - Mercedes, driver David Coulthard, and has fewer than 66 laps?
CREATE TABLE table_name_99 (grid INTEGER, laps VARCHAR, constructor VARCHAR, driver VARCHAR)
SELECT MAX(grid) FROM table_name_99 WHERE constructor = "mclaren - mercedes" AND driver = "david coulthard" AND laps < 66
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 3496, 26, 3, 21342, 17966, 6, 14941, 7, 584, 4280, 28027, 6, 6774, 127, 584, 4280, 28027, 6, 2535, 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, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 6774, 127, 3274, 96, 51, 23982, 35, 3, 18, 3, 935, 565, 1395, 121, 3430, 2535, 3274, 96, 26, 9, 6961, 576, 83, 17, 5651, 121, 3430, ...
What is the date recorded for I Want to Be Free with a length of 2:12?
CREATE TABLE table_name_63 ( recorded VARCHAR, time VARCHAR, song_title VARCHAR )
SELECT recorded FROM table_name_63 WHERE time = "2:12" AND song_title = "i want to be free"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 4381, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 6, 2324, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 4381, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4381, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 97, 3274, 96, 357, 10, 2122, 121, 3430, 2324, 834, 21869, 3274, 96, 23, 241, 12, 36, 339, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the number of users who did not write any review.
CREATE TABLE review ( a_id number, u_id number, i_id number, rating number, rank number ) CREATE TABLE trust ( source_u_id number, target_u_id number, trust number ) CREATE TABLE useracct ( u_id number, name text ) CREATE TABLE item ( i_id number, title text )
SELECT COUNT(*) FROM useracct WHERE NOT u_id IN (SELECT u_id FROM review)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 3, 9, 834, 23, 26, 381, 6, 3, 76, 834, 23, 26, 381, 6, 3, 23, 834, 23, 26, 381, 6, 5773, 381, 6, 11003, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1139, 6004, 17, 549, 17444, 427, 4486, 3, 76, 834, 23, 26, 3388, 41, 23143, 14196, 3, 76, 834, 23, 26, 21680, 1132, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the name and the average gpa of department whose students have the highest average gpa?
CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, ...
SELECT T2.dept_name, AVG(T1.stu_gpa) FROM student AS T1 JOIN department AS T2 ON T1.dept_code = T2.dept_code GROUP BY T1.dept_code ORDER BY AVG(T1.stu_gpa) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 20, 102, 17, 834, 4978, 1499, 6, 20, 102, 17, 834, 4350, 1499, 6, 496, 834, 4978, 1499, 6, 8943, 834, 5525, 381, 6, 20, 102, 17, 834, 9, 26, 12039, 1499, 6, 20, 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, 332, 4416, 26, 6707, 834, 4350, 6, 71, 17217, 599, 382, 5411, 7, 17, 76, 834, 122, 102, 9, 61, 21680, 1236, 6157, 332, 536, 3, 15355, 3162, 3066, 6157, 332, 357, 9191, 332, 5411, 26, 6707, 834, 4978, 3274, 332, ...
provide the number of patients whose diagnoses short title is convulsions nec and lab test fluid is cerebrospinal fluid (csf)?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Convulsions NEC" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Who is enrolled in a Bachelor degree program? List the first name, middle name, last name.
CREATE TABLE Degree_Programs (degree_program_id VARCHAR, degree_summary_name VARCHAR); CREATE TABLE Students (first_name VARCHAR, middle_name VARCHAR, last_name VARCHAR, student_id VARCHAR); CREATE TABLE Student_Enrolment (student_id VARCHAR, degree_program_id VARCHAR)
SELECT DISTINCT T1.first_name, T1.middle_name, T1.last_name FROM Students AS T1 JOIN Student_Enrolment AS T2 ON T1.student_id = T2.student_id JOIN Degree_Programs AS T3 ON T2.degree_program_id = T3.degree_program_id WHERE T3.degree_summary_name = 'Bachelor'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15125, 834, 3174, 5096, 7, 41, 19706, 834, 1409, 5096, 834, 23, 26, 584, 4280, 28027, 6, 1952, 834, 4078, 51, 1208, 834, 4350, 584, 4280, 28027, 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, 332, 5411, 14672, 834, 4350, 6, 332, 5411, 51, 23, 8437, 834, 4350, 6, 332, 5411, 5064, 834, 4350, 21680, 4375, 6157, 332, 536, 3, 15355, 3162, 6341, 834, 8532, 3491, 297, 6157, 332, 357, 9191...
Which Song has a Weeks at number one larger than 2, and an Issue date(s) of 17 april - 8 may?
CREATE TABLE table_name_52 ( song VARCHAR, weeks_at_number_one VARCHAR, issue_date_s_ VARCHAR )
SELECT song FROM table_name_52 WHERE weeks_at_number_one > 2 AND issue_date_s_ = "17 april - 8 may"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 2324, 584, 4280, 28027, 6, 1274, 834, 144, 834, 5525, 1152, 834, 782, 584, 4280, 28027, 6, 962, 834, 5522, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2324, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1274, 834, 144, 834, 5525, 1152, 834, 782, 2490, 204, 3430, 962, 834, 5522, 834, 7, 834, 3274, 96, 2517, 3, 9, 2246, 40, 3, 18, 505, 164, 121, 1, -100, -1...
how many male patients have the drug code cefe1i?
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 prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.gender = "M" AND prescriptions.formulary_drug_cd = "CEFE1I"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the commissioned with a 636.3 project, and ordered status?
CREATE TABLE table_15394 ( "Operator" text, "Shipyard" text, "Project" text, "Commissioned" text, "Status" text )
SELECT "Commissioned" FROM table_15394 WHERE "Project" = '636.3' AND "Status" = 'ordered'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27025, 4240, 41, 96, 667, 883, 1016, 121, 1499, 6, 96, 134, 10462, 6636, 121, 1499, 6, 96, 3174, 11827, 121, 1499, 6, 96, 5890, 5451, 15, 26, 121, 1499, 6, 96, 134, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5890, 5451, 15, 26, 121, 21680, 953, 834, 27025, 4240, 549, 17444, 427, 96, 3174, 11827, 121, 3274, 3, 31, 3891, 27865, 31, 3430, 96, 134, 17, 144, 302, 121, 3274, 3, 31, 9397, 15, 26, 31, 1, -100, -100, -10...
For those records from the products and each product's manufacturer, show me about the distribution of name and code , and group by attribute name in a bar chart.
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 T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name
[ 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, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 2...
What is the name of the player with an overall less than 209 for the Victoriaville tigres (qmjhl), and a Round of 1?
CREATE TABLE table_52531 ( "Round" real, "Overall" real, "Player" text, "Nationality" text, "Club team" text )
SELECT "Player" FROM table_52531 WHERE "Overall" < '209' AND "Club team" = 'victoriaville tigres (qmjhl)' AND "Round" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 1828, 3341, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 254, 11158, 372, 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, 755, 1828, 3341, 549, 17444, 427, 96, 23847, 1748, 121, 3, 2, 3, 31, 357, 4198, 31, 3430, 96, 254, 11158, 372, 121, 3274, 3, 31, 7287, 3600, 9, 1420, 3, 2880, 60, 7, 41, 18...
Show the number of male and female assistant professors.
CREATE TABLE Faculty (sex VARCHAR, rank VARCHAR)
SELECT sex, COUNT(*) FROM Faculty WHERE rank = "AsstProf" GROUP BY sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 41, 7, 994, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 381, 13, 5069, 11, 3955, 6165, 5812, 7, 5, 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, 3, 7, 994, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 549, 17444, 427, 11003, 3274, 96, 188, 7, 7, 17, 23057, 121, 350, 4630, 6880, 272, 476, 3, 7, 994, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What shows for Tie no when Sheffield United was the Away team?
CREATE TABLE table_name_10 (tie_no VARCHAR, away_team VARCHAR)
SELECT tie_no FROM table_name_10 WHERE away_team = "sheffield united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 17, 23, 15, 834, 29, 32, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1267, 21, 2262, 15, 150, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 88, 89, 1846, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which producers produced the majority of songs on this record ?
CREATE TABLE table_204_74 ( id number, "#" number, "title" text, "producers" text, "guest performers" text, "length" text )
SELECT "producers" FROM table_204_74 GROUP BY "producers" ORDER BY COUNT("title") DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4581, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 1409, 4817, 277, 121, 1499, 6, 96, 15991, 17, 18700, 121, 1499, 6, 96, 1945...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1409, 4817, 277, 121, 21680, 953, 834, 26363, 834, 4581, 350, 4630, 6880, 272, 476, 96, 1409, 4817, 277, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 121, 21869, 8512, 309, 25067, 8729, 12604, 209, 1, -100, -100,...
What circuit was on June 1 with a class of both?
CREATE TABLE table_name_16 (circuit VARCHAR, class VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_16 WHERE class = "both" AND date = "june 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 15357, 21560, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4558, 47, 30, 1515, 209, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4558, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 853, 3274, 96, 17158, 121, 3430, 833, 3274, 96, 6959, 15, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients whose admission location is transfer from hosp/extram and primary disease is pneumonia;human immunodefiency virus;rule out tuberculosis?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "TRANSFER FROM HOSP/EXTRAM" AND demographic.diagnosis = "PNEUMONIA;HUMAN IMMUNODEFIENCY VIRUS;RULE OUT TUBERCULOSIS"
[ 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, 9, 26, 5451, 834, 14836, 3274, 96, 11359, 7369, 20805, 21680, 3, 6299, 4274, 87, 427, 4, 11359, ...
how many single patients had the drug route dwell?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.marital_status = "SINGLE" AND prescriptions.route = "DWELL"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the 2004 value for the 2009 Grand slam tournaments?
CREATE TABLE table_50259 ( "Tournament" text, "2002" text, "2003" text, "2004" text, "2005" text, "2006" text, "2007" text, "2008" text, "2009" text, "2010" text, "2011" text, "2012" text )
SELECT "2004" FROM table_50259 WHERE "2009" = 'grand slam tournaments'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 357, 3390, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 24898, 121, 1499, 6, 96, 23948, 121, 1499, 6, 96, 21653, 121, 1499, 6, 96, 22594, 121, 1499, 6, 96, 21196...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21653, 121, 21680, 953, 834, 1752, 357, 3390, 549, 17444, 427, 96, 16660, 121, 3274, 3, 31, 15448, 3, 7, 40, 265, 5892, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the value for Monday August 24 if Friday August 28 is 26' 04.60 86.814mph?
CREATE TABLE table_23465864_5 ( mon_24_aug VARCHAR, fri_28_aug VARCHAR )
SELECT mon_24_aug FROM table_23465864_5 WHERE fri_28_aug = "26' 04.60 86.814mph"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4448, 3449, 4389, 834, 755, 41, 1911, 834, 2266, 834, 402, 122, 584, 4280, 28027, 6, 9030, 834, 2577, 834, 402, 122, 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, 1911, 834, 2266, 834, 402, 122, 21680, 953, 834, 2773, 4448, 3449, 4389, 834, 755, 549, 17444, 427, 9030, 834, 2577, 834, 402, 122, 3274, 96, 2688, 31, 3, 14161, 3328, 3, 3840, 5, 927, 2534, 7656, 121, 1, -100, -1...