NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which location has 103.534 million passengers in 2011-12?
CREATE TABLE table_72963 ( "Rank" real, "Railway Station" text, "Annual entry/exit (millions) 2011\u201312" text, "Annual interchanges (millions) 2011\u201312" text, "Total Passengers (millions) 2011\u201312" text, "Location" text, "Main Services" text, "Number of Platforms" real )
SELECT "Location" FROM table_72963 WHERE "Total Passengers (millions) 2011\u201312" = '103.534'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3166, 3891, 41, 96, 22557, 121, 490, 6, 96, 448, 9, 173, 1343, 5939, 121, 1499, 6, 96, 17608, 3471, 1764, 87, 994, 155, 41, 17030, 7, 61, 2722, 2, 76, 11138, 2122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 940, 3166, 3891, 549, 17444, 427, 96, 3696, 1947, 3424, 4606, 277, 41, 17030, 7, 61, 2722, 2, 76, 11138, 2122, 121, 3274, 3, 31, 1714, 9285, 3710, 31, 1, -100, -100, -...
What was the date of the week 4 game?
CREATE TABLE table_17927935_1 (date VARCHAR, week VARCHAR)
SELECT date FROM table_17927935_1 WHERE week = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4508, 4440, 2469, 834, 536, 41, 5522, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 471, 314, 467, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2517, 4508, 4440, 2469, 834, 536, 549, 17444, 427, 471, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average number of points for clubs that have played more than 42 times?
CREATE TABLE table_56507 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT AVG("Points") FROM table_56507 WHERE "Played" > '42'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 1752, 940, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22512, 7, 8512, 21680, 953, 834, 4834, 1752, 940, 549, 17444, 427, 96, 15800, 15, 26, 121, 2490, 3, 31, 4165, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the delay when scientific linux release is 5.10
CREATE TABLE table_1500146_1 (delay VARCHAR, scientific_linux_release VARCHAR)
SELECT delay FROM table_1500146_1 WHERE scientific_linux_release = "5.10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 536, 2560, 24300, 834, 536, 41, 221, 5595, 584, 4280, 28027, 6, 4290, 834, 31016, 834, 21019, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 7230, 116, 4290, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7230, 21680, 953, 834, 536, 2560, 24300, 834, 536, 549, 17444, 427, 4290, 834, 31016, 834, 21019, 3274, 96, 9125, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose year of death is less than or equal to 2138 and procedure short title is aortocor bypas-1 cor art?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dod_year <= "2138.0" AND procedures.short_title = "Aortocor bypas-1 cor art"
[ 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,...
Name the Prominence of the Mountain Peak of matchless mountain pb?
CREATE TABLE table_name_81 (prominence VARCHAR, mountain_peak VARCHAR)
SELECT prominence FROM table_name_81 WHERE mountain_peak = "matchless mountain pb"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 1409, 1109, 1433, 584, 4280, 28027, 6, 4180, 834, 14661, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 749, 1109, 1433, 13, 8, 5617, 1899...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 31829, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4180, 834, 14661, 3274, 96, 19515, 924, 4180, 3, 102, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the director of the film that Sister Films received an award for on 2/3/05?
CREATE TABLE table_name_48 ( director_s_ VARCHAR, date VARCHAR, recipient VARCHAR )
SELECT director_s_ FROM table_name_48 WHERE date = "2/3/05" AND recipient = "sister films"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 2090, 834, 7, 834, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 11095, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 2090, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 834, 7, 834, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 833, 3274, 96, 15896, 15020, 3076, 121, 3430, 11095, 3274, 96, 7, 5805, 4852, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the nickerie for marowijne being 4.7%
CREATE TABLE table_16886076_1 (nickerie VARCHAR, marowijne VARCHAR)
SELECT COUNT(nickerie) FROM table_16886076_1 WHERE marowijne = "4.7%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4060, 3328, 3959, 834, 536, 41, 11191, 4074, 584, 4280, 28027, 6, 954, 3623, 28469, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 11191, 4074, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11191, 4074, 61, 21680, 953, 834, 2938, 4060, 3328, 3959, 834, 536, 549, 17444, 427, 954, 3623, 28469, 15, 3274, 96, 7984, 6170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the 2009 for 2007 of 2r and tournament of wimbledon
CREATE TABLE table_name_35 (tournament VARCHAR)
SELECT 2009 FROM table_name_35 WHERE 2007 = "2r" AND tournament = "wimbledon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2464, 21, 4101, 13, 204, 52, 11, 5892, 13, 11064, 51, 2296, 2029, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2464, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 4101, 3274, 96, 357, 52, 121, 3430, 5892, 3274, 96, 210, 603, 2296, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which competition led to a total weight of 428kg?
CREATE TABLE table_name_77 (competition VARCHAR, total VARCHAR)
SELECT competition FROM table_name_77 WHERE total = "428kg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 287, 4995, 4749, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2259, 2237, 12, 3, 9, 792, 1293, 13, 314, 2577, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2259, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 792, 3274, 96, 591, 2577, 8711, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many steals did Nicole Levandusky make?
CREATE TABLE table_19722664_5 (steals VARCHAR, player VARCHAR)
SELECT steals FROM table_19722664_5 WHERE player = "Nicole Levandusky"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 5865, 2688, 4389, 834, 755, 41, 849, 5405, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 11332, 7, 410, 18063, 312, 2132, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11332, 7, 21680, 953, 834, 2294, 5865, 2688, 4389, 834, 755, 549, 17444, 427, 1959, 3274, 96, 21926, 15, 312, 2132, 1259, 5352, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score for king's cup 1996?
CREATE TABLE table_name_50 ( score VARCHAR, competition VARCHAR )
SELECT score FROM table_name_50 WHERE competition = "king's cup 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 2604, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 3, 1765, 31, 7, 4119, 6911, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 2259, 3274, 96, 1765, 31, 7, 4119, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients on urgent admission had other lysis of peritoneal adhesions?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.long_title = "Other lysis of peritoneal adhesions"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show me a bar chart for what are the different affiliations, and what is the total enrollment of schools founded after 1850 for each enrollment type?, and show by the y axis in descending.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT Affiliation, SUM(Enrollment) FROM university WHERE Founded > 1850 GROUP BY Affiliation ORDER BY SUM(Enrollment) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 89, 8027, 23, 257, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 3819, 549, 17444, 427, 3, 20100, 2490, 507, 1752, 350, 4630, 6880, 272, 476, 71, 89, 8027, 23, 257, 4674, 11300, 272, 476, 180, 6122, 599, 8532...
Name the ICAO for IATA of rgn
CREATE TABLE table_name_69 ( icao VARCHAR, iata VARCHAR )
SELECT icao FROM table_name_69 WHERE iata = "rgn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 3, 2617, 32, 584, 4280, 28027, 6, 3, 17221, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 15038, 667, 21, 27, 19282, 13, 3, 52,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2617, 32, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 3, 17221, 3274, 96, 52, 122, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
number of patients who were diagnosed until 2104 with drug withdrawal syndrome.
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartr...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'drug withdrawal syndrome' AND STRFTIME('%y', diagnosis.diagnosistime) <= '2104')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, 41, 11963, 670, 2562, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2358, 8292, 1499, 6, 2358, 40, 10333, 1499, 6, 2358, 7480, 35, 76, 17552, 381, 6, 11963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 10061, 15129, 21545, 23, 26, 21680, 8209, 549, ...
Name the total number of round for against the netherlands
CREATE TABLE table_22825058_23 (round VARCHAR, against VARCHAR)
SELECT COUNT(round) FROM table_22825058_23 WHERE against = "The Netherlands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 11434, 3449, 834, 2773, 41, 7775, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 1751, 21, 581, 8, 3134, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 357, 2577, 11434, 3449, 834, 2773, 549, 17444, 427, 581, 3274, 96, 634, 12023, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the home team when kwong wah was the away team?
CREATE TABLE table_name_41 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_41 WHERE away_team = "kwong wah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 372, 116, 3, 157, 210, 24...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 550, 834, 11650, 3274, 96, 157, 210, 2444, 3, 17771, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most round for michael goulian
CREATE TABLE table_20036882_2 ( round INTEGER, winning_pilot VARCHAR )
SELECT MAX(round) FROM table_20036882_2 WHERE winning_pilot = "Michael Goulian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23948, 3651, 4613, 834, 357, 41, 1751, 3, 21342, 17966, 6, 3447, 834, 24650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 1751, 21, 2278, 9, 15, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7775, 61, 21680, 953, 834, 23948, 3651, 4613, 834, 357, 549, 17444, 427, 3447, 834, 24650, 3274, 96, 329, 362, 9, 15, 40, 1263, 76, 9928, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What game number had an attendance of 2813?
CREATE TABLE table_23877 ( "#" text, "Date" text, "at/vs." text, "Opponent" text, "Score" text, "Attendance" real, "Record" text )
SELECT "#" FROM table_23877 WHERE "Attendance" = '2813'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 27697, 41, 96, 4663, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 144, 87, 208, 7, 535, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 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, 4663, 121, 21680, 953, 834, 2773, 27697, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 2577, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the high rebounds for march 17
CREATE TABLE table_20291 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High rebounds" FROM table_20291 WHERE "Date" = 'March 17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 4729, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 3, 23768, 121, 21680, 953, 834, 19818, 4729, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 25019, 1003, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many total rounds have the results of win, and n/a as the method?
CREATE TABLE table_name_12 ( round VARCHAR, res VARCHAR, method VARCHAR )
SELECT COUNT(round) FROM table_name_12 WHERE res = "win" AND method = "n/a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1751, 584, 4280, 28027, 6, 3, 60, 7, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 792, 14419, 43, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 3, 60, 7, 3274, 96, 3757, 121, 3430, 1573, 3274, 96, 29, 87, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Player had a To par of +1?
CREATE TABLE table_50352 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Player" FROM table_50352 WHERE "To par" = '+1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 2469, 357, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 1752, 2469, 357, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 18446, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what's the election date where electorate is omata
CREATE TABLE table_378 ( "Member" text, "Electorate" text, "Province" text, "MPs term" text, "Election date" text )
SELECT "Election date" FROM table_378 WHERE "Electorate" = 'Omata'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3940, 41, 96, 329, 18247, 121, 1499, 6, 96, 21543, 127, 342, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 5244, 7, 1657, 121, 1499, 6, 96, 427, 12252, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 12252, 833, 121, 21680, 953, 834, 519, 3940, 549, 17444, 427, 96, 21543, 127, 342, 121, 3274, 3, 31, 667, 3357, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the genre of the BBC World Service?
CREATE TABLE table_name_77 ( genre VARCHAR, station VARCHAR )
SELECT genre FROM table_name_77 WHERE station = "bbc world service"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 5349, 584, 4280, 28027, 6, 2478, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5349, 13, 8, 9938, 1150, 1387, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5349, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 2478, 3274, 96, 115, 115, 75, 296, 313, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the number of patients whose diagnoses short title is hemorrhage complic proc and lab test category is chemistry?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Hemorrhage complic proc" AND lab."CATEGORY" = "Chemistry"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the sum of attendance when the score was 2:0?
CREATE TABLE table_5527 ( "Venue" text, "Home" text, "Guest" text, "Score" text, "Attendance" real )
SELECT SUM("Attendance") FROM table_5527 WHERE "Score" = '2:0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 2555, 41, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 9105, 222, 121, 1499, 6, 96, 134, 9022, 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, 180, 6122, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3769, 2555, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 357, 10, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which team drafted Ron Annear?
CREATE TABLE table_30555 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT "NHL team" FROM table_30555 WHERE "Player" = 'Ron Annear'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 28803, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15743, 434, 372, 121, 21680, 953, 834, 1458, 28803, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 448, 106, 8977, 291, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which October has a Record of 5 1 0, and a Game larger than 6?
CREATE TABLE table_name_2 ( october INTEGER, record VARCHAR, game VARCHAR )
SELECT AVG(october) FROM table_name_2 WHERE record = "5–1–0" AND game > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 3, 32, 75, 235, 1152, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1797, 65, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 32, 75, 235, 1152, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 1368, 3274, 96, 755, 104, 536, 104, 632, 121, 3430, 467, 2490, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many addresses have zip code 197?
CREATE TABLE ADDRESSES ( zip_postcode VARCHAR )
SELECT COUNT(*) FROM ADDRESSES WHERE zip_postcode = "197"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8502, 3913, 10087, 3205, 41, 10658, 834, 5950, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 7181, 43, 10658, 1081, 3, 27181, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 8502, 3913, 10087, 3205, 549, 17444, 427, 10658, 834, 5950, 4978, 3274, 96, 27181, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest rank for gene littler with under 3 wins and under $962,133?
CREATE TABLE table_56198 ( "Rank" real, "Player" text, "Country" text, "Earnings( $ )" real, "Wins" real )
SELECT MAX("Rank") FROM table_56198 WHERE "Earnings( $ )" < '962,133' AND "Player" = 'gene littler' AND "Wins" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 24151, 41, 96, 22557, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 427, 291, 29, 53, 7, 599, 1514, 3, 61, 121, 490, 6, 96, 18455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 8512, 21680, 953, 834, 4834, 24151, 549, 17444, 427, 96, 427, 291, 29, 53, 7, 599, 1514, 3, 61, 121, 3, 2, 3, 31, 4314, 4482, 22974, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 729, 15...
what is the venue on october 28, 2008?
CREATE TABLE table_14194 ( "Date" text, "Venue" text, "Score" text, "Result" text, "Competition" text )
SELECT "Venue" FROM table_14194 WHERE "Date" = 'october 28, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26059, 4240, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 26059, 4240, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 13719, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the lowest recorded record for a player with an average larger than 13?
CREATE TABLE table_name_57 (rec INTEGER, avg INTEGER)
SELECT MIN(rec) FROM table_name_57 WHERE avg > 13
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 60, 75, 3, 21342, 17966, 6, 3, 9, 208, 122, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 4381, 1368, 21, 3, 9, 1959, 28, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 60, 75, 61, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 3, 9, 208, 122, 2490, 1179, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients are diagnosed with human immuno virus dis and had their lab test show abnormal status?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Human immuno virus dis" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the gore number for others % being 5.3%
CREATE TABLE table_23014476_1 (gore__number VARCHAR, others__percentage VARCHAR)
SELECT gore__number FROM table_23014476_1 WHERE others__percentage = "5.3%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 20885, 3959, 834, 536, 41, 839, 60, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 717, 834, 834, 883, 3728, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 281, 60, 834, 834, 5525, 1152, 21680, 953, 834, 13427, 20885, 3959, 834, 536, 549, 17444, 427, 717, 834, 834, 883, 3728, 545, 3274, 96, 9125, 5170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of games played against vietnam ?
CREATE TABLE table_204_913 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT COUNT(*) FROM table_204_913 WHERE "opponent" = 'vietnam'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4729, 519, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 953, 834, 26363, 834, 4729, 519, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, 5914, 17, 13363, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On broadcast date is 25april1970, how many people tuned in?
CREATE TABLE table_24073 ( "Episode" text, "Broadcast date" text, "Run time" text, "Viewers (in millions)" text, "Archive" text )
SELECT "Viewers (in millions)" FROM table_24073 WHERE "Broadcast date" = '25April1970'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 4552, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 279, 8635, 5254, 833, 121, 1499, 6, 96, 448, 202, 97, 121, 1499, 6, 96, 15270, 277, 41, 77, 4040, 61, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15270, 277, 41, 77, 4040, 61, 121, 21680, 953, 834, 11944, 4552, 549, 17444, 427, 96, 279, 8635, 5254, 833, 121, 3274, 3, 31, 1828, 23323, 2294, 2518, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the minimum storeys on 325 5th ave n
CREATE TABLE table_18077 ( "Rank" real, "Building" text, "Address" text, "Height" text, "Storeys" real, "Completed" real )
SELECT MIN("Storeys") FROM table_18077 WHERE "Address" = '325 5th Ave N'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 4013, 41, 96, 22557, 121, 490, 6, 96, 24752, 53, 121, 1499, 6, 96, 20773, 9377, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 28719, 63, 7, 121, 490, 6, 96, 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, 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, 28719, 63, 7, 8512, 21680, 953, 834, 20829, 4013, 549, 17444, 427, 96, 20773, 9377, 121, 3274, 3, 31, 519, 1828, 305, 189, 8945, 445, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
minehead has what tie number?
CREATE TABLE table_name_3 ( tie_no VARCHAR, home_team VARCHAR )
SELECT tie_no FROM table_name_3 WHERE home_team = "minehead"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 6177, 834, 29, 32, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2000, 3313, 65, 125, 6177, 381, 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, 6177, 834, 29, 32, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 234, 834, 11650, 3274, 96, 8695, 3313, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many white ethnic background patients have prescription for metolazone medication?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug = "Metolazone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Give me a bar chart for the total number of each dept name, and I want to list y axis from high to low order.
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 prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE student ( ID varchar(5...
SELECT dept_name, COUNT(*) FROM student GROUP BY dept_name ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1375, 41, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 4220, 834, 23, 26, 3, 4331, 4059, 28007, 6, 10542, 3, 4331, 4059, 18669, 6, 215, 206, 17552, 599, 8525, 632, 201, 740, 3, 4331,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1935, 61, 21680, 1236, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, ...
estimated glomerular filtration rate < 90 ml / min per 1.73 m2 of body surface area
CREATE TABLE table_train_210 ( "id" int, "serum_potassium" float, "serum_calcium" float, "estimated_glomerular_filtration_rate_egfr" int, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_210 WHERE estimated_glomerular_filtration_rate_egfr < 90
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 15239, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 49, 440, 834, 3013, 6500, 440, 121, 3, 12660, 6, 96, 7, 49, 440, 834, 10379, 2552, 121, 3, 12660, 6, 96, 3340...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15239, 549, 17444, 427, 5861, 834, 24422, 4885, 834, 18974, 834, 2206, 834, 15, 122, 89, 52, 3, 2, 2777, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which number of New Councils had a previous council number of 19 and the seats up for election were bigger than 6?
CREATE TABLE table_10294 ( "Party" text, "Previous council" real, "Staying councillors" real, "Seats up for election" real, "Election result" real, "New council" real )
SELECT COUNT("New council") FROM table_10294 WHERE "Previous council" = '19' AND "Seats up for election" < '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14388, 4240, 41, 96, 13725, 63, 121, 1499, 6, 96, 10572, 19117, 6098, 121, 490, 6, 96, 134, 17, 9, 8149, 6098, 322, 7, 121, 490, 6, 96, 134, 1544, 7, 95, 21, 4356, 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, 6861, 6098, 8512, 21680, 953, 834, 14388, 4240, 549, 17444, 427, 96, 10572, 19117, 6098, 121, 3274, 3, 31, 2294, 31, 3430, 96, 134, 1544, 7, 95, 21, 4356, 121, 3, 2, 3, 31, 948, 31, 1, -10...
What is the average rank of the province alborz, which had more than 14526 in 1956?
CREATE TABLE table_45533 ( "Rank" real, "City" text, "Province" text, "Date of Official Foundation of Municipality" real, "2006" real, "1996" real, "1986" real, "1976" real, "1966" real, "1956" real )
SELECT AVG("Rank") FROM table_45533 WHERE "Province" = 'alborz' AND "1956" > '14526'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4867, 519, 41, 96, 22557, 121, 490, 6, 96, 254, 485, 121, 1499, 6, 96, 3174, 2494, 565, 121, 1499, 6, 96, 308, 342, 13, 13686, 2941, 13, 16492, 485, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22557, 8512, 21680, 953, 834, 2128, 4867, 519, 549, 17444, 427, 96, 3174, 2494, 565, 121, 3274, 3, 31, 138, 6693, 172, 31, 3430, 96, 2294, 4834, 121, 2490, 3, 31, 20987, 2688, 31, 1, -100, -10...
What unit has gen et sp nov as the novelty?
CREATE TABLE table_name_51 (unit VARCHAR, novelty VARCHAR)
SELECT unit FROM table_name_51 WHERE novelty = "gen et sp nov"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 15129, 584, 4280, 28027, 6, 30372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1745, 65, 3, 729, 3, 15, 17, 3, 7, 102, 3, 5326, 38, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1745, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 30372, 3274, 96, 729, 3, 15, 17, 3, 7, 102, 3, 5326, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was South Melbourne's away team opponent?
CREATE TABLE table_name_8 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_8 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 1013, 9396, 31, 7, 550, 372, 15264,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 550, 834, 11650, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Iceland's total?
CREATE TABLE table_72635 ( "Rank" real, "Country/Territory" text, "Miss World" real, "1st Runner-up" real, "2nd Runner-up" real, "3rd Runner-up" real, "4th Runner-up" real, "5th Runner-up" real, "6th Runner-up" real, "Semifinalists" real, "Total" real )
SELECT COUNT("Total") FROM table_72635 WHERE "Country/Territory" = 'Iceland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 2469, 41, 96, 22557, 121, 490, 6, 96, 10628, 651, 87, 382, 21301, 10972, 121, 1499, 6, 96, 329, 159, 7, 1150, 121, 490, 6, 96, 536, 7, 17, 3, 23572, 18, 413,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8512, 21680, 953, 834, 940, 2688, 2469, 549, 17444, 427, 96, 10628, 651, 87, 382, 21301, 10972, 121, 3274, 3, 31, 196, 7125, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
What Tries against has a Losing bonus of 7?
CREATE TABLE table_name_43 (tries_against VARCHAR, losing_bonus VARCHAR)
SELECT tries_against FROM table_name_43 WHERE losing_bonus = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 5489, 834, 5407, 302, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 332, 2593, 581, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9000, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 5489, 834, 5407, 302, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the cyrillic name for lazarevo
CREATE TABLE table_2562572_35 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_35 WHERE settlement = "Lazarevo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 2469, 41, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 584, 4280, 28027, 6, 7025, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 21680, 953, 834, 19337, 1828, 5865, 834, 2469, 549, 17444, 427, 7025, 3274, 96, 434, 5246, 60, 1621, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
how mnay greek designation in tampa
CREATE TABLE table_18159601_1 (greek_designation VARCHAR, city VARCHAR)
SELECT COUNT(greek_designation) FROM table_18159601_1 WHERE city = "Tampa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 1808, 4314, 4542, 834, 536, 41, 3584, 15, 157, 834, 9124, 257, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 3, 51, 29, 9, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3584, 15, 157, 834, 9124, 257, 61, 21680, 953, 834, 2606, 1808, 4314, 4542, 834, 536, 549, 17444, 427, 690, 3274, 96, 382, 4624, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For the year won of 2001, what is the To Par?
CREATE TABLE table_name_29 ( to_par VARCHAR, year_s__won VARCHAR )
SELECT to_par FROM table_name_29 WHERE year_s__won = "2001"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 12, 834, 1893, 584, 4280, 28027, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 242, 8, 215, 751, 13, 44...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 23658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which country is Jim Les from?
CREATE TABLE table_11545282_12 ( nationality VARCHAR, player VARCHAR )
SELECT nationality FROM table_11545282_12 WHERE player = "Jim Les"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 2128, 2577, 357, 834, 2122, 41, 1157, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 19, 6006, 622, 45, 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, 1157, 485, 21680, 953, 834, 15660, 2128, 2577, 357, 834, 2122, 549, 17444, 427, 1959, 3274, 96, 683, 603, 622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the total number of air dates for 05 cycle
CREATE TABLE table_16976547_2 ( air_dates VARCHAR, cycle_no VARCHAR )
SELECT COUNT(air_dates) FROM table_16976547_2 WHERE cycle_no = "05"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4327, 4122, 4177, 834, 357, 41, 799, 834, 5522, 7, 584, 4280, 28027, 6, 4005, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2256, 834, 5522, 7, 61, 21680, 953, 834, 2938, 4327, 4122, 4177, 834, 357, 549, 17444, 427, 4005, 834, 29, 32, 3274, 96, 3076, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When Estudiantes was team #2, what was their agg. value?
CREATE TABLE table_name_28 ( agg VARCHAR, team__number2 VARCHAR )
SELECT agg FROM table_name_28 WHERE team__number2 = "estudiantes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 3, 9, 4102, 584, 4280, 28027, 6, 372, 834, 834, 5525, 1152, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 7545, 5291, 8386, 47, 372...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 4102, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 372, 834, 834, 5525, 1152, 357, 3274, 96, 222, 5291, 8386, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the title of the episode directed by Rowan Woods?
CREATE TABLE table_23918997_1 (title VARCHAR, directed_by VARCHAR)
SELECT title FROM table_23918997_1 WHERE directed_by = "Rowan Woods"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3288, 25312, 4327, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2233, 13, 8, 5640, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 357, 3288, 25312, 4327, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 448, 32, 3877, 2985, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many pumps temperature was 75 degrees celsuis ?
CREATE TABLE table_203_195 ( id number, "pump type and source" text, "typical use" text, "35 \u00b0c\n(e.g. heated screed floor)" number, "45 \u00b0c\n(e.g. heated screed floor)" number, "55 \u00b0c\n(e.g. heated timber floor)" number, "65 \u00b0c\n(e.g. radiator or dhw)" number, "75 \u0...
SELECT COUNT("pump type and source") FROM table_203_195 WHERE NOT "75 \u00b0c\n(e.g. radiator and dhw)" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 22464, 41, 3, 23, 26, 381, 6, 96, 4987, 1167, 686, 11, 1391, 121, 1499, 6, 96, 21888, 169, 121, 1499, 6, 96, 2469, 3, 2, 76, 1206, 115, 632, 75, 2, 29, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4987, 1167, 686, 11, 1391, 8512, 21680, 953, 834, 23330, 834, 22464, 549, 17444, 427, 4486, 96, 3072, 3, 2, 76, 1206, 115, 632, 75, 2, 29, 599, 15, 5, 122, 5, 22910, 11, 3, 26, 107, 210, ...
In what place did Phil Mickelson finish with a total of 282?
CREATE TABLE table_79743 ( "Player" text, "Country" text, "Year(s) won" text, "Total" real, "To par" text, "Finish" text )
SELECT "Finish" FROM table_79743 WHERE "Total" = '282' AND "Player" = 'phil mickelson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 4581, 519, 41, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 476, 2741, 599, 7, 61, 751, 121, 1499, 6, 96, 3696, 1947, 121, 490, 6, 96, 3696, 260...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 77, 1273, 121, 21680, 953, 834, 4440, 4581, 519, 549, 17444, 427, 96, 3696, 1947, 121, 3274, 3, 31, 2577, 357, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 18118, 1337, 15259, 739, 31, 1, -100, -100, -100, ...
Who is the home captain at the Adelaide Oval?
CREATE TABLE table_name_14 (home_captain VARCHAR, venue VARCHAR)
SELECT home_captain FROM table_name_14 WHERE venue = "adelaide oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 5515, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 234, 14268, 44, 8, 24272, 411,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 5669, 3274, 96, 15311, 5385, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what year were Reid's earnings €4,050 1?
CREATE TABLE table_29506171_2 (year INTEGER, earnings___€__ VARCHAR)
SELECT MIN(year) FROM table_29506171_2 WHERE earnings___€__ = "4,050 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 1752, 4241, 4450, 834, 357, 41, 1201, 3, 21342, 17966, 6, 8783, 834, 834, 834, 3378, 834, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 3166, 1752, 4241, 4450, 834, 357, 549, 17444, 427, 8783, 834, 834, 834, 3378, 834, 834, 3274, 96, 8525, 632, 1752, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
A bar chart about what is the total revenue of each manufacturer?, and order y-axis from high to low order.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Name, SUM(Revenue) FROM Manufacturers GROUP BY Name ORDER BY SUM(Revenue) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 1649, 15098, 61, 21680, 15248, 7, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 180, 6122, 599, 1649, 15098, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about Team_ID over the ACC_Road , and group by attribute All_Home.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT ACC_Road, Team_ID FROM basketball_match GROUP BY All_Home, ACC_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 448, 32, 9, 26, 6, 2271, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the released when the series is sorted 6y/ai?
CREATE TABLE table_name_68 (released VARCHAR, series_sorted VARCHAR)
SELECT released FROM table_name_68 WHERE series_sorted = "6y/ai"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 21019, 26, 584, 4280, 28027, 6, 939, 834, 14504, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1883, 116, 8, 939, 19, 3, 14504, 431,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1883, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 939, 834, 14504, 3274, 96, 948, 63, 87, 9, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which district has a Democratic incumbent that was first elected before 1996?
CREATE TABLE table_79148 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text )
SELECT "District" FROM table_79148 WHERE "Party" = 'democratic' AND "First elected" < '1996'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 24748, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 23, 20066, 121, 21680, 953, 834, 4440, 24748, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 23319, 447, 31, 3430, 96, 25171, 8160, 121, 3, 2, 3, 31, 2294, 4314, 31, 1, -100, -100, -100, -100, -100, ...
Which club had round of group stage round 1 and 5?
CREATE TABLE table_name_1 ( club VARCHAR, round VARCHAR )
SELECT club FROM table_name_1 WHERE round = "group stage round 1 and 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 1886, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1886, 141, 1751, 13, 563, 1726, 1751, 209, 11, 305, 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, 1886, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 1751, 3274, 96, 10739, 1726, 1751, 209, 11, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the city of license when founded was may 1995
CREATE TABLE table_name_92 (city_of_license VARCHAR, founded VARCHAR)
SELECT city_of_license FROM table_name_92 WHERE founded = "may 1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 6726, 834, 858, 834, 28062, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 690, 13, 3344, 116, 5710, 47, 164, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 834, 858, 834, 28062, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 5710, 3274, 96, 13726, 7273, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what opponent is below belgium ?
CREATE TABLE table_204_52 ( id number, "#" number, "date" text, "venue" text, "opponent" text, "score" text, "result" text, "competition" text )
SELECT "opponent" FROM table_204_52 WHERE id = (SELECT id FROM table_204_52 WHERE "opponent" = 'belgium') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 5373, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 7, 9022, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 121, 21680, 953, 834, 26363, 834, 5373, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 5373, 549, 17444, 427, 96, 32, 102, 9977, 121, 3274, 3, 31, ...
get me the number of patients with diagnoses icd9 code 45821 who had urine lab test done.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.icd9_code = "45821" AND lab.fluid = "Urine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What round did the event UFC 86 take place?
CREATE TABLE table_name_31 (round VARCHAR, event VARCHAR)
SELECT round FROM table_name_31 WHERE event = "ufc 86"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 7775, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 410, 8, 605, 412, 5390, 3, 3840, 240, 286, 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, 1751, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 605, 3274, 96, 76, 89, 75, 3, 3840, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Score, when Leading Scorer is Tyrone Hill , 20 Points?
CREATE TABLE table_name_6 (score VARCHAR, leading_scorer VARCHAR)
SELECT score FROM table_name_6 WHERE leading_scorer = "tyrone hill , 20 points"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 7, 9022, 584, 4280, 28027, 6, 1374, 834, 7, 5715, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 22798, 17763, 52, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1374, 834, 7, 5715, 49, 3274, 96, 17, 63, 52, 782, 9956, 3, 6, 460, 979, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the tries for with tries against at 33?
CREATE TABLE table_12828723_5 (tries_for VARCHAR, tries_against VARCHAR)
SELECT tries_for FROM table_12828723_5 WHERE tries_against = "33"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4613, 4225, 2773, 834, 755, 41, 9000, 834, 1161, 584, 4280, 28027, 6, 3, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9000, 834, 1161, 21680, 953, 834, 2122, 4613, 4225, 2773, 834, 755, 549, 17444, 427, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 4201, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When 9/07/1999 is the date of withdrawn what is the original number?
CREATE TABLE table_21795986_1 (original_number VARCHAR, withdrawn VARCHAR)
SELECT original_number FROM table_21795986_1 WHERE withdrawn = "9/07/1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 4440, 3390, 3840, 834, 536, 41, 21878, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 28032, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 668, 87, 4560, 13523, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 5525, 1152, 21680, 953, 834, 2658, 4440, 3390, 3840, 834, 536, 549, 17444, 427, 3, 28032, 3274, 96, 1298, 87, 4560, 13523, 3264, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
A pie chart for finding the number of the country of the airlines whose name starts with 'Orbit'.
CREATE TABLE airports ( apid integer, name text, city text, country text, x real, y real, elevation bigint, iata character varchar(3), icao character varchar(4) ) CREATE TABLE routes ( rid integer, dst_apid integer, dst_ap varchar(4), src_apid bigint, src_ap varc...
SELECT country, COUNT(country) FROM airlines WHERE name LIKE 'Orbit%' GROUP BY country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3761, 7, 41, 3, 9, 12417, 30278, 6, 564, 1499, 6, 690, 1499, 6, 684, 1499, 6, 3, 226, 490, 6, 3, 63, 490, 6, 16417, 600, 77, 17, 6, 3, 17221, 1848, 3, 4331, 4059, 17867, 6, 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, 684, 6, 2847, 17161, 599, 17529, 61, 21680, 19184, 549, 17444, 427, 564, 8729, 9914, 3, 31, 7395, 2360, 1454, 31, 350, 4630, 6880, 272, 476, 684, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What athlete has reno as the place?
CREATE TABLE table_name_73 ( athlete VARCHAR, place VARCHAR )
SELECT athlete FROM table_name_73 WHERE place = "reno"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 17893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 17893, 65, 3, 1536, 32, 38, 8, 286, 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, 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, 17893, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 286, 3274, 96, 1536, 32, 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 market shares and names of furnitures which no any company is producing in our records.
CREATE TABLE furniture (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR); CREATE TABLE furniture_manufacte (Market_Rate VARCHAR, name VARCHAR, Furniture_ID VARCHAR)
SELECT Market_Rate, name FROM furniture WHERE NOT Furniture_ID IN (SELECT Furniture_ID FROM furniture_manufacte)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1991, 41, 22572, 834, 448, 342, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 6, 9724, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1991, 834, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3611, 834, 448, 342, 6, 564, 21680, 1991, 549, 17444, 427, 4486, 9724, 834, 4309, 3388, 41, 23143, 14196, 9724, 834, 4309, 21680, 1991, 834, 348, 76, 8717, 15, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, what is the relationship between employee_id and salary ?
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_...
SELECT EMPLOYEE_ID, SALARY FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2, 31...
What is the average that has 2 for the rank?
CREATE TABLE table_39837 ( "Rank" text, "s Wicket" text, "Player" text, "Matches" text, "Average" text )
SELECT "Average" FROM table_39837 WHERE "Rank" = '2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3916, 4118, 41, 96, 22557, 121, 1499, 6, 96, 7, 18602, 15, 17, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 329, 144, 2951, 121, 1499, 6, 96, 188, 624, 545, 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, 188, 624, 545, 121, 21680, 953, 834, 519, 3916, 4118, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What's the winner of the Painewebber Invitational tournament?
CREATE TABLE table_16951 ( "Date" text, "Tournament" text, "Location" text, "Purse( $ )" real, "Winner" text, "Score" text, "1st Prize( $ )" real )
SELECT "Winner" FROM table_16951 WHERE "Tournament" = 'PaineWebber Invitational'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27096, 5553, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 345, 3589, 15, 599, 1514, 3, 61, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 27096, 5553, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 345, 7043, 15805, 1152, 25298, 138, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, visualize a bar chart about the distribution of hire_date and the sum of employee_id bin hire_date by time, rank Y in descending order.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), ...
SELECT HIRE_DATE, SUM(EMPLOYEE_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(EMPLOYEE_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, ...
Find the average age of male patients whose ethnicity is black/cape verdean.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.ethnicity = "BLACK/CAPE VERDEAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 16986, 427, 3, 16174, 308, 20152, 121, ...
Which team scored l 87–115 (ot)?
CREATE TABLE table_name_61 (team VARCHAR, score VARCHAR)
SELECT team FROM table_name_61 WHERE score = "l 87–115 (ot)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 11650, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 5799, 3, 40, 3, 4225, 104, 15660, 41, 32, 17, 61, 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, 372, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2604, 3274, 96, 40, 3, 4225, 104, 15660, 41, 32, 17, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest attendance on Monday, November 10 when link pings hc was the home team and there were more than 18 rounds?
CREATE TABLE table_62912 ( "Round" real, "Date" text, "Home" text, "Result" text, "Visitor" text, "Venue" text, "Attendance" real )
SELECT MIN("Attendance") FROM table_62912 WHERE "Home" = 'linköpings hc' AND "Date" = 'monday, november 10' AND "Round" > '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4729, 357, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4056, 4729, 357, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 4907, 1872, 2462, 7, 3, 107, 75, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 2157, ...
what is the number of patients whose admission year is less than 2123 and lab test name is d-dimer?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2123" AND lab.label = "D-Dimer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What's the odds for draw on Bet365 for the game Swindon v.s. Millwall for 2016/2017 season?
CREATE TABLE football_data ( season text, datetime time, div text, country text, league text, referee text, hometeam text, awayteam text, fthg number, ftag number, ftr text, hthg number, htag number, htr text, psh number, psd number, psa number, b3...
SELECT b365d FROM football_data WHERE hometeam = "Swindon" AND awayteam = "Millwall" AND season = "2016/2017"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3370, 834, 6757, 41, 774, 1499, 6, 833, 715, 97, 6, 3, 8481, 1499, 6, 684, 1499, 6, 5533, 1499, 6, 2401, 15, 15, 1499, 6, 234, 11650, 1499, 6, 550, 11650, 1499, 6, 3, 89, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 115, 10402, 26, 21680, 3370, 834, 6757, 549, 17444, 427, 234, 11650, 3274, 96, 134, 5165, 106, 121, 3430, 550, 11650, 3274, 96, 329, 1092, 10279, 121, 3430, 774, 3274, 96, 11505, 24396, 121, 1, -100, -100, -100, ...
give me the number of patients whose days of hospital stay is greater than 20 and drug name is neo*iv*fat emulsion?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "20" AND prescriptions.drug = "NEO*IV*Fat Emulsion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What position did the player from Baylor play?
CREATE TABLE table_15856 ( "Player" text, "No." text, "Nationality" text, "Position" text, "Years in Toronto" text, "School/Club Team" text )
SELECT "Position" FROM table_15856 WHERE "School/Club Team" = 'Baylor'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26556, 4834, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 535, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 16, 7030, 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, 345, 32, 7, 4749, 121, 21680, 953, 834, 26556, 4834, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 279, 9, 63, 322, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is KK -1 if KK -3 is 1,100?
CREATE TABLE table_54043 ( "KK - 1" text, "KK - 2" text, "KK - 3" text, "KK - 4" text, "KK - 5" text, "KK - 6" text, "KK - 7" text )
SELECT "KK - 1" FROM table_54043 WHERE "KK - 3" = '1,100'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25379, 4906, 41, 96, 22267, 3, 18, 209, 121, 1499, 6, 96, 22267, 3, 18, 204, 121, 1499, 6, 96, 22267, 3, 18, 220, 121, 1499, 6, 96, 22267, 3, 18, 3, 20364, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22267, 3, 18, 209, 121, 21680, 953, 834, 25379, 4906, 549, 17444, 427, 96, 22267, 3, 18, 220, 121, 3274, 3, 31, 4347, 2915, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What kind of Week 2 has a Week 4 of araya robinson?
CREATE TABLE table_name_15 (week_2 VARCHAR, week_4 VARCHAR)
SELECT week_2 FROM table_name_15 WHERE week_4 = "araya robinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 8041, 834, 357, 584, 4280, 28027, 6, 471, 834, 591, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 773, 13, 6551, 204, 65, 3, 9, 6551, 314, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 834, 357, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 471, 834, 591, 3274, 96, 9, 2866, 9, 3, 5840, 77, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum week that 69,372 people attended the game?
CREATE TABLE table_name_13 (week INTEGER, attendance VARCHAR)
SELECT MAX(week) FROM table_name_13 WHERE attendance = "69,372"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 8041, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2411, 471, 24, 3, 3951, 6, 4118, 357, 151, 5526, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 11364, 3274, 96, 3951, 6, 4118, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the FCC info of the station with a frequency above 95.3 and an ERP W smaller than 27 in Ocala, Florida?
CREATE TABLE table_name_48 ( fcc_info VARCHAR, city_of_license VARCHAR, frequency_mhz VARCHAR, erp_w VARCHAR )
SELECT fcc_info FROM table_name_48 WHERE frequency_mhz > 95.3 AND erp_w < 27 AND city_of_license = "ocala, florida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 3, 89, 75, 75, 834, 9583, 584, 4280, 28027, 6, 690, 834, 858, 834, 28062, 584, 4280, 28027, 6, 7321, 834, 51, 107, 172, 584, 4280, 28027, 6, 3, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 89, 75, 75, 834, 9583, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 7321, 834, 51, 107, 172, 2490, 668, 26627, 3430, 3, 49, 102, 834, 210, 3, 2, 2307, 3430, 690, 834, 858, 834, 28062, 3274, 96, 32, 1489...
Which date has a Week larger than 5, and an Attendance of 54,803?
CREATE TABLE table_9069 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Date" FROM table_9069 WHERE "Week" > '5' AND "Attendance" = '54,803'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2394, 3951, 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, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 2394, 3951, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 755, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 5062, 6, 2079, 519, 31, 1, -100, -100, -100, -100, ...
Name the panelists for david tennant
CREATE TABLE table_20433 ( "Episode Number" real, "Air Date" text, "Guest Host" text, "Musical Guest (Song performed)" text, "Who knows the most about the guest host? panelists" text, "Coat Of Cash Wearing Celebrity" text )
SELECT "Who knows the most about the guest host? panelists" FROM table_20433 WHERE "Guest Host" = 'David Tennant'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 4201, 41, 96, 427, 102, 159, 32, 221, 7720, 121, 490, 6, 96, 20162, 7678, 121, 1499, 6, 96, 9105, 222, 1546, 7, 17, 121, 1499, 6, 96, 29035, 138, 14252, 41, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20754, 4054, 8, 167, 81, 8, 3886, 2290, 58, 2952, 343, 7, 121, 21680, 953, 834, 26363, 4201, 549, 17444, 427, 96, 9105, 222, 1546, 7, 17, 121, 3274, 3, 31, 308, 9, 6961, 4738, 29, 288, 31, 1, -100, -100, -...
What are the names of the states where at least 3 heads were born?
CREATE TABLE head ( head_id number, name text, born_state text, age number ) CREATE TABLE department ( department_id number, name text, creation text, ranking number, budget_in_billions number, num_employees number ) CREATE TABLE management ( department_id number, head_...
SELECT born_state FROM head GROUP BY born_state HAVING COUNT(*) >= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 819, 41, 819, 834, 23, 26, 381, 6, 564, 1499, 6, 2170, 834, 5540, 1499, 6, 1246, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 3066, 834, 23, 26, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2170, 834, 5540, 21680, 819, 350, 4630, 6880, 272, 476, 2170, 834, 5540, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many France bronze have a gold of more than 1 and a rank of 0?
CREATE TABLE table_name_79 (bronze INTEGER, rank VARCHAR, gold VARCHAR, nation VARCHAR)
SELECT SUM(bronze) FROM table_name_79 WHERE gold > 1 AND nation = "france" AND rank < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 13711, 776, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 2045, 2490, 209, 3430, 2982, 3274, 96, 89, 5219, 121, 3430, 11003, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the catalog when the label was frontiers records?
CREATE TABLE table_name_61 ( catalog VARCHAR, label VARCHAR )
SELECT catalog FROM table_name_61 WHERE label = "frontiers records"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 10173, 584, 4280, 28027, 6, 3783, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 10173, 116, 8, 3783, 47, 20515, 7, 3187, 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, 10173, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3783, 3274, 96, 6849, 4518, 3187, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the republican Jon Huntsman that was administered June 19, 2008?
CREATE TABLE table_8470 ( "Poll Source" text, "Dates administered" text, "Democrat: Bob Springmeyer" text, "Republican: Jon Huntsman" text, "Lead Margin" real )
SELECT "Republican: Jon Huntsman" FROM table_8470 WHERE "Dates administered" = 'june 19, 2008'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4608, 2518, 41, 96, 8931, 40, 9149, 121, 1499, 6, 96, 308, 6203, 19092, 121, 1499, 6, 96, 19679, 10, 5762, 4328, 526, 7975, 121, 1499, 6, 96, 1649, 15727, 152, 10, 8178, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 15727, 152, 10, 8178, 9550, 7, 348, 121, 21680, 953, 834, 4608, 2518, 549, 17444, 427, 96, 308, 6203, 19092, 121, 3274, 3, 31, 6959, 15, 12370, 2628, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the total number of candidates for first elected in 1948 , 1964
CREATE TABLE table_1341472_15 (candidates VARCHAR, first_elected VARCHAR)
SELECT COUNT(candidates) FROM table_1341472_15 WHERE first_elected = "1948 , 1964"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 24719, 357, 834, 1808, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 792, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1608, 12416, 6203, 61, 21680, 953, 834, 23747, 24719, 357, 834, 1808, 549, 17444, 427, 166, 834, 19971, 3274, 96, 2294, 3707, 3, 6, 18969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which engine did Marlboro Team Alfa Romeo used with a chassis of alfa romeo 179?
CREATE TABLE table_70150 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Engine" FROM table_70150 WHERE "Entrant" = 'marlboro team alfa romeo' AND "Chassis" = 'alfa romeo 179'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 12278, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 2518, 12278, 549, 17444, 427, 96, 16924, 3569, 121, 3274, 3, 31, 1635, 40, 14901, 372, 491, 89, 9, 3, 11956, 32, 31, 3430, 96, 3541, 6500, 7, 121, 3274, 3, 31, 138, 89, 9, 3, 1...
What is the city when the Television network was the NFL Network?
CREATE TABLE table_2400 ( "Bowl Game" text, "Date" text, "Stadium" text, "City" text, "Television" text, "Matchups/Result" text, "Payout ( US$ )" text )
SELECT "City" FROM table_2400 WHERE "Television" = 'NFL Network'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 5548, 41, 96, 279, 2381, 40, 4435, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 382, 400, 6610, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 485, 121, 21680, 953, 834, 357, 5548, 549, 17444, 427, 96, 382, 400, 6610, 121, 3274, 3, 31, 12619, 434, 3426, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Please show the date of ceremony of the volumes that last more than 2 weeks on top.
CREATE TABLE music_festival (Date_of_ceremony VARCHAR, Volume VARCHAR); CREATE TABLE volume (Volume_ID VARCHAR, Weeks_on_Top INTEGER)
SELECT T1.Date_of_ceremony FROM music_festival AS T1 JOIN volume AS T2 ON T1.Volume = T2.Volume_ID WHERE T2.Weeks_on_Top > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 723, 834, 89, 24742, 41, 308, 342, 834, 858, 834, 2110, 15, 21208, 584, 4280, 28027, 6, 14816, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2908, 41, 2280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 342, 834, 858, 834, 2110, 15, 21208, 21680, 723, 834, 89, 24742, 6157, 332, 536, 3, 15355, 3162, 2908, 6157, 332, 357, 9191, 332, 5411, 22803, 440, 15, 3274, 332, 4416, 22803, 440, 15, 834, 4309, 549...
What position for the western michigan product picked ahead of 312?
CREATE TABLE table_name_16 (position VARCHAR, pick VARCHAR, school_club_team VARCHAR)
SELECT position FROM table_name_16 WHERE pick < 312 AND school_club_team = "western michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 4718, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1432, 3, 2, 220, 2122, 3430, 496, 834, 13442, 834, 11650, 3274, 96, 24411, 2278, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...