NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
When Tom Watson placed t6, what was the 2 par?
CREATE TABLE table_name_35 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_35 WHERE place = "t6" AND player = "tom watson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 3059, 18763, 2681, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 286, 3274, 96, 17, 948, 121, 3430, 1959, 3274, 96, 235, 51, 8036, 17, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which points has the driver Paul Tracy?
CREATE TABLE table_name_56 ( points VARCHAR, driver VARCHAR )
SELECT points FROM table_name_56 WHERE driver = "paul tracy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 979, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 979, 65, 8, 2535, 1838, 29464, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2535, 3274, 96, 102, 9, 83, 3, 6471, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who directed the episode with a production code 3ADK-03?
CREATE TABLE table_17393 ( "No. in series" text, "No. in season" text, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text )
SELECT "Directed by" FROM table_17393 WHERE "Production code" = '3ADK-03'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3288, 519, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 4168, 5, 16, 774, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 15, 26, 57, 121, 21680, 953, 834, 2517, 3288, 519, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 6762, 439, 18, 4928, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the sub-parish (sokn) of Eikefjord?
CREATE TABLE table_178381_1 (sub_parish__sokn_ VARCHAR, location_of_the_church VARCHAR)
SELECT sub_parish__sokn_ FROM table_178381_1 WHERE location_of_the_church = "Eikefjord"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4591, 4959, 834, 536, 41, 7304, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 584, 4280, 28027, 6, 1128, 834, 858, 834, 532, 834, 28854, 584, 4280, 28027, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 769, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 21680, 953, 834, 2517, 4591, 4959, 834, 536, 549, 17444, 427, 1128, 834, 858, 834, 532, 834, 28854, 3274, 96, 427, 5208, 89, 12775, 26, 121, 1, -100, -100, -100, -...
the difference in passengers between los angeles and toronto
CREATE TABLE table_203_515 ( id number, "rank" number, "city" text, "passengers" number, "ranking" number, "airline" text )
SELECT (SELECT "passengers" FROM table_203_515 WHERE "city" = 'los angeles') - (SELECT "passengers" FROM table_203_515 WHERE "city" = 'toronto')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 1808, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 6726, 121, 1499, 6, 96, 3968, 4606, 277, 121, 381, 6, 96, 6254, 53, 121, 381, 6, 96, 2256, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 3968, 4606, 277, 121, 21680, 953, 834, 23330, 834, 755, 1808, 549, 17444, 427, 96, 6726, 121, 3274, 3, 31, 2298, 11831, 15, 7, 31, 61, 3, 18, 41, 23143, 14196, 96, 3968, 4606, 277, 121, 21680...
What's the school name in Balclutha that has a Decile of 7 and a roll larger than 186?
CREATE TABLE table_name_91 (name VARCHAR, roll VARCHAR, area VARCHAR, decile VARCHAR)
SELECT name FROM table_name_91 WHERE area = "balclutha" AND decile < 7 AND roll > 186
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 4350, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 616, 3274, 96, 3849, 10562, 189, 9, 121, 3430, 7908, 109, 3, 2, 489, 3430, 3812, 2490, 3, 25398, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many seats did the election before 2004 with 3.4% share of votes have?
CREATE TABLE table_name_72 (seats VARCHAR, election VARCHAR, share_of_votes VARCHAR)
SELECT seats FROM table_name_72 WHERE election < 2004 AND share_of_votes = "3.4%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 7, 1544, 7, 584, 4280, 28027, 6, 4356, 584, 4280, 28027, 6, 698, 834, 858, 834, 1621, 1422, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6116, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 4356, 3, 2, 4406, 3430, 698, 834, 858, 834, 1621, 1422, 3274, 96, 5787, 5988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
was patient 006-40255 allergic to any substance on their last hospital encounter?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, h...
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-40255' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospit...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 1006...
Name the total number for sub parish sokn for 1865
CREATE TABLE table_178408_1 ( sub_parish__sokn_ VARCHAR, year_built VARCHAR )
SELECT COUNT(sub_parish__sokn_) FROM table_178408_1 WHERE year_built = 1865
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4608, 4018, 834, 536, 41, 769, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 584, 4280, 28027, 6, 215, 834, 16152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7304, 834, 1893, 1273, 834, 834, 7, 1825, 29, 834, 61, 21680, 953, 834, 2517, 4608, 4018, 834, 536, 549, 17444, 427, 215, 834, 16152, 3274, 507, 4122, 1, -100, -100, -100, -100, -100, -100, -100, -...
Which year did Tony Bettenhausen complete more than 200 laps?
CREATE TABLE table_name_43 (year VARCHAR, laps INTEGER)
SELECT year FROM table_name_43 WHERE laps > 200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 1201, 584, 4280, 28027, 6, 14941, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 410, 9137, 9736, 35, 18535, 743, 72, 145, 2382, 14941...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 14941, 7, 2490, 2382, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose diagnoses icd9 code is v433 and drug type is main?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "V433" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the four for 6 march 1801
CREATE TABLE table_name_23 ( four VARCHAR, date VARCHAR )
SELECT four FROM table_name_23 WHERE date = "6 march 1801"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 662, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 662, 21, 431, 10556, 507, 4542, 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, 662, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 833, 3274, 96, 948, 10556, 507, 4542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What game in the genre of adventure, has a windows platform and its year is after 1997?
CREATE TABLE table_79494 ( "Year" real, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT "Game" FROM table_79494 WHERE "Year" > '1997' AND "Platform(s)" = 'windows' AND "Genre" = 'adventure'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3647, 591, 41, 96, 476, 2741, 121, 490, 6, 96, 23055, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 10146, 2032, 599, 7, 61, 121, 1499, 6, 96, 2962, 162, 8745, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 121, 21680, 953, 834, 4440, 3647, 591, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4327, 31, 3430, 96, 10146, 2032, 599, 7, 61, 121, 3274, 3, 31, 5165, 2381, 7, 31, 3430, 96, 13714, 60, 12...
What is the percentage for the team with a road record of 3-4 and a home record of 7-0?
CREATE TABLE table_23183195_2 (percentage VARCHAR, road_record VARCHAR, home_record VARCHAR)
SELECT percentage FROM table_23183195_2 WHERE road_record = "3-4" AND home_record = "7-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 24361, 22464, 834, 357, 41, 883, 3728, 545, 584, 4280, 28027, 6, 1373, 834, 60, 7621, 584, 4280, 28027, 6, 234, 834, 60, 7621, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5294, 21680, 953, 834, 2773, 24361, 22464, 834, 357, 549, 17444, 427, 1373, 834, 60, 7621, 3274, 96, 519, 18, 20364, 3430, 234, 834, 60, 7621, 3274, 96, 940, 18, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What was Anthony D. Marshall's title?
CREATE TABLE table_76341 ( "Name" text, "Background" text, "Title" text, "Appointment" text, "Presentation of Credentials" text )
SELECT "Title" FROM table_76341 WHERE "Name" = 'anthony d. marshall'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3710, 536, 41, 96, 23954, 121, 1499, 6, 96, 21106, 9232, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 188, 102, 2700, 297, 121, 1499, 6, 96, 10572, 5277, 257,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 3959, 3710, 536, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 152, 189, 106, 63, 3, 26, 5, 8113, 11516, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
participant has a urine albumin _ to _ creatinine ratio ( uacr ) < 300 mg / g at screening in a single urine specimen ( per national kidney foundation guideline ) .
CREATE TABLE table_train_255 ( "id" int, "ldl_cholesterol" int, "hemoglobin_a1c_hba1c" float, "body_weight" float, "urine_albumin_to_creatinine_ratio_uacr" int, "hba1c" float, "body_mass_index_bmi" float, "triglyceride_tg" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_255 WHERE urine_albumin_to_creatinine_ratio_uacr < 300
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 25502, 41, 96, 23, 26, 121, 16, 17, 6, 96, 40, 26, 40, 834, 14297, 2613, 3491, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 25502, 549, 17444, 427, 19981, 834, 23703, 77, 834, 235, 834, 5045, 144, 77, 630, 834, 6850, 32, 834, 76, 9, 75, 52, 3, 2, 3147, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the names and descriptions of the photos taken at the tourist attraction called 'film festival'.
CREATE TABLE royal_family ( royal_family_id number, royal_family_details text ) CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE ref_hotel_star_ratings ( star_rating_code text, star_rating_description text ) CREATE TABLE theme_parks ( theme_park_id number, ...
SELECT T1.name, T1.description FROM photos AS T1 JOIN tourist_attractions AS T2 ON T1.tourist_attraction_id = T2.tourist_attraction_id WHERE T2.name = "film festival"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11268, 834, 15474, 41, 11268, 834, 15474, 834, 23, 26, 381, 6, 11268, 834, 15474, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2692, 41, 8548, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6, 332, 5411, 221, 11830, 21680, 1302, 6157, 332, 536, 3, 15355, 3162, 8548, 834, 144, 10559, 7, 6157, 332, 357, 9191, 332, 5411, 17, 1211, 343, 834, 144, 10559, 834, 23, 26, 3274, 332, 4416, 17, ...
Which position has a Nationality of united states, and a Player of roger powell?
CREATE TABLE table_name_9 ( position VARCHAR, nationality VARCHAR, player VARCHAR )
SELECT position FROM table_name_9 WHERE nationality = "united states" AND player = "roger powell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 1102, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1102, 65, 3, 9, 868, 485...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1157, 485, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 3822, 49, 1977, 2091, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the constructor where the circuit is Silverstone?
CREATE TABLE table_name_8 ( constructor VARCHAR, circuit VARCHAR )
SELECT constructor FROM table_name_8 WHERE circuit = "silverstone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 6774, 127, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6774, 127, 213, 8, 4558, 19, 5642, 3009, 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, 6774, 127, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 4558, 3274, 96, 7, 173, 624, 3009, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the platform for the latest release 8.4?
CREATE TABLE table_47558 ( "Name" text, "Company" text, "Platform" text, "Latest stable release" text, "Price in USD" text )
SELECT "Platform" FROM table_47558 WHERE "Latest stable release" = '8.4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3072, 3449, 41, 96, 23954, 121, 1499, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 10146, 2032, 121, 1499, 6, 96, 3612, 4377, 5711, 1576, 121, 1499, 6, 96, 345, 4920, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10146, 2032, 121, 21680, 953, 834, 591, 3072, 3449, 549, 17444, 427, 96, 3612, 4377, 5711, 1576, 121, 3274, 3, 31, 927, 5, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most points for when tries against is 8
CREATE TABLE table_30386 ( "Team" text, "P" real, "W" real, "D" real, "L" real, "Tries for" real, "Tries against" real, "Try diff" text, "Points for" real, "Points against" real, "Points diff" text, "Pts" real )
SELECT MAX("Points for") FROM table_30386 WHERE "Tries against" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23335, 3840, 41, 96, 18699, 121, 1499, 6, 96, 345, 121, 490, 6, 96, 518, 121, 490, 6, 96, 308, 121, 490, 6, 96, 434, 121, 490, 6, 96, 382, 2593, 21, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22512, 7, 21, 8512, 21680, 953, 834, 23335, 3840, 549, 17444, 427, 96, 382, 2593, 581, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide me the location of admission and long title of diagnoses for patient with patient id 2560.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT demographic.admission_location, diagnoses.long_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "2560"
[ 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, 14798, 5, 9, 26, 5451, 834, 14836, 6, 18730, 7, 5, 2961, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 549, 174...
when was their first loss of the season ?
CREATE TABLE table_203_280 ( id number, "week" number, "date" text, "opponent" text, "result" text, "record" text, "game site" text, "tv time" text, "attendance" number, "bye" text )
SELECT "date" FROM table_203_280 WHERE "result" = 'l' ORDER BY id LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 17518, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 60, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5522, 121, 21680, 953, 834, 23330, 834, 17518, 549, 17444, 427, 96, 60, 7, 83, 17, 121, 3274, 3, 31, 40, 31, 4674, 11300, 272, 476, 3, 23, 26, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -...
What country has a score of 74-70=144
CREATE TABLE table_name_2 (country VARCHAR, score VARCHAR)
SELECT country FROM table_name_2 WHERE score = 74 - 70 = 144
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 17529, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3, 9, 2604, 13, 3, 4581, 18, 2518, 2423, 20885, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 2604, 3274, 3, 4581, 3, 18, 2861, 3274, 3, 20885, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what surface was the opponent Michael Berrer?
CREATE TABLE table_name_15 (surface VARCHAR, opponent VARCHAR)
SELECT surface FROM table_name_15 WHERE opponent = "michael berrer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 26899, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 1774, 47, 8, 15264, 2457, 5653, 52, 49, 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, 1774, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 15264, 3274, 96, 51, 362, 9, 15, 40, 3, 1152, 52, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Points is the highest one that has a Drawn smaller than 2, and a Name of esc holzkirchen, and Played smaller than 14?
CREATE TABLE table_name_91 ( points INTEGER, played VARCHAR, drawn VARCHAR, name VARCHAR )
SELECT MAX(points) FROM table_name_91 WHERE drawn < 2 AND name = "esc holzkirchen" AND played < 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 979, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 6796, 3, 2, 204, 3430, 564, 3274, 96, 1579, 3, 13085, 16089, 29, 121, 3430, 1944, 3, 2, 968, 1, -100, -100, -100, -100, -100, -100, -...
How much money did the company Neurotica request?
CREATE TABLE table_name_39 ( money_requested__£_ VARCHAR, company_or_product_name VARCHAR )
SELECT money_requested__£_ FROM table_name_39 WHERE company_or_product_name = "neurotica"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 584, 4280, 28027, 6, 349, 834, 127, 834, 15892, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 349, 834, 127, 834, 15892, 834, 4350, 3274, 96, 29, 1238, 9798, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Show me about the distribution of Date_of_Birth and Height in a bar chart, show X in descending order.
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate re...
SELECT Date_of_Birth, Height FROM people ORDER BY Date_of_Birth DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 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, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 24231, 21680, 151, 4674, 11300, 272, 476, 7678, 834, 858, 834, 279, 23, 52, 189, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which film did Al Mackay write?
CREATE TABLE table_name_8 ( film VARCHAR, writer_s_ VARCHAR )
SELECT film FROM table_name_8 WHERE writer_s_ = "al mackay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 814, 584, 4280, 28027, 6, 4346, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 814, 410, 901, 2143, 18075, 1431, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 814, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 4346, 834, 7, 834, 3274, 96, 138, 11486, 18075, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Visualize a bar chart for what are the nationalities and their average ages of journalists?, could you list Nationality from low to high order?
CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance...
SELECT Nationality, AVG(Age) FROM journalist GROUP BY Nationality ORDER BY Nationality
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 834, 60, 1493, 41, 9994, 834, 4309, 16, 17, 6, 8042, 834, 4309, 16, 17, 6, 3118, 834, 25160, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 9994, 41, 9994, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 868, 485, 6, 71, 17217, 599, 188, 397, 61, 21680, 9994, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 868, 485, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the ids and trade names of the medicine that can interact with at least 3 enzymes, and I want to list in descending by the y axis.
CREATE TABLE medicine ( id int, name text, Trade_Name text, FDA_approved text ) CREATE TABLE enzyme ( id int, name text, Location text, Product text, Chromosome text, OMIM int, Porphyria text ) CREATE TABLE medicine_enzyme_interaction ( enzyme_id int, medicine_id in...
SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4404, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 6550, 834, 23954, 1499, 6, 13648, 834, 24496, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 15735, 41, 3, 23, 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...
[ 3, 23143, 14196, 6550, 834, 23954, 6, 3, 23, 26, 21680, 4404, 6157, 332, 536, 3, 15355, 3162, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 6157, 332, 357, 9191, 332, 4416, 29368, 834, 23, 26, 3274, 332, 5411, 23, 26, 4674, 11300, 27...
which aiport is in the united kingdom and has iata of lcy?
CREATE TABLE table_name_58 ( airport VARCHAR, country VARCHAR, iata VARCHAR )
SELECT airport FROM table_name_58 WHERE country = "united kingdom" AND iata = "lcy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 3761, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 84, 3, 9, 23, 1493, 19, 16, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3761, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 14740, 121, 3430, 3, 17221, 3274, 96, 40, 75, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the names of the technicians and how many machines are they assigned to repair?
CREATE TABLE technician ( technician_id number, name text, team text, starting_year number, age number ) CREATE TABLE repair ( repair_id number, name text, launch_date text, notes text ) CREATE TABLE machine ( machine_id number, making_year number, class text, team ...
SELECT T2.name, COUNT(*) FROM repair_assignment AS T1 JOIN technician AS T2 ON T1.technician_id = T2.technician_id GROUP BY T2.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17730, 41, 17730, 834, 23, 26, 381, 6, 564, 1499, 6, 372, 1499, 6, 1684, 834, 1201, 381, 6, 1246, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2096, 41, 2096, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 2096, 834, 9, 7, 6732, 297, 6157, 332, 536, 3, 15355, 3162, 17730, 6157, 332, 357, 9191, 332, 5411, 3470, 7742, 152, 834, 23, 26, 3274, 332, 4416, 3470, 7742, ...
Whats the processor for p9xxx?
CREATE TABLE table_24100843_1 (processor VARCHAR, model__list_ VARCHAR)
SELECT processor FROM table_24100843_1 WHERE model__list_ = "P9xxx"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2915, 4608, 519, 834, 536, 41, 15056, 127, 584, 4280, 28027, 6, 825, 834, 834, 3350, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7, 8, 7502, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7502, 21680, 953, 834, 2266, 2915, 4608, 519, 834, 536, 549, 17444, 427, 825, 834, 834, 3350, 834, 3274, 96, 345, 1298, 226, 19230, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What score has Leicestershire as the opponent after 1906?
CREATE TABLE table_39632 ( "Score" text, "Opposition" text, "Venue" text, "City" text, "Year" real )
SELECT "Score" FROM table_39632 WHERE "Opposition" = 'leicestershire' AND "Year" > '1906'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 3891, 357, 41, 96, 134, 9022, 121, 1499, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 476, 2741, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3288, 3891, 357, 549, 17444, 427, 96, 667, 102, 4718, 121, 3274, 3, 31, 109, 867, 1370, 5718, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 2294, 5176, 31, 1, -100, -100, -100, ...
What is the lowest group number that has a Fraction less than 0.000748, a Half-Life of 55.72 and a Decay Constant larger than 0.012400000000000001?
CREATE TABLE table_name_99 (group INTEGER, decay_constant__s_−1__ VARCHAR, fraction VARCHAR, half_life__s_ VARCHAR)
SELECT MIN(group) FROM table_name_99 WHERE fraction < 0.000748 AND half_life__s_ = 55.72 AND decay_constant__s_−1__ > 0.012400000000000001
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 10739, 3, 21342, 17966, 6, 18907, 834, 8056, 3672, 834, 834, 7, 834, 2, 536, 834, 834, 584, 4280, 28027, 6, 12211, 584, 4280, 28027, 6, 985, 834, 4597,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10739, 61, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 12211, 3, 2, 3, 5311, 940, 3707, 3430, 985, 834, 4597, 834, 834, 7, 834, 3274, 6897, 5, 5865, 3430, 18907, 834, 8056, 3672, 834, 834, 7,...
What is the Tournament with a Margin of victory that was 4 strokes?
CREATE TABLE table_name_57 (tournament VARCHAR, margin_of_victory VARCHAR)
SELECT tournament FROM table_name_57 WHERE margin_of_victory = "4 strokes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 20502, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 591, 9529, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which program has 3.5 years?
CREATE TABLE table_69952 ( "Program" text, "Degree" text, "Teaching language" text, "Duration (years)" real, "full-time/part-time" text, "ECTS Credit Points" real )
SELECT "Program" FROM table_69952 WHERE "Duration (years)" = '3.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3301, 357, 41, 96, 3174, 5096, 121, 1499, 6, 96, 2962, 3584, 15, 121, 1499, 6, 96, 382, 15, 12076, 1612, 121, 1499, 6, 96, 12998, 2661, 41, 1201, 7, 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, 3174, 5096, 121, 21680, 953, 834, 3951, 3301, 357, 549, 17444, 427, 96, 12998, 2661, 41, 1201, 7, 61, 121, 3274, 3, 31, 9285, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score at North Shore Events Centre?
CREATE TABLE table_name_9 (score VARCHAR, venue VARCHAR)
SELECT score FROM table_name_9 WHERE venue = "north shore events centre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 7, 9022, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 44, 1117, 16002, 11137, 2969, 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, 2604, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 5669, 3274, 96, 29, 127, 189, 10433, 984, 2050, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is bronze when the rank is 3 and the total is more than 2?
CREATE TABLE table_name_24 ( bronze INTEGER, rank VARCHAR, total VARCHAR )
SELECT SUM(bronze) FROM table_name_24 WHERE rank = "3" AND total > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 13467, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 13467, 116, 8, 11003, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 11003, 3274, 96, 519, 121, 3430, 792, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number listed in from for the Krueppel Like Transcription Factors?
CREATE TABLE table_28965 ( "Detailed Family Information" text, "From" real, "To" real, "Anchor" real, "Orientation" text, "Conserved in Mus Musculus" text, "Matrix Sim" text, "Sequence" text, "Occurrence" real )
SELECT MIN("From") FROM table_28965 WHERE "Detailed Family Information" = 'Krueppel like transcription factors'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3914, 4122, 41, 96, 29872, 3712, 2784, 121, 1499, 6, 96, 22674, 121, 490, 6, 96, 3696, 121, 490, 6, 96, 188, 29, 19220, 121, 490, 6, 96, 16495, 257, 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, 3, 17684, 599, 121, 22674, 8512, 21680, 953, 834, 357, 3914, 4122, 549, 17444, 427, 96, 29872, 3712, 2784, 121, 3274, 3, 31, 439, 52, 76, 15, 6811, 40, 114, 20267, 2580, 31, 1, -100, -100, -100, -100, -100, -100, ...
Record of 11 12 involved what average attendance figures?
CREATE TABLE table_name_10 ( attendance INTEGER, record VARCHAR )
SELECT AVG(attendance) FROM table_name_10 WHERE record = "11–12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 11364, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 11392, 13, 850, 586, 1381, 125, 1348, 11364, 5638, 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, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 1368, 3274, 96, 2596, 104, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How much in average Loans Received has Contributions less than 34,986,088, Disbursements more than 251,093,944 for Dennis Kucinich with Operating Expenditures more than 3,638,219?
CREATE TABLE table_54360 ( "Candidate" text, "Contributions" real, "Loans Received" real, "All Receipts" real, "Operating Expenditures" real, "All Disbursements" real )
SELECT AVG("Loans Received") FROM table_54360 WHERE "Contributions" < '34,986,088' AND "All Disbursements" > '251,093,944' AND "Candidate" = 'dennis kucinich †' AND "Operating Expenditures" > '3,638,219'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 19208, 41, 96, 14050, 12416, 342, 121, 1499, 6, 96, 4302, 5135, 10872, 121, 490, 6, 96, 434, 32, 3247, 24083, 26, 121, 490, 6, 96, 6838, 7136, 15, 23, 102, 17, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 434, 32, 3247, 24083, 26, 8512, 21680, 953, 834, 5062, 19208, 549, 17444, 427, 96, 4302, 5135, 10872, 121, 3, 2, 3, 31, 3710, 6, 3916, 11071, 632, 4060, 31, 3430, 96, 6838, 2678, 5808, 7, 1042...
Which away team played against Peterborough United, with a tie no of replay?
CREATE TABLE table_name_85 ( away_team VARCHAR, tie_no VARCHAR, home_team VARCHAR )
SELECT away_team FROM table_name_85 WHERE tie_no = "replay" AND home_team = "peterborough united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 550, 834, 11650, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 60, 4895, 121, 3430, 234, 834, 11650, 3274, 96, 4995, 49, 12823, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -1...
How many games tied for the air force with over 57 years participating?
CREATE TABLE table_name_69 ( tied VARCHAR, mountain_west VARCHAR, years VARCHAR )
SELECT COUNT(tied) FROM table_name_69 WHERE mountain_west = "air force" AND years > 57
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 10422, 584, 4280, 28027, 6, 4180, 834, 12425, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 10422, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 17, 5973, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 4180, 834, 12425, 3274, 96, 2256, 2054, 121, 3430, 203, 2490, 3, 3436, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the issue price of a voyageur before 2006?
CREATE TABLE table_11557 ( "Year" real, "Theme" text, "Mintage" real, "Issue Price" text, "Finish" text )
SELECT "Issue Price" FROM table_11557 WHERE "Year" < '2006' AND "Theme" = 'voyageur'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 3436, 41, 96, 476, 2741, 121, 490, 6, 96, 634, 526, 121, 1499, 6, 96, 12858, 6505, 121, 490, 6, 96, 196, 7, 7, 76, 15, 5312, 121, 1499, 6, 96, 371, 77, 1273, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 196, 7, 7, 76, 15, 5312, 121, 21680, 953, 834, 15660, 3436, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 21196, 31, 3430, 96, 634, 526, 121, 3274, 3, 31, 9845, 545, 450, 31, 1, -100, -100, -100, -100,...
Which episodes did Nelson McCormick direct?
CREATE TABLE table_21631 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text )
SELECT "Written by" FROM table_21631 WHERE "Directed by" = 'Nelson McCormick'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27184, 3341, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24965, 324, 57, 121, 21680, 953, 834, 27184, 3341, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 567, 3573, 106, 7040, 127, 51, 3142, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the home team for Windy Hill?
CREATE TABLE table_name_87 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_87 WHERE venue = "windy hill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 372, 21, 5634, 63, 3588, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 5669, 3274, 96, 5165, 63, 9956, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the attendance of the North Melbourne's home game?
CREATE TABLE table_name_6 ( crowd VARCHAR, home_team VARCHAR )
SELECT COUNT(crowd) FROM table_name_6 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 4374, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 13, 8, 1117, 9396, 31, 7, 234, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is every species when Afinsa is 639?
CREATE TABLE table_1818471_1 (species VARCHAR, afinsa VARCHAR)
SELECT species FROM table_1818471_1 WHERE afinsa = 639
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 25987, 4450, 834, 536, 41, 7576, 725, 584, 4280, 28027, 6, 3729, 7, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 3244, 116, 24585, 7, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3244, 21680, 953, 834, 2606, 25987, 4450, 834, 536, 549, 17444, 427, 3729, 7, 9, 3274, 431, 3288, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest enrollment for Eastern Michigan University?
CREATE TABLE table_26351260_1 (enrollment INTEGER, institution VARCHAR)
SELECT MIN(enrollment) FROM table_26351260_1 WHERE institution = "Eastern Michigan University"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2469, 2122, 3328, 834, 536, 41, 35, 4046, 297, 3, 21342, 17966, 6, 6568, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 17938, 21, 7345, 5847, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 35, 4046, 297, 61, 21680, 953, 834, 2688, 2469, 2122, 3328, 834, 536, 549, 17444, 427, 6568, 3274, 96, 427, 9, 13072, 5847, 636, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how long was patient 011-54801's first hospital stay in the icu?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, ...
SELECT STRFTIME('%j', patient.unitdischargetime) - STRFTIME('%j', patient.unitadmittime) FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '011-54801') AND NOT patient.unitadmittime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 26, 159, 7993, 715, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 21680, 1868, 549, 17444, 427...
What is the country of the player moving from belgrano with a summer transfer window?
CREATE TABLE table_name_69 ( country VARCHAR, transfer_window VARCHAR, moving_from VARCHAR )
SELECT country FROM table_name_69 WHERE transfer_window = "summer" AND moving_from = "belgrano"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 684, 584, 4280, 28027, 6, 2025, 834, 5165, 2381, 584, 4280, 28027, 6, 1735, 834, 7152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 2025, 834, 5165, 2381, 3274, 96, 23541, 52, 121, 3430, 1735, 834, 7152, 3274, 96, 2370, 7662, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the English name of the country that has Ramallah as its capital?
CREATE TABLE table_7047 ( "English country name" text, "Arabic romanised country name" text, "Arabic country name" text, "English capital name" text, "Arabic romanised capital name" text, "Arabic capital name" text )
SELECT "English country name" FROM table_7047 WHERE "English capital name" = 'ramallah'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 4177, 41, 96, 26749, 684, 564, 121, 1499, 6, 96, 188, 7093, 447, 3408, 3375, 684, 564, 121, 1499, 6, 96, 188, 7093, 447, 684, 564, 121, 1499, 6, 96, 26749, 1784, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26749, 684, 564, 121, 21680, 953, 834, 2518, 4177, 549, 17444, 427, 96, 26749, 1784, 564, 121, 3274, 3, 31, 2375, 30157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose ethnicity is white and lab test name is protein/creatinine ratio?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.ethnicity = "WHITE" AND lab.label = "Protein/Creatinine Ratio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what builder is now retired
CREATE TABLE table_75586 ( "Name" text, "Pennant number" text, "Builder" text, "Laid Down" text, "Launched" text, "Commissioned" text, "Current status" text )
SELECT "Pennant number" FROM table_75586 WHERE "Current status" = 'retired'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 755, 3840, 41, 96, 23954, 121, 1499, 6, 96, 345, 35, 29, 288, 381, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 434, 6146, 7309, 121, 1499, 6, 96, 3612, 202, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 35, 29, 288, 381, 121, 21680, 953, 834, 3072, 755, 3840, 549, 17444, 427, 96, 254, 450, 5320, 2637, 121, 3274, 3, 31, 10682, 1271, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 2:00 pm, when 3:30 pm is 'Animaniacs (Mon-Thu) Pinky and The Brain (Fri)'?
CREATE TABLE table_61760 ( "7:30 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:00 pm" text, "3:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "2:00 pm" FROM table_61760 WHERE "3:30 pm" = 'animaniacs (mon-thu) pinky and the brain (fri)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 28212, 41, 96, 18078, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 24294, 183, 121, 1499, 6, 96, 29, 32, 106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24112, 6366, 121, 21680, 953, 834, 4241, 28212, 549, 17444, 427, 96, 27881, 6366, 121, 3274, 3, 31, 2738, 22463, 75, 7, 41, 2157, 18, 189, 76, 61, 5571, 63, 11, 8, 2241, 41, 89, 52, 23, 61, 31, 1, -100, -1...
What district is Wyatt Aiken in?
CREATE TABLE table_35259 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text )
SELECT "District" FROM table_35259 WHERE "Incumbent" = 'wyatt aiken'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 357, 3390, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 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, 23, 20066, 121, 21680, 953, 834, 2469, 357, 3390, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 210, 63, 144, 17, 3, 9, 23, 2217, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which status is 75.35 km2 and is named sussex?
CREATE TABLE table_43499 ( "Official Name" text, "Status" text, "Area km 2" real, "Population" real, "Census Ranking" text )
SELECT "Status" FROM table_43499 WHERE "Area km 2" < '75.35' AND "Official Name" = 'sussex'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3710, 3264, 41, 96, 667, 89, 22816, 5570, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 188, 864, 2280, 204, 121, 490, 6, 96, 27773, 7830, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 591, 3710, 3264, 549, 17444, 427, 96, 188, 864, 2280, 204, 121, 3, 2, 3, 31, 3072, 5, 2469, 31, 3430, 96, 667, 89, 22816, 5570, 121, 3274, 3, 31, 7, 302, 7, 994, ...
What country got accolades in 2002?
CREATE TABLE table_47650 ( "Year" real, "Publication" text, "Country" text, "Accolade" text, "Rank" real )
SELECT "Country" FROM table_47650 WHERE "Year" = '2002'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 15348, 41, 96, 476, 2741, 121, 490, 6, 96, 30931, 257, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 19543, 32, 14712, 121, 1499, 6, 96, 22557, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 4177, 15348, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 24898, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which title has a year prior to 2008 and xbox 360 as the platform?
CREATE TABLE table_name_31 (title VARCHAR, year VARCHAR, platform VARCHAR)
SELECT title FROM table_name_31 WHERE year < 2008 AND platform = "xbox 360"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 21869, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1585, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 65, 3, 9, 215, 1884, 12, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 215, 3, 2, 2628, 3430, 1585, 3274, 96, 226, 2689, 9181, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which championship had helena sukov tom nijssen as opponents in the final and nicole provis as partner, the surface was hard and the outcome was winner
CREATE TABLE table_1918850_2 ( championship VARCHAR, opponents_in_the_final VARCHAR, partner VARCHAR, outcome VARCHAR, surface VARCHAR )
SELECT championship FROM table_1918850_2 WHERE outcome = "Winner" AND surface = "Hard" AND partner = "Nicole Provis" AND opponents_in_the_final = "Helena Suková Tom Nijssen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2606, 17246, 834, 357, 41, 10183, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10183, 21680, 953, 834, 2294, 2606, 17246, 834, 357, 549, 17444, 427, 6138, 3274, 96, 18455, 687, 121, 3430, 1774, 3274, 96, 15537, 26, 121, 3430, 2397, 3274, 96, 21926, 15, 749, 3466, 121, 3430, 16383, 834, 77, 834, ...
Which winning driver of the Roussillon Grand Prix had an Alfa Romeo?
CREATE TABLE table_name_53 ( winning_driver VARCHAR, winning_constructor VARCHAR, name VARCHAR )
SELECT winning_driver FROM table_name_53 WHERE winning_constructor = "alfa romeo" AND name = "roussillon grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 138, 89, 9, 3, 11956, 32, 121, 3430, 564, 3274, 96, 8283, 7, 8901, 1907, 3407, 121, 1, -100, -100, -100, -...
What ordered has helena as the name?
CREATE TABLE table_name_87 ( ordered VARCHAR, name VARCHAR )
SELECT ordered FROM table_name_87 WHERE name = "helena"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5563, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5563, 65, 3, 88, 40, 35, 9, 38, 8, 564, 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, 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, 5563, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 564, 3274, 96, 88, 40, 35, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much money does player horton smith have?
CREATE TABLE table_name_62 ( money___$__ VARCHAR, player VARCHAR )
SELECT money___$__ FROM table_name_62 WHERE player = "horton smith"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 540, 405, 1959, 3, 141...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 834, 834, 3229, 834, 834, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 1959, 3274, 96, 14184, 106, 3, 16331, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the Chinese name of the wudaokou station?
CREATE TABLE table_14801 ( "Station No." real, "Station Name" text, "Chinese Name" text, "Travel Time (hrs)" text, "Distance (km)" real, "Transfers" text, "Location ( District )" text )
SELECT "Chinese Name" FROM table_14801 WHERE "Station Name" = 'wudaokou'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 4542, 41, 96, 134, 6821, 465, 535, 490, 6, 96, 134, 6821, 5570, 121, 1499, 6, 96, 3541, 4477, 15, 5570, 121, 1499, 6, 96, 9402, 4911, 2900, 41, 18745, 61, 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, 3541, 4477, 15, 5570, 121, 21680, 953, 834, 24748, 4542, 549, 17444, 427, 96, 134, 6821, 5570, 121, 3274, 3, 31, 210, 76, 26, 9, 12948, 76, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest number of caps of the fullback player born on 13 April 1983?
CREATE TABLE table_6067 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text )
SELECT MIN("Caps") FROM table_6067 WHERE "Position" = 'fullback' AND "Date of Birth (Age)" = '13 april 1983'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3708, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 308, 342, 13, 26337, 41, 188, 397, 61, 121, 1499, 6, 96, 19566, 7, 121, 490, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 19566, 7, 8512, 21680, 953, 834, 3328, 3708, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 1329, 40, 1549, 31, 3430, 96, 308, 342, 13, 26337, 41, 188, 397, 61, 121, 3274, 3, 31, ...
What season had a winning profit of $15,000?
CREATE TABLE table_2311410_1 ( season VARCHAR, winning_profit___aud__ VARCHAR )
SELECT season FROM table_2311410_1 WHERE winning_profit___aud__ = "$15,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 18959, 1714, 834, 536, 41, 774, 584, 4280, 28027, 6, 3447, 834, 6046, 834, 834, 834, 402, 26, 834, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 774, 21680, 953, 834, 2773, 18959, 1714, 834, 536, 549, 17444, 427, 3447, 834, 6046, 834, 834, 834, 402, 26, 834, 834, 3274, 96, 3229, 536, 5898, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the timeslor rank for the episode with larger than 2.9 rating, rating/share of 2.6/8 and rank for the night higher than 5?
CREATE TABLE table_57970 ( "Episode" real, "Rating" real, "Share" real, "Rating/share (18-49)" text, "Rank (Timeslot)" real, "Rank (Night)" real )
SELECT AVG("Rank (Timeslot)") FROM table_57970 WHERE "Rating" > '2.9' AND "Rating/share (18-49)" = '2.6/8' AND "Rank (Night)" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4440, 2518, 41, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 121, 490, 6, 96, 448, 1014, 87, 12484, 9323, 18, 3647, 61, 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, 71, 17217, 599, 121, 22557, 41, 13368, 7, 3171, 61, 8512, 21680, 953, 834, 755, 4440, 2518, 549, 17444, 427, 96, 448, 1014, 121, 2490, 3, 31, 27297, 31, 3430, 96, 448, 1014, 87, 12484, 9323, 18, 3647, 61, 121, 327...
What is the total played games of a 22 G.A.?
CREATE TABLE table_name_24 (played VARCHAR, ga VARCHAR)
SELECT COUNT(played) FROM table_name_24 WHERE ga = "22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 4895, 15, 26, 584, 4280, 28027, 6, 7922, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 1944, 1031, 13, 3, 9, 1630, 350, 5, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 7922, 3274, 96, 2884, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the location of the fight against Zaza Tkeshelashvili?
CREATE TABLE table_name_26 ( location VARCHAR, opponent VARCHAR )
SELECT location FROM table_name_26 WHERE opponent = "zaza tkeshelashvili"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1128, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 8, 2870, 581, 1027, 5246, 332, 7735, 88...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 15264, 3274, 96, 172, 5246, 3, 17, 7735, 88, 8058, 6372, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many were in the crowd when there was a game at Junction Oval?
CREATE TABLE table_name_88 ( crowd INTEGER, venue VARCHAR )
SELECT SUM(crowd) FROM table_name_88 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 4374, 3, 21342, 17966, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 130, 16, 8, 4374, 116, 132, 47, 3, 9, 467, 44, 2909...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the number of artists for each gender?
CREATE TABLE artist ( gender VARCHAR )
SELECT COUNT(*), gender FROM artist GROUP BY gender
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 7285, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 3153, 21, 284, 7285, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 201, 7285, 21680, 2377, 350, 4630, 6880, 272, 476, 7285, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score on 2 October 2011?
CREATE TABLE table_name_72 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_72 WHERE date = "2 october 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 30, 204, 1797, 2722, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 833, 3274, 96, 357, 3, 32, 75, 235, 1152, 2722, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the total when the gold is less than 0 and silver is less than 1?
CREATE TABLE table_79720 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Total") FROM table_79720 WHERE "Silver" = '1' AND "Gold" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 18517, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 4440, 18517, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 536, 31, 3430, 96, 23576, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -1...
What was the speed of the rider that earned 1 point?
CREATE TABLE table_33357 ( "Place" real, "Rider" text, "Country" text, "Machine" text, "Speed" text, "Time" text, "Points" real )
SELECT "Speed" FROM table_33357 WHERE "Points" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23360, 3436, 41, 96, 345, 11706, 121, 490, 6, 96, 448, 23, 588, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 329, 1836, 630, 121, 1499, 6, 96, 28328, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 28328, 121, 21680, 953, 834, 23360, 3436, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the PCT is 0.514, what was the minimum OTL?
CREATE TABLE table_1888165_1 (Otl INTEGER, PCt VARCHAR)
SELECT MIN(Otl) FROM table_1888165_1 WHERE PCt = 0.514
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 10927, 22823, 834, 536, 41, 667, 17, 40, 3, 21342, 17966, 6, 2104, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 2104, 382, 19, 3, 12100, 2534, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 667, 17, 40, 61, 21680, 953, 834, 536, 10927, 22823, 834, 536, 549, 17444, 427, 2104, 17, 3274, 3, 12100, 2534, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what's the number of hours that have passed since patient 013-38992 first stayed in ward 561 during this hospital visit?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime t...
SELECT 24 * (STRFTIME('%j', CURRENT_TIME()) - STRFTIME('%j', patient.unitadmittime)) FROM patient WHERE patient.uniquepid = '013-38992' AND patient.wardid = 561 AND patient.hospitaldischargetime IS NULL ORDER BY patient.unitadmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 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, 997, 1429, 41, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 3, 5211, 12224, 6431, 834, 382, 15382, 9960, 61, 3, 18, 3, 13733, 6245, 15382, 599, 31, 1454, 354, 31, 6, 1868, 5, 15129, 20466, 17, 715, 61, 61, 216...
what datasets were used by oren etzioni ?
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE writes ( paperid int, aut...
SELECT DISTINCT paperdataset.datasetid FROM author, paper, paperdataset, writes WHERE author.authorname = 'oren etzioni' AND paper.paperid = paperdataset.paperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 1846, 41, 1057, 23, 26, 16, 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, 3, 15438, 25424, 6227, 1040, 6757, 2244, 5, 6757, 2244, 23, 26, 21680, 2291, 6, 1040, 6, 1040, 6757, 2244, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 127, 35, 3, 6706, 23, 106, 23, 31, 3430, 1...
Name the year for points less than 20 and chassis of dallara 3087
CREATE TABLE table_70455 ( "Year" real, "Chassis" text, "Engine" text, "Tyres" text, "Points" real )
SELECT "Year" FROM table_70455 WHERE "Points" < '20' AND "Chassis" = 'dallara 3087'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 2128, 755, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 7, 121, 1499, 6, 96, 22512, 7, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 2518, 2128, 755, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 1755, 31, 3430, 96, 3541, 6500, 7, 121, 3274, 3, 31, 26, 1748, 2551, 604, 4225, 31, 1, -100, -100, -100, -...
What was the score of the game against the Braves with a record of 41–27?
CREATE TABLE table_name_25 (score VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT score FROM table_name_25 WHERE opponent = "braves" AND record = "41–27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 581,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 15264, 3274, 96, 1939, 162, 7, 121, 3430, 1368, 3274, 96, 4853, 104, 2555, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
On what surface was the tournament with opponents kathleen horvath marcella mesker in the finals?
CREATE TABLE table_name_1 ( surface VARCHAR, opponents_in_the_final VARCHAR )
SELECT surface FROM table_name_1 WHERE opponents_in_the_final = "kathleen horvath marcella mesker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 1774, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 1774, 47, 8, 5892, 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, 1774, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 1258, 189, 109, 35, 3, 107, 127, 900, 189, 14124, 5303, 140, 7, 2304, 121, 1, -100, -100, -100, -100, -100, -...
What is the highest Counties when Mitt Romney was the candidate with less than 0 delegates?
CREATE TABLE table_name_62 ( counties INTEGER, candidate VARCHAR, delegates VARCHAR )
SELECT MAX(counties) FROM table_name_62 WHERE candidate = "mitt romney" AND delegates < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 16227, 3, 21342, 17966, 6, 4775, 584, 4280, 28027, 6, 3, 22878, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 3, 10628, 725...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 13362, 725, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 4775, 3274, 96, 1538, 17, 3, 3522, 3186, 121, 3430, 3, 22878, 3, 2, 3, 632, 1, -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, give me the comparison about salary over the first_name by a bar chart.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25...
SELECT FIRST_NAME, SALARY 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, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 180, 4090, 24721, 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, 15610, 17966, 834,...
Position of fullback has what highest weight?
CREATE TABLE table_name_33 (weight INTEGER, position VARCHAR)
SELECT MAX(weight) FROM table_name_33 WHERE position = "fullback"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 9378, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 14258, 13, 423, 1549, 65, 125, 2030, 1293, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9378, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1102, 3274, 96, 1329, 40, 1549, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the least Wins in 1988?
CREATE TABLE table_name_19 ( wins INTEGER, year VARCHAR )
SELECT MIN(wins) FROM table_name_19 WHERE year = 1988
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 9204, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 709, 4871, 7, 16, 10414, 58, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 215, 3274, 10414, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What score has 1/22 as the date?
CREATE TABLE table_36709 ( "Date" text, "Opponent" text, "Score" text, "Record" text, "Television" text )
SELECT "Score" FROM table_36709 WHERE "Date" = '1/22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3708, 4198, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 382, 400, 6610, 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, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 519, 3708, 4198, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 17637, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Construction start of 1 december 1984 is what unit?
CREATE TABLE table_name_75 (unit VARCHAR, construction_start VARCHAR)
SELECT unit FROM table_name_75 WHERE construction_start = "1 december 1984"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 15129, 584, 4280, 28027, 6, 1449, 834, 10208, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8663, 456, 13, 209, 20, 75, 18247, 13480, 19, 125, 174...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1745, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 1449, 834, 10208, 3274, 96, 536, 20, 75, 18247, 13480, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What player has +3 to par and score of 75-72=147?
CREATE TABLE table_name_23 ( player VARCHAR, to_par VARCHAR, score VARCHAR )
SELECT player FROM table_name_23 WHERE to_par = "+3" AND score = 75 - 72 = 147
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1959, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1959, 65, 1768, 519, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 12, 834, 1893, 3274, 96, 1220, 519, 121, 3430, 2604, 3274, 6374, 3, 18, 9455, 3274, 3, 24719, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the BUSHI when it has kenny omega of yang (7:27)
CREATE TABLE table_52496 ( "Block A" text, "BLACK BUSHI" text, "BUSHI" text, "Kaz Hayashi" text, "Kenny Omega" text, "Minoru" text )
SELECT "BUSHI" FROM table_52496 WHERE "Kenny Omega" = 'yang (7:27)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 4314, 41, 96, 279, 4029, 71, 121, 1499, 6, 96, 8775, 15339, 272, 3063, 7094, 121, 1499, 6, 96, 279, 3063, 7094, 121, 1499, 6, 96, 439, 9, 172, 8567, 17155, 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, 279, 3063, 7094, 121, 21680, 953, 834, 755, 2266, 4314, 549, 17444, 427, 96, 439, 35, 29, 63, 20336, 121, 3274, 3, 31, 63, 1468, 13649, 10, 2555, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose hospital stay is above 16 days and with drug sw?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "16" AND prescriptions.drug = "SW"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and revenue , and group by attribute headquarter, and show by the Y from low to high.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter, T1.Name ORDER BY T2.Revenue
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 4416, 1649, 15098, 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, 3642, ...
What is the sum of share with a rating larger than 1.2, a 3 rank timeslot, and 6.07 million viewers?
CREATE TABLE table_name_42 ( share INTEGER, viewers__millions_ VARCHAR, rating VARCHAR, rank__timeslot_ VARCHAR )
SELECT SUM(share) FROM table_name_42 WHERE rating > 1.2 AND rank__timeslot_ = 3 AND viewers__millions_ = 6.07
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 698, 3, 21342, 17966, 6, 13569, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 5773, 584, 4280, 28027, 6, 11003, 834, 834, 715, 7, 3171, 834, 584, 4280,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 12484, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 5773, 2490, 3, 10917, 3430, 11003, 834, 834, 715, 7, 3171, 834, 3274, 220, 3430, 13569, 834, 834, 17030, 7, 834, 3274, 4357, 4560, 1, -10...
What is the lowest number of bronze medals for a country with less than 1 gold and 0 silver?
CREATE TABLE table_name_70 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT MIN(bronze) FROM table_name_70 WHERE gold = 1 AND silver < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 13467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 2045, 3274, 209, 3430, 4294, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What does American have if Australia has əʉ?
CREATE TABLE table_name_65 (american VARCHAR, australian VARCHAR)
SELECT american FROM table_name_65 WHERE australian = "əʉ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 23064, 29, 584, 4280, 28027, 6, 23407, 29, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 405, 797, 43, 3, 99, 2051, 65, 3, 2, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10211, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 23407, 29, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What aircraft has 129 made?
CREATE TABLE table_7969 ( "Aircraft" text, "Type" text, "Version" text, "Produced" text, "Quantity" text )
SELECT "Aircraft" FROM table_7969 WHERE "Quantity" = '129'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3951, 41, 96, 20162, 6696, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 5000, 1938, 121, 1499, 6, 96, 3174, 12160, 26, 121, 1499, 6, 96, 5991, 288, 485, 121, 1499, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 20162, 6696, 121, 21680, 953, 834, 4440, 3951, 549, 17444, 427, 96, 5991, 288, 485, 121, 3274, 3, 31, 22174, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart shows the distribution of ACC_Road and Team_ID , and group by attribute ACC_Home, and list x axis from high to low order.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY ACC_Home, ACC_Road ORDER BY ACC_Road DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 3, 14775, 834, 448, 32, 9, ...
does cats or chicago have the most comments ?
CREATE TABLE table_204_592 ( id number, "#" number, "title" text, "type" text, "opening\ndate" text, "closing\ndate" text, "performances" number, "comment" text )
SELECT "title" FROM table_204_592 WHERE "title" IN ('cats', 'chicago') ORDER BY LENGTH("comment") DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3390, 357, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 8751, 53, 2, 29, 5522, 121, 1499, 6, 96, 390...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21869, 121, 21680, 953, 834, 26363, 834, 3390, 357, 549, 17444, 427, 96, 21869, 121, 3388, 41, 31, 2138, 7, 31, 6, 3, 31, 1436, 658, 839, 31, 61, 4674, 11300, 272, 476, 301, 23182, 4611, 599, 121, 287, 297, ...
Show me about the distribution of family_name and author_id in a bar chart.
CREATE TABLE Students ( student_id INTEGER, date_of_registration DATETIME, date_of_latest_logon DATETIME, login_name VARCHAR(40), password VARCHAR(10), personal_name VARCHAR(40), middle_name VARCHAR(40), family_name VARCHAR(40) ) CREATE TABLE Subjects ( subject_id INTEGER, subje...
SELECT family_name, author_id FROM Course_Authors_and_Tutors ORDER BY personal_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4375, 41, 1236, 834, 23, 26, 3, 21342, 17966, 6, 833, 834, 858, 834, 5200, 257, 309, 6048, 382, 15382, 6, 833, 834, 858, 834, 521, 4377, 834, 2152, 106, 309, 6048, 382, 15382, 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, 1...
[ 3, 23143, 14196, 384, 834, 4350, 6, 2291, 834, 23, 26, 21680, 8670, 834, 23602, 127, 7, 834, 232, 834, 28676, 7, 4674, 11300, 272, 476, 525, 834, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
League apps (sub) maximum?
CREATE TABLE table_1112176_1 (league_apps__sub_ INTEGER)
SELECT MAX(league_apps__sub_) FROM table_1112176_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15866, 2658, 3959, 834, 536, 41, 29512, 834, 3096, 7, 834, 834, 7304, 834, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 3815, 4050, 41, 7304, 61, 2411, 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, 4800, 4, 599, 29512, 834, 3096, 7, 834, 834, 7304, 834, 61, 21680, 953, 834, 15866, 2658, 3959, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...