NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
body mass index ( bmi ) < 30 kg / m2
CREATE TABLE table_train_280 ( "id" int, "fpg" float, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "renal_disease" bool, "hba1c" float, "body_mass_index_bmi" float, "NOUSE" float )
SELECT * FROM table_train_280 WHERE body_mass_index_bmi < 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 17518, 41, 96, 23, 26, 121, 16, 17, 6, 96, 89, 102, 122, 121, 3, 12660, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 17518, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 3, 2, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average against that has a drawn less than 7, points greater than 22, and 19 for the played?
CREATE TABLE table_name_66 (against INTEGER, played VARCHAR, drawn VARCHAR, points VARCHAR)
SELECT AVG(against) FROM table_name_66 WHERE drawn < 7 AND points > 22 AND played = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 1944, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 6796, 3, 2, 489, 3430, 979, 2490, 1630, 3430, 1944, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Teerasil Dangda who had a to club of released plays what position?
CREATE TABLE table_49709 ( "Exit Date" text, "Pos." text, "Player" text, "To club" text, "Transfer fee" text )
SELECT "Pos." FROM table_49709 WHERE "To club" = 'released' AND "Player" = 'teerasil dangda'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4327, 4198, 41, 96, 5420, 155, 7678, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 3696, 1886, 121, 1499, 6, 96, 18474, 1010, 2572, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 535, 21680, 953, 834, 591, 4327, 4198, 549, 17444, 427, 96, 3696, 1886, 121, 3274, 3, 31, 21019, 26, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 17, 15, 1498, 7, 173, 3, 26, 1468, 26, 9, 31, 1...
What episode number was 'Stumped Again / The Kick Stays in the Picture'?
CREATE TABLE table_3538 ( "Series #" real, "Season #" real, "Episode Title" text, "Original airdate" text, "Prod. No." text )
SELECT MIN("Season #") FROM table_3538 WHERE "Episode Title" = 'Stumped Again / The Kick Stays in the Picture'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3747, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 427, 102, 159, 32, 221, 11029, 121, 1499, 6, 96, 667, 3380, 10270, 799, 552...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 134, 15, 9, 739, 1713, 8512, 21680, 953, 834, 2469, 3747, 549, 17444, 427, 96, 427, 102, 159, 32, 221, 11029, 121, 3274, 3, 31, 13076, 18109, 7204, 3, 87, 37, 20759, 8026, 7, 16, 8, 15440, 31...
What population density (per km) that has 84 as the population (2006)?
CREATE TABLE table_13796 ( "Name" text, "Population (2011)" real, "Population (2006)" text, "Change (%)" text, "Land area (km\u00b2)" text, "Population density (per km\u00b2)" text )
SELECT "Population density (per km\u00b2)" FROM table_13796 WHERE "Population (2006)" = '84'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24636, 4314, 41, 96, 23954, 121, 1499, 6, 96, 27773, 7830, 25163, 121, 490, 6, 96, 27773, 7830, 28272, 121, 1499, 6, 96, 3541, 3280, 41, 6210, 121, 1499, 6, 96, 434, 232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 27773, 7830, 11048, 41, 883, 2280, 2, 76, 1206, 115, 7318, 121, 21680, 953, 834, 24636, 4314, 549, 17444, 427, 96, 27773, 7830, 28272, 121, 3274, 3, 31, 4608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Which Enrollment has a Mascot of norsemen?
CREATE TABLE table_name_5 ( enrollment INTEGER, mascot VARCHAR )
SELECT SUM(enrollment) FROM table_name_5 WHERE mascot = "norsemen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 17938, 3, 21342, 17966, 6, 3, 2754, 4310, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 695, 4046, 297, 65, 3, 9, 6664, 4310, 13, 3701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 35, 4046, 297, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 3, 2754, 4310, 3274, 96, 29, 127, 7, 15, 904, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which race Leader has a Stage of 7?
CREATE TABLE table_name_33 ( race_leader VARCHAR, stage VARCHAR )
SELECT race_leader FROM table_name_33 WHERE stage = "7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 1964, 834, 22900, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1964, 10310, 65, 3, 9, 13578, 13, 489, 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, 1964, 834, 22900, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1726, 3274, 96, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the last names of the teachers who teach grade 5?
CREATE TABLE teachers ( lastname text, firstname text, classroom number ) CREATE TABLE list ( lastname text, firstname text, grade number, classroom number )
SELECT DISTINCT T2.lastname FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE grade = 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 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, 3, 15438, 25424, 6227, 332, 4416, 5064, 4350, 21680, 570, 6157, 332, 536, 3, 15355, 3162, 3081, 6157, 332, 357, 9191, 332, 5411, 4057, 3082, 3274, 332, 4416, 4057, 3082, 549, 17444, 427, 2769, 3274, 305, 1, -100, -100...
Which Nationality has a Position of center, and a Years in Orlando of 2010 2012?
CREATE TABLE table_name_63 ( nationality VARCHAR, position VARCHAR, years_in_orlando VARCHAR )
SELECT nationality FROM table_name_63 WHERE position = "center" AND years_in_orlando = "2010–2012"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1157, 485, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 203, 834, 77, 834, 32, 7721, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 407...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 1102, 3274, 96, 13866, 121, 3430, 203, 834, 77, 834, 32, 7721, 32, 3274, 96, 14926, 104, 12172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose diagnoses long title is rupture of chordae tendineae?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.long_title = "Rupture of chordae tendineae"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Find the average checking balance.
CREATE TABLE checking ( custid number, balance number ) CREATE TABLE accounts ( custid number, name text ) CREATE TABLE savings ( custid number, balance number )
SELECT AVG(balance) FROM checking
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6450, 41, 123, 2248, 26, 381, 6, 2109, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3744, 41, 123, 2248, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 3849, 663, 61, 21680, 6450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the away team at punt road oval?
CREATE TABLE table_name_5 (away_team VARCHAR, venue VARCHAR)
SELECT away_team FROM table_name_5 WHERE venue = "punt road oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 550, 372, 44, 4930, 17, 1373, 17986, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 5669, 3274, 96, 6225, 17, 1373, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Driver Shaun Jones with a viper as a chassis is in what class?
CREATE TABLE table_name_96 (class VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT class FROM table_name_96 WHERE chassis = "viper" AND driver = "shaun jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 4057, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 10546, 3926, 202, 6193, 28, 3, 9, 5931,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 22836, 3274, 96, 2099, 883, 121, 3430, 2535, 3274, 96, 7, 1024, 202, 3, 1927, 1496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
when was the first otafest held ?
CREATE TABLE table_204_991 ( id number, "name" text, "first\nheld" number, "country" text, "earliest attendance figure known" text, "1998 attendance" number, "2000 attendance" number, "2002 attendance" number, "2004 attendance" number, "2006 attendance" number, "2008 attendan...
SELECT "first\nheld" FROM table_204_991 WHERE "name" = 'otafest'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3264, 536, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 14672, 2, 29, 14796, 121, 381, 6, 96, 17529, 121, 1499, 6, 96, 16454, 11364, 2320, 801, 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, 1...
[ 3, 23143, 14196, 96, 14672, 2, 29, 14796, 121, 21680, 953, 834, 26363, 834, 3264, 536, 549, 17444, 427, 96, 4350, 121, 3274, 3, 31, 32, 17, 9, 5960, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Difference of - 20, and a Position smaller than 17 is the highest against?
CREATE TABLE table_37850 ( "Position" real, "Team" text, "Points" real, "Played" real, "Drawn" real, "Lost" real, "Against" real, "Difference" text )
SELECT MAX("Against") FROM table_37850 WHERE "Difference" = '- 20' AND "Position" < '17'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 17246, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 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, 4800, 4, 599, 121, 20749, 8512, 21680, 953, 834, 4118, 17246, 549, 17444, 427, 96, 308, 99, 11788, 121, 3274, 3, 31, 18, 460, 31, 3430, 96, 345, 32, 7, 4749, 121, 3, 2, 3, 31, 2517, 31, 1, -100, -100, -100, -1...
List the main industry with highest total market value and its number of companies.
CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, market_value number ) CREATE TABLE gas_station ( station_id number, open_year number, location...
SELECT main_industry, COUNT(*) FROM company GROUP BY main_industry ORDER BY SUM(market_value) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 349, 834, 23, 26, 381, 6, 11003, 381, 6, 349, 1499, 6, 13767, 1499, 6, 711, 834, 13580, 7, 8224, 1499, 6, 1085, 834, 115, 14916, 381, 6, 9613, 834, 115, 14916, 381, 6, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 711, 834, 13580, 7, 8224, 6, 2847, 17161, 599, 1935, 61, 21680, 349, 350, 4630, 6880, 272, 476, 711, 834, 13580, 7, 8224, 4674, 11300, 272, 476, 180, 6122, 599, 8809, 834, 12097, 61, 309, 25067, 8729, 12604, 209, 1,...
What are the description and credit of the course which the student whose last name is Smithson took?
CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp_initial text, emp_jobcode text, emp_hiredate time, emp_dob time ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE student ( stu_num number, stu_lname text...
SELECT T4.crs_description, T4.crs_credit FROM class AS T1 JOIN enroll AS T2 ON T1.class_code = T2.class_code JOIN student AS T3 ON T3.stu_num = T2.stu_num JOIN course AS T4 ON T4.crs_code = T1.crs_code WHERE T3.stu_lname = 'Smithson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3490, 41, 8943, 834, 5525, 381, 6, 8943, 834, 40, 4350, 1499, 6, 8943, 834, 89, 4350, 1499, 6, 8943, 834, 77, 23, 10646, 1499, 6, 8943, 834, 16899, 4978, 1499, 6, 8943, 834, 9288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7984, 75, 52, 7, 834, 221, 11830, 6, 332, 7984, 75, 52, 7, 834, 15547, 21680, 853, 6157, 332, 536, 3, 15355, 3162, 17990, 6157, 332, 357, 9191, 332, 5411, 4057, 834, 4978, 3274, 332, 4416, 4057, 834, 4978, 3,...
What institution won 2nd more recently than 2007 with Peter Agre as Chief Judge?
CREATE TABLE table_45004 ( "Year" real, "Award" text, "Name" text, "Institution" text, "Chief Judge" text )
SELECT "Institution" FROM table_45004 WHERE "Year" > '2007' AND "Award" = '2nd' AND "Chief Judge" = 'peter agre'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 6348, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1570, 17448, 121, 1499, 6, 96, 3541, 23, 15, 89, 12330, 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, 1570, 17448, 121, 21680, 953, 834, 10593, 6348, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 20615, 31, 3430, 96, 188, 2239, 121, 3274, 3, 31, 357, 727, 31, 3430, 96, 3541, 23, 15, 89, 12330, 121, 3274, ...
What is the least year when men's singles is Raju Rai?
CREATE TABLE table_22587192_1 (year INTEGER, mens_singles VARCHAR)
SELECT MIN(year) FROM table_22587192_1 WHERE mens_singles = "Raju Rai"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 4225, 19978, 834, 536, 41, 1201, 3, 21342, 17966, 6, 1076, 7, 834, 7, 53, 965, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 709, 215, 116, 1076, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20489, 4225, 19978, 834, 536, 549, 17444, 427, 1076, 7, 834, 7, 53, 965, 3274, 96, 448, 9, 2047, 13016, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many of the patients admitted on phys referral/normal deli were treated with dilt30?
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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.admission_location = "PHYS REFERRAL/NORMAL DELI" AND prescriptions.formulary_drug_cd = "DILT30"
[ 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 was the lowest number of wins for the team that scored more than 14 points and had a position of 7?
CREATE TABLE table_name_78 ( wins INTEGER, position VARCHAR, scored VARCHAR )
SELECT MIN(wins) FROM table_name_78 WHERE position = 7 AND scored > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 9204, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 5799, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 381, 13, 9204, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 1102, 3274, 489, 3430, 5799, 2490, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Rank has a Nation of china (chn), and a Bronze smaller than 4?
CREATE TABLE table_name_17 (rank INTEGER, nation VARCHAR, bronze VARCHAR)
SELECT MAX(rank) FROM table_name_17 WHERE nation = "china (chn)" AND bronze < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 6254, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 11046, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 2982, 3274, 96, 5675, 9, 41, 524, 29, 61, 121, 3430, 13467, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which aircraft has heavy transport?
CREATE TABLE table_name_39 (aircraft VARCHAR, type VARCHAR)
SELECT aircraft FROM table_name_39 WHERE type = "heavy transport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2256, 6696, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6442, 65, 2437, 1855, 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, 6442, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 686, 3274, 96, 88, 19649, 1855, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
total races in 2003 season
CREATE TABLE table_204_283 ( id number, "season" text, "series" text, "team" text, "races" number, "wins" number, "poles" number, "f/laps" number, "podiums" number, "points" number, "position" text )
SELECT SUM("races") FROM table_204_283 WHERE "season" = 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2577, 519, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 10833, 7, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 12614, 7, 121, 381, 6, 96, 3757, 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, 180, 6122, 599, 121, 12614, 7, 8512, 21680, 953, 834, 26363, 834, 2577, 519, 549, 17444, 427, 96, 9476, 121, 3274, 3888, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total bronze medals when the silver medals is 0, and 1 is the rank, Brazil (BRA) is the nation, and the gold medals is less than 2?
CREATE TABLE table_name_28 (bronze INTEGER, gold VARCHAR, nation VARCHAR, silver VARCHAR, rank VARCHAR)
SELECT SUM(bronze) FROM table_name_28 WHERE silver = 0 AND rank = "1" AND nation = "brazil (bra)" AND gold < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 4294, 3274, 3, 632, 3430, 11003, 3274, 96, 536, 121, 3430, 2982, 3274, 96, 1939, 702, 40, 41, 1939, 61, 121, 3430, 2045, 3, 2, 204...
What are the locations that have gas stations owned by a company with a market value greater than 100?
CREATE TABLE gas_station ( station_id number, open_year number, location text, manager_name text, vice_manager_name text, representative_name text ) CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion ...
SELECT T3.location FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id WHERE T2.market_value > 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 2478, 834, 23, 26, 381, 6, 539, 834, 1201, 381, 6, 1128, 1499, 6, 2743, 834, 4350, 1499, 6, 6444, 834, 24185, 834, 4350, 1499, 6, 6978, 834, 4350, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 14836, 21680, 2478, 834, 29179, 6157, 332, 536, 3, 15355, 3162, 349, 6157, 332, 357, 9191, 332, 5411, 29179, 834, 23, 26, 3274, 332, 4416, 29179, 834, 23, 26, 3, 15355, 3162, 1807, 834, 6682, 6157, 332, 5...
How many times is the country ireland and points more than 4?
CREATE TABLE table_name_31 (vuelta_wins VARCHAR, country VARCHAR, points VARCHAR)
SELECT COUNT(vuelta_wins) FROM table_name_31 WHERE country = "ireland" AND points > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 208, 76, 15, 40, 17, 9, 834, 3757, 7, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 208, 76, 15, 40, 17, 9, 834, 3757, 7, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 684, 3274, 96, 2060, 40, 232, 121, 3430, 979, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, ...
How many metropolitan boroughs have dorridge as a station?
CREATE TABLE table_15366849_1 (c_ VARCHAR, metropolitan_borough_ VARCHAR, station VARCHAR)
SELECT COUNT(metropolitan_borough_)[c_] FROM table_15366849_1 WHERE station = "Dorridge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3420, 3651, 3647, 834, 536, 41, 75, 834, 584, 4280, 28027, 6, 25233, 834, 12823, 834, 584, 4280, 28027, 6, 2478, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 51, 15252, 21631, 29, 834, 12823, 834, 61, 6306, 75, 834, 908, 21680, 953, 834, 1808, 3420, 3651, 3647, 834, 536, 549, 17444, 427, 2478, 3274, 96, 308, 127, 7700, 121, 1, -100, -100, -100, -100, -1...
How many times have Central Crossing won the OCC Championship?
CREATE TABLE table_name_96 (occ_championships INTEGER, school VARCHAR)
SELECT SUM(occ_championships) FROM table_name_96 WHERE school = "central crossing"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 13377, 834, 17788, 12364, 2009, 7, 3, 21342, 17966, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 648, 43, 2808, 4737, 53, 751, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13377, 834, 17788, 12364, 2009, 7, 61, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 496, 3274, 96, 20071, 12529, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest week that was played against the Minnesota Vikings?
CREATE TABLE table_name_5 (week INTEGER, opponent VARCHAR)
SELECT MAX(week) FROM table_name_5 WHERE opponent = "minnesota vikings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 8041, 3, 21342, 17966, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 471, 24, 47, 1944, 581, 8, 9745, 19476, 7, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8041, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 15264, 3274, 96, 1109, 1496, 32, 17, 9, 3, 21346, 53, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the high loss total for players with zero wins and a win % greater than 0?
CREATE TABLE table_name_82 (losses INTEGER, wins VARCHAR, win__percentage VARCHAR)
SELECT MAX(losses) FROM table_name_82 WHERE wins = 0 AND win__percentage > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 2298, 2260, 3, 21342, 17966, 6, 9204, 584, 4280, 28027, 6, 1369, 834, 834, 883, 3728, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 4800, 4, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 9204, 3274, 3, 632, 3430, 1369, 834, 834, 883, 3728, 545, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
If the winners from the previous round is 8, what is the round?
CREATE TABLE table_1859269_1 (round VARCHAR, winners_from_previous_round VARCHAR)
SELECT round FROM table_1859269_1 WHERE winners_from_previous_round = "8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21594, 4508, 3951, 834, 536, 41, 7775, 584, 4280, 28027, 6, 8969, 834, 7152, 834, 2026, 19117, 834, 7775, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 8969, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 21594, 4508, 3951, 834, 536, 549, 17444, 427, 8969, 834, 7152, 834, 2026, 19117, 834, 7775, 3274, 96, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of government health insurance patients who had right and left heart catheterization.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Rt/left heart card cath"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What's the bronze medal count of Spain that has less than 39 Gold, 3 silver, and a rank better than 35?
CREATE TABLE table_name_27 ( bronze VARCHAR, nation VARCHAR, rank VARCHAR, gold VARCHAR, silver VARCHAR )
SELECT bronze FROM table_name_27 WHERE gold < 39 AND silver = 3 AND rank < 35 AND nation = "spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 13467, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 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, 13467, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 2045, 3, 2, 6352, 3430, 4294, 3274, 220, 3430, 11003, 3, 2, 3097, 3430, 2982, 3274, 96, 14147, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For all employees who have the letters D or S in their first name, draw a scatter chart about the correlation between salary and commission_pct .
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), CO...
SELECT SALARY, COMMISSION_PCT FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4090, 24721, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 13...
What is the average 2006 value with a 2010 value of 417.9 and a 2011 value greater than 426.7?
CREATE TABLE table_name_26 (Id VARCHAR)
SELECT AVG(2006) FROM table_name_26 WHERE 2010 = 417.9 AND 2011 > 426.7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 3581, 701, 28, 3, 9, 2735, 701, 13, 314, 2517, 5, 1298, 11, 3, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 21196, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 2735, 3274, 314, 2517, 5, 1298, 3430, 2722, 2490, 6426, 29045, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what are the total number of times the position of 1st place was earned ?
CREATE TABLE table_203_370 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT COUNT(*) FROM table_203_370 WHERE "position" = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 22520, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 15, 2169, 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, 1935, 61, 21680, 953, 834, 23330, 834, 22520, 549, 17444, 427, 96, 4718, 121, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most points that the Maserati 250F chassis scored in years after 1955?
CREATE TABLE table_name_39 (points INTEGER, chassis VARCHAR, year VARCHAR)
SELECT MAX(points) FROM table_name_39 WHERE chassis = "maserati 250f" AND year > 1955
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2700, 7, 3, 21342, 17966, 6, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 979, 24, 8, 6664, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 22836, 3274, 96, 2754, 15, 6850, 5986, 89, 121, 3430, 215, 2490, 23652, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many extra points are there that Herrnstein had with less than 2 touchdowns and less than 0 field goals?
CREATE TABLE table_34975 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT AVG("Extra points") FROM table_34975 WHERE "Touchdowns" < '2' AND "Player" = 'herrnstein' AND "Field goals" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3647, 3072, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979, 121, 490, 6, 96, 3183, 8804, 1766, 121, 490, 6, 96, 22512, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 5420, 1313, 979, 8512, 21680, 953, 834, 519, 3647, 3072, 549, 17444, 427, 96, 3696, 2295, 3035, 7, 121, 3, 2, 3, 31, 357, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 760, 52, 29, 4008, 31, ...
Name who wrote the production code 322
CREATE TABLE table_27462209_1 (written_by VARCHAR, prod_code VARCHAR)
SELECT written_by FROM table_27462209_1 WHERE prod_code = 322
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4448, 2884, 4198, 834, 536, 41, 14973, 834, 969, 584, 4280, 28027, 6, 813, 26, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 113, 2832, 8, 999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1545, 834, 969, 21680, 953, 834, 2555, 4448, 2884, 4198, 834, 536, 549, 17444, 427, 813, 26, 834, 4978, 3274, 220, 2884, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show the facility codes of apartments with more than 4 bedrooms, and count them by a bar chart, display by the Y-axis from high to low.
CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Guests ( gue...
SELECT facility_code, COUNT(facility_code) FROM Apartment_Facilities AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id WHERE T2.bedroom_count > 4 GROUP BY facility_code ORDER BY COUNT(facility_code) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 371, 9, 13067, 3010, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 3064, 834, 4978, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3064, 834, 4978, 6, 2847, 17161, 599, 89, 9, 75, 14277, 834, 4978, 61, 21680, 15970, 834, 371, 9, 13067, 3010, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, 357, 9191, 332, 5411, 6789, 834, 23, 26, 3274, 33...
How many games had the team played after they were 40-20?
CREATE TABLE table_13762472_7 ( game VARCHAR, record VARCHAR )
SELECT game FROM table_13762472_7 WHERE record = "40-20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 3959, 2266, 5865, 834, 940, 41, 467, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 141, 8, 372, 1944, 227, 79, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 21680, 953, 834, 2368, 3959, 2266, 5865, 834, 940, 549, 17444, 427, 1368, 3274, 96, 2445, 7988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the pinyin for mazar
CREATE TABLE table_2008069_2 (pinyin VARCHAR, conventional VARCHAR)
SELECT pinyin FROM table_2008069_2 WHERE conventional = "Mazar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 2079, 3951, 834, 357, 41, 3180, 63, 77, 584, 4280, 28027, 6, 7450, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4522, 63, 77, 21, 954, 7061, 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, 4522, 63, 77, 21680, 953, 834, 3632, 2079, 3951, 834, 357, 549, 17444, 427, 7450, 3274, 96, 329, 9, 7061, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the sum of total when year(s) won is 1985?
CREATE TABLE table_name_55 (total INTEGER, year_s__won VARCHAR)
SELECT SUM(total) FROM table_name_55 WHERE year_s__won = "1985"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 235, 1947, 3, 21342, 17966, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 4505, 13, 792, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 24151, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the sum of matches played that has a year of first match before 2000, fewer than 21 lost, and 0 drawn?
CREATE TABLE table_69759 ( "First game" real, "Played" real, "Drawn" real, "Lost" real, "Percentage" text )
SELECT SUM("Played") FROM table_69759 WHERE "First game" < '2000' AND "Lost" < '21' AND "Drawn" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 940, 3390, 41, 96, 25171, 467, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 12988, 3728, 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, 180, 6122, 599, 121, 15800, 15, 26, 8512, 21680, 953, 834, 3951, 940, 3390, 549, 17444, 427, 96, 25171, 467, 121, 3, 2, 3, 31, 13527, 31, 3430, 96, 434, 3481, 121, 3, 2, 3, 31, 2658, 31, 3430, 96, 308, 10936, ...
What is Record, when Game is greater than 55, and when Date is 'March 25'?
CREATE TABLE table_name_80 ( record VARCHAR, game VARCHAR, date VARCHAR )
SELECT record FROM table_name_80 WHERE game > 55 AND date = "march 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 1368, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 116, 4435, 19, 212...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 467, 2490, 6897, 3430, 833, 3274, 96, 51, 7064, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
A what time was the title aired in October 22, 2009
CREATE TABLE table_3669 ( "#" real, "Title" text, "Timeslot" text, "Air date" text, "Viewers (000s)" real, "Weekly Rank Sky1" real, "Weekly Rank Virgin Media" real )
SELECT "Timeslot" FROM table_3669 WHERE "Air date" = 'October 22, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 3951, 41, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13368, 7, 3171, 121, 1499, 6, 96, 20162, 833, 121, 1499, 6, 96, 15270, 277, 41, 2313, 7, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 7, 3171, 121, 21680, 953, 834, 3420, 3951, 549, 17444, 427, 96, 20162, 833, 121, 3274, 3, 31, 28680, 12889, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how much do diagnosis of s/p surgery for cancer - colon cost?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age te...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'diagnosis' AND cost.eventid IN (SELECT diagnosis.diagnosisid FROM diagnosis WHERE diagnosis.diagnosisname = 's/p surgery for cancer - colon')
[ 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, 3, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 25930, 4844, 159, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 8209, 5, 25930, 4844, 159, 23, ...
What is the maximum fastest lap speed in the Monaco Grand Prix in 2008?
CREATE TABLE drivers ( driverid number, driverref text, number number, code text, forename text, surname text, dob text, nationality text, url text ) CREATE TABLE status ( statusid number, status text ) CREATE TABLE races ( raceid number, year number, round numb...
SELECT MAX(T2.fastestlapspeed) FROM races AS T1 JOIN results AS T2 ON T1.raceid = T2.raceid WHERE T1.year = 2008 AND T1.name = "Monaco Grand Prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3863, 41, 1262, 4055, 381, 6, 2535, 60, 89, 1499, 6, 381, 381, 6, 1081, 1499, 6, 21, 15, 4350, 1499, 6, 244, 4350, 1499, 6, 103, 115, 1499, 6, 1157, 485, 1499, 6, 3, 16137, 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, 4800, 4, 599, 382, 4416, 11584, 222, 8478, 9993, 61, 21680, 10879, 6157, 332, 536, 3, 15355, 3162, 772, 6157, 332, 357, 9191, 332, 5411, 12614, 23, 26, 3274, 332, 4416, 12614, 23, 26, 549, 17444, 427, 332, 5411, 120...
What is the total number of Lost, when Played is less than 34?
CREATE TABLE table_60510 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT COUNT("Lost") FROM table_60510 WHERE "Played" < '34'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 25926, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 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, 2847, 17161, 599, 121, 434, 3481, 8512, 21680, 953, 834, 3328, 25926, 549, 17444, 427, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 3710, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many games drawn with a Points difference of 31 - 33, and under 4 games lost?
CREATE TABLE table_name_41 (drawn INTEGER, points_difference VARCHAR, lost VARCHAR)
SELECT SUM(drawn) FROM table_name_41 WHERE points_difference = "31 - 33" AND lost < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 19489, 29, 3, 21342, 17966, 6, 979, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 19489, 29, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 979, 834, 26, 99, 11788, 3274, 96, 3341, 3, 18, 5400, 121, 3430, 1513, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the relative height of Scotland with Ben Vorlich as parent?
CREATE TABLE table_75201 ( "Peak" text, "Absolute height (m)" real, "Relative height (m)" real, "Parent" text, "Country" text )
SELECT COUNT("Relative height (m)") FROM table_75201 WHERE "Country" = 'scotland' AND "Parent" = 'ben vorlich'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 22772, 41, 96, 345, 15, 1639, 121, 1499, 6, 96, 8952, 4099, 2810, 3902, 41, 51, 61, 121, 490, 6, 96, 1649, 40, 1528, 3902, 41, 51, 61, 121, 490, 6, 96, 13212, 295...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1649, 40, 1528, 3902, 41, 51, 61, 8512, 21680, 953, 834, 3072, 22772, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 7, 4310, 40, 232, 31, 3430, 96, 13212, 295, 121, 3274, 3, 31, 115, ...
What was the average tonnage for the Siljan ship from Sweden?
CREATE TABLE table_name_97 ( tonnage INTEGER, nationality VARCHAR, name_of_ship VARCHAR )
SELECT AVG(tonnage) FROM table_name_97 WHERE nationality = "sweden" AND name_of_ship = "siljan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 12, 29, 9761, 3, 21342, 17966, 6, 1157, 485, 584, 4280, 28027, 6, 564, 834, 858, 834, 2009, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 106, 9761, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1157, 485, 3274, 96, 7, 1123, 537, 121, 3430, 564, 834, 858, 834, 2009, 3274, 96, 7, 173, 7066, 121, 1, -100, -100, -100, -100,...
which is the only year that mexico is on a venue
CREATE TABLE table_204_983 ( id number, "year" number, "1st venue" text, "2nd venue" text, "3rd venue" text, "4th venue" text, "5th venue" text, "6th venue" text )
SELECT "year" FROM table_204_983 WHERE "2nd venue" = 'mexico city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3916, 519, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 536, 7, 17, 5669, 121, 1499, 6, 96, 357, 727, 5669, 121, 1499, 6, 96, 519, 52, 26, 5669, 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, 1201, 121, 21680, 953, 834, 26363, 834, 3916, 519, 549, 17444, 427, 96, 357, 727, 5669, 121, 3274, 3, 31, 51, 994, 5807, 690, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Years have a Rank larger than 2, and Wins of 2, and a Country of france?
CREATE TABLE table_name_71 (years VARCHAR, country VARCHAR, rank VARCHAR, wins VARCHAR)
SELECT years FROM table_name_71 WHERE rank > 2 AND wins = 2 AND country = "france"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 1201, 7, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 203, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 11003, 2490, 204, 3430, 9204, 3274, 204, 3430, 684, 3274, 96, 89, 5219, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many citations does yejin choi have
CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int )...
SELECT DISTINCT COUNT(cite.citedpaperid) FROM author, cite, paper, writes WHERE author.authorname = 'yejin choi' AND paper.paperid = cite.citedpaperid AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1040, 6757, 2244, 41, 1040, 23, 26, 16, 17, 6, 17953, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17953, 41, 17953, 23, 26, 16, 17, 6, 17953, 4350, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 2847, 17161, 599, 8464, 5, 11675, 19587, 23, 26, 61, 21680, 2291, 6, 3, 8464, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 63, 15, 354, 77, 3, 3995, 23, 31, 3430,...
What's the broadcasting hours of NBT?
CREATE TABLE table_name_47 ( broadcasting_hours VARCHAR, network VARCHAR )
SELECT broadcasting_hours FROM table_name_47 WHERE network = "nbt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 6878, 53, 834, 5842, 7, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 6878, 53, 716, 13, 445, 902...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6878, 53, 834, 5842, 7, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 1229, 3274, 96, 29, 115, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the winner who attended college at Connecticut and is from North Syracuse, NY?
CREATE TABLE table_name_63 (winner VARCHAR, college VARCHAR, hometown VARCHAR)
SELECT winner FROM table_name_63 WHERE college = "connecticut" AND hometown = "north syracuse, ny"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 3757, 687, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 4668, 113, 5526, 1900...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4668, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 1900, 3274, 96, 19532, 23, 3044, 121, 3430, 22295, 3274, 96, 29, 127, 189, 3, 7, 63, 3738, 1074, 6, 3, 29, 63, 121, 1, -100, -100, -100, -100, -100, -100, ...
What is the result for the champions jeonju kcc egis with runners-up seoul samsung thunders after 2007?
CREATE TABLE table_name_39 ( result VARCHAR, champions VARCHAR, year VARCHAR, runners_up VARCHAR )
SELECT result FROM table_name_39 WHERE year > 2007 AND runners_up = "seoul samsung thunders" AND champions = "jeonju kcc egis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 741, 584, 4280, 28027, 6, 6336, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 16448, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 215, 2490, 4101, 3430, 16448, 834, 413, 3274, 96, 7, 15, 7115, 3, 7, 265, 7, 425, 26783, 7, 121, 3430, 6336, 7, 3274, 96, 1924, 106, 2047, 3, 157, 75, 75, ...
what team scored 5–5–1–1?
CREATE TABLE table_name_71 (home VARCHAR, record VARCHAR)
SELECT home FROM table_name_71 WHERE record = "5–5–1–1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 5515, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 372, 5799, 305, 104, 755, 104, 536, 104, 536, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 1368, 3274, 96, 755, 104, 755, 104, 536, 104, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is admission type and primary disease of subject name dawn cooper?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions...
SELECT demographic.admission_type, demographic.diagnosis FROM demographic WHERE demographic.name = "Dawn Cooper"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 9, 26, 5451, 834, 6137, 6, 14798, 5, 25930, 4844, 159, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 308, 9, 210, 29, 10078, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the minimum if 40 to 44?
CREATE TABLE table_16457934_5 ( Id VARCHAR )
SELECT MIN(40 AS _to_44) FROM table_16457934_5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2128, 4440, 3710, 834, 755, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2559, 3, 99, 1283, 12, 8537, 58, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2445, 6157, 3, 834, 235, 834, 3628, 61, 21680, 953, 834, 2938, 2128, 4440, 3710, 834, 755, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
The match against Oleg Taktarov had what result?
CREATE TABLE table_47711 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Res." FROM table_47711 WHERE "Opponent" = 'oleg taktarov'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4013, 2596, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 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, 1649, 7, 535, 21680, 953, 834, 591, 4013, 2596, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 32, 5772, 3, 17, 7935, 9, 8843, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the party affiliation of Virginia Foxx?
CREATE TABLE table_name_57 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_name_57 WHERE incumbent = "virginia foxx"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 8071, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1088, 24405, 13, 5382, 7547, 226, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 28406, 3274, 96, 5771, 122, 77, 23, 9, 3, 20400, 226, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of losses when the goal difference was -8, and position is smaller than 10?
CREATE TABLE table_name_37 (losses VARCHAR, goal_difference VARCHAR, position VARCHAR)
SELECT COUNT(losses) FROM table_name_37 WHERE goal_difference = -8 AND position < 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 2298, 2260, 584, 4280, 28027, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 2298, 2260, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 1288, 834, 26, 99, 11788, 3274, 3, 6039, 3430, 1102, 3, 2, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Clean & jerk for the snatch less than 150 and a Bodyweight of 76.18?
CREATE TABLE table_name_82 (clean_ VARCHAR, _jerk VARCHAR, snatch VARCHAR, bodyweight VARCHAR)
SELECT clean_ & _jerk FROM table_name_82 WHERE snatch < 150 AND bodyweight = 76.18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 16480, 834, 584, 4280, 28027, 6, 3, 834, 12488, 157, 584, 4280, 28027, 6, 3, 7, 29, 14547, 584, 4280, 28027, 6, 643, 9378, 584, 4280, 28027, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1349, 834, 3, 184, 3, 834, 12488, 157, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 3, 7, 29, 14547, 3, 2, 4261, 3430, 643, 9378, 3274, 3, 3959, 5, 2606, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which High points have a Record of 27 29?
CREATE TABLE table_45545 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_45545 WHERE "Record" = '27–29'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 755, 2128, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 2128, 755, 2128, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2555, 104, 3166, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Specify the drug code of Ferrous Sulfate along with the dose
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 prescriptions.formulary_drug_cd, prescriptions.drug_dose FROM prescriptions WHERE prescriptions.drug = "Ferrous Sulfate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7744, 7, 5, 20128, 63, 834, 26, 13534, 834, 75, 26, 6, 7744, 7, 5, 26, 13534, 834, 12051, 21680, 7744, 7, 549, 17444, 427, 7744, 7, 5, 26, 13534, 3274, 96, 371, 49, 8283, 180, 83, 89, 342, 121, 1, -100, -100, ...
get the number of urgent hospital admission patients who have black/haitian ethnic background.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "URGENT" AND demographic.ethnicity = "BLACK/HAITIAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 5905, 517, 6431, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274...
Tell me the school with a height of 6-9
CREATE TABLE table_54855 ( "Player" text, "Height" text, "School" text, "Hometown" text, "College" text, "NBA Draft" text )
SELECT "School" FROM table_54855 WHERE "Height" = '6-9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3707, 3769, 41, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29364, 121, 21680, 953, 834, 755, 3707, 3769, 549, 17444, 427, 96, 3845, 2632, 121, 3274, 3, 31, 948, 7141, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many times is the week # is audition?
CREATE TABLE table_29293 ( "Week #" text, "Theme" text, "Song choice" text, "Original artist" text, "Order #" text, "Result" text )
SELECT COUNT("Original artist") FROM table_29293 WHERE "Week #" = 'Audition'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 357, 4271, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 1160, 121, 1499, 6, 96, 667, 3380, 10270, 2377, 121, 1499, 6, 96, 7395...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 667, 3380, 10270, 2377, 8512, 21680, 953, 834, 3166, 357, 4271, 549, 17444, 427, 96, 518, 10266, 1713, 121, 3274, 3, 31, 188, 76, 10569, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of meaning where full name is chidinma anulika?
CREATE TABLE table_11908801_1 (meaning VARCHAR, full_name VARCHAR)
SELECT COUNT(meaning) FROM table_11908801_1 WHERE full_name = "Chidinma Anulika"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2394, 4060, 4542, 834, 536, 41, 27639, 584, 4280, 28027, 6, 423, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 2530, 213, 423, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 27639, 61, 21680, 953, 834, 2596, 2394, 4060, 4542, 834, 536, 549, 17444, 427, 423, 834, 4350, 3274, 96, 3541, 23, 2644, 51, 9, 389, 83, 5561, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the chassis for the year of 1969?
CREATE TABLE table_name_85 ( chassis VARCHAR, year VARCHAR )
SELECT chassis FROM table_name_85 WHERE year = 1969
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 22836, 21, 8, 215, 13, 17185, 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, 22836, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 215, 3274, 17185, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the score for the dams?
CREATE TABLE table_10705060_1 ( points VARCHAR, team_name VARCHAR )
SELECT points FROM table_10705060_1 WHERE team_name = "DAMS"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2518, 1752, 3328, 834, 536, 41, 979, 584, 4280, 28027, 6, 372, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2604, 21, 8, 10157, 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, 979, 21680, 953, 834, 1714, 2518, 1752, 3328, 834, 536, 549, 17444, 427, 372, 834, 4350, 3274, 96, 308, 25346, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the average points of players from club with name 'AIB'.
CREATE TABLE player ( player_id number, name text, position text, club_id number, apps number, tries number, goals text, points number ) CREATE TABLE club ( club_id number, name text, region text, start_year text ) CREATE TABLE competition ( competition_id number, ...
SELECT AVG(T2.points) FROM club AS T1 JOIN player AS T2 ON T1.club_id = T2.club_id WHERE T1.name = "AIB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 1959, 834, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 1886, 834, 23, 26, 381, 6, 4050, 381, 6, 3, 9000, 381, 6, 1766, 1499, 6, 979, 381, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 382, 4416, 2700, 7, 61, 21680, 1886, 6157, 332, 536, 3, 15355, 3162, 1959, 6157, 332, 357, 9191, 332, 5411, 13442, 834, 23, 26, 3274, 332, 4416, 13442, 834, 23, 26, 549, 17444, 427, 332, 5411, 4350, ...
What is the score of player brian watts, who has a to par of 5?
CREATE TABLE table_name_5 ( score VARCHAR, to_par VARCHAR, player VARCHAR )
SELECT score FROM table_name_5 WHERE to_par = 5 AND player = "brian watts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2604, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 1959,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 12, 834, 1893, 3274, 305, 3430, 1959, 3274, 96, 2160, 152, 3, 11876, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the year of the last final for the club whose last title was 1990?
CREATE TABLE table_2869837_1 (last_final VARCHAR, last_title VARCHAR)
SELECT last_final FROM table_2869837_1 WHERE last_title = "1990"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3840, 3916, 4118, 834, 536, 41, 5064, 834, 12406, 584, 4280, 28027, 6, 336, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 215, 13, 8, 33...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 336, 834, 12406, 21680, 953, 834, 357, 3840, 3916, 4118, 834, 536, 549, 17444, 427, 336, 834, 21869, 3274, 96, 2294, 2394, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the venue for the friendly competition at Dreisamstadion, Freiburg?
CREATE TABLE table_name_52 (score VARCHAR, competition VARCHAR, venue VARCHAR)
SELECT score FROM table_name_52 WHERE competition = "friendly" AND venue = "dreisamstadion, freiburg"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 7, 9022, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5669, 21, 8, 2609, 2259...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 2259, 3274, 96, 4905, 121, 3430, 5669, 3274, 96, 26, 60, 159, 265, 2427, 26, 23, 106, 6, 6277, 4824, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the lowest Attendance for Games played on the Date of February 5?
CREATE TABLE table_52447 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT MIN("Attendance") FROM table_52447 WHERE "Date" = 'february 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 4177, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 755, 2266, 4177, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 89, 15, 9052, 1208, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many goals were scored when 158 points were collected?
CREATE TABLE table_name_45 ( goals VARCHAR, points VARCHAR )
SELECT goals FROM table_name_45 WHERE points = "158"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 1766, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1766, 130, 5799, 116, 3, 26556, 979, 130, 4759, 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, 1766, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 979, 3274, 96, 26556, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the tournament with a w/o score on November 5, 2007?
CREATE TABLE table_35952 ( "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Tournament" FROM table_35952 WHERE "Score" = 'w/o' AND "Date" = 'november 5, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3301, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 90...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 1211, 20205, 17, 121, 21680, 953, 834, 2469, 3301, 357, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 210, 87, 32, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 7836, 4101, 31, 1, -100, -10...
What is the total of laps run by the driver with a grid under 17 and a time of +5.088?
CREATE TABLE table_name_3 ( laps INTEGER, time VARCHAR, grid VARCHAR )
SELECT SUM(laps) FROM table_name_3 WHERE time = "+5.088" AND grid < 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 14941, 7, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 14941, 7, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 97, 3274, 96, 1220, 20734, 4060, 121, 3430, 8634, 3, 2, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
elevated creatinine ( female > 1.3 mg / dl or male > 1.4 mg / dl at baseline )
CREATE TABLE table_train_96 ( "id" int, "gender" string, "elevated_creatinine" float, "diabetic" string, "cerebrovascular_disease" bool, "moca_score" int, "parkinsonism" bool, "NOUSE" float )
SELECT * FROM table_train_96 WHERE (elevated_creatinine > 1.3 AND gender = 'female') OR (elevated_creatinine > 1.4 AND gender = 'male')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 4314, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 15, 10912, 920, 834, 5045, 144, 77, 630, 121, 3, 12660, 6, 96, 26, 23, 9, 346, 1225,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4314, 549, 17444, 427, 41, 15, 10912, 920, 834, 5045, 144, 77, 630, 2490, 3, 13606, 3430, 7285, 3274, 3, 31, 89, 15, 13513, 31, 61, 4674, 41, 15, 10912, 920, 834, 5045, 144, 77, ...
what year was william francis stevenson first elected?
CREATE TABLE table_1342370_39 ( first_elected VARCHAR, incumbent VARCHAR )
SELECT first_elected FROM table_1342370_39 WHERE incumbent = "William Francis Stevenson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 2518, 834, 3288, 41, 166, 834, 19971, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 215, 47, 56, 23, 265, 2515, 11389,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 166, 834, 19971, 21680, 953, 834, 23747, 2773, 2518, 834, 3288, 549, 17444, 427, 28406, 3274, 96, 518, 1092, 23, 265, 11065, 9316, 739, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
list the ids of the patients diagnosed with metastatic squamous cell ca - unknown primary in this year.
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( ...
SELECT patient.uniquepid FROM patient WHERE patient.patientunitstayid IN (SELECT diagnosis.patientunitstayid FROM diagnosis WHERE diagnosis.diagnosisname = 'metastatic squamous cell ca - unknown primary' AND DATETIME(diagnosis.diagnosistime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 202, 1495, 12417, 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, 17444, 427, 8209, 5, 25930, 4844, 159, 435...
What Team has Bob Wollek as a Driver with 76 Laps in C1 Class?
CREATE TABLE table_name_63 ( team VARCHAR, driver VARCHAR, class VARCHAR, laps VARCHAR )
SELECT team FROM table_name_63 WHERE class = "c1" AND laps = 76 AND driver = "bob wollek"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 372, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 372, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 853, 3274, 96, 75, 536, 121, 3430, 14941, 7, 3274, 3, 3959, 3430, 2535, 3274, 96, 17396, 3, 22569, 157, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the lowest average for a swimsuit over 6.89, evening gown over 7.76, and an interview over 8.57 in illinois?
CREATE TABLE table_name_29 (average INTEGER, interview VARCHAR, state VARCHAR, swimsuit VARCHAR, evening_gown VARCHAR)
SELECT MIN(average) FROM table_name_29 WHERE swimsuit > 6.89 AND evening_gown > 7.76 AND state = "illinois" AND interview > 8.57
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 28951, 3, 21342, 17966, 6, 2772, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 6, 9728, 7628, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28951, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 9728, 7628, 2490, 4357, 3914, 3430, 2272, 834, 122, 9197, 2490, 4306, 3959, 3430, 538, 3274, 96, 1092, 77, 32, 159, 121, 3430, 2772, 2490, ...
Name the Height metres / ft of Years with tallest of 1098 1310?
CREATE TABLE table_59049 ( "Name" text, "Location" text, "Years as tallest" text, "Height metres / ft" text, "Floors" text )
SELECT "Height metres / ft" FROM table_59049 WHERE "Years as tallest" = '1098–1310'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2394, 3647, 41, 96, 23954, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 7, 38, 5065, 222, 121, 1499, 6, 96, 3845, 2632, 14604, 3, 87, 3, 89, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3845, 2632, 14604, 3, 87, 3, 89, 17, 121, 21680, 953, 834, 755, 2394, 3647, 549, 17444, 427, 96, 476, 2741, 7, 38, 5065, 222, 121, 3274, 3, 31, 1714, 3916, 104, 2368, 1714, 31, 1, -100, -100, -100, -100, -10...
What date has the opponent competing in the final of john mcenroe?
CREATE TABLE table_name_94 ( date VARCHAR, opponent_in_final VARCHAR )
SELECT date FROM table_name_94 WHERE opponent_in_final = "john mcenroe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 833, 584, 4280, 28027, 6, 15264, 834, 77, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 65, 8, 15264, 12166, 16, 8, 804...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 15264, 834, 77, 834, 12406, 3274, 96, 27341, 3, 51, 75, 35, 52, 32, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of original airdate written by allan hawco?
CREATE TABLE table_27547668_4 (original_airdate VARCHAR, written_by VARCHAR)
SELECT COUNT(original_airdate) FROM table_27547668_4 WHERE written_by = "Allan Hawco"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 5062, 3959, 3651, 834, 591, 41, 21878, 834, 2256, 5522, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21878, 834, 2256, 5522, 61, 21680, 953, 834, 2555, 5062, 3959, 3651, 834, 591, 549, 17444, 427, 1545, 834, 969, 3274, 96, 6838, 152, 1626, 210, 509, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What are the game modes for the game released in 2007?
CREATE TABLE table_1616608_2 (game_modes VARCHAR, released_date VARCHAR)
SELECT game_modes FROM table_1616608_2 WHERE released_date = "2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 26811, 4018, 834, 357, 41, 7261, 834, 14930, 7, 584, 4280, 28027, 6, 1883, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 467, 12632, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 467, 834, 14930, 7, 21680, 953, 834, 2938, 26811, 4018, 834, 357, 549, 17444, 427, 1883, 834, 5522, 3274, 96, 20615, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many wins have a year after 1976, and 350cc as the class?
CREATE TABLE table_name_21 (wins INTEGER, year VARCHAR, class VARCHAR)
SELECT SUM(wins) FROM table_name_21 WHERE year > 1976 AND class = "350cc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3757, 7, 3, 21342, 17966, 6, 215, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 9204, 43, 3, 9, 215, 227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 215, 2490, 16164, 3430, 853, 3274, 96, 16975, 75, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which of the titles have a duration time of 4:57?
CREATE TABLE table_name_81 ( title VARCHAR, duration VARCHAR )
SELECT title FROM table_name_81 WHERE duration = "4:57"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2233, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 13, 8, 8342, 43, 3, 9, 8659, 97, 13, 314, 10, 3436, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 8659, 3274, 96, 591, 10, 3436, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
count the number of patients whose discharge location is short term hospital and procedure long title is other endoscopy of small intestine?
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.discharge_location = "SHORT TERM HOSPITAL" AND procedures.long_title = "Other endoscopy of small intestine"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
how many times did patient 018-20179 have received vasopressors - norepinephrine <= 0.1 micrograms/kg/min?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugst...
SELECT COUNT(*) FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '018-20179')) AND treatment.treatmentname = 'vasopressors - norepinephrine <= 0.1...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, ...
What was awarded before 2013 to the Saber in the category of Best Action?
CREATE TABLE table_name_93 (award VARCHAR, category VARCHAR, year VARCHAR, title_of_work VARCHAR)
SELECT award FROM table_name_93 WHERE year < 2013 AND title_of_work = "saber" AND category = "best action"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 9, 2239, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2233, 834, 858, 834, 1981, 584, 4280, 28027, 61, 3, 32102, 32103, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2760, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 215, 3, 2, 2038, 3430, 2233, 834, 858, 834, 1981, 3274, 96, 7, 9, 1152, 121, 3430, 3295, 3274, 96, 9606, 1041, 121, 1, -100, -100, -100, -100, -100, -100, -...
How many schools have an enrollment of 850?
CREATE TABLE table_11318462_29 (founded VARCHAR, enrolment VARCHAR)
SELECT COUNT(founded) FROM table_11318462_29 WHERE enrolment = 850
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 25987, 4056, 834, 3166, 41, 23329, 584, 4280, 28027, 6, 3, 35, 3491, 297, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2061, 43, 46, 17938, 13, 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, 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, 23329, 61, 21680, 953, 834, 20522, 25987, 4056, 834, 3166, 549, 17444, 427, 3, 35, 3491, 297, 3274, 3, 17246, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the administrative panel average when the cultural and educational panel is greater than 1 and the industrial and commercial panel less than 4?
CREATE TABLE table_name_77 (administrative_panel INTEGER, cultural_and_educational_panel VARCHAR, industrial_and_commercial_panel VARCHAR)
SELECT AVG(administrative_panel) FROM table_name_77 WHERE cultural_and_educational_panel > 1 AND industrial_and_commercial_panel < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 9571, 1528, 834, 28726, 3, 21342, 17966, 6, 2779, 834, 232, 834, 29117, 138, 834, 28726, 584, 4280, 28027, 6, 2913, 834, 232, 834, 27260, 834, 28726, 584...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 9571, 1528, 834, 28726, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 2779, 834, 232, 834, 29117, 138, 834, 28726, 2490, 209, 3430, 2913, 834, 232, 834, 27260, 834, 28726, 3, 2, 314, 1, -100...
Which 2005 has a 1999 of 0 0?
CREATE TABLE table_name_37 ( Id VARCHAR )
SELECT 2005 FROM table_name_37 WHERE 1999 = "0–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3105, 65, 3, 9, 5247, 13, 3, 632, 3, 632, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3105, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 5247, 3274, 96, 632, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the score on 14 march 2004?
CREATE TABLE table_name_39 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_39 WHERE date = "14 march 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 968, 10556, 4406, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 2534, 10556, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...