NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
the first opened station
CREATE TABLE table_203_839 ( id number, "station" text, "type" text, "latitude" text, "longitude" text, "el. (m)" number, "opened" number, "closed" number, "coordinates" text )
SELECT "station" FROM table_203_839 ORDER BY "opened" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 3288, 41, 3, 23, 26, 381, 6, 96, 6682, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 521, 6592, 121, 1499, 6, 96, 2961, 20341, 121, 1499, 6, 96, 15, 40, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6682, 121, 21680, 953, 834, 23330, 834, 927, 3288, 4674, 11300, 272, 476, 96, 26940, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which album has a label and cat# full moon/warner 28628?
CREATE TABLE table_name_68 (album VARCHAR, label_and_cat_number VARCHAR)
SELECT album FROM table_name_68 WHERE label_and_cat_number = "full moon/warner 28628"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 23703, 584, 4280, 28027, 6, 3783, 834, 232, 834, 2138, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2306, 65, 3, 9, 3783, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2306, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 3783, 834, 232, 834, 2138, 834, 5525, 1152, 3274, 96, 1329, 40, 8114, 87, 2910, 687, 204, 3840, 2577, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which game did New Jersey Devils played in?
CREATE TABLE table_name_54 (game VARCHAR, opponent VARCHAR)
SELECT game FROM table_name_54 WHERE opponent = "new jersey devils"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 7261, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 467, 410, 368, 5092, 19558, 7, 1944, 16, 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, 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, 467, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 15264, 3274, 96, 5534, 13426, 20, 6372, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose ethnicity is hispanic/latino - puerto rican and drug code is tacr1?
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.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.formulary_drug_cd = "TACR1"
[ 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...
Find the student ID and middle name for all the students with at most two enrollments, and could you list in desc by the total number?
CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Student_Course_Enrolment ( registration_id INTEGER, student_id INTEGER, course_id INTEGER, date_of_enrolment DATETIME, date_o...
SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.student_id DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 7, 41, 503, 834, 23, 26, 3, 21342, 17966, 6, 2291, 834, 23, 26, 3, 21342, 17966, 6, 1426, 834, 23, 26, 3, 21342, 17966, 6, 503, 834, 4350, 584, 4280, 28027, 599, 15518, 201, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 51, 23, 8437, 834, 4350, 6, 332, 5411, 8637, 295, 834, 23, 26, 21680, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 536, 3, 15355, 3162, 4375, 6157, 332, 357, 9191, 332, 5411, 8637, 295, 8...
What venue has an attendance of 30824 at Essendon in 1984?
CREATE TABLE table_1139835_9 (venue VARCHAR, premier VARCHAR, attendance VARCHAR)
SELECT venue FROM table_1139835_9 WHERE premier = "Essendon" AND attendance = 30824
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 3916, 2469, 834, 1298, 41, 15098, 584, 4280, 28027, 6, 2761, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 65, 46, 11364, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 20522, 3916, 2469, 834, 1298, 549, 17444, 427, 2761, 3274, 96, 427, 4932, 2029, 121, 3430, 11364, 3274, 604, 927, 2266, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the song choice where the episode is Live Show 1?
CREATE TABLE table_25374338_1 (song_choice VARCHAR, episode VARCHAR)
SELECT song_choice FROM table_25374338_1 WHERE episode = "Live Show 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4118, 4906, 3747, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2324, 1160, 213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 834, 3995, 867, 21680, 953, 834, 1828, 4118, 4906, 3747, 834, 536, 549, 17444, 427, 5640, 3274, 96, 24179, 3111, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the home team when there was a record of 20–13–3?
CREATE TABLE table_name_52 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_52 WHERE record = "20–13–3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 5515, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 116, 132, 47, 3, 9, 1368, 13, 460, 104, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1368, 3274, 96, 1755, 104, 2368, 104, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the median household income for Woodside?
CREATE TABLE table_1447085_1 (median_house__hold_income VARCHAR, place VARCHAR)
SELECT median_house__hold_income FROM table_1447085_1 WHERE place = "Woodside"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20885, 2518, 4433, 834, 536, 41, 8172, 29, 834, 1840, 834, 834, 6134, 834, 15759, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15572, 834, 1840, 834, 834, 6134, 834, 15759, 21680, 953, 834, 20885, 2518, 4433, 834, 536, 549, 17444, 427, 286, 3274, 96, 518, 32, 32, 26, 1583, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the duration of the longest and shortest pop tracks in milliseconds?
CREATE TABLE invoiceline ( invoicelineid number, invoiceid number, trackid number, unitprice number, quantity number ) CREATE TABLE playlist ( playlistid number, name text ) CREATE TABLE customer ( customerid number, firstname text, lastname text, company text, address ...
SELECT MAX(milliseconds), MIN(milliseconds) FROM genre AS T1 JOIN track AS T2 ON T1.genreid = T2.genreid WHERE T1.name = "Pop"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10921, 747, 41, 10921, 747, 23, 26, 381, 6, 10921, 23, 26, 381, 6, 1463, 23, 26, 381, 6, 1745, 102, 4920, 381, 6, 8708, 381, 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, 4800, 4, 599, 12415, 23, 12091, 7, 201, 3, 17684, 599, 12415, 23, 12091, 7, 61, 21680, 5349, 6157, 332, 536, 3, 15355, 3162, 1463, 6157, 332, 357, 9191, 332, 5411, 729, 60, 23, 26, 3274, 332, 4416, 729, 60, 23, ...
what is the position for robert johnson?
CREATE TABLE table_name_25 ( position VARCHAR, name VARCHAR )
SELECT position FROM table_name_25 WHERE name = "robert johnson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1102, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1102, 21, 3, 5840, 49, 17, 3, 27341, 739, 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, 1102, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 564, 3274, 96, 5840, 49, 17, 3, 27341, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What catalogue has a track less than 16 and 2/3/56 recorded with a song titled Lawdy Miss Clawdy?
CREATE TABLE table_name_83 (catalogue VARCHAR, song_title VARCHAR, track VARCHAR, recorded VARCHAR)
SELECT catalogue FROM table_name_83 WHERE track < 16 AND recorded = "2/3/56" AND song_title = "lawdy miss clawdy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 2138, 9, 10384, 584, 4280, 28027, 6, 2324, 834, 21869, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 6, 4381, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14978, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 1463, 3, 2, 898, 3430, 4381, 3274, 96, 15896, 15020, 4834, 121, 3430, 2324, 834, 21869, 3274, 96, 4207, 26, 63, 3041, 27331, 26, 63, 121, 1, -100, -100, -100...
How many league goals did Dunne have in the season where he had 2 league apps?
CREATE TABLE table_2980024_1 (league_goals VARCHAR, league_apps VARCHAR)
SELECT league_goals FROM table_2980024_1 WHERE league_apps = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 6192, 2266, 834, 536, 41, 29512, 834, 839, 5405, 584, 4280, 28027, 6, 5533, 834, 3096, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 5533, 1766, 410...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 834, 839, 5405, 21680, 953, 834, 3166, 6192, 2266, 834, 536, 549, 17444, 427, 5533, 834, 3096, 7, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the position of terry jones whose pick number was after 256?
CREATE TABLE table_name_59 (position VARCHAR, pick VARCHAR, player VARCHAR)
SELECT position FROM table_name_59 WHERE pick > 256 AND player = "terry jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 4718, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 13, 3, 449, 651, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1432, 2490, 3, 19337, 3430, 1959, 3274, 96, 449, 651, 3, 1927, 1496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the sum of attendance when the score was 2:0?
CREATE TABLE table_name_80 ( attendance INTEGER, score VARCHAR )
SELECT SUM(attendance) FROM table_name_80 WHERE score = "2:0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 11364, 3, 21342, 17966, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 11364, 116, 8, 2604, 47, 204, 10, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 2604, 3274, 96, 357, 10, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was Tim Holden first elected?
CREATE TABLE table_22114 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text )
SELECT MIN("First elected") FROM table_22114 WHERE "Incumbent" = 'Tim Holden'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 18959, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 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, 3, 17684, 599, 121, 25171, 8160, 8512, 21680, 953, 834, 2884, 18959, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 382, 603, 8470, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the location of South Adelaide?
CREATE TABLE table_name_46 ( location VARCHAR, team VARCHAR )
SELECT location FROM table_name_46 WHERE team = "south adelaide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 1128, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 1013, 24272, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 372, 3274, 96, 7, 670, 107, 3, 15311, 5385, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the artist for 1595 televotes
CREATE TABLE table_21378339_5 (artist VARCHAR, televotes VARCHAR)
SELECT artist FROM table_21378339_5 WHERE televotes = 1595
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4118, 4591, 3288, 834, 755, 41, 1408, 343, 584, 4280, 28027, 6, 3, 1931, 1621, 1422, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2377, 21, 627, 3301, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2377, 21680, 953, 834, 2658, 4118, 4591, 3288, 834, 755, 549, 17444, 427, 3, 1931, 1621, 1422, 3274, 627, 3301, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the dimensions of the amp with a 180W output?
CREATE TABLE table_name_96 (dimensions VARCHAR, output VARCHAR)
SELECT dimensions FROM table_name_96 WHERE output = "180w"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 31987, 7, 584, 4280, 28027, 6, 3911, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 8393, 13, 8, 11483, 28, 3, 9, 8003, 518, 3911, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8393, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 3911, 3274, 96, 20829, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date was South Melbourne the away team?
CREATE TABLE table_32845 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_32845 WHERE "Away team" = 'south melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 2128, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 28070, 2128, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 7, 670, 107, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
display the average salary of employees for each department who gets a commission percentage.
CREATE TABLE employees ( department_id VARCHAR, salary INTEGER, commission_pct VARCHAR )
SELECT department_id, AVG(salary) FROM employees WHERE commission_pct <> "null" GROUP BY department_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 3066, 834, 23, 26, 584, 4280, 28027, 6, 9090, 3, 21342, 17966, 6, 5473, 834, 102, 75, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1831, 8, 1348, 9090, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3066, 834, 23, 26, 6, 71, 17217, 599, 7, 138, 1208, 61, 21680, 1652, 549, 17444, 427, 5473, 834, 102, 75, 17, 3, 2, 3155, 96, 29, 83, 40, 121, 350, 4630, 6880, 272, 476, 3066, 834, 23, 26, 1, -100, -100, -100,...
what tournament was on a hard surface and saw jacob adaktusson as the opponent?
CREATE TABLE table_name_78 (tournament VARCHAR, surface VARCHAR, opponent VARCHAR)
SELECT tournament FROM table_name_78 WHERE surface = "hard" AND opponent = "jacob adaktusson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 5892, 47, 30, 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, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 15264, 3274, 96, 1191, 509, 115, 3, 9, 26, 7935, 302, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the coach of the team with home ground at Club Cove?
CREATE TABLE table_name_25 (coach VARCHAR, home_ground VARCHAR)
SELECT coach FROM table_name_25 WHERE home_ground = "club cove"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 509, 1836, 584, 4280, 28027, 6, 234, 834, 9232, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3763, 13, 8, 372, 28, 234, 1591, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3763, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 234, 834, 9232, 3274, 96, 13442, 576, 162, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
If the armor is bronze cuirass , linothorax, what are the close ranged weapons?
CREATE TABLE table_27704991_1 ( close_ranged_weapons VARCHAR, armor VARCHAR )
SELECT close_ranged_weapons FROM table_27704991_1 WHERE armor = "Bronze cuirass , Linothorax"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2518, 3647, 4729, 834, 536, 41, 885, 834, 5517, 26, 834, 1123, 9, 5041, 7, 584, 4280, 28027, 6, 18750, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 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, 885, 834, 5517, 26, 834, 1123, 9, 5041, 7, 21680, 953, 834, 2555, 2518, 3647, 4729, 834, 536, 549, 17444, 427, 18750, 3274, 96, 22780, 29, 776, 20352, 9, 7, 7, 3, 6, 1414, 2264, 21783, 226, 121, 1, -100, -100, -...
how many female patients had specific gravity 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "Specific Gravity"
[ 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,...
Which type of institution is in Amherst, MA?
CREATE TABLE table_name_1 (type VARCHAR, location VARCHAR)
SELECT type FROM table_name_1 WHERE location = "amherst, ma"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 6137, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 686, 13, 6568, 19, 16, 736, 760, 7, 17, 6, 4800, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1128, 3274, 96, 265, 760, 7, 17, 6, 954, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many female patients are admitted before the year 2105?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.admityear < "2105"
[ 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, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 15239, 17395, 1, -100,...
On which date was the game played against the Milwaukee Bucks?
CREATE TABLE table_name_36 (date VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_36 WHERE opponent = "milwaukee bucks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 5522, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 47, 8, 467, 1944, 581, 8, 21140, 10295, 7, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 15264, 3274, 96, 51, 173, 210, 402, 1050, 15, 22508, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the city of license for when founded is october 2010
CREATE TABLE table_15537 ( "Call Sign" text, "City of License" text, "Frequency" text, "age Watt" text, "Coverage Area" text, "Founded" text )
SELECT "City of License" FROM table_15537 WHERE "Founded" = 'october 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 4118, 41, 96, 254, 1748, 6365, 121, 1499, 6, 96, 254, 485, 13, 16452, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 545, 18017, 121, 1499, 6, 96, 254, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 13, 16452, 121, 21680, 953, 834, 20896, 4118, 549, 17444, 427, 96, 20100, 121, 3274, 3, 31, 32, 75, 235, 1152, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What venue was the 11 September 2012 game?
CREATE TABLE table_71553 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_71553 WHERE "Date" = '11 september 2012'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1808, 4867, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 5890, 4995, 4749, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 940, 1808, 4867, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2596, 16022, 18247, 1673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the surface of the score of 7 5, 3 6, 7 6?
CREATE TABLE table_name_58 ( surface VARCHAR, score VARCHAR )
SELECT surface FROM table_name_58 WHERE score = "7–5, 3–6, 7–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1774, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1774, 13, 8, 2604, 13, 489, 7836, 220, 8580, 489, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1774, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2604, 3274, 96, 940, 104, 11116, 220, 104, 11071, 489, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Date at memorial stadium • minneapolis, mn, and an Opponent of northwestern?
CREATE TABLE table_name_45 (date VARCHAR, site VARCHAR, opponent VARCHAR)
SELECT date FROM table_name_45 WHERE site = "memorial stadium • minneapolis, mn" AND opponent = "northwestern"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5522, 584, 4280, 28027, 6, 353, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7678, 44, 15827, 14939, 1697...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 353, 3274, 96, 526, 51, 11929, 14939, 1697, 3, 51, 14029, 9, 15621, 6, 3, 51, 29, 121, 3430, 15264, 3274, 96, 29, 127, 189, 24411, 121, 1, -100, -100, -100, ...
What is the number of runner-up results for the years (won in bold) 1984, 2010?
CREATE TABLE table_19469 ( "Team" text, "# appearances" real, "years (won in bold)" text, "# wins" real, "# runner-up" real, "Most recent final" text )
SELECT MAX("# runner-up") FROM table_19469 WHERE "years (won in bold)" = '1984, 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 3951, 41, 96, 18699, 121, 1499, 6, 96, 4663, 3179, 7, 121, 490, 6, 96, 1201, 7, 41, 210, 106, 16, 8197, 61, 121, 1499, 6, 96, 4663, 9204, 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, 4663, 3, 10806, 18, 413, 8512, 21680, 953, 834, 2294, 591, 3951, 549, 17444, 427, 96, 1201, 7, 41, 210, 106, 16, 8197, 61, 121, 3274, 3, 31, 24151, 8525, 2735, 31, 1, -100, -100, -100, -100, -...
For those employees who do not work in departments with managers that have ids between 100 and 200, find first_name and department_id , and visualize them by a bar chart, I want to list from low to high by the DEPARTMENT_ID.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JO...
SELECT FIRST_NAME, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY DEPARTMENT_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15610...
Whose term started on 4 May 2006?
CREATE TABLE table_name_35 (minister VARCHAR, term_start VARCHAR)
SELECT minister FROM table_name_35 WHERE term_start = "4 may 2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 17791, 584, 4280, 28027, 6, 1657, 834, 10208, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 7, 15, 1657, 708, 30, 314, 932, 3581, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6323, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1657, 834, 10208, 3274, 96, 591, 164, 3581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many in total were in attendance at games where Chelsea was the away team?
CREATE TABLE table_43595 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Attendance" real )
SELECT SUM("Attendance") FROM table_43595 WHERE "Away team" = 'chelsea'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2469, 3301, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 17, 324, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 591, 2469, 3301, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 8738, 7, 15, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose age is less than 85 and lab test name is epithelial cells?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "85" AND lab.label = "Epithelial Cells"
[ 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 is the second party that has a conservative first party and second member John Cotes?
CREATE TABLE table_name_95 (second_party VARCHAR, first_party VARCHAR, second_member VARCHAR)
SELECT second_party FROM table_name_95 WHERE first_party = "conservative" AND second_member = "john cotes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 12091, 834, 8071, 584, 4280, 28027, 6, 166, 834, 8071, 584, 4280, 28027, 6, 511, 834, 12066, 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, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 511, 834, 8071, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 166, 834, 8071, 3274, 96, 1018, 3473, 1528, 121, 3430, 511, 834, 12066, 3274, 96, 27341, 576, 1422, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What year was Evita nominated for outstanding featured actor in a musical?
CREATE TABLE table_name_25 (year VARCHAR, category VARCHAR, nominated_work VARCHAR)
SELECT COUNT(year) FROM table_name_25 WHERE category = "outstanding featured actor in a musical" AND nominated_work = "evita"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1201, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 6, 150, 1109, 920, 834, 1981, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 262, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 3295, 3274, 96, 670, 11018, 4510, 7556, 16, 3, 9, 4183, 121, 3430, 150, 1109, 920, 834, 1981, 3274, 96, 15, 12411, 121, 1, -100, -100, ...
Name the total number of original titles written by john sullivan and keith lindsay
CREATE TABLE table_17641206_6 ( original_title VARCHAR, written_by VARCHAR )
SELECT COUNT(original_title) FROM table_17641206_6 WHERE written_by = "John Sullivan and Keith Lindsay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26782, 4853, 24643, 834, 948, 41, 926, 834, 21869, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 926, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21878, 834, 21869, 61, 21680, 953, 834, 26782, 4853, 24643, 834, 948, 549, 17444, 427, 1545, 834, 969, 3274, 96, 18300, 3, 23748, 11, 17017, 30540, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
how many schools are there in this conference ?
CREATE TABLE table_204_624 ( id number, "school" text, "team name" text, "town" text, "county" text, "enrollment (2010-11 & 2011-12)" number, "primary mshsaa class*" number, "football class" number )
SELECT COUNT("school") FROM table_204_624
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 2266, 41, 3, 23, 26, 381, 6, 96, 6646, 121, 1499, 6, 96, 11650, 564, 121, 1499, 6, 96, 3540, 121, 1499, 6, 96, 13362, 63, 121, 1499, 6, 96, 35, 4046, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6646, 8512, 21680, 953, 834, 26363, 834, 948, 2266, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the B score for the person with a total of 16.325 and an A score of more than 7.3?
CREATE TABLE table_name_85 (b_score INTEGER, total VARCHAR, a_score VARCHAR)
SELECT AVG(b_score) FROM table_name_85 WHERE total = 16.325 AND a_score > 7.3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 115, 834, 7, 9022, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 3, 9, 834, 7, 9022, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 115, 834, 7, 9022, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 792, 3274, 10128, 519, 1828, 3430, 3, 9, 834, 7, 9022, 2490, 3, 27914, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
which Score points has a Rank points of 10, and an Event of wc milan?
CREATE TABLE table_name_42 (score_points VARCHAR, rank_points VARCHAR, event VARCHAR)
SELECT score_points FROM table_name_42 WHERE rank_points = "10" AND event = "wc milan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 7, 9022, 834, 2700, 7, 584, 4280, 28027, 6, 11003, 834, 2700, 7, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 177...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 834, 2700, 7, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 11003, 834, 2700, 7, 3274, 96, 1714, 121, 3430, 605, 3274, 96, 210, 75, 1337, 1618, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which player had a draft before 1975 and before round 6?
CREATE TABLE table_name_79 ( player VARCHAR, draft VARCHAR, round VARCHAR )
SELECT player FROM table_name_79 WHERE draft < 1975 AND round < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 1959, 584, 4280, 28027, 6, 6488, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 141, 3, 9, 6488, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 6488, 3, 2, 16312, 3430, 1751, 3, 2, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many players born in USA are right-handed batters? That is, have the batter value 'R'.
CREATE TABLE player ( birth_country VARCHAR, bats VARCHAR )
SELECT COUNT(*) FROM player WHERE birth_country = 'USA' AND bats = 'R'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3879, 834, 17529, 584, 4280, 28027, 6, 3795, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1508, 2170, 16, 2312, 33, 269, 18, 20391, 15839, 7, 58, 46...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 1959, 549, 17444, 427, 3879, 834, 17529, 3274, 3, 31, 17663, 31, 3430, 3795, 7, 3274, 3, 31, 448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
among patients who had a lab test of pleural fluid, how many of them had icd9 code 1123?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
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 = "1123" AND lab.fluid = "Pleural"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What were the last 5 meetings when Columbia was mu, 4-2?
CREATE TABLE table_49386 ( "Missouri vs." text, "Overall Record" text, "at Columbia" text, "at Opponent's Venue" text, "at Neutral Site" text, "Last 5 Meetings" text, "Last 10 Meetings" text, "Current Streak" text )
SELECT "Last 5 Meetings" FROM table_49386 WHERE "at Columbia" = 'mu, 4-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 519, 3840, 41, 96, 329, 159, 7, 32, 459, 3, 208, 7, 535, 1499, 6, 96, 23847, 1748, 11392, 121, 1499, 6, 96, 144, 8183, 121, 1499, 6, 96, 144, 4495, 9977, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3612, 7, 17, 305, 9198, 7, 121, 21680, 953, 834, 3647, 519, 3840, 549, 17444, 427, 96, 144, 8183, 121, 3274, 3, 31, 51, 76, 6, 314, 4949, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What shows for 3:30 pm when 2:30 pm is local programs?
CREATE TABLE table_58838 ( "7:00 am" text, "9:00 am" text, "10:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "2:30 pm" text, "3:30 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "5:00 pm" FROM table_58838 WHERE "2:30 pm" = 'local programs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4060, 3747, 41, 96, 18735, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 25713, 183, 121, 1499, 6, 96, 536, 24294, 183, 121, 1499, 6, 96, 29, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19870, 6366, 121, 21680, 953, 834, 755, 4060, 3747, 549, 17444, 427, 96, 21876, 6366, 121, 3274, 3, 31, 16882, 1356, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many episodes have a share of 16.2% and an episode number of less than 1?
CREATE TABLE table_name_82 (total_viewers VARCHAR, share VARCHAR, episode_no VARCHAR)
SELECT COUNT(total_viewers) FROM table_name_82 WHERE share = "16.2%" AND episode_no < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 235, 1947, 834, 4576, 277, 584, 4280, 28027, 6, 698, 584, 4280, 28027, 6, 5640, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 834, 4576, 277, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 698, 3274, 96, 2938, 5, 5406, 121, 3430, 5640, 834, 29, 32, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -10...
Who was the host that garnered ratings of 9.6/26?
CREATE TABLE table_name_30 ( host VARCHAR, ratings VARCHAR )
SELECT host FROM table_name_30 WHERE ratings = "9.6/26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 2290, 584, 4280, 28027, 6, 9712, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2290, 24, 22639, 1271, 9712, 13, 5835, 948, 87, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2290, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 9712, 3274, 96, 8797, 948, 87, 2688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the most attendance for game site for los angeles memorial coliseum
CREATE TABLE table_14984103_1 (attendance INTEGER, game_site VARCHAR)
SELECT MAX(attendance) FROM table_14984103_1 WHERE game_site = "Los Angeles Memorial Coliseum"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4608, 17864, 834, 536, 41, 15116, 663, 3, 21342, 17966, 6, 467, 834, 3585, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 11364, 21, 467, 353, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 24816, 4608, 17864, 834, 536, 549, 17444, 427, 467, 834, 3585, 3274, 96, 434, 32, 7, 4975, 9107, 3043, 159, 15, 440, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what number of patients were admitted in urgent care for hemodialysis?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Hemodialysis"
[ 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,...
What are the lowest points when the language is Portuguese?
CREATE TABLE table_name_87 ( points INTEGER, language VARCHAR )
SELECT MIN(points) FROM table_name_87 WHERE language = "portuguese"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 979, 3, 21342, 17966, 6, 1612, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 7402, 979, 116, 8, 1612, 19, 21076, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 1612, 3274, 96, 1493, 76, 15991, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the constellation when the right ascension (j2000) is 09h51m54.0s?
CREATE TABLE table_name_61 (constellation VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT constellation FROM table_name_61 WHERE right_ascension___j2000__ = "09h51m54.0s"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 8056, 6714, 257, 584, 4280, 28027, 6, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30872, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 834, 834, 3274, 96, 4198, 107, 5553, 51, 755, 15021, 7, 121, 1, -100, -100, -100, -100, -100, -100...
What is the 2nd leg of team 2 Far rabat?
CREATE TABLE table_name_92 (team_2 VARCHAR)
SELECT 2 AS nd_leg FROM table_name_92 WHERE team_2 = "far rabat"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 11650, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 204, 727, 4553, 13, 372, 204, 5186, 3, 7093, 144, 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, 204, 6157, 3, 727, 834, 5772, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 372, 834, 357, 3274, 96, 5544, 3, 7093, 144, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is minimum days of hospital stay of patients whose death status is 0?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT MIN(demographic.days_stay) FROM demographic WHERE demographic.expire_flag = "0"
[ 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, 3, 17684, 599, 1778, 16587, 5, 1135, 7, 834, 21545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 994, 2388, 15, 834, 89, 5430, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me about the distribution of hire_date and the amount of hire_date bin hire_date by time in a bar chart, show in desc by the Y please.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(4...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY COUNT(HIRE_DATE) DESC
[ 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, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 54...
What was the author/editor/source when the l.a. ranking was 1st?
CREATE TABLE table_19948664_2 (author___editor___source VARCHAR, ranking_la__2_ VARCHAR)
SELECT author___editor___source FROM table_19948664_2 WHERE ranking_la__2_ = "1st"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 41, 17415, 834, 834, 834, 11272, 127, 834, 834, 834, 7928, 584, 4280, 28027, 6, 11592, 834, 521, 834, 834, 357, 834, 584, 4280, 28027, 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, 2291, 834, 834, 834, 11272, 127, 834, 834, 834, 7928, 21680, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 549, 17444, 427, 11592, 834, 521, 834, 834, 357, 834, 3274, 96, 536, 7, 17, 121, 1, -100, -100, -100, -100, ...
when was patient 005-62766 discharged for the last time from the hospital in 2104?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, ic...
SELECT patient.hospitaldischargetime FROM patient WHERE patient.uniquepid = '005-62766' AND STRFTIME('%y', patient.hospitaldischargetime) = '2104' ORDER BY patient.hospitaldischargetime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 26, 159, 7993, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 755, 5783, 2555, 3539, 31, 3430, 3, 13733, 6245, 15382, 599, 31, 1454, 63, 31, 6, 1868, 5, 31386, 26,...
Which Supplier have a Basic shape of flat, a Wrist pad of no, and Keys (x modes) of 25+?
CREATE TABLE table_name_16 (supplier VARCHAR, keys__x_modes_ VARCHAR, basic_shape VARCHAR, wrist_pad VARCHAR)
SELECT supplier FROM table_name_16 WHERE basic_shape = "flat" AND wrist_pad = "no" AND keys__x_modes_ = "25+"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 15956, 972, 584, 4280, 28027, 6, 9060, 834, 834, 226, 834, 14930, 7, 834, 584, 4280, 28027, 6, 1857, 834, 7, 9516, 15, 584, 4280, 28027, 6, 14552, 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, 8106, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1857, 834, 7, 9516, 15, 3274, 96, 13710, 121, 3430, 14552, 834, 5612, 3274, 96, 29, 32, 121, 3430, 9060, 834, 834, 226, 834, 14930, 7, 834, 3274, 96, 1828, ...
What player is from canterbury (ushs)?
CREATE TABLE table_5149 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team" text )
SELECT "Player" FROM table_5149 WHERE "College/Junior/Club Team" = 'canterbury (ushs)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 3647, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, 683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 5553, 3647, 549, 17444, 427, 96, 9939, 7883, 87, 683, 202, 23, 127, 87, 254, 11158, 2271, 121, 3274, 3, 31, 1608, 449, 7165, 41, 8489, 7, 61, 31, 1, -100, -100, -100, -100, -...
how many patients whose marital status is married and diagnoses short title is ami inferolateral, init?
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 WHERE demographic.marital_status = "MARRIED" AND diagnoses.short_title = "AMI inferolateral, init"
[ 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, 5...
Record of 18–15–6 belongs to what lowest attendance?
CREATE TABLE table_name_32 (attendance INTEGER, record VARCHAR)
SELECT MIN(attendance) FROM table_name_32 WHERE record = "18–15–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 15116, 663, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 11392, 13, 507, 104, 1808, 104, 948, 16952, 12, 125, 7402, 113...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1368, 3274, 96, 2606, 104, 1808, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the drug code of the patient id 6983?
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 prescriptions.formulary_drug_cd FROM prescriptions WHERE prescriptions.subject_id = "6983"
[ 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, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 3951, 4591, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the points for with lost being 4
CREATE TABLE table_14058433_5 ( points_for VARCHAR, lost VARCHAR )
SELECT points_for FROM table_14058433_5 WHERE lost = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3076, 4608, 4201, 834, 755, 41, 979, 834, 1161, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 979, 21, 28, 1513, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 834, 1161, 21680, 953, 834, 2534, 3076, 4608, 4201, 834, 755, 549, 17444, 427, 1513, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the average Attendance rhat has the Opponent of dunfermline athletic?
CREATE TABLE table_name_85 ( attendance INTEGER, opponent VARCHAR )
SELECT AVG(attendance) FROM table_name_85 WHERE opponent = "dunfermline athletic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 11364, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 1348, 22497, 663, 3, 52, 547, 65, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 15264, 3274, 96, 26, 202, 1010, 51, 747, 12217, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the admission time and procedure icd9 code for chandra schulman.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT demographic.admittime, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.name = "Chandra Schulman"
[ 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, 14798, 5, 20466, 17, 715, 6, 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,...
How many sprint points have 0 extra laps for rank 19?
CREATE TABLE table_9911 ( "Rank" text, "Name" text, "Sprint Points" text, "Extra Laps" text, "Total Points" text )
SELECT "Sprint Points" FROM table_9911 WHERE "Extra Laps" = '0' AND "Rank" = '19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3264, 2596, 41, 96, 22557, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 134, 7260, 4564, 7, 121, 1499, 6, 96, 5420, 1313, 325, 102, 7, 121, 1499, 6, 96, 3696, 1947, 4564, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 7260, 4564, 7, 121, 21680, 953, 834, 3264, 2596, 549, 17444, 427, 96, 5420, 1313, 325, 102, 7, 121, 3274, 3, 31, 632, 31, 3430, 96, 22557, 121, 3274, 3, 31, 2294, 31, 1, -100, -100, -100, -100, -100, -1...
what were the top three procedures that happened most often last year?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, h...
SELECT t1.treatmentname FROM (SELECT treatment.treatmentname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM treatment WHERE DATETIME(treatment.treatmenttime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-1 year') GROUP BY treatment.treatmentname) AS t1 WHERE t1.c1 <= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 26889, 4350, 21680, 41, 23143, 14196, 1058, 5, 26889, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, 75, 536, ...
what year has the highest marcel granollers champions?
CREATE TABLE table_name_34 (year INTEGER, champion VARCHAR)
SELECT MAX(year) FROM table_name_34 WHERE champion = "marcel granollers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 1201, 3, 21342, 17966, 6, 6336, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 215, 65, 8, 2030, 3157, 7125, 3, 7662, 32, 195, 277, 6336, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 6336, 3274, 96, 1635, 7125, 3, 7662, 32, 195, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which junctions have "replaced by bsi-35" listed in their remarks section?
CREATE TABLE table_11336756_6 (junctions VARCHAR, remarks VARCHAR)
SELECT junctions FROM table_11336756_6 WHERE remarks = "Replaced by BSI-35"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4201, 3708, 4834, 834, 948, 41, 6959, 4985, 7, 584, 4280, 28027, 6, 21029, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 23704, 7, 43, 96, 60, 4687, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23704, 7, 21680, 953, 834, 2596, 4201, 3708, 4834, 834, 948, 549, 17444, 427, 21029, 3274, 96, 1649, 4687, 26, 57, 3, 4547, 196, 18, 2469, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the production code of the episode that was watched by 3.81 million U.S. viewers?
CREATE TABLE table_29054902_1 ( production_code VARCHAR, us_viewers__million_ VARCHAR )
SELECT production_code FROM table_29054902_1 WHERE us_viewers__million_ = "3.81"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 5062, 2394, 357, 834, 536, 41, 999, 834, 4978, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 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, 1, 1, 1, 1...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 23838, 5062, 2394, 357, 834, 536, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 26195, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Name, when President is Khamtai Siphandon, and when Left Office is 1999?
CREATE TABLE table_name_66 (name VARCHAR, president VARCHAR, left_office VARCHAR)
SELECT name FROM table_name_66 WHERE president = "khamtai siphandon" AND left_office = "1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 4350, 584, 4280, 28027, 6, 2753, 584, 4280, 28027, 6, 646, 834, 19632, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 5570, 6, 116, 1661, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 2753, 3274, 96, 157, 1483, 17, 9, 23, 108, 8237, 2029, 121, 3430, 646, 834, 19632, 3274, 96, 2294, 3264, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
How much Distance has Notes of north end terminus of ar 155?
CREATE TABLE table_64575 ( "County" text, "Location" text, "Distance" real, "Total" real, "Notes" text )
SELECT SUM("Distance") FROM table_64575 WHERE "Notes" = 'north end terminus of ar 155'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2128, 3072, 41, 96, 10628, 63, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 308, 23, 8389, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 10358, 15, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 308, 23, 8389, 8512, 21680, 953, 834, 948, 2128, 3072, 549, 17444, 427, 96, 10358, 15, 7, 121, 3274, 3, 31, 29, 127, 189, 414, 12089, 302, 13, 1584, 3, 20896, 31, 1, -100, -100, -100, -100, ...
Who had points smaller than 22 and a drawn of 2?
CREATE TABLE table_name_4 (name VARCHAR, points VARCHAR, drawn VARCHAR)
SELECT name FROM table_name_4 WHERE points < 22 AND drawn = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 4350, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 979, 2755, 145, 1630, 11, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 979, 3, 2, 1630, 3430, 6796, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the average number of draws of the team with less than 17 points and less than 4 wins?
CREATE TABLE table_name_31 (draws INTEGER, points VARCHAR, wins VARCHAR)
SELECT AVG(draws) FROM table_name_31 WHERE points < 17 AND wins < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 19489, 7, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 14924, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 19489, 7, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 979, 3, 2, 1003, 3430, 9204, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of s sikh where 955 is the number of buddhists?
CREATE TABLE table_14598_5 ( s_sikh VARCHAR, buddhist VARCHAR )
SELECT s_sikh FROM table_14598_5 WHERE buddhist = "955"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20987, 3916, 834, 755, 41, 3, 7, 834, 7, 19030, 584, 4280, 28027, 6, 3, 11073, 26, 107, 343, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 7, 834, 7, 19030, 21680, 953, 834, 20987, 3916, 834, 755, 549, 17444, 427, 3, 11073, 26, 107, 343, 3274, 96, 3301, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Population, when Total Congregations is less than 4, and when % LDS is 0.54%?
CREATE TABLE table_77481 ( "State" text, "Membership" real, "Population" real, "% LDS" text, "Total Congregations" real )
SELECT "Population" FROM table_77481 WHERE "Total Congregations" < '4' AND "% LDS" = '0.54%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 3707, 536, 41, 96, 134, 4748, 121, 1499, 6, 96, 329, 18247, 2009, 121, 490, 6, 96, 27773, 7830, 121, 490, 6, 96, 1454, 301, 3592, 121, 1499, 6, 96, 3696, 1947, 1193...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27773, 7830, 121, 21680, 953, 834, 4013, 3707, 536, 549, 17444, 427, 96, 3696, 1947, 1193, 18301, 1628, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 1454, 301, 3592, 121, 3274, 3, 31, 12100, 5988, 31, 1, -100, -100, ...
When has a Tie no of 15?
CREATE TABLE table_9175 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Date" FROM table_9175 WHERE "Tie no" = '15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4729, 3072, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 308, 342, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 4729, 3072, 549, 17444, 427, 96, 382, 23, 15, 150, 121, 3274, 3, 31, 1808, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the composer of El Hanone?
CREATE TABLE table_name_98 (composer VARCHAR, title VARCHAR)
SELECT composer FROM table_name_98 WHERE title = "el hanone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 287, 2748, 49, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 13075, 13, 1289, 6627, 782, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 13075, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 2233, 3274, 96, 15, 40, 3, 2618, 782, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which order of bat belongs to the family of vespertilionidae and includes the northern long-eared myotis?
CREATE TABLE table_name_26 (order VARCHAR, family VARCHAR, name VARCHAR)
SELECT order FROM table_name_26 WHERE family = "vespertilionidae" AND name = "northern long-eared myotis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 9397, 584, 4280, 28027, 6, 384, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 455, 13, 3795, 16952, 12, 8, 384, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 455, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 384, 3274, 96, 162, 4339, 17, 23, 7325, 23, 26, 9, 15, 121, 3430, 564, 3274, 96, 29, 127, 189, 49, 29, 307, 18, 15, 9, 1271, 82, 32, 17, 159, 121, 1, -...
What is the division in the season with 13 tms and pos smaller than 8?
CREATE TABLE table_name_36 (division VARCHAR, tms VARCHAR, pos VARCHAR)
SELECT COUNT(division) FROM table_name_36 WHERE tms = 13 AND pos < 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 26, 23, 6610, 584, 4280, 28027, 6, 3, 17, 51, 7, 584, 4280, 28027, 6, 3, 2748, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4889,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 26, 23, 6610, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 3, 17, 51, 7, 3274, 1179, 3430, 3, 2748, 3, 2, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the game number with a score of 116 138?
CREATE TABLE table_name_31 ( game VARCHAR, score VARCHAR )
SELECT COUNT(game) FROM table_name_31 WHERE score = "116–138"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 467, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 467, 381, 28, 3, 9, 2604, 13, 3, 20159, 3, 22744,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 2604, 3274, 96, 20159, 104, 22744, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Record has an Attendance of 24,597?
CREATE TABLE table_34889 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Record" FROM table_34889 WHERE "Attendance" = '24,597'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3707, 3914, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 519, 3707, 3914, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 357, 26392, 4327, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the decision when the attendance was 19,592?
CREATE TABLE table_name_6 (decision VARCHAR, attendance VARCHAR)
SELECT decision FROM table_name_6 WHERE attendance = "19,592"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 221, 18901, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1357, 116, 8, 11364, 47, 12370, 3390, 357, 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, 1357, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 11364, 3274, 96, 2294, 6, 3390, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what's the name with first operational being march 1945
CREATE TABLE table_72466 ( "Name" text, "First operational" text, "Numeral system" text, "Computing mechanism" text, "Programming" text, "Turing complete" text )
SELECT "Name" FROM table_72466 WHERE "First operational" = 'March 1945'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2266, 3539, 41, 96, 23954, 121, 1499, 6, 96, 25171, 7763, 121, 1499, 6, 96, 21456, 4900, 358, 121, 1499, 6, 96, 5890, 2562, 53, 8557, 121, 1499, 6, 96, 3174, 16582, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23954, 121, 21680, 953, 834, 940, 2266, 3539, 549, 17444, 427, 96, 25171, 7763, 121, 3274, 3, 31, 25019, 18315, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What try bonus drew 0 and scored 427 points for?
CREATE TABLE table_69517 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Try bonus" FROM table_69517 WHERE "Drawn" = '0' AND "Points for" = '427'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 755, 2517, 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...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 651, 4023, 121, 21680, 953, 834, 3951, 755, 2517, 549, 17444, 427, 96, 308, 10936, 29, 121, 3274, 3, 31, 632, 31, 3430, 96, 22512, 7, 21, 121, 3274, 3, 31, 591, 2555, 31, 1, -100, -100, -100, -100, -100...
What is the Term Start date of the Progressive Party Prime Minister?
CREATE TABLE table_name_45 ( term_start VARCHAR, political_party VARCHAR )
SELECT term_start FROM table_name_45 WHERE political_party = "progressive party"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 1657, 834, 10208, 584, 4280, 28027, 6, 1827, 834, 8071, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 11679, 3273, 833, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1657, 834, 10208, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1827, 834, 8071, 3274, 96, 1409, 10292, 757, 1088, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the operator of the ensemble from Yorkshire?
CREATE TABLE table_name_89 (operator VARCHAR, region VARCHAR)
SELECT operator FROM table_name_89 WHERE region = "yorkshire"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 32, 883, 1016, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7221, 13, 8, 8784, 45, 19830, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7221, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 1719, 3274, 96, 63, 127, 157, 5718, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the scoring aerage for 111419?
CREATE TABLE table_13026799_3 ( scoring_average VARCHAR, earnings__$_ VARCHAR )
SELECT scoring_average FROM table_13026799_3 WHERE earnings__$_ = 111419
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 357, 3708, 3264, 834, 519, 41, 10389, 834, 28951, 584, 4280, 28027, 6, 8783, 834, 834, 3229, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10389, 834, 28951, 21680, 953, 834, 21448, 357, 3708, 3264, 834, 519, 549, 17444, 427, 8783, 834, 834, 3229, 834, 3274, 850, 2534, 2294, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the urban population for the city of Fuzhou?
CREATE TABLE table_8970 ( "City" text, "Chinese" text, "Pinyin" text, "Province" text, "Urban Population (2010)" real, "Administrative Population (2010)" real )
SELECT AVG("Urban Population (2010)") FROM table_8970 WHERE "City" = 'fuzhou'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3914, 2518, 41, 96, 254, 485, 121, 1499, 6, 96, 3541, 4477, 15, 121, 1499, 6, 96, 345, 77, 63, 77, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 1265, 52, 3478, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1265, 52, 3478, 29659, 26118, 8512, 21680, 953, 834, 3914, 2518, 549, 17444, 427, 96, 254, 485, 121, 3274, 3, 31, 22845, 9492, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date for game 8
CREATE TABLE table_21091157_1 ( date VARCHAR, game VARCHAR )
SELECT date FROM table_21091157_1 WHERE game = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 4729, 27452, 834, 536, 41, 833, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 467, 505, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 15239, 4729, 27452, 834, 536, 549, 17444, 427, 467, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me the names of customers who have placed orders between 2009-01-01 and 2010-01-01.
CREATE TABLE customers ( customer_name VARCHAR, customer_id VARCHAR ) CREATE TABLE orders ( customer_id VARCHAR, date_order_placed VARCHAR )
SELECT T1.customer_name FROM customers AS T1 JOIN orders AS T2 ON T1.customer_id = T2.customer_id WHERE T2.date_order_placed >= "2009-01-01" AND T2.date_order_placed <= "2010-01-01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 884, 834, 4350, 584, 4280, 28027, 6, 884, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5022, 41, 884, 834, 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, 5411, 25697, 49, 834, 4350, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 5022, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 23, 26, 3274, 332, 4416, 25697, 49, 834, 23, 26, 549, 17444, 427, 332, 4416, 5522, ...
Who's the head coach of the team with a price of $3.22 million?
CREATE TABLE table_23424 ( "Team" text, "Province" text, "Owner(s)" text, "Price" text, "Captain" text, "Head coach" text, "Icon Player" text )
SELECT "Head coach" FROM table_23424 WHERE "Price" = '$3.22 million'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3710, 2266, 41, 96, 18699, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 667, 210, 687, 599, 7, 61, 121, 1499, 6, 96, 345, 4920, 121, 1499, 6, 96, 19566, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 9, 26, 3763, 121, 21680, 953, 834, 357, 3710, 2266, 549, 17444, 427, 96, 345, 4920, 121, 3274, 3, 31, 3229, 19162, 357, 770, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Save in the game that has a Loss of sanderson (6-5)?
CREATE TABLE table_name_96 (save VARCHAR, loss VARCHAR)
SELECT save FROM table_name_96 WHERE loss = "sanderson (6-5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7, 9, 162, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7242, 16, 8, 467, 24, 65, 3, 9, 3144, 7, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1097, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1453, 3274, 96, 7, 232, 13515, 11372, 18, 9120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On the final date of April 5, 1995, what was the score?
CREATE TABLE table_name_96 (score_in_the_final VARCHAR, date VARCHAR)
SELECT score_in_the_final FROM table_name_96 WHERE date = "april 5, 1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 7, 9022, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 8, 804, 833, 13, 1186, 7836...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 7836, 7273, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose diagnoses long title is personal history of colonic polyps and lab test abnormal status is abnormal?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.long_title = "Personal history of colonic polyps" AND lab.flag = "abnormal"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What tournament has petra mandula patricia wartusch as the opponent in the final?
CREATE TABLE table_name_40 (tournament VARCHAR, opponent_in_the_final VARCHAR)
SELECT tournament FROM table_name_40 WHERE opponent_in_the_final = "petra mandula patricia wartusch"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5892, 65, 158, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 15264, 834, 77, 834, 532, 834, 12406, 3274, 96, 855, 1313, 388, 26, 83, 9, 16246, 4915, 615, 17, 14220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
List the minimum impressions for sammy traoré
CREATE TABLE table_24565004_21 (appearances¹ INTEGER, name VARCHAR)
SELECT MIN(appearances¹) FROM table_24565004_21 WHERE name = "Sammy Traoré"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 2658, 41, 3096, 2741, 663, 7, 536, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 2559, 5709, 7, 21, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3096, 2741, 663, 7, 6982, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 2658, 549, 17444, 427, 564, 3274, 96, 134, 265, 2258, 3083, 127, 154, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What competition was played on 2 June 1992?
CREATE TABLE table_name_4 ( competition VARCHAR, date VARCHAR )
SELECT competition FROM table_name_4 WHERE date = "2 june 1992"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 2259, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2259, 47, 1944, 30, 204, 1515, 9047, 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, 2259, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 833, 3274, 96, 357, 3, 6959, 15, 9047, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...