NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What date was the final Score of 17-34?
CREATE TABLE table_name_35 (date VARCHAR, final_score VARCHAR)
SELECT date FROM table_name_35 WHERE final_score = "17-34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 5522, 584, 4280, 28027, 6, 804, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 8, 804, 17763, 13, 1003, 18, 3710, 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, 833, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 804, 834, 7, 9022, 3274, 96, 2517, 3486, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what was the difference in points scored between the two teams in 1996 ?
CREATE TABLE table_204_790 ( id number, "year" number, "nw rank" number, "venue" text, "opp rank" number, "opponent" text, "score" text, "w/l" text, "round" text, "notes" text )
SELECT ABS("score" - "score") FROM table_204_790 WHERE "year" = 1996
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 940, 2394, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 29, 210, 11003, 121, 381, 6, 96, 15098, 121, 1499, 6, 96, 32, 1572, 11003, 121, 381, 6, 96, 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, 20798, 599, 121, 7, 9022, 121, 3, 18, 96, 7, 9022, 8512, 21680, 953, 834, 26363, 834, 940, 2394, 549, 17444, 427, 96, 1201, 121, 3274, 6911, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who did Tina Pisnik verse?
CREATE TABLE table_16644 ( "Edition" real, "Zone" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "Outcome" text, "Result" text )
SELECT "Against" FROM table_16644 WHERE "Opponent" = 'Tina Pisnik'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 3628, 41, 96, 427, 10569, 121, 490, 6, 96, 956, 782, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20749, 121, 21680, 953, 834, 26811, 3628, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 382, 77, 9, 2745, 7, 4953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the built when s.r. number is less than 2033, lb&sc number is less than 18, notes is i2 and withdrawal is cannot handle non-empty timestamp argument! 1935?
CREATE TABLE table_name_48 ( built VARCHAR, withdrawal VARCHAR, notes VARCHAR, sr_number VARCHAR, lb VARCHAR, sc_number VARCHAR )
SELECT built FROM table_name_48 WHERE sr_number < 2033 AND lb & sc_number < 18 AND notes = "i2" AND withdrawal = "cannot handle non-empty timestamp argument! 1935"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 1192, 584, 4280, 28027, 6, 11905, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 6, 3, 7, 52, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 40, 115, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1192, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 3, 7, 52, 834, 5525, 1152, 3, 2, 460, 4201, 3430, 3, 40, 115, 3, 184, 3, 7, 75, 834, 5525, 1152, 3, 2, 507, 3430, 3358, 3274, 96, 23, 357, 121, 3430, ...
In which competition was the score 3-0?
CREATE TABLE table_name_79 ( competition VARCHAR, score VARCHAR )
SELECT competition FROM table_name_79 WHERE score = "3-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 2259, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 2259, 47, 8, 2604, 3, 22773, 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, 2259, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 2604, 3274, 96, 22773, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What date was parliament assembled when John rudhale was first member?
CREATE TABLE table_15451122_2 ( assembled VARCHAR, first_member VARCHAR )
SELECT assembled FROM table_15451122_2 WHERE first_member = "John Rudhale"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 5553, 20889, 834, 357, 41, 17583, 584, 4280, 28027, 6, 166, 834, 12066, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 47, 20417, 17583, 116, 1079, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17583, 21680, 953, 834, 27308, 5553, 20889, 834, 357, 549, 17444, 427, 166, 834, 12066, 3274, 96, 18300, 17806, 3828, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients whose ethnicity is american indian/alaska native and drug type is additive?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.drug_type = "ADDITIVE"
[ 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...
how many end of term with age at inauguration being 64-066 64years, 66days
CREATE TABLE table_12134383_1 (end_of_term VARCHAR, age_at_inauguration VARCHAR)
SELECT COUNT(end_of_term) FROM table_12134383_1 WHERE age_at_inauguration = "64-066 64years, 66days"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2368, 4906, 4591, 834, 536, 41, 989, 834, 858, 834, 1987, 584, 4280, 28027, 6, 1246, 834, 144, 834, 30634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 989, 834, 858, 834, 1987, 61, 21680, 953, 834, 2122, 2368, 4906, 4591, 834, 536, 549, 17444, 427, 1246, 834, 144, 834, 30634, 3274, 96, 948, 26814, 3539, 6687, 1201, 7, 6, 3, 3539, 1135, 7, 121, ...
How many dollars is listed under Sydney when the distance is 10km?
CREATE TABLE table_2923917_4 (sydney VARCHAR, distance VARCHAR)
SELECT sydney FROM table_2923917_4 WHERE distance = "10km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 357, 3288, 2517, 834, 591, 41, 7, 63, 26, 3186, 584, 4280, 28027, 6, 2357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3740, 19, 2616, 365, 7476, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 7, 63, 26, 3186, 21680, 953, 834, 3166, 357, 3288, 2517, 834, 591, 549, 17444, 427, 2357, 3274, 96, 1714, 5848, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the sum of year for extra of junior team competition
CREATE TABLE table_name_31 (year INTEGER, extra VARCHAR)
SELECT SUM(year) FROM table_name_31 WHERE extra = "junior team competition"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 1201, 3, 21342, 17966, 6, 996, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 4505, 13, 215, 21, 996, 13, 9212, 372, 2259, 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, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 996, 3274, 96, 6959, 23, 127, 372, 2259, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many millions of north american viewers had the episode whose director was Michael Lembeck?
CREATE TABLE table_27714573_1 ( us_viewers__millions_ VARCHAR, directed_by VARCHAR )
SELECT us_viewers__millions_ FROM table_27714573_1 WHERE directed_by = "Michael Lembeck"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4450, 2128, 4552, 834, 536, 41, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 21680, 953, 834, 2555, 4450, 2128, 4552, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 329, 362, 9, 15, 40, 312, 51, 12993, 121, 1, -100, -100, -100, -100, -100...
Compare the total number of captains with different classes using a bar graph, show by the Class in ascending.
CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text )
SELECT Class, COUNT(Class) FROM captain GROUP BY Class ORDER BY Class
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15508, 41, 15508, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6632, 1499, 6, 14862, 834, 476, 2741, 490, 6, 4501, 1499, 6, 17016, 1499, 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, 4501, 6, 2847, 17161, 599, 21486, 61, 21680, 14268, 350, 4630, 6880, 272, 476, 4501, 4674, 11300, 272, 476, 4501, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the transliteration during the period covered is 1125-1223?
CREATE TABLE table_25013 ( "English name" text, "Georgian name" text, "Transliteration" text, "Date" text, "Author" text, "Period covered" text )
SELECT "Transliteration" FROM table_25013 WHERE "Period covered" = '1125-1223'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 2368, 41, 96, 26749, 564, 121, 1499, 6, 96, 517, 15, 127, 22898, 564, 121, 1499, 6, 96, 18474, 9842, 257, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 23602, 127,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18474, 9842, 257, 121, 21680, 953, 834, 11434, 2368, 549, 17444, 427, 96, 12988, 23, 32, 26, 2303, 121, 3274, 3, 31, 2596, 1828, 5947, 2773, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the report in Buenos Aires?
CREATE TABLE table_52281 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Report" FROM table_52281 WHERE "Location" = 'buenos aires'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 2577, 536, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 1493, 121, 21680, 953, 834, 5373, 2577, 536, 549, 17444, 427, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 3007, 15, 4844, 3, 4803, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Margin of victory has a Year larger than 1994, and a To par of 14, and a Score of 69-67-69-69=274?
CREATE TABLE table_39229 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "To par" text, "Margin of victory" text )
SELECT "Margin of victory" FROM table_39229 WHERE "Year" > '1994' AND "To par" = '–14' AND "Score" = '69-67-69-69=274'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 3166, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 6203, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7286, 122, 77, 13, 6224, 121, 21680, 953, 834, 3288, 357, 3166, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 4240, 31, 3430, 96, 3696, 260, 121, 3274, 3, 31, 104, 2534, 31, 3430, 96, 134, 9022, 12...
What is the size of the 2009 electorate for Gwalior Rural?
CREATE TABLE table_name_94 (number_of_electorates__2009_ VARCHAR, name VARCHAR)
SELECT number_of_electorates__2009_ FROM table_name_94 WHERE name = "gwalior rural"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 381, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 564, 3274, 96, 122, 5380, 23, 127, 5372, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many patients receiving inhalation therapy were born before the year 2167?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dob_year < "2167" AND prescriptions.route = "INHALATION"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the attendance for the date of 11/11/01?
CREATE TABLE table_name_19 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_19 WHERE date = "11/11/01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11364, 21, 8, 833, 13, 850, 20223, 87, 4542, 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, 11364, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 833, 3274, 96, 2596, 20223, 87, 4542, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In the match where fitzroy was the away team, where was the venue?
CREATE TABLE table_55584 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_55584 WHERE "Away team" = 'fitzroy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28803, 4608, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 28803, 4608, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 89, 5615, 8170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many records have black knights points as 17?
CREATE TABLE table_21091162_1 (record VARCHAR, black_knights_points VARCHAR)
SELECT COUNT(record) FROM table_21091162_1 WHERE black_knights_points = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 17304, 20159, 357, 834, 536, 41, 60, 7621, 584, 4280, 28027, 6, 1001, 834, 157, 7602, 7, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 7621, 61, 21680, 953, 834, 357, 17304, 20159, 357, 834, 536, 549, 17444, 427, 1001, 834, 157, 7602, 7, 834, 2700, 7, 3274, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many draws did the game after game 14 with goal gain 17 have?
CREATE TABLE table_33190 ( "Team" text, "Game" real, "Draw" real, "Loss" real, "Goal Gain" real, "Goal Loss" real, "Goal Diff" real, "Point" real )
SELECT MAX("Draw") FROM table_33190 WHERE "Goal Gain" = '17' AND "Game" > '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 11776, 41, 96, 18699, 121, 1499, 6, 96, 23055, 121, 490, 6, 96, 308, 10936, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 6221, 138, 22097, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 308, 10936, 8512, 21680, 953, 834, 4201, 11776, 549, 17444, 427, 96, 6221, 138, 22097, 121, 3274, 3, 31, 2517, 31, 3430, 96, 23055, 121, 2490, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -...
Which team was played against in game 4?
CREATE TABLE table_name_40 (team VARCHAR, game VARCHAR)
SELECT team FROM table_name_40 WHERE game = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 11650, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 47, 1944, 581, 16, 467, 314, 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, 372, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 467, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the timeslot for the episode that aired April 28, 2009?
CREATE TABLE table_name_26 ( timeslot VARCHAR, air_date VARCHAR )
SELECT timeslot FROM table_name_26 WHERE air_date = "april 28, 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 648, 3171, 584, 4280, 28027, 6, 799, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 648, 3171, 21, 8, 5640, 24, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 648, 3171, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 799, 834, 5522, 3274, 96, 9, 2246, 40, 13719, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many games drawn for the team that lost 11 and had 748 points?
CREATE TABLE table_1676073_12 (drawn VARCHAR, lost VARCHAR, points_for VARCHAR)
SELECT drawn FROM table_1676073_12 WHERE lost = "11" AND points_for = "748"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 28212, 4552, 834, 2122, 41, 19489, 29, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6796, 21680, 953, 834, 2938, 28212, 4552, 834, 2122, 549, 17444, 427, 1513, 3274, 96, 2596, 121, 3430, 979, 834, 1161, 3274, 96, 940, 3707, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
pregnant or planning to become pregnant within 6 months
CREATE TABLE table_train_187 ( "id" int, "pregnancy_or_lactation" bool, "renal_disease" bool, "diabetic" string, "liver_disease" bool, "NOUSE" float )
SELECT * FROM table_train_187 WHERE pregnancy_or_lactation = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 25828, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 1536, 138, 834, 26, 159, 14608, 121, 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, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 25828, 549, 17444, 427, 8999, 834, 127, 834, 9700, 6821, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Grid has more than 8 Laps, and a Manufacturer of honda, and a Time/Retired of retirement?
CREATE TABLE table_name_61 (grid VARCHAR, time_retired VARCHAR, laps VARCHAR, manufacturer VARCHAR)
SELECT grid FROM table_name_61 WHERE laps > 8 AND manufacturer = "honda" AND time_retired = "retirement"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 3496, 26, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 4818, 584, 4280, 28027, 61, 3, 32102, 32103, 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, 8634, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 14941, 7, 2490, 505, 3430, 4818, 3274, 96, 31782, 121, 3430, 97, 834, 10682, 1271, 3274, 96, 10682, 60, 297, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What was the earliest week the Titans played at Ford Field?
CREATE TABLE table_name_62 ( week INTEGER, game_site VARCHAR )
SELECT MIN(week) FROM table_name_62 WHERE game_site = "ford field"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 471, 3, 21342, 17966, 6, 467, 834, 3585, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 16454, 471, 8, 13622, 7, 1944, 44, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 467, 834, 3585, 3274, 96, 2590, 1057, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the report corresponding to the game that had the Townsville Crocodiles as home team?
CREATE TABLE table_name_59 (report VARCHAR, home_team VARCHAR)
SELECT report FROM table_name_59 WHERE home_team = "townsville crocodiles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 60, 1493, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 934, 3, 9921, 12, 8, 467, 24, 141, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3540, 9727, 3, 2771, 509, 26, 699, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which country had the most athletes ?
CREATE TABLE table_204_893 ( id number, "rank" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT "nationality" FROM table_204_893 GROUP BY "nationality" ORDER BY COUNT("name") DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3914, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 7977, 7, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 16557, 485, 121, 21680, 953, 834, 26363, 834, 3914, 519, 350, 4630, 6880, 272, 476, 96, 16557, 485, 121, 4674, 11300, 272, 476, 2847, 17161, 599, 121, 4350, 8512, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100,...
What are the different main industries for all companies?
CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, market_value number ) CREATE TABLE gas_station ( station_id number, open_year number, location...
SELECT DISTINCT main_industry FROM company
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 349, 834, 23, 26, 381, 6, 11003, 381, 6, 349, 1499, 6, 13767, 1499, 6, 711, 834, 13580, 7, 8224, 1499, 6, 1085, 834, 115, 14916, 381, 6, 9613, 834, 115, 14916, 381, 6, 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, 3, 15438, 25424, 6227, 711, 834, 13580, 7, 8224, 21680, 349, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, find job_id and the average of employee_id , and group by attribute job_id, and visualize them by a bar chart, I want to display from low to high by the y axis.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal...
SELECT JOB_ID, AVG(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 GROUP BY JOB_ID ORDER BY AVG(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, ...
what's the province where member is frederick merriman category:articles with hcards
CREATE TABLE table_377 ( "Member" text, "Electorate" text, "Province" text, "MPs term" text, "Election date" text )
SELECT "Province" FROM table_377 WHERE "Member" = 'Frederick Merriman Category:Articles with hCards'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4013, 41, 96, 329, 18247, 121, 1499, 6, 96, 21543, 127, 342, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 5244, 7, 1657, 121, 1499, 6, 96, 427, 12252, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2494, 565, 121, 21680, 953, 834, 519, 4013, 549, 17444, 427, 96, 329, 18247, 121, 3274, 3, 31, 371, 1271, 15, 5206, 24330, 348, 17459, 10, 7754, 447, 965, 28, 3, 107, 6936, 26, 7, 31, 1, -100, -100, -1...
What is the relationship between People_ID and Total ?
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Birth_Date text, Birth_Place text ) CREATE TABLE body_builder ( Body_Builder_ID int, People_ID int, Snatch real, Clean_Jerk real, Total real )
SELECT People_ID, Total FROM body_builder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 26337, 834, 308, 342, 1499, 6, 26337, 834, 345, 11706, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 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, 2449, 834, 4309, 6, 9273, 21680, 643, 834, 16422, 49, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of yachts launched in 2001 ?
CREATE TABLE table_204_431 ( id number, "yacht" text, "nation" text, "owner" text, "skipper" text, "launch year" number )
SELECT COUNT("yacht") FROM table_204_431 WHERE "launch year" = 2001
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 591, 3341, 41, 3, 23, 26, 381, 6, 96, 63, 9, 3997, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 13238, 121, 1499, 6, 96, 4009, 8153, 121, 1499, 6, 96, 274...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 63, 9, 3997, 8512, 21680, 953, 834, 26363, 834, 591, 3341, 549, 17444, 427, 96, 27493, 215, 121, 3274, 4402, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What release date has 6998 as the production num.?
CREATE TABLE table_66386 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text )
SELECT "Release date" FROM table_66386 WHERE "Production Num." = '6998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 519, 3840, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 1174, 51, 535, 1499, 6, 96, 1649, 40, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 40, 14608, 833, 121, 21680, 953, 834, 3539, 519, 3840, 549, 17444, 427, 96, 3174, 8291, 1174, 51, 535, 3274, 3, 31, 3951, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Where is Bluetongue Stadium located?
CREATE TABLE table_17913 ( "Team" text, "Location" text, "Stadium" text, "Founded" real, "Joined" real, "Head Coach" text, "Captain" text )
SELECT "Location" FROM table_17913 WHERE "Stadium" = 'Bluetongue Stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2368, 41, 96, 18699, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 20100, 121, 490, 6, 96, 683, 32, 630, 26, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 26593, 2368, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 22530, 17, 106, 5398, 12750, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
WHat is the Valency change of associative type?
CREATE TABLE table_33572 ( "Type" text, "Suffix" text, "Valency change" text, "Example" text, "Meaning" text )
SELECT "Valency change" FROM table_33572 WHERE "Type" = 'associative'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 3436, 357, 41, 96, 25160, 121, 1499, 6, 96, 134, 2999, 2407, 121, 1499, 6, 96, 18392, 4392, 483, 121, 1499, 6, 96, 5420, 9, 9208, 121, 1499, 6, 96, 329, 15, 152, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18392, 4392, 483, 121, 21680, 953, 834, 4201, 3436, 357, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 9, 7, 5444, 1528, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is team ypiranga-sp's average position when they lost by less than 7?
CREATE TABLE table_40995 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT AVG("Position") FROM table_40995 WHERE "Team" = 'ypiranga-sp' AND "Lost" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3264, 755, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 345, 32, 7, 4749, 8512, 21680, 953, 834, 2445, 3264, 755, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 63, 2388, 1468, 9, 18, 7, 102, 31, 3430, 96, 434, 3481, 121, 3, 2, 3, 31, 940, 31, ...
Who was the aggressive rider when the winner was luis león sánchez?
CREATE TABLE table_25580292_13 (aggressive_rider VARCHAR, winner VARCHAR)
SELECT aggressive_rider FROM table_25580292_13 WHERE winner = "Luis León Sánchez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25502, 2079, 3166, 357, 834, 2368, 41, 9, 122, 10292, 757, 834, 4055, 49, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 8299, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8299, 834, 4055, 49, 21680, 953, 834, 25502, 2079, 3166, 357, 834, 2368, 549, 17444, 427, 4668, 3274, 96, 434, 76, 159, 312, 15742, 180, 12916, 20095, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What award was in the year after 2009 with a competition of Digi Wwwow Awards?
CREATE TABLE table_name_35 (awards VARCHAR, year VARCHAR, competition VARCHAR)
SELECT awards FROM table_name_35 WHERE year > 2009 AND competition = "digi wwwow awards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 9, 2239, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2760, 47, 16, 8, 215, 227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6120, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 215, 2490, 2464, 3430, 2259, 3274, 96, 5572, 23, 2442, 2381, 6120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was Hawthorn's score as the home team?
CREATE TABLE table_name_94 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_94 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 5515, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 1626, 210, 17, 6293, 31, 7, 2604, 38, 8, 234, 372, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which game was on 14 January 1973?
CREATE TABLE table_38533 ( "Game" text, "Date" text, "Referee" text, "Umpire" text, "Head Linesman" text, "Line Judge" text, "Field Judge" text, "Back Judge" text )
SELECT "Game" FROM table_38533 WHERE "Date" = '14 january 1973'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 4867, 519, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 1649, 1010, 15, 15, 121, 1499, 6, 96, 1265, 1167, 2060, 121, 1499, 6, 96, 3845, 9, 26, 491...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3747, 4867, 519, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2534, 3, 7066, 76, 1208, 17107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the highest rank of the athlete with a Taijiquan higher than 9.64 and a total more than 19.69?
CREATE TABLE table_name_95 (rank INTEGER, taijiquan VARCHAR, total VARCHAR)
SELECT MAX(rank) FROM table_name_95 WHERE taijiquan > 9.64 AND total > 19.69
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 6254, 3, 21342, 17966, 6, 3, 17, 9, 17279, 4960, 29, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6254, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3, 17, 9, 17279, 4960, 29, 2490, 5835, 4389, 3430, 792, 2490, 9997, 3951, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many are in the Green Party with a Fine Gael of less than 4 and a Fianna Fail of less than 2 in Athy?
CREATE TABLE table_79702 ( "Town" text, "Fianna F\u00e1il" real, "Fine Gael" real, "Labour Party" real, "Green Party" real, "Total" real )
SELECT SUM("Green Party") FROM table_79702 WHERE "Fine Gael" < '4' AND "Fianna F\u00e1il" < '2' AND "Town" = 'athy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 2518, 357, 41, 96, 382, 9197, 121, 1499, 6, 96, 3183, 10878, 377, 2, 76, 1206, 15, 536, 173, 121, 490, 6, 96, 371, 630, 2776, 15, 40, 121, 490, 6, 96, 18506, 1211...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 22918, 3450, 8512, 21680, 953, 834, 4440, 2518, 357, 549, 17444, 427, 96, 371, 630, 2776, 15, 40, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 3183, 10878, 377, 2, 76, 1206, 15, 536, 173, 121, 3, ...
Which Week 7 Oct 12 has a Week 9 Oct 26 of tulsa (7-0)?
CREATE TABLE table_name_79 (week_7_oct_12 VARCHAR, week_9_oct_26 VARCHAR)
SELECT week_7_oct_12 FROM table_name_79 WHERE week_9_oct_26 = "tulsa (7-0)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 8041, 834, 940, 834, 32, 75, 17, 834, 2122, 584, 4280, 28027, 6, 471, 834, 1298, 834, 32, 75, 17, 834, 2688, 584, 4280, 28027, 61, 3, 32102, 32103, 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, 471, 834, 940, 834, 32, 75, 17, 834, 2122, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 471, 834, 1298, 834, 32, 75, 17, 834, 2688, 3274, 96, 2520, 7, 9, 13649, 18, 632, 61, 121, 1, -100, -100, -100, -100,...
How many cosponsors have a Date introduced of may 22, 2008?
CREATE TABLE table_38152 ( "Congress" text, "Bill number(s)" text, "Date introduced" text, "Sponsor(s)" text, "# of cosponsors" real )
SELECT COUNT("# of cosponsors") FROM table_38152 WHERE "Date introduced" = 'may 22, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 26320, 41, 96, 4302, 10292, 121, 1499, 6, 96, 279, 1092, 381, 599, 7, 61, 121, 1499, 6, 96, 308, 342, 3665, 121, 1499, 6, 96, 134, 5041, 7, 127, 599, 7, 61, 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, 2847, 17161, 599, 121, 4663, 13, 576, 7, 5041, 7, 127, 7, 8512, 21680, 953, 834, 3747, 26320, 549, 17444, 427, 96, 308, 342, 3665, 121, 3274, 3, 31, 13726, 12889, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -...
What are all the report for the Belgian Grand Prix?
CREATE TABLE table_26258348_4 (report VARCHAR, grand_prix VARCHAR)
SELECT report FROM table_26258348_4 WHERE grand_prix = "Belgian grand_prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1828, 4591, 3707, 834, 591, 41, 60, 1493, 584, 4280, 28027, 6, 1907, 834, 2246, 226, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 66, 8, 934, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 2688, 1828, 4591, 3707, 834, 591, 549, 17444, 427, 1907, 834, 2246, 226, 3274, 96, 2703, 40, 22898, 1907, 834, 2246, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the opponent with record of 12-18
CREATE TABLE table_name_20 (opponent VARCHAR, record VARCHAR)
SELECT opponent FROM table_name_20 WHERE record = "12-18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 15264, 28, 1368, 13, 586, 6996, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1368, 3274, 96, 2122, 6996, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where was the tour when jing junhong li jiawei played womens doubles?
CREATE TABLE table_30313 ( "Year Location" text, "Mens Singles" text, "Womens Singles" text, "Mens Doubles" text, "Womens Doubles" text )
SELECT "Year Location" FROM table_30313 WHERE "Womens Doubles" = 'Jing Junhong Li Jiawei'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23335, 2368, 41, 96, 476, 2741, 10450, 121, 1499, 6, 96, 329, 35, 7, 7871, 7, 121, 1499, 6, 96, 518, 32, 904, 7, 7871, 7, 121, 1499, 6, 96, 329, 35, 7, 8405, 7, 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, 476, 2741, 10450, 121, 21680, 953, 834, 23335, 2368, 549, 17444, 427, 96, 518, 32, 904, 7, 8405, 7, 121, 3274, 3, 31, 683, 53, 10745, 23001, 1414, 7802, 9, 1123, 23, 31, 1, -100, -100, -100, -100, -100, -100, ...
Which party belongs to district 41, and is delegated by Jill P. Carter?
CREATE TABLE table_name_61 ( party VARCHAR, district VARCHAR, delegate VARCHAR )
SELECT party FROM table_name_61 WHERE district = 41 AND delegate = "jill p. carter"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 1088, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 6, 20, 8791, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1088, 16952, 12, 3939, 8798...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3939, 3274, 8798, 3430, 20, 8791, 3274, 96, 354, 1092, 3, 102, 5, 3329, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
List the hardware model name for the phones that were produced by "Nokia Corporation" or whose screen mode type is "Graphics."
CREATE TABLE phone (Hardware_Model_name VARCHAR, screen_mode VARCHAR); CREATE TABLE screen_mode (Graphics_mode VARCHAR, Type VARCHAR)
SELECT DISTINCT T2.Hardware_Model_name FROM screen_mode AS T1 JOIN phone AS T2 ON T1.Graphics_mode = T2.screen_mode WHERE T1.Type = "Graphics" OR t2.Company_name = "Nokia Corporation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41, 15537, 26, 3404, 834, 24663, 834, 4350, 584, 4280, 28027, 6, 1641, 834, 14930, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1641, 834, 14930, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 4416, 15537, 26, 3404, 834, 24663, 834, 4350, 21680, 1641, 834, 14930, 6157, 332, 536, 3, 15355, 3162, 951, 6157, 332, 357, 9191, 332, 5411, 21094, 447, 7, 834, 14930, 3274, 332, 4416, 8527...
What is the name of the shield winner in which the mls cup winner and mls cup runner up is colorado rapids?
CREATE TABLE table_16470 ( "Season" real, "MLS Cup Winner" text, "MLS Cup Runner-Up" text, "MLS Supporters Shield Winner" text, "MLS Supporters Shield Runner-Up" text )
SELECT "MLS Cup Winner" FROM table_16470 WHERE "MLS Cup Runner-Up" = 'Colorado Rapids'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26987, 2518, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 17976, 3802, 18125, 121, 1499, 6, 96, 17976, 3802, 3, 23572, 18, 11161, 121, 1499, 6, 96, 17976, 4224, 277, 4804, 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, 96, 17976, 3802, 18125, 121, 21680, 953, 834, 26987, 2518, 549, 17444, 427, 96, 17976, 3802, 3, 23572, 18, 11161, 121, 3274, 3, 31, 9939, 32, 19042, 13836, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
in this year, patient 022-127262 got admitted to the hospital?
CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CRE...
SELECT COUNT(*) > 0 FROM patient WHERE patient.uniquepid = '022-127262' AND DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23, 26, 381, 6, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 605, 6137, 1499, 6, 605, 23, 26, 381, 6, 1567, 715, 97, 6, 583, 381, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 4305, 17234, 2555, 2688, 357, 31, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 6,...
WHAT ARE THE TOTAL NUMBER OF POINTS WITH WINS SMALLER THAN 14, AT SD INDAUCHU, POSITION BIGGER THAN 12?
CREATE TABLE table_name_73 ( points VARCHAR, position VARCHAR, wins VARCHAR, club VARCHAR )
SELECT COUNT(points) FROM table_name_73 WHERE wins < 14 AND club = "sd indauchu" AND position > 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 979, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 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, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 9204, 3, 2, 968, 3430, 1886, 3274, 96, 7, 26, 16, 26, 11532, 76, 121, 3430, 1102, 2490, 586, 1, -100, -100, -100, -100, -100, -100,...
What is the Unit with a Name that is anas cheuen?
CREATE TABLE table_name_58 (unit VARCHAR, name VARCHAR)
SELECT unit FROM table_name_58 WHERE name = "anas cheuen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 15129, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5579, 28, 3, 9, 5570, 24, 19, 46, 9, 7, 3, 1033, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1745, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 564, 3274, 96, 152, 9, 7, 3, 1033, 76, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the next location listed after fonsazo ?
CREATE TABLE table_204_353 ( id number, "no." number, "date/time" text, "aircraft" text, "foe" text, "result" text, "location" text, "notes" text )
SELECT "location" FROM table_204_353 WHERE id = (SELECT id FROM table_204_353 WHERE "location" = 'fonsazo') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2469, 519, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 87, 715, 121, 1499, 6, 96, 2256, 6696, 121, 1499, 6, 96, 89, 32, 15, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14836, 121, 21680, 953, 834, 26363, 834, 2469, 519, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 2469, 519, 549, 17444, 427, 96, 14836, 121, 3274, 3, 31, 89, 106,...
What is the outcome for the Hershey tournament?
CREATE TABLE table_37116 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Outcome" FROM table_37116 WHERE "Tournament" = 'hershey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 20159, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 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, 15767, 287, 15, 121, 21680, 953, 834, 4118, 20159, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 760, 7, 13133, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Compare the number of services by services with a bar graph.
CREATE TABLE route ( train_id int, station_id int ) CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CREATE TA...
SELECT services, COUNT(services) FROM station GROUP BY services
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2981, 41, 2412, 834, 23, 26, 16, 17, 6, 2478, 834, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 16, 17, 6, 1229, 834, 4350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 364, 6, 2847, 17161, 599, 5114, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Get me the number of protestant quaker religious background patients who had a thyroid stimulating hormone lab test.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.religion = "PROTESTANT QUAKER" AND lab.label = "Thyroid Stimulating Hormone"
[ 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,...
Show the names of high schoolers who have likes, and numbers of likes for each.
CREATE TABLE Likes (student_id VARCHAR); CREATE TABLE Highschooler (name VARCHAR, id VARCHAR)
SELECT T2.name, COUNT(*) FROM Likes AS T1 JOIN Highschooler AS T2 ON T1.student_id = T2.id GROUP BY T1.student_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2792, 7, 41, 8637, 295, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1592, 6646, 49, 41, 4350, 584, 4280, 28027, 6, 3, 23, 26, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 2792, 7, 6157, 332, 536, 3, 15355, 3162, 1592, 6646, 49, 6157, 332, 357, 9191, 332, 5411, 8637, 295, 834, 23, 26, 3274, 332, 4416, 23, 26, 350, 4630, 6880, 27...
what is the title when the release date is 1938-12-17 and the production number is 8610?
CREATE TABLE table_66198 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text )
SELECT "Title" FROM table_66198 WHERE "Release date" = '1938-12-17' AND "Production Num." = '8610'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 24151, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 1174, 51, 535, 1499, 6, 96, 1649, 40, 14608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3539, 24151, 549, 17444, 427, 96, 1649, 40, 14608, 833, 121, 3274, 3, 31, 2294, 3747, 5947, 10794, 31, 3430, 96, 3174, 8291, 1174, 51, 535, 3274, 3, 31, 3840, 1714, 31, 1, ...
What day did the play on week 6?
CREATE TABLE table_38172 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Date" FROM table_38172 WHERE "Week" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 27156, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 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, 0, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3747, 27156, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Can you tell me the average Total votes that has the # of seats won smaller than 0?
CREATE TABLE table_name_75 (total_votes INTEGER, _number_of_seats_won INTEGER)
SELECT AVG(total_votes) FROM table_name_75 WHERE _number_of_seats_won < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 235, 1947, 834, 1621, 1422, 3, 21342, 17966, 6, 3, 834, 5525, 1152, 834, 858, 834, 7, 1544, 7, 834, 210, 106, 3, 21342, 17966, 61, 3, 32102, 32103, 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, 71, 17217, 599, 235, 1947, 834, 1621, 1422, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 3, 834, 5525, 1152, 834, 858, 834, 7, 1544, 7, 834, 210, 106, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -10...
What are the countries in which the agricultural use (m 3 /p/yr)(in %) is 2040(93%)?
CREATE TABLE table_15909409_2 ( country VARCHAR, agricultural_use__m_3__p_yr__in__percentage_ VARCHAR )
SELECT country FROM table_15909409_2 WHERE agricultural_use__m_3__p_yr__in__percentage_ = "2040(93%)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2394, 4240, 4198, 834, 357, 41, 684, 584, 4280, 28027, 6, 10687, 834, 1074, 834, 834, 51, 834, 519, 834, 834, 102, 834, 63, 52, 834, 834, 77, 834, 834, 883, 3728, 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, 684, 21680, 953, 834, 1808, 2394, 4240, 4198, 834, 357, 549, 17444, 427, 10687, 834, 1074, 834, 834, 51, 834, 519, 834, 834, 102, 834, 63, 52, 834, 834, 77, 834, 834, 883, 3728, 545, 834, 3274, 96, 1755, 2445, 599...
what is procedure icd9 code of subject name cynthia gomez?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Cynthia Gomez"
[ 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, 4293, 5, 447, 26, 1298, 834, 4978, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 254, 63, ...
What is the location of the University that joined in 1926, 1996 2?
CREATE TABLE table_261941_1 ( location VARCHAR, joined VARCHAR )
SELECT location FROM table_261941_1 WHERE joined = "1926, 1996 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2294, 4853, 834, 536, 41, 1128, 584, 4280, 28027, 6, 3311, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 8, 636, 24, 3311, 16, 957, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 2688, 2294, 4853, 834, 536, 549, 17444, 427, 3311, 3274, 96, 2294, 2688, 6, 6911, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which engine has a Year larger than 1969?
CREATE TABLE table_name_7 (engine VARCHAR, year INTEGER)
SELECT engine FROM table_name_7 WHERE year > 1969
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 20165, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 1948, 65, 3, 9, 2929, 2186, 145, 17185, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 215, 2490, 17185, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What score was on July 25?
CREATE TABLE table_name_26 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_26 WHERE date = "july 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 47, 30, 1718, 944, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 833, 3274, 96, 2047, 120, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many teams were established at University of Maryland?
CREATE TABLE table_16432543_3 ( established VARCHAR, institution VARCHAR )
SELECT COUNT(established) FROM table_16432543_3 WHERE institution = "University of Maryland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4906, 1828, 4906, 834, 519, 41, 2127, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2323, 130, 2127, 44, 636, 13, 10271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 24109, 61, 21680, 953, 834, 2938, 4906, 1828, 4906, 834, 519, 549, 17444, 427, 6568, 3274, 96, 8313, 485, 13, 10271, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the away team's score at Western Oval?
CREATE TABLE table_name_75 ( away_team VARCHAR, venue VARCHAR )
SELECT away_team AS score FROM table_name_75 WHERE venue = "western oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 550, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 550, 372, 31, 7, 2604, 44, 3782, 411, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 5669, 3274, 96, 24411, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For Pontyberem RFC that has a Try Bonus of 2, what is the played?
CREATE TABLE table_14450 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text )
SELECT "Played" FROM table_14450 WHERE "Try bonus" = '2' AND "Club" = 'pontyberem rfc'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 10593, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 15, 26, 121, 21680, 953, 834, 2534, 10593, 549, 17444, 427, 96, 382, 651, 4023, 121, 3274, 3, 31, 357, 31, 3430, 96, 254, 11158, 121, 3274, 3, 31, 5041, 17, 63, 115, 17106, 3, 52, 89, 75, 31, 1, -10...
How many ACL papers did John Lee written in the last year ?
CREATE TABLE field ( fieldid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE journal ( journalid int, journalname varchar ...
SELECT DISTINCT COUNT(DISTINCT paper.paperid) FROM author, paper, venue, writes WHERE author.authorname = 'John Lee' AND paper.year >= YEAR(CURDATE()) - 1 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1057, 41, 1057, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 41, 1040, 23, 26, 16, 17, 6, 2233, 3, 4331, 4059, 6, 5669, 23, 26, 16, 17, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 2847, 17161, 599, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 61, 21680, 2291, 6, 1040, 6, 5669, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 18300, 5531, 31, 3430, 1040, 5, ...
I want to know the average Gold for total smaller 12 and bronze less than 1 and wushu with silver more than 3
CREATE TABLE table_name_2 ( gold INTEGER, silver VARCHAR, sport VARCHAR, total VARCHAR, bronze VARCHAR )
SELECT AVG(gold) FROM table_name_2 WHERE total < 12 AND bronze < 1 AND sport = "wushu" AND silver > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 2045, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 14910, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 792, 3, 2, 586, 3430, 13467, 3, 2, 209, 3430, 2600, 3274, 96, 210, 8489, 76, 121, 3430, 4294, 2490, 220, 1, -100, -100, -100, -100, -100...
What's the Period with # found of 5?
CREATE TABLE table_name_81 ( period VARCHAR, _number_found VARCHAR )
SELECT period FROM table_name_81 WHERE _number_found = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1059, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 834, 19732, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 17769, 28, 1713, 435,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1059, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 3, 834, 5525, 1152, 834, 19732, 3274, 96, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which song has a U.S. R&B 100 in 2010?
CREATE TABLE table_name_53 ( song VARCHAR, year VARCHAR, us_r VARCHAR, b VARCHAR )
SELECT song FROM table_name_53 WHERE year = 2010 AND us_r & b = "100"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 2324, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 178, 834, 52, 584, 4280, 28027, 6, 3, 115, 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, 2324, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 215, 3274, 2735, 3430, 178, 834, 52, 3, 184, 3, 115, 3274, 96, 2915, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What day were credentials presented for vermont?
CREATE TABLE table_75682 ( "Name" text, "State" text, "Status" text, "Title" text, "Appointment" text, "Credentials Presented" text )
SELECT "Credentials Presented" FROM table_75682 WHERE "State" = 'vermont'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3651, 357, 41, 96, 23954, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 188, 102, 2700, 297...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1271, 7220, 7, 3, 31611, 121, 21680, 953, 834, 3072, 3651, 357, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 624, 4662, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many to pars were won in 1993?
CREATE TABLE table_name_86 (to_par VARCHAR, year_s__won VARCHAR)
SELECT COUNT(to_par) FROM table_name_86 WHERE year_s__won = "1993"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 235, 834, 1893, 584, 4280, 28027, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 12, 260, 7, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 834, 1893, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 2294, 4271, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the result from 2003 from the US Open?
CREATE TABLE table_name_80 (tournament VARCHAR)
SELECT 2003 FROM table_name_80 WHERE tournament = "us open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 45, 3888, 45, 8, 837, 2384, 58, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3888, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 5892, 3274, 96, 302, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date of the game with a decision of Niittymaki and when the Flyers had a record of 30 21 5?
CREATE TABLE table_51443 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Date" FROM table_51443 WHERE "Decision" = 'niittymaki' AND "Record" = '30–21–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2534, 4906, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 755, 2534, 4906, 549, 17444, 427, 96, 2962, 18901, 121, 3274, 3, 31, 29, 23, 17132, 51, 11259, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 1458, 104, 2658, 104, 755, 31, 1, -1...
Who is the driver when the grid is 18?
CREATE TABLE table_58456 ( "Driver" text, "Constructor" text, "Laps" text, "Time/Retired" text, "Grid" text )
SELECT "Driver" FROM table_58456 WHERE "Grid" = '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 2128, 948, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 1499, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20982, 52, 121, 21680, 953, 834, 3449, 2128, 948, 549, 17444, 427, 96, 13313, 26, 121, 3274, 3, 31, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Team 1 has union douala as Team 2?
CREATE TABLE table_name_46 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_46 WHERE team_2 = "union douala"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 11650, 834, 536, 584, 4280, 28027, 6, 372, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2271, 209, 65, 7021, 3675, 521, 38, 2271, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 834, 536, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 372, 834, 357, 3274, 96, 16598, 3675, 521, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
count the number of patients with diagnoses icd9 code 75261.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.icd9_code = "75261"
[ 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, 5...
how many of the patients on elective admission had item id 51257?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND lab.itemid = "51257"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Year larger than 1975, and a Record of 13 11 is what playoffs?
CREATE TABLE table_67973 ( "Year" real, "Record" text, "Regular Season Finish" text, "Playoffs" text, "Avg. Attendance" real )
SELECT "Playoffs" FROM table_67973 WHERE "Year" > '1975' AND "Record" = '13–11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 4327, 519, 41, 96, 476, 2741, 121, 490, 6, 96, 1649, 7621, 121, 1499, 6, 96, 17748, 4885, 7960, 17578, 121, 1499, 6, 96, 15800, 1647, 7, 121, 1499, 6, 96, 188, 208,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 1647, 7, 121, 21680, 953, 834, 3708, 4327, 519, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 2294, 3072, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31, 2368, 104, 2596, 31, 1, -100, -100, -100, -100, ...
What was the sample size for polling on May 2-7, 2007 for Hillary Clinton?
CREATE TABLE table_44623 ( "Poll Source" text, "Sample Size" real, "Margin of Error" real, "Date" text, "Democrat" text, "Republican" text )
SELECT "Sample Size" FROM table_44623 WHERE "Date" = 'may 2-7, 2007' AND "Democrat" = 'hillary clinton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4448, 2773, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 134, 9, 9208, 8941, 121, 490, 6, 96, 7286, 122, 77, 13, 848, 52, 127, 121, 490, 6, 96, 308, 342, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9, 9208, 8941, 121, 21680, 953, 834, 591, 4448, 2773, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 13726, 204, 6832, 6, 4101, 31, 3430, 96, 19679, 121, 3274, 3, 31, 6321, 1208, 3, 14758, 6992, 31, 1...
How many Pole Positions were there on 30 March?
CREATE TABLE table_3245 ( "Round" real, "Circuit" text, "Date" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Winning Team" text )
SELECT COUNT("Pole Position") FROM table_3245 WHERE "Date" = '30 March'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 2128, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 8931, 15, 14258, 8512, 21680, 953, 834, 2668, 2128, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 1458, 1332, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the level name of the catalog with the lowest price (in USD).
CREATE TABLE catalog_structure ( catalog_level_number number, catalog_id number, catalog_level_name text ) CREATE TABLE attribute_definitions ( attribute_id number, attribute_name text, attribute_data_type text ) CREATE TABLE catalogs ( catalog_id number, catalog_name text, catalog...
SELECT t2.catalog_level_name FROM catalog_contents AS t1 JOIN catalog_structure AS t2 ON t1.catalog_level_number = t2.catalog_level_number ORDER BY t1.price_in_dollars LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10173, 834, 16180, 41, 10173, 834, 4563, 834, 5525, 1152, 381, 6, 10173, 834, 23, 26, 381, 6, 10173, 834, 4563, 834, 4350, 1499, 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, 3, 17, 4416, 2138, 9, 2152, 834, 4563, 834, 4350, 21680, 10173, 834, 14819, 7, 6157, 3, 17, 536, 3, 15355, 3162, 10173, 834, 16180, 6157, 3, 17, 357, 9191, 3, 17, 5411, 2138, 9, 2152, 834, 4563, 834, 5525, 1152, ...
Visualize a bar chart about the distribution of ACC_Regular_Season and ACC_Percent .
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_Regular_Season, ACC_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was November 4, 1973 attendance?
CREATE TABLE table_32880 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Attendance" FROM table_32880 WHERE "Date" = 'november 4, 1973'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 2079, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 28070, 2079, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 6464, 17107, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the release date of the model precision m60?
CREATE TABLE table_name_75 ( released VARCHAR, model VARCHAR )
SELECT released FROM table_name_75 WHERE model = "precision m60"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 1883, 584, 4280, 28027, 6, 825, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1576, 833, 13, 8, 825, 11723, 3, 51, 3328, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1883, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 825, 3274, 96, 2026, 18901, 3, 51, 3328, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose days of hospital stay is greater than 23 and procedure icd9 code is 3606?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.days_stay > "23" AND procedures.icd9_code = "3606"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who got the game high rebounds in game 46?
CREATE TABLE table_21201 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_21201 WHERE "Game" = '46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 22772, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 2658, 22772, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 4448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of players who tied for fourth , seventh , and tenth combined ?
CREATE TABLE table_203_134 ( id number, "place" text, "player" text, "country" text, "score" text, "to par" number )
SELECT COUNT("player") FROM table_203_134 WHERE "place" IN (4, 7, 10)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 23747, 41, 3, 23, 26, 381, 6, 96, 4687, 121, 1499, 6, 96, 20846, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 235, 260, 121, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 20846, 8512, 21680, 953, 834, 23330, 834, 23747, 549, 17444, 427, 96, 4687, 121, 3388, 8457, 6, 7973, 3, 16968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the title track that is 3:50 and arranged by Tarek Akef?
CREATE TABLE table_42595 ( "Title" text, "Length" text, "Writer" text, "Composer" text, "Arranger" text )
SELECT "Title" FROM table_42595 WHERE "Arranger" = 'tarek akef' AND "Length" = '3:50'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1828, 3301, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 434, 4606, 189, 121, 1499, 6, 96, 24965, 49, 121, 1499, 6, 96, 5890, 2748, 49, 121, 1499, 6, 96, 28150, 9, 936...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 591, 1828, 3301, 549, 17444, 427, 96, 28150, 9, 9369, 121, 3274, 3, 31, 17, 355, 157, 3, 9, 1050, 89, 31, 3430, 96, 434, 4606, 189, 121, 3274, 3, 31, 519, 10, 1752, 31,...
Tell me the Grantee for san ysidro
CREATE TABLE table_name_34 (grantee VARCHAR, concession VARCHAR)
SELECT grantee FROM table_name_34 WHERE concession = "san ysidro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 7662, 17, 15, 15, 584, 4280, 28027, 6, 19093, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 8059, 15, 15, 21, 3, 7, 152, 3, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5334, 15, 15, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 19093, 3274, 96, 7, 152, 3, 63, 7, 23, 26, 52, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose marital status is married and lab test name is bilirubin, indirect?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "MARRIED" AND lab.label = "Bilirubin, Indirect"
[ 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 are the names of countries that have both players with position forward and players with position defender?
CREATE TABLE match_season ( season number, player text, position text, country number, team number, draft_pick_number number, draft_class text, college text ) CREATE TABLE country ( country_id number, country_name text, capital text, official_native_language text ) CREA...
SELECT T1.country_name FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.position = "Forward" INTERSECT SELECT T1.country_name FROM country AS T1 JOIN match_season AS T2 ON T1.country_id = T2.country WHERE T2.position = "Defender"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 834, 9476, 41, 774, 381, 6, 1959, 1499, 6, 1102, 1499, 6, 684, 381, 6, 372, 381, 6, 6488, 834, 17967, 834, 5525, 1152, 381, 6, 6488, 834, 4057, 1499, 6, 1900, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 17529, 834, 4350, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 1588, 834, 9476, 6157, 332, 357, 9191, 332, 5411, 17529, 834, 23, 26, 3274, 332, 4416, 17529, 549, 17444, 427, 332, 4416, 4718, 3274, 96, 3809, ...
Which pick number was there for Jason French?
CREATE TABLE table_name_20 (pick__number VARCHAR, player VARCHAR)
SELECT pick__number FROM table_name_20 WHERE player = "jason french"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 17967, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1432, 381, 47, 132, 21, 9637, 2379, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1432, 834, 834, 5525, 1152, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1959, 3274, 96, 1191, 739, 20609, 121, 1, -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 42831 and lab test fluid is other body fluid?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "42831" AND lab.fluid = "Other Body Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
How many perpetrators are there?
CREATE TABLE perpetrator (Id VARCHAR)
SELECT COUNT(*) FROM perpetrator
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 28998, 127, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 28998, 127, 7, 33, 132, 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, 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, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 28998, 127, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...