NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the average Year for the Royal Canadian Mint Engravers Artist when the Mintage is under 200?
CREATE TABLE table_name_35 ( year INTEGER, artist VARCHAR, mintage VARCHAR )
SELECT AVG(year) FROM table_name_35 WHERE artist = "royal canadian mint engravers" AND mintage < 200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 215, 3, 21342, 17966, 6, 2377, 584, 4280, 28027, 6, 13983, 545, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 2929, 21, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 2377, 3274, 96, 8170, 138, 54, 9, 8603, 13983, 3, 35, 15299, 277, 121, 3430, 13983, 545, 3, 2, 2382, 1, -100, -100, -100, -100, -100, -1...
What country has a 5.5 mark for security?
CREATE TABLE table_13677808_1 (rank VARCHAR, security VARCHAR)
SELECT rank FROM table_13677808_1 WHERE security = "5.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3708, 3940, 4018, 834, 536, 41, 6254, 584, 4280, 28027, 6, 1034, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3, 9, 3, 15938, 3946, 21, 1034, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 2368, 3708, 3940, 4018, 834, 536, 549, 17444, 427, 1034, 3274, 96, 15938, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What volume 3 weeks on top for Third Eye Blind?
CREATE TABLE table_47050 ( "Volume:Issue" text, "Issue Date(s)" text, "Weeks on Top" text, "Song" text, "Artist" text )
SELECT "Volume:Issue" FROM table_47050 WHERE "Weeks on Top" = '3' AND "Artist" = 'third eye blind'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27760, 1752, 41, 96, 22803, 440, 15, 10, 196, 7, 7, 76, 15, 121, 1499, 6, 96, 196, 7, 7, 76, 15, 7678, 599, 7, 61, 121, 1499, 6, 96, 1326, 16789, 30, 2224, 121, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22803, 440, 15, 10, 196, 7, 7, 76, 15, 121, 21680, 953, 834, 27760, 1752, 549, 17444, 427, 96, 1326, 16789, 30, 2224, 121, 3274, 3, 31, 519, 31, 3430, 96, 7754, 343, 121, 3274, 3, 31, 14965, 1580, 5480, 31, ...
What is the average number of events having 1 top-10, fewer than 4 cuts made, and 0 wins?
CREATE TABLE table_name_98 ( events INTEGER, cuts_made VARCHAR, top_10 VARCHAR, wins VARCHAR )
SELECT AVG(events) FROM table_name_98 WHERE top_10 = 1 AND wins > 0 AND cuts_made < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 984, 3, 21342, 17966, 6, 8620, 834, 4725, 584, 4280, 28027, 6, 420, 834, 1714, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 420, 834, 1714, 3274, 209, 3430, 9204, 2490, 3, 632, 3430, 8620, 834, 4725, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -10...
How many million U.S. viewers was written by Matt Pelfrey?
CREATE TABLE table_29545336_2 (us_viewers__millions_ VARCHAR, written_by VARCHAR)
SELECT us_viewers__millions_ FROM table_29545336_2 WHERE written_by = "Matt Pelfrey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 5062, 4867, 3420, 834, 357, 41, 302, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 21680, 953, 834, 3166, 5062, 4867, 3420, 834, 357, 549, 17444, 427, 1545, 834, 969, 3274, 96, 329, 144, 17, 18773, 89, 60, 63, 121, 1, -100, -100, -100, -100, -100, -1...
What was the total number of weeks with a date of bye?
CREATE TABLE table_name_14 ( week VARCHAR, date VARCHAR )
SELECT COUNT(week) FROM table_name_14 WHERE date = "bye"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 471, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 792, 381, 13, 1274, 28, 3, 9, 833, 13, 57, 15, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 833, 3274, 96, 969, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
when was lawrence academy at groton established?
CREATE TABLE table_2439728_1 ( founded INTEGER, school VARCHAR )
SELECT MIN(founded) FROM table_2439728_1 WHERE school = "Lawrence Academy at Groton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27730, 4327, 2577, 834, 536, 41, 5710, 3, 21342, 17966, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 116, 47, 973, 52, 1433, 25990, 44, 3, 3844, 17, 106,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 23329, 61, 21680, 953, 834, 27730, 4327, 2577, 834, 536, 549, 17444, 427, 496, 3274, 96, 3612, 210, 52, 1433, 4702, 44, 8554, 17, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Wasim Akram's rank?
CREATE TABLE table_name_47 (rank VARCHAR, player VARCHAR)
SELECT rank FROM table_name_47 WHERE player = "wasim akram"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 6254, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2751, 603, 4823, 2375, 31, 7, 11003, 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, 11003, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1959, 3274, 96, 9491, 603, 3, 1639, 2375, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is listed under occupation for someone from Santa Monica, California?
CREATE TABLE table_name_71 ( occupation VARCHAR, hometown VARCHAR )
SELECT occupation FROM table_name_71 WHERE hometown = "santa monica, california"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 13792, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2616, 365, 13792, 21, 841, 45, 4625, 20268, 6, 1826, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13792, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 22295, 3274, 96, 7, 288, 9, 1911, 2617, 6, 3, 15534, 1161, 29, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Born in 1982, this guard has what listed as a height?
CREATE TABLE table_66995 ( "Player" text, "Height" real, "Position" text, "Year born" real, "Current Club" text )
SELECT "Height" FROM table_66995 WHERE "Position" = 'guard' AND "Year born" = '1982'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3264, 755, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 121, 490, 6, 96, 254, 450, 5320,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2632, 121, 21680, 953, 834, 3539, 3264, 755, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 11010, 31, 3430, 96, 476, 2741, 2170, 121, 3274, 3, 31, 2294, 4613, 31, 1, -100, -100, -100, -100, ...
Which season is the wicket 2nd partnership in?
CREATE TABLE table_51337 ( "Wicket Partnership" text, "Runs" text, "Batsmen" text, "Opponents" text, "Venue" text, "Season" text )
SELECT "Season" FROM table_51337 WHERE "Wicket Partnership" = '2nd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2368, 4118, 41, 96, 518, 447, 8044, 17406, 121, 1499, 6, 96, 448, 202, 7, 121, 1499, 6, 96, 279, 144, 7, 904, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 755, 2368, 4118, 549, 17444, 427, 96, 518, 447, 8044, 17406, 121, 3274, 3, 31, 357, 727, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
List the writers of the books in ascending alphabetical order.
CREATE TABLE publication ( publication_id number, book_id number, publisher text, publication_date text, price number ) CREATE TABLE book ( book_id number, title text, issues number, writer text )
SELECT writer FROM book ORDER BY writer
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5707, 41, 5707, 834, 23, 26, 381, 6, 484, 834, 23, 26, 381, 6, 14859, 1499, 6, 5707, 834, 5522, 1499, 6, 594, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 484, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4346, 21680, 484, 4674, 11300, 272, 476, 4346, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What team does jan heylen race for?
CREATE TABLE table_name_35 (team VARCHAR, driver VARCHAR)
SELECT team FROM table_name_35 WHERE driver = "jan heylen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 11650, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 405, 3, 7066, 3, 13133, 40, 35, 1964, 21, 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, 372, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 2535, 3274, 96, 7066, 3, 13133, 40, 35, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what team had ricardo serrano for combativity prize?
CREATE TABLE table_24980 ( "Stage (Winner)" text, "General Classification" text, "Sprints Classification" text, "Mountains Classification" text, "Youth Classification" text, "Team Classification" text, "Combativity Prize" text )
SELECT "Team Classification" FROM table_24980 WHERE "Combativity Prize" = 'Ricardo Serrano'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3647, 2079, 41, 96, 134, 6505, 41, 18455, 687, 61, 121, 1499, 6, 96, 20857, 4501, 2420, 121, 1499, 6, 96, 134, 7260, 7, 4501, 2420, 121, 1499, 6, 96, 329, 32, 14016,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18699, 4501, 2420, 121, 21680, 953, 834, 357, 3647, 2079, 549, 17444, 427, 96, 5890, 3697, 10696, 11329, 121, 3274, 3, 31, 448, 23, 6043, 32, 5631, 2002, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
provide the number of patients whose admission type is emergency and procedure icd9 code is 5185?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND procedures.icd9_code = "5185"
[ 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 names and account balances of customers with the letter a in their names, order by the x-axis in descending.
CREATE TABLE bank ( branch_ID int, bname varchar(20), no_of_customers int, city varchar(10), state varchar(20) ) CREATE TABLE loan ( loan_ID varchar(3), loan_type varchar(15), cust_ID varchar(3), branch_ID varchar(3), amount int ) CREATE TABLE customer ( cust_ID varchar(3), cust_name varchar(20), acc_type char(1), acc_bal int, no_of_loans int, credit_score int, branch_ID int, state varchar(20) )
SELECT cust_name, acc_bal FROM customer WHERE cust_name LIKE '%a%' ORDER BY cust_name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2137, 41, 6421, 834, 4309, 16, 17, 6, 3, 115, 4350, 3, 4331, 4059, 599, 1755, 201, 150, 834, 858, 834, 25697, 277, 16, 17, 6, 690, 3, 4331, 4059, 599, 16968, 6, 538, 3, 4331, 405...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 123, 7, 17, 834, 4350, 6, 3, 6004, 834, 3849, 21680, 884, 549, 17444, 427, 123, 7, 17, 834, 4350, 8729, 9914, 3, 31, 1454, 9, 1454, 31, 4674, 11300, 272, 476, 123, 7, 17, 834, 4350, 309, 25067, 1, -100, -100, ...
What team did the manager come from who departed due to an end of tenure as caretaker?
CREATE TABLE table_name_56 ( team VARCHAR, manner_of_departure VARCHAR )
SELECT team FROM table_name_56 WHERE manner_of_departure = "end of tenure as caretaker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 372, 584, 4280, 28027, 6, 3107, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 410, 8, 2743, 369, 45...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3107, 834, 858, 834, 221, 2274, 1462, 3274, 96, 989, 13, 20752, 38, 124, 4914, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who did not have any job in the past, show me about the distribution of job_id and the amount of job_id , and group by attribute job_id in a bar chart.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) 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, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 6...
What's the total number of floors built after 2006, and have a rank of 12?
CREATE TABLE table_name_73 (floors INTEGER, built VARCHAR, rank VARCHAR)
SELECT SUM(floors) FROM table_name_73 WHERE built > 2006 AND rank = 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 20924, 7, 3, 21342, 17966, 6, 1192, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 381, 13, 8242,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 20924, 7, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 1192, 2490, 3581, 3430, 11003, 3274, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many regions were affected by each storm Visualize by bar chart, rank in ascending by the Y please.
CREATE TABLE region ( Region_id int, Region_code text, Region_name text ) CREATE TABLE storm ( Storm_ID int, Name text, Dates_active text, Max_speed int, Damage_millions_USD real, Number_Deaths int ) CREATE TABLE affected_region ( Region_id int, Storm_ID int, Number_city_affected real )
SELECT Name, COUNT(*) FROM storm AS T1 JOIN affected_region AS T2 ON T1.Storm_ID = T2.Storm_ID GROUP BY T1.Storm_ID ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1719, 41, 6163, 834, 23, 26, 16, 17, 6, 6163, 834, 4978, 1499, 6, 6163, 834, 4350, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5536, 41, 16133, 834, 4309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 5536, 6157, 332, 536, 3, 15355, 3162, 4161, 834, 18145, 6157, 332, 357, 9191, 332, 5411, 134, 17, 127, 51, 834, 4309, 3274, 332, 4416, 134, 17, 127, 51, 834, 4309, 350, ...
What are the terps points for the nov. 25/05 game?
CREATE TABLE table_22862203_2 ( terps_points VARCHAR, date VARCHAR )
SELECT terps_points FROM table_22862203_2 WHERE date = "Nov. 25/05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 4056, 23330, 834, 357, 41, 3, 449, 102, 7, 834, 2700, 7, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3, 449, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 449, 102, 7, 834, 2700, 7, 21680, 953, 834, 357, 2577, 4056, 23330, 834, 357, 549, 17444, 427, 833, 3274, 96, 4168, 208, 5, 944, 87, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Tell me the average goals for losses of 19 and goals against more than 59
CREATE TABLE table_name_77 (goals_for INTEGER, losses VARCHAR, goals_against VARCHAR)
SELECT AVG(goals_for) FROM table_name_77 WHERE losses = 19 AND goals_against > 59
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 839, 5405, 834, 1161, 3, 21342, 17966, 6, 8467, 584, 4280, 28027, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 834, 1161, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 8467, 3274, 957, 3430, 1766, 834, 9, 16720, 7, 17, 2490, 3, 3390, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
hiv or hepatitis b or c positive status
CREATE TABLE table_train_173 ( "id" int, "hiv_infection" bool, "hemoglobin_a1c_hba1c" float, "hepatitis_c" bool, "hepatitis_b" bool, "cirrhosis" bool, "renal_disease" bool, "hepatic_disease" bool, "allergy_to_egg" bool, "estimated_glomerular_filtration_rate_egfr" int, "NOUSE" float )
SELECT * FROM table_train_173 WHERE hiv_infection = 1 OR hepatitis_c = 1 OR hepatitis_b = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2517, 519, 41, 96, 23, 26, 121, 16, 17, 6, 96, 107, 23, 208, 834, 77, 17856, 121, 3, 12840, 40, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 2517, 519, 549, 17444, 427, 7102, 208, 834, 77, 17856, 3274, 209, 4674, 3, 88, 7768, 17, 159, 834, 75, 3274, 209, 4674, 3, 88, 7768, 17, 159, 834, 115, 3274, 209, 1, -100, -100, ...
how many rounds had the score 44-22
CREATE TABLE table_21256068_3 (round VARCHAR, score VARCHAR)
SELECT COUNT(round) FROM table_21256068_3 WHERE score = "44-22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 10124, 3328, 3651, 834, 519, 41, 7775, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 14419, 141, 8, 2604, 8537, 16149, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 357, 10124, 3328, 3651, 834, 519, 549, 17444, 427, 2604, 3274, 96, 3628, 16149, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the leading scorer and how many did he score for the game on June 13?
CREATE TABLE table_39589 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text )
SELECT "High points" FROM table_39589 WHERE "Date" = 'june 13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3301, 3914, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 519, 3301, 3914, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 6959, 15, 1179, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give the unit of measure for the product with the name 'cumin'.
CREATE TABLE ref_colors ( color_code text, color_description text ) CREATE TABLE product_characteristics ( product_id number, characteristic_id number, product_characteristic_value text ) CREATE TABLE ref_product_categories ( product_category_code text, product_category_description text, unit_of_measure text ) CREATE TABLE characteristics ( characteristic_id number, characteristic_type_code text, characteristic_data_type text, characteristic_name text, other_characteristic_details text ) CREATE TABLE ref_characteristic_types ( characteristic_type_code text, characteristic_type_description text ) CREATE TABLE products ( product_id number, color_code text, product_category_code text, product_name text, typical_buying_price text, typical_selling_price text, product_description text, other_product_details text )
SELECT t2.unit_of_measure FROM products AS t1 JOIN ref_product_categories AS t2 ON t1.product_category_code = t2.product_category_code WHERE t1.product_name = "cumin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 9910, 7, 41, 945, 834, 4978, 1499, 6, 945, 834, 221, 11830, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 834, 31886, 3040, 7, 41, 556, 834, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 4416, 15129, 834, 858, 834, 31038, 21680, 494, 6157, 3, 17, 536, 3, 15355, 3162, 6273, 834, 15892, 834, 8367, 839, 2593, 6157, 3, 17, 357, 9191, 3, 17, 5411, 15892, 834, 8367, 839, 651, 834, 4978, 3274, 3, ...
Which home team has an Away team of essendon?
CREATE TABLE table_name_76 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_76 WHERE away_team = "essendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 65, 46, 71, 1343, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 550, 834, 11650, 3274, 96, 8185, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many total viewers have April 21, 2010 as the original airing on channel 4?
CREATE TABLE table_24836 ( "Episode number" real, "Title" text, "Original airing on Channel 4" text, "Time of airing on Channel 4" text, "Original airing on E4" text, "Time of airing on E4" text, "Position in Channel 4s ratings a" text, "Position in E4s ratings b" text, "Total viewers" text )
SELECT COUNT("Total viewers") FROM table_24836 WHERE "Original airing on Channel 4" = 'April 21, 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3707, 3420, 41, 96, 427, 102, 159, 32, 221, 381, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 667, 3380, 10270, 799, 53, 30, 9916, 3, 20364, 1499, 6, 96, 1336...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 13569, 8512, 21680, 953, 834, 357, 3707, 3420, 549, 17444, 427, 96, 667, 3380, 10270, 799, 53, 30, 9916, 3, 20364, 3274, 3, 31, 23323, 12026, 2735, 31, 1, -100, -100, -100, -100, -...
What is the total number of games of the team against the Los Angeles Kings after January 5?
CREATE TABLE table_5178 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT COUNT("Game") FROM table_5178 WHERE "Opponent" = 'los angeles kings' AND "January" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 3940, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23055, 8512, 21680, 953, 834, 5553, 3940, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 2298, 11831, 15, 7, 3, 1765, 7, 31, 3430, 96, 30404, 121, 2490, 3, 31, 755, 31, 1, -100, -1...
What lead has the third David Nedohin?
CREATE TABLE table_75739 ( "Season" text, "Skip" text, "Third" text, "Second" text, "Lead" text )
SELECT "Lead" FROM table_75739 WHERE "Third" = 'david nedohin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 940, 3288, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2796, 9, 26, 121, 21680, 953, 834, 3072, 940, 3288, 549, 17444, 427, 96, 382, 9288, 26, 121, 3274, 3, 31, 26, 9, 6961, 3, 29, 15, 26, 32, 2907, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the lowest Top-10, when the Wins were 0, when the Top-25 was 12, and when the Events were less than 23?
CREATE TABLE table_6890 ( "Tournament" text, "Wins" real, "Top-5" real, "Top-10" real, "Top-25" real, "Events" real, "Cuts made" real )
SELECT MIN("Top-10") FROM table_6890 WHERE "Wins" = '0' AND "Top-25" = '12' AND "Events" < '23'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 2394, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 18, 17395, 490, 6, 96, 22481, 4536, 121, 490, 6, 96, 22481, 14855, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22481, 4536, 8512, 21680, 953, 834, 3651, 2394, 549, 17444, 427, 96, 18455, 7, 121, 3274, 3, 31, 632, 31, 3430, 96, 22481, 14855, 121, 3274, 3, 31, 2122, 31, 3430, 96, 427, 2169, 7, 121, 3, 2...
Which Outcome has a Score in the final of 1–6, 6–4, 7–5?
CREATE TABLE table_name_61 (outcome VARCHAR, score_in_the_final VARCHAR)
SELECT outcome FROM table_name_61 WHERE score_in_the_final = "1–6, 6–4, 7–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 670, 287, 15, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3387, 287, 15, 65, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 536, 104, 11071, 431, 104, 8525, 489, 104, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What engine did Riccardo Patrese use?
CREATE TABLE table_name_12 (engine VARCHAR, driver VARCHAR)
SELECT engine FROM table_name_12 WHERE driver = "riccardo patrese"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 20165, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 410, 2403, 75, 6043, 32, 5192, 60, 7, 15, 169, 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, 1948, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 2535, 3274, 96, 2234, 6043, 32, 6234, 60, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What country uses the title Marele Câștigător The Big Winner?
CREATE TABLE table_20780285_1 (country_region VARCHAR, title VARCHAR)
SELECT country_region FROM table_20780285_1 WHERE title = "Marele câștigător The Big Winner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3940, 4305, 4433, 834, 536, 41, 17529, 834, 18145, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 2284, 8, 2233, 1571, 400, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 684, 834, 18145, 21680, 953, 834, 1755, 3940, 4305, 4433, 834, 536, 549, 17444, 427, 2233, 3274, 96, 7286, 400, 16130, 7090, 37, 2734, 18125, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the title of the episode with the production code 2-19?
CREATE TABLE table_234886_3 ( title VARCHAR, prod_code VARCHAR )
SELECT title FROM table_234886_3 WHERE prod_code = "2-19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3707, 3840, 834, 519, 41, 2233, 584, 4280, 28027, 6, 813, 26, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 2773, 3707, 3840, 834, 519, 549, 17444, 427, 813, 26, 834, 4978, 3274, 96, 357, 4481, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the number of played for 16
CREATE TABLE table_14876228_1 ( played VARCHAR, scored VARCHAR )
SELECT COUNT(played) FROM table_14876228_1 WHERE scored = 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4225, 4056, 2577, 834, 536, 41, 1944, 584, 4280, 28027, 6, 5799, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 1944, 21, 898, 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, 2847, 17161, 599, 4895, 15, 26, 61, 21680, 953, 834, 2534, 4225, 4056, 2577, 834, 536, 549, 17444, 427, 5799, 3274, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the sum of Year opened when the span feet is more than 1247, and the spam metres is 384?
CREATE TABLE table_name_13 (year_opened INTEGER, span_feet VARCHAR, span_metres VARCHAR)
SELECT SUM(year_opened) FROM table_name_13 WHERE span_feet > 1247 AND span_metres = 384
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 1201, 834, 26940, 3, 21342, 17966, 6, 8438, 834, 89, 15, 15, 17, 584, 4280, 28027, 6, 8438, 834, 22404, 7, 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, 180, 6122, 599, 1201, 834, 26940, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 8438, 834, 89, 15, 15, 17, 2490, 586, 4177, 3430, 8438, 834, 22404, 7, 3274, 220, 4608, 1, -100, -100, -100, -100, -100, -100,...
what is the to par for mathew goggin?
CREATE TABLE table_name_72 (to_par VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_72 WHERE player = "mathew goggin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 235, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 12, 260, 21, 7270, 15, 210, 281, 4102, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1959, 3274, 96, 3357, 88, 210, 281, 4102, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of female patients who had bowel obstruction.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "BOWEL OBSTRUCTION"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 279, 15251, 3577, 3, ...
What is the zip code of staff with first name as Janessa and last name as Sawayn lived?
CREATE TABLE lessons ( lesson_id number, customer_id number, lesson_status_code text, staff_id number, vehicle_id number, lesson_date time, lesson_time text, price number ) CREATE TABLE addresses ( address_id number, line_1_number_building text, city text, zip_postcode text, state_province_county text, country text ) CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE customer_payments ( customer_id number, datetime_payment time, payment_method_code text, amount_payment number ) CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE customers ( customer_id number, customer_address_id number, customer_status_code text, date_became_customer time, date_of_birth time, first_name text, last_name text, amount_outstanding number, email_address text, phone_number text, cell_mobile_phone_number text )
SELECT T1.zip_postcode FROM addresses AS T1 JOIN staff AS T2 ON T1.address_id = T2.staff_address_id WHERE T2.first_name = "Janessa" AND T2.last_name = "Sawayn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5182, 41, 6114, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 6114, 834, 8547, 302, 834, 4978, 1499, 6, 871, 834, 23, 26, 381, 6, 1689, 834, 23, 26, 381, 6, 6114, 834, 5522, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13453, 834, 5950, 4978, 21680, 7181, 6157, 332, 536, 3, 15355, 3162, 871, 6157, 332, 357, 9191, 332, 5411, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 26416, 834, 9, 26, 12039, 834, 23, 26, 549, 17444, ...
Who was the center from Washington State?
CREATE TABLE table_name_90 (player VARCHAR, position VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_90 WHERE position = "center" AND school_club_team = "washington state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 20846, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 153...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 1102, 3274, 96, 13866, 121, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 14710, 6029, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the D 41 which has a D 46 of r 6
CREATE TABLE table_name_97 (d_41 VARCHAR, d_46 VARCHAR)
SELECT d_41 FROM table_name_97 WHERE d_46 = "r 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 26, 834, 4853, 584, 4280, 28027, 6, 3, 26, 834, 4448, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 8798, 84, 65, 3, 9, 309, 966...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 4853, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 3, 26, 834, 4448, 3274, 96, 52, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the high points for w 90 77 (ot)
CREATE TABLE table_29767 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_29767 WHERE "Score" = 'W 90–77 (OT)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 3708, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 357, 4327, 3708, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 518, 2777, 104, 4013, 41, 6951, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Record of the 1991 Port of Spain Games?
CREATE TABLE table_13535 ( "Event" text, "Record" text, "Nationality" text, "Date" text, "Games" text )
SELECT "Record" FROM table_13535 WHERE "Games" = '1991 port of spain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2469, 2469, 41, 96, 427, 2169, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 23055, 7, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 536, 2469, 2469, 549, 17444, 427, 96, 23055, 7, 121, 3274, 3, 31, 2294, 4729, 2147, 13, 4174, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the official name of the municipality whose name in Spanish is Crip n?
CREATE TABLE table_300283_1 ( official_name VARCHAR, name_in_spanish VARCHAR )
SELECT official_name FROM table_300283_1 WHERE name_in_spanish = "Cripán"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 2577, 519, 834, 536, 41, 2314, 834, 4350, 584, 4280, 28027, 6, 564, 834, 77, 834, 7, 2837, 1273, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2314, 834, 4350, 21680, 953, 834, 5426, 2577, 519, 834, 536, 549, 17444, 427, 564, 834, 77, 834, 7, 2837, 1273, 3274, 96, 254, 5082, 12916, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What category was the winner in?
CREATE TABLE table_name_45 ( category VARCHAR, outcome VARCHAR )
SELECT category FROM table_name_45 WHERE outcome = "winner"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3295, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3295, 47, 8, 4668, 16, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3295, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 6138, 3274, 96, 3757, 687, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the last name and age of the student who has allergy to both milk and cat Show a bar chart, I want to order in desc by the X.
CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) )
SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat") ORDER BY LName DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 6838, 49, 122, 63, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 23954, 6, 7526, 21680, 6341, 549, 17444, 427, 3, 13076, 4309, 3388, 41, 23143, 14196, 3, 13076, 4309, 21680, 4498, 834, 6838, 49, 122, 63, 549, 17444, 427, 432, 49, 122, 63, 3274, 96, 329, 173, 157, 121, 3, 2...
Which Senior status has a Chief Judge of 1991–1995?
CREATE TABLE table_name_30 (senior_status VARCHAR, chief_judge VARCHAR)
SELECT senior_status FROM table_name_30 WHERE chief_judge = "1991–1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 7, 35, 23, 127, 834, 8547, 302, 584, 4280, 28027, 6, 5752, 834, 354, 13164, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5523, 2637, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2991, 834, 8547, 302, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 5752, 834, 354, 13164, 3274, 96, 2294, 4729, 104, 19479, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Time of the Belarus Player with a Rank larger than 2 and Notes of FB?
CREATE TABLE table_name_98 (time VARCHAR, country VARCHAR, rank VARCHAR, notes VARCHAR)
SELECT time FROM table_name_98 WHERE rank > 2 AND notes = "fb" AND country = "belarus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 715, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 3358, 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, 0...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 11003, 2490, 204, 3430, 3358, 3274, 96, 89, 115, 121, 3430, 684, 3274, 96, 2370, 9, 4502, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the 1987 value of the 1994 atp masters series?
CREATE TABLE table_name_45 (Id VARCHAR)
SELECT 1987 FROM table_name_45 WHERE 1994 = "atp masters series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12701, 701, 13, 8, 7520, 44, 102, 2325, 7, 939, 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, 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, 12701, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 7520, 3274, 96, 144, 102, 2325, 7, 939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the year when the diameter was 729 km?
CREATE TABLE table_name_59 ( year_named VARCHAR, diameter__km_ VARCHAR )
SELECT year_named FROM table_name_59 WHERE diameter__km_ = 729
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 215, 834, 4350, 26, 584, 4280, 28027, 6, 9260, 834, 834, 5848, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 215, 116, 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, 215, 834, 4350, 26, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 9260, 834, 834, 5848, 834, 3274, 489, 3166, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many tracks are in the AAC audio file media type?
CREATE TABLE MEDIATYPE ( MediaTypeId VARCHAR, Name VARCHAR ) CREATE TABLE TRACK ( MediaTypeId VARCHAR )
SELECT COUNT(*) FROM MEDIATYPE AS T1 JOIN TRACK AS T2 ON T1.MediaTypeId = T2.MediaTypeId WHERE T1.Name = "AAC audio file"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 30296, 12016, 5668, 41, 3159, 25160, 196, 26, 584, 4280, 28027, 6, 5570, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11466, 15339, 41, 3159, 25160, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 3, 30296, 12016, 5668, 6157, 332, 536, 3, 15355, 3162, 11466, 15339, 6157, 332, 357, 9191, 332, 5411, 24607, 25160, 196, 26, 3274, 332, 4416, 24607, 25160, 196, 26, 549, 17444, 427, ...
what is the director of la ronde
CREATE TABLE table_37707 ( "Year" text, "English title" text, "Original title" text, "Country" text, "Director" text )
SELECT "Director" FROM table_37707 WHERE "Original title" = 'la ronde'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4013, 4560, 41, 96, 476, 2741, 121, 1499, 6, 96, 26749, 2233, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 23620, 127, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 23620, 127, 121, 21680, 953, 834, 519, 4013, 4560, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 521, 19033, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the result of the competition of 2000 afc asian cup group stages?
CREATE TABLE table_14684 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Result" FROM table_14684 WHERE "Competition" = '2000 afc asian cup group stages'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 4608, 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, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 24300, 4608, 549, 17444, 427, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 13527, 3, 9, 89, 75, 3, 9, 10488, 4119, 563, 6518, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which week had an attendance of 51,265?
CREATE TABLE table_69933 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Week" FROM table_69933 WHERE "Attendance" = '51,265'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 4271, 519, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 518, 10266, 121, 21680, 953, 834, 3951, 4271, 519, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 5553, 6, 357, 4122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Race did Michele Alboreto win?
CREATE TABLE table_57062 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Race" FROM table_57062 WHERE "Race Winner" = 'michele alboreto'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28363, 4056, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 448, 3302, 121, 21680, 953, 834, 28363, 4056, 549, 17444, 427, 96, 448, 3302, 18125, 121, 3274, 3, 31, 51, 362, 400, 7046, 127, 15, 235, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the frequency for part number of ac80566ue041dw
CREATE TABLE table_21018 ( "Model number" text, "sSpec number" text, "Frequency" text, "L2 cache" text, "FSB" text, "Mult." text, "Voltage" text, "TDP" text, "Socket" text, "Release date" text, "Part number(s)" text, "Release price ( USD )" text )
SELECT "Frequency" FROM table_21018 WHERE "Part number(s)" = 'AC80566UE041DW'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 2606, 41, 96, 24663, 381, 121, 1499, 6, 96, 7, 7727, 381, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 434, 357, 11800, 121, 1499, 6, 96, 7674, 279, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 371, 60, 835, 11298, 121, 21680, 953, 834, 15239, 2606, 549, 17444, 427, 96, 13725, 381, 599, 7, 61, 121, 3274, 3, 31, 5173, 2079, 755, 3539, 5078, 632, 4853, 20293, 31, 1, -100, -100, -100, -100, -100, -100, ...
Who had the highest rebounds on November 4
CREATE TABLE table_11959669_3 ( high_rebounds VARCHAR, date VARCHAR )
SELECT high_rebounds FROM table_11959669_3 WHERE date = "November 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3301, 4314, 3951, 834, 519, 41, 306, 834, 23768, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 8, 2030, 3, 23768, 30, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 23768, 21680, 953, 834, 2596, 3301, 4314, 3951, 834, 519, 549, 17444, 427, 833, 3274, 96, 28635, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
oh what is the minimum value of ph on patient 002-76990 during the first hospital encounter?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT MIN(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '002-76990' AND NOT patient.hospitaldischargetime IS NULL ORDER BY patient.hospitaladmittime LIMIT 1)) AND lab.labname = 'ph'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 9339, 5, 9339, 60, 7, 83, 17, 61, 21680, 7690, 549, 17444, 427, 7690, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, ...
provide the age and religion of subject id 65652.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.age, demographic.religion FROM demographic WHERE demographic.subject_id = "65652"
[ 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, 14798, 5, 545, 6, 14798, 5, 60, 2825, 23, 106, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 4122, 4122, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Namem the number of cities that contains Voivodeship of elbląg voivodeship
CREATE TABLE table_name_38 (no_of_cities VARCHAR, voivodeship VARCHAR)
SELECT no_of_cities FROM table_name_38 WHERE voivodeship = "elbląg voivodeship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 29, 32, 834, 858, 834, 75, 2197, 584, 4280, 28027, 6, 3336, 1621, 221, 2009, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 51, 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, 0...
[ 3, 23143, 14196, 150, 834, 858, 834, 75, 2197, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 3336, 1621, 221, 2009, 3274, 96, 15, 40, 115, 40, 2, 122, 3336, 1621, 221, 2009, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
patient 006-143187 was prescribed flagyl in 2105?
CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-143187')) AND medication.drugname = 'flagyl' AND STRFTIME('%y', medication.drugstarttime) = '2105'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 17166, 1499, 6, 2981, 20466, 29, 1499, 6, 2672, 10208, 715, 97, 6, 4845, 2916, 715, 97, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
What is the date of the poll where Murray had 11% from the Suffolk University source?
CREATE TABLE table_name_1 ( date VARCHAR, source VARCHAR, murray VARCHAR )
SELECT date FROM table_name_1 WHERE source = "suffolk university" AND murray = "11%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 833, 584, 4280, 28027, 6, 1391, 584, 4280, 28027, 6, 9593, 2866, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 5492, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1391, 3274, 96, 7, 2999, 32, 40, 157, 3819, 121, 3430, 9593, 2866, 3274, 96, 536, 4704, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the landesliga mitte for fc gundelfingen and vfl frohnlach
CREATE TABLE table_20181270_3 (landesliga_mitte VARCHAR, landesliga_süd VARCHAR, landesliga_nord VARCHAR)
SELECT landesliga_mitte FROM table_20181270_3 WHERE landesliga_süd = "FC Gundelfingen" AND landesliga_nord = "VfL Frohnlach"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9457, 2122, 2518, 834, 519, 41, 11553, 7, 17140, 834, 1538, 17, 15, 584, 4280, 28027, 6, 3, 11553, 7, 17140, 834, 7, 1272, 26, 584, 4280, 28027, 6, 3, 11553, 7, 17140, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11553, 7, 17140, 834, 1538, 17, 15, 21680, 953, 834, 9457, 2122, 2518, 834, 519, 549, 17444, 427, 3, 11553, 7, 17140, 834, 7, 1272, 26, 3274, 96, 5390, 9982, 26, 10386, 53, 35, 121, 3430, 3, 11553, 7, 17140, ...
What is event 4 when event one was gauntlet, event 2 was duel, and event 3 was pendulum?
CREATE TABLE table_name_10 (event_4 VARCHAR, event_3 VARCHAR, event_1 VARCHAR, event_2 VARCHAR)
SELECT event_4 FROM table_name_10 WHERE event_1 = "gauntlet" AND event_2 = "duel" AND event_3 = "pendulum"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 15, 2169, 834, 591, 584, 4280, 28027, 6, 605, 834, 519, 584, 4280, 28027, 6, 605, 834, 536, 584, 4280, 28027, 6, 605, 834, 357, 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, 605, 834, 591, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 605, 834, 536, 3274, 96, 20038, 29, 17, 1655, 121, 3430, 605, 834, 357, 3274, 96, 1259, 15, 40, 121, 3430, 605, 834, 519, 3274, 96, 3208, 1259, 517...
What is the total points for the tean with 8 losses?
CREATE TABLE table_17928 ( "Position" real, "Club" text, "Played" real, "Won" real, "Drawn" real, "Lost" real, "Pts For" real, "Pts Agst" real, "Bonus Points" real, "Points" real )
SELECT COUNT("Points") FROM table_17928 WHERE "Lost" = '8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26593, 2577, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 308, 10936, 29, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 26593, 2577, 549, 17444, 427, 96, 434, 3481, 121, 3274, 3, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which club has the most members majoring in "600"?
CREATE TABLE student (stuid VARCHAR, major VARCHAR); CREATE TABLE member_of_club (clubid VARCHAR, stuid VARCHAR); CREATE TABLE club (clubname VARCHAR, clubid VARCHAR)
SELECT t1.clubname FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t3.major = "600" GROUP BY t1.clubname ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 7, 17, 76, 23, 26, 584, 4280, 28027, 6, 779, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 858, 834, 13442, 41, 13442, 23, 26, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17, 5411, 13442, 4350, 21680, 1886, 6157, 3, 17, 536, 3, 15355, 3162, 1144, 834, 858, 834, 13442, 6157, 3, 17, 357, 9191, 3, 17, 5411, 13442, 23, 26, 3274, 3, 17, 4416, 13442, 23, 26, 3, 15355, 3162, 1236, 61...
What were the assists on April 8 in game less than 78?
CREATE TABLE table_name_75 ( high_assists VARCHAR, game VARCHAR, date VARCHAR )
SELECT high_assists FROM table_name_75 WHERE game < 78 AND date = "april 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 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, 306, 834, 6500, 7, 17, 7, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 467, 3, 2, 3, 3940, 3430, 833, 3274, 96, 9, 2246, 40, 505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which score has a Record of 48-55?
CREATE TABLE table_name_66 ( score VARCHAR, record VARCHAR )
SELECT score FROM table_name_66 WHERE record = "48-55"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 2604, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2604, 65, 3, 9, 11392, 13, 4678, 18, 3769, 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, 2604, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 1368, 3274, 96, 3707, 4525, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what was the last year this team played in the league ?
CREATE TABLE table_204_676 ( id number, "year" number, "division" number, "league" text, "regular season" text, "playoffs" text, "open cup" text )
SELECT MAX("year") FROM table_204_676
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3708, 948, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 26, 23, 6610, 121, 381, 6, 96, 29512, 121, 1499, 6, 96, 60, 122, 4885, 774, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 3708, 948, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the drew for the 1999-2000 season when they were in third place?
CREATE TABLE table_name_52 (drew VARCHAR, round VARCHAR, season VARCHAR)
SELECT drew FROM table_name_52 WHERE round = "third place" AND season = "1999-2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 26, 60, 210, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 26, 60, 210, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 60, 210, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1751, 3274, 96, 14965, 286, 121, 3430, 774, 3274, 96, 2294, 3264, 18, 13527, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where is moving to the type loaned out under the name tragodara?
CREATE TABLE table_59439 ( "Nat." text, "Name" text, "Moving to" text, "Type" text, "Transfer window" text )
SELECT "Moving to" FROM table_59439 WHERE "Type" = 'loaned out' AND "Name" = 'tragodara'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 591, 3288, 41, 96, 567, 144, 535, 1499, 6, 96, 23954, 121, 1499, 6, 96, 329, 32, 3745, 12, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 18474, 1010, 2034, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 32, 3745, 12, 121, 21680, 953, 834, 3390, 591, 3288, 549, 17444, 427, 96, 25160, 121, 3274, 3, 31, 40, 8086, 26, 91, 31, 3430, 96, 23954, 121, 3274, 3, 31, 5031, 32, 3439, 9, 31, 1, -100, -100, -100, ...
What was the average pick made by the Texas Rangers?
CREATE TABLE table_64357 ( "Pick" real, "Player" text, "Team" text, "Position" text, "Hometown/School" text )
SELECT AVG("Pick") FROM table_64357 WHERE "Team" = 'texas rangers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 519, 3436, 41, 96, 345, 3142, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 19040, 3540, 87, 29364, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 345, 3142, 8512, 21680, 953, 834, 4389, 519, 3436, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 10354, 9, 7, 620, 52, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients whose age is less than 47 and lab test fluid is pleural?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "47" AND lab.fluid = "Pleural"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the name, type, and flag of the ship that was built in the most recent year?
CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text ) CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text )
SELECT name, type, flag FROM ship ORDER BY built_year DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14268, 41, 14268, 834, 23, 26, 381, 6, 564, 1499, 6, 4383, 834, 23, 26, 381, 6, 1246, 1499, 6, 853, 1499, 6, 11003, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 686, 6, 5692, 21680, 4383, 4674, 11300, 272, 476, 1192, 834, 1201, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the target market for the station on 97.9 fm?
CREATE TABLE table_18757 ( "Frequency" text, "Call sign" text, "Name" text, "Format" text, "Owner" text, "Target city/ market" text, "City of license" text )
SELECT "Target city/ market" FROM table_18757 WHERE "Frequency" = '97.9 FM'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 3436, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 254, 1748, 1320, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 667, 210, 687, 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, 291, 2782, 690, 87, 512, 121, 21680, 953, 834, 25828, 3436, 549, 17444, 427, 96, 371, 60, 835, 11298, 121, 3274, 3, 31, 4327, 5, 1298, 13409, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Coach with a Big Ten that is 1st (148)?
CREATE TABLE table_75998 ( "Season" text, "Coach" text, "Overall" text, "Conference" text, "Big Ten" text, "National" text )
SELECT "Coach" FROM table_75998 WHERE "Big Ten" = '1st (148)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 3264, 927, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 3881, 1836, 121, 1499, 6, 96, 23847, 1748, 121, 1499, 6, 96, 4302, 11788, 121, 1499, 6, 96, 23805, 4738, 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, 3881, 1836, 121, 21680, 953, 834, 3072, 3264, 927, 549, 17444, 427, 96, 23805, 4738, 121, 3274, 3, 31, 536, 7, 17, 41, 24748, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was the score 269?
CREATE TABLE table_name_34 ( year VARCHAR, score VARCHAR )
SELECT COUNT(year) FROM table_name_34 WHERE score = 269
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 215, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 2604, 204, 3951, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 2604, 3274, 204, 3951, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many "Party" are in district south carolina 2?
CREATE TABLE table_2668243_22 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_2668243_22 WHERE district = "South Carolina 2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3651, 27730, 834, 2884, 41, 8071, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 96, 13725, 63, 121, 33, 16, 3939, 3414, 443,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8071, 61, 21680, 953, 834, 2688, 3651, 27730, 834, 2884, 549, 17444, 427, 3939, 3274, 96, 22081, 5089, 204, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the appointment date for the manager replaced by Lucien Favre?
CREATE TABLE table_name_68 (date_of_appointment VARCHAR, replaced_by VARCHAR)
SELECT date_of_appointment FROM table_name_68 WHERE replaced_by = "lucien favre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 5522, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 5821, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 4141, 833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 9, 102, 2700, 297, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 5821, 834, 969, 3274, 96, 12804, 35, 3, 89, 9, 10859, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
tell me the time of patient 003-43270's hospital admission until 2 years ago?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '003-43270' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-2 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 519, 18, 4906, 17485, 31, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 61, 3, 2, 24...
Who was the host team at Candlestick Park?
CREATE TABLE table_name_22 (host_team VARCHAR, stadium VARCHAR)
SELECT host_team FROM table_name_22 WHERE stadium = "candlestick park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 12675, 834, 11650, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2290, 372, 44, 25870, 9656, 1061, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2290, 834, 11650, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 14939, 3274, 96, 75, 232, 109, 9656, 2447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the sum of credit value of courses with more than one prerequisite for each department? Return a bar chart, and show in descending by the dept_name.
CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) )
SELECT dept_name, SUM(credits) FROM course AS T1 JOIN prereq AS T2 ON T1.course_id = T2.course_id GROUP BY dept_name ORDER BY dept_name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 9090, 206, 17552, 599, 11864, 7318, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 180, 6122, 599, 15547, 7, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 554, 60, 1824, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 350, ...
Name the award for nominated result and year after 2011
CREATE TABLE table_name_38 (award VARCHAR, result VARCHAR, year VARCHAR)
SELECT award FROM table_name_38 WHERE result = "nominated" AND year > 2011
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 9, 2239, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2760, 21, 150, 1109, 920, 74...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2760, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 741, 3274, 96, 3114, 77, 920, 121, 3430, 215, 2490, 2722, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average number of bronze medals of the Philippines, which has more than 0 gold?
CREATE TABLE table_76373 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Bronze") FROM table_76373 WHERE "Nation" = 'philippines' AND "Gold" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 4118, 519, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 3959, 4118, 519, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 18118, 23, 1572, 4477, 31, 3430, 96, 23576, 121, 2490, 3, 31, 632, 31, 1, -100, -100, ...
Which Attendance has an Opponent of perth glory, and a Round of 9?
CREATE TABLE table_name_91 (attendance INTEGER, opponent VARCHAR, round VARCHAR)
SELECT MIN(attendance) FROM table_name_91 WHERE opponent = "perth glory" AND round = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 15116, 663, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 22497, 663, 65, 46, 4495, 99...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 15264, 3274, 96, 883, 189, 12582, 121, 3430, 1751, 3274, 96, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the game when Houston was the home team and the result is 106-104?
CREATE TABLE table_48821 ( "Game" text, "Date" text, "Home Team" text, "Result" text, "Road Team" text )
SELECT "Game" FROM table_48821 WHERE "Home Team" = 'houston' AND "Result" = '106-104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4060, 2658, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 2271, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 2271, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 121, 21680, 953, 834, 591, 4060, 2658, 549, 17444, 427, 96, 19040, 2271, 121, 3274, 3, 31, 9492, 4411, 31, 3430, 96, 20119, 121, 3274, 3, 31, 16431, 18, 15442, 31, 1, -100, -100, -100, -100, -100, -100, ...
Tell me the time/retired for Laps larger than 63 and has a grid of 20
CREATE TABLE table_10264 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Time/Retired" FROM table_10264 WHERE "Laps" > '63' AND "Grid" = '20'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 4389, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13368, 87, 1649, 11809, 26, 121, 21680, 953, 834, 14388, 4389, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 3891, 31, 3430, 96, 13313, 26, 121, 3274, 3, 31, 1755, 31, 1, -100, -100, -100, -100, -100, ...
What team has 102 Points against?
CREATE TABLE table_name_61 ( team VARCHAR, points_against VARCHAR )
SELECT team FROM table_name_61 WHERE points_against = "102"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 372, 584, 4280, 28027, 6, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 65, 3, 14388, 4564, 7, 581, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 979, 834, 9, 16720, 7, 17, 3274, 96, 14388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where is runner-up Betsy Rawls from?
CREATE TABLE table_9048 ( "Year" real, "Winner" text, "Score" text, "Runner(s)-up" text, "Winner's share ($)" real, "Course" text, "Location" text )
SELECT "Location" FROM table_9048 WHERE "Runner(s)-up" = 'betsy rawls'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 3707, 41, 96, 476, 2741, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 23572, 599, 7, 61, 18, 413, 121, 1499, 6, 96, 18455, 687, 31,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 2394, 3707, 549, 17444, 427, 96, 23572, 599, 7, 61, 18, 413, 121, 3274, 3, 31, 346, 17, 7, 63, 5902, 40, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When the home team north melbourne was playing what did they score?
CREATE TABLE table_name_78 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_78 WHERE home_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 5515, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 234, 372, 3457, 3, 2341, 26255, 47, 1556, 125, 410, 79, 2604, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 234, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the largest crowd for any game where Footscray is the home team?
CREATE TABLE table_name_9 (crowd INTEGER, home_team VARCHAR)
SELECT MAX(crowd) FROM table_name_9 WHERE home_team = "footscray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 75, 3623, 26, 3, 21342, 17966, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2015, 4374, 21, 136, 467, 213, 1521...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 234, 834, 11650, 3274, 96, 6259, 7, 2935, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the time of Troy Bayliss with less than 8 grids?
CREATE TABLE table_78578 ( "Rider" text, "Bike" text, "Laps" real, "Time" text, "Grid" real )
SELECT "Time" FROM table_78578 WHERE "Grid" < '8' AND "Rider" = 'troy bayliss'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 755, 3940, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 279, 5208, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 26, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 3940, 755, 3940, 549, 17444, 427, 96, 13313, 26, 121, 3, 2, 3, 31, 927, 31, 3430, 96, 448, 23, 588, 121, 3274, 3, 31, 17, 8170, 10210, 40, 159, 7, 31, 1, -100, -100, -100, -100...
what is the preliminary average score when the evening gown score is 8.774 (6)?
CREATE TABLE table_name_58 ( preliminary_average VARCHAR, evening_gown VARCHAR )
SELECT preliminary_average FROM table_name_58 WHERE evening_gown = "8.774 (6)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 17413, 834, 28951, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 17413, 1348, 2604, 116,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 17413, 834, 28951, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2272, 834, 122, 9197, 3274, 96, 927, 5, 4013, 591, 3, 18669, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Did Flamengo play in the Recopa Sudamericana in 1998
CREATE TABLE table_14962316_9 ( recopa_sudamericana_1998 VARCHAR, team VARCHAR )
SELECT recopa_sudamericana_1998 FROM table_14962316_9 WHERE team = "Flamengo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4056, 25946, 834, 1298, 41, 3, 60, 10845, 9, 834, 7, 76, 26, 23064, 29, 9, 834, 2294, 3916, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 60, 10845, 9, 834, 7, 76, 26, 23064, 29, 9, 834, 2294, 3916, 21680, 953, 834, 24816, 4056, 25946, 834, 1298, 549, 17444, 427, 372, 3274, 96, 371, 521, 904, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
How many wins has the player with more than 21 events and earnings of 2,066,833 had?
CREATE TABLE table_5179 ( "Rank" real, "Player" text, "Country" text, "Earnings ( $ )" real, "Events" real, "Wins" real )
SELECT COUNT("Wins") FROM table_5179 WHERE "Earnings ( $ )" = '2,066,833' AND "Events" > '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5553, 4440, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 291, 29, 53, 7, 41, 1514, 3, 61, 121, 490, 6, 96, 427, 216...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 7, 8512, 21680, 953, 834, 5553, 4440, 549, 17444, 427, 96, 427, 291, 29, 53, 7, 41, 1514, 3, 61, 121, 3274, 3, 31, 4482, 5176, 11071, 4591, 519, 31, 3430, 96, 427, 2169, 7, 121, 249...
A bar chart showing the number of films each cinema has, and order by the bars in asc please.
CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text ) CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float )
SELECT Name, COUNT(Name) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 3417, 834, 4309, 16, 17, 6, 3, 22557, 834, 77, 834, 10833, 7, 16, 17, 6, 7720, 834, 77, 834, 9476, 16, 17, 6, 11029, 1499, 6, 7143, 15, 26, 834, 969, 1499, 6, 8465, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 814, 6157, 332, 357, 9191, 332, 5411, 371, 173, 51, 834, 4309, 3274, 332, 4416, 371, 173, 51, 834, 4309, 3, 15355, 3162, 10276, 6157...
Find the names of departments that are either in division AS or in division EN and in Building NEB.
CREATE TABLE DEPARTMENT (DName VARCHAR, Division VARCHAR, Building VARCHAR)
SELECT DName FROM DEPARTMENT WHERE Division = "AS" UNION SELECT DName FROM DEPARTMENT WHERE Division = "EN" AND Building = "NEB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3396, 19846, 11810, 41, 308, 23954, 584, 4280, 28027, 6, 6022, 584, 4280, 28027, 6, 5450, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 3056, 13, 10521, 24, 33, 893, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 309, 23954, 21680, 3396, 19846, 11810, 549, 17444, 427, 6022, 3274, 96, 3291, 121, 4417, 9215, 3, 23143, 14196, 309, 23954, 21680, 3396, 19846, 11810, 549, 17444, 427, 6022, 3274, 96, 5332, 121, 3430, 5450, 3274, 96, 41...
What is the total number of seasons with more than 0 wins and a 1st final placing?
CREATE TABLE table_name_30 (season VARCHAR, wins VARCHAR, final_placing VARCHAR)
SELECT COUNT(season) FROM table_name_30 WHERE wins > 0 AND final_placing = "1st"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 9476, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 804, 834, 6042, 75, 53, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9476, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 9204, 2490, 3, 632, 3430, 804, 834, 6042, 75, 53, 3274, 96, 536, 7, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What nation has 187.84 points?
CREATE TABLE table_52851 ( "Rank" real, "Name" text, "Nation" text, "Points" real, "Places" text )
SELECT "Nation" FROM table_52851 WHERE "Points" = '187.84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2577, 5553, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 345, 11706, 7, 121, 1499, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 567, 257, 121, 21680, 953, 834, 755, 2577, 5553, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 25828, 5, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...