NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What date has 1 as the tie no.?
CREATE TABLE table_name_60 (date VARCHAR, tie_no VARCHAR)
SELECT date FROM table_name_60 WHERE tie_no = "1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 5522, 584, 4280, 28027, 6, 6177, 834, 29, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 65, 209, 38, 8, 6177, 150, 5, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 6177, 834, 29, 32, 3274, 96, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many patients admitted in the emergency room had the procedure titled chordae tendinae ops?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND procedures.short_title = "Chordae tendineae ops"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Im the match where the home team is Melbourne Victory, what was the crowd attendance?
CREATE TABLE table_name_97 ( crowd VARCHAR, home_team VARCHAR )
SELECT COUNT(crowd) FROM table_name_97 WHERE home_team = "melbourne victory"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 4374, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1318, 8, 1588, 213, 8, 234, 372, 19, 9396, 8884, 63...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2341, 26255, 6224, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the name of the episode that aired originally on March 11, 1988?
CREATE TABLE table_20967430_4 (title VARCHAR, original_air_date VARCHAR)
SELECT title FROM table_20967430_4 WHERE original_air_date = "March 11, 1988"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4314, 4581, 1458, 834, 591, 41, 21869, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 1755, 4314, 4581, 1458, 834, 591, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 25019, 9694, 10414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date did the Cavaliers have a record of 9-14?
CREATE TABLE table_8037 ( "Date" text, "H/A/N" text, "Opponent" text, "Score" text, "Record" text )
SELECT "Date" FROM table_8037 WHERE "Record" = '9-14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 4118, 41, 96, 308, 342, 121, 1499, 6, 96, 566, 87, 188, 87, 567, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 2079, 4118, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 1298, 11590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the game when Collingwood was the home team?
CREATE TABLE table_name_19 (venue VARCHAR, away_team VARCHAR)
SELECT venue FROM table_name_19 WHERE away_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 15098, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 467, 116, 9919, 53, 2037, 47, 8, 234, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the Home team that played against Carlton's Away game?
CREATE TABLE table_57620 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_57620 WHERE "Away team" = 'carlton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 26898, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 3436, 26898, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 1720, 7377, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date when the away team was the leeds united?
CREATE TABLE table_name_3 ( date VARCHAR, away_team VARCHAR )
SELECT date FROM table_name_3 WHERE away_team = "leeds united"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 833, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 116, 8, 550, 372, 47, 8, 90, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 550, 834, 11650, 3274, 96, 40, 6958, 7, 18279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Opponents in the final have a Partner of daniella dominikovic?
CREATE TABLE table_39296 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score" text )
SELECT "Opponents in the final" FROM table_39296 WHERE "Partner" = 'daniella dominikovic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 357, 4314, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 667, 102, 9977, 7, 16, 8, 804, 121, 21680, 953, 834, 3288, 357, 4314, 549, 17444, 427, 96, 13725, 687, 121, 3274, 3, 31, 26, 2738, 5303, 10138, 12027, 7287, 31, 1, -100, -100, -100, -100, -100, -100, -100, -10...
How many teachers does the student named MADLOCK RAY have?
CREATE TABLE teachers (classroom VARCHAR); CREATE TABLE list (classroom VARCHAR, firstname VARCHAR, lastname VARCHAR)
SELECT COUNT(*) FROM list AS T1 JOIN teachers AS T2 ON T1.classroom = T2.classroom WHERE T1.firstname = "MADLOCK" AND T1.lastname = "RAY"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 4057, 3082, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 4057, 3082, 584, 4280, 28027, 6, 166, 4350, 584, 4280, 28027, 6, 336, 4350, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 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, 332, 5411, 14672, 4350, 3274, 96, 4148, 308, 501...
What are the high points from a game of 30?
CREATE TABLE table_name_59 ( high_points VARCHAR, game VARCHAR )
SELECT high_points FROM table_name_59 WHERE game = 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 306, 834, 2700, 7, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 306, 979, 45, 3, 9, 467, 13, 604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 306, 834, 2700, 7, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 467, 3274, 604, 1, -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 difference in attendance in tie no 1 and 4 ?
CREATE TABLE table_204_846 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "attendance" number )
SELECT ABS((SELECT "attendance" FROM table_204_846 WHERE "tie no" = 1) - (SELECT "attendance" FROM table_204_846 WHERE "tie no" = 4))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 4448, 41, 3, 23, 26, 381, 6, 96, 17, 23, 15, 150, 121, 381, 6, 96, 5515, 372, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 8006, 372, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20798, 599, 599, 23143, 14196, 96, 15116, 663, 121, 21680, 953, 834, 26363, 834, 927, 4448, 549, 17444, 427, 96, 17, 23, 15, 150, 121, 3274, 8925, 3, 18, 41, 23143, 14196, 96, 15116, 663, 121, 21680, 953, 834, 26363...
Can you tell me the Manufacturer that has the Rider of stefan bradl?
CREATE TABLE table_name_5 ( manufacturer VARCHAR, rider VARCHAR )
SELECT manufacturer FROM table_name_5 WHERE rider = "stefan bradl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 4818, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 15248, 24, 65, 8, 25218, 13, 3, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4818, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 2564, 52, 3274, 96, 7, 24018, 3858, 26, 40, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of all people who do not have friends?
CREATE TABLE person ( name text, age number, city text, gender text, job text ) CREATE TABLE personfriend ( name text, friend text, year number )
SELECT name FROM person EXCEPT SELECT name FROM personfriend
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 41, 564, 1499, 6, 1246, 381, 6, 690, 1499, 6, 7285, 1499, 6, 613, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 568, 15504, 41, 564, 1499, 6, 1565, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 568, 262, 4, 30416, 3, 23143, 14196, 564, 21680, 568, 15504, 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,...
When the Mole was Petrina Edge, what was the potential prize money?
CREATE TABLE table_name_70 ( potential_prize_money VARCHAR, mole VARCHAR )
SELECT potential_prize_money FROM table_name_70 WHERE mole = "petrina edge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1055, 834, 2246, 776, 834, 28442, 584, 4280, 28027, 6, 2288, 109, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 11019, 15, 47, 5520, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1055, 834, 2246, 776, 834, 28442, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 2288, 109, 3274, 96, 4995, 52, 77, 9, 3023, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the call sign for country station fm 93.1?
CREATE TABLE table_66086 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text )
SELECT "Call sign" FROM table_66086 WHERE "Format" = 'country' AND "Frequency" = 'fm 93.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27720, 3840, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 254, 1748, 1320, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 667, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 1748, 1320, 121, 21680, 953, 834, 27720, 3840, 549, 17444, 427, 96, 3809, 3357, 121, 3274, 3, 31, 17529, 31, 3430, 96, 371, 60, 835, 11298, 121, 3274, 3, 31, 89, 51, 668, 18495, 31, 1, -100, -100, -100, ...
What are the line 1 and average monthly rentals of all student addresses?
CREATE TABLE Addresses (line_1 VARCHAR, address_id VARCHAR); CREATE TABLE Student_Addresses (monthly_rental INTEGER, address_id VARCHAR)
SELECT T1.line_1, AVG(T2.monthly_rental) FROM Addresses AS T1 JOIN Student_Addresses AS T2 ON T1.address_id = T2.address_id GROUP BY T2.address_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13246, 15, 7, 41, 747, 834, 536, 584, 4280, 28027, 6, 1115, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 834, 20773, 9377, 15, 7, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 747, 834, 4347, 71, 17217, 599, 382, 4416, 7393, 120, 834, 5320, 138, 61, 21680, 13246, 15, 7, 6157, 332, 536, 3, 15355, 3162, 6341, 834, 20773, 9377, 15, 7, 6157, 332, 357, 9191, 332, 5411, 9, 26, 1203...
Where was the opponent Germany?
CREATE TABLE table_67568 ( "Date" text, "Location" text, "Opponenent" text, "Result" text, "Match type" text )
SELECT "Location" FROM table_67568 WHERE "Opponenent" = 'germany'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 755, 3651, 41, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 667, 1572, 106, 35, 295, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 329, 14547,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3708, 755, 3651, 549, 17444, 427, 96, 667, 1572, 106, 35, 295, 121, 3274, 3, 31, 1304, 348, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What date did Delage win?
CREATE TABLE table_name_34 (date VARCHAR, winning_constructor VARCHAR)
SELECT date FROM table_name_34 WHERE winning_constructor = "delage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 5522, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 374, 4855, 1369, 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, 833, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 221, 4855, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients diagnosed with alzheimer's disease who were admitted before 2190.
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 demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admityear < "2190" AND diagnoses.short_title = "Alzheimer's disease"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the most tackles for 3.5 sacks
CREATE TABLE table_15581223_8 (tackles INTEGER, sacks VARCHAR)
SELECT MAX(tackles) FROM table_15581223_8 WHERE sacks = "3.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3449, 2122, 2773, 834, 927, 41, 17, 4365, 965, 3, 21342, 17966, 6, 3, 15525, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 8000, 7, 21, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 17, 4365, 965, 61, 21680, 953, 834, 1808, 3449, 2122, 2773, 834, 927, 549, 17444, 427, 3, 15525, 7, 3274, 96, 9285, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the head linesman of the game on 1 February 2009?
CREATE TABLE table_name_46 ( head_linesman VARCHAR, date VARCHAR )
SELECT head_linesman FROM table_name_46 WHERE date = "1 february 2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 819, 834, 6972, 348, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 819, 2356, 348, 13, 8, 467, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 819, 834, 6972, 348, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 833, 3274, 96, 536, 29976, 76, 1208, 2464, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Avg/G has a Name of david allen, and a Gain larger than 371?
CREATE TABLE table_77058 ( "Name" text, "Gain" real, "Loss" real, "Long" real, "Avg/G" real )
SELECT AVG("Avg/G") FROM table_77058 WHERE "Name" = 'david allen' AND "Gain" > '371'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26920, 3449, 41, 96, 23954, 121, 1499, 6, 96, 517, 9, 77, 121, 490, 6, 96, 434, 32, 7, 7, 121, 490, 6, 96, 434, 2444, 121, 490, 6, 96, 188, 208, 122, 87, 517, 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, 71, 17217, 599, 121, 188, 208, 122, 87, 517, 8512, 21680, 953, 834, 26920, 3449, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 26, 9, 6961, 6127, 31, 3430, 96, 517, 9, 77, 121, 2490, 3, 31, 4118, 536, 31, 1, -...
What was the smallest grid for Prince bira?
CREATE TABLE table_name_29 (grid INTEGER, driver VARCHAR)
SELECT MIN(grid) FROM table_name_29 WHERE driver = "prince bira"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 3496, 26, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 17924, 8634, 21, 9027, 3, 8781, 9, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 2535, 3274, 96, 12298, 565, 3, 8781, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many male patients had umbilical vein catheterization?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.long_title = "Umbilical vein catheterization"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How may results had the theme inspirational?
CREATE TABLE table_28479 ( "Episode" text, "Theme" text, "Song choice" text, "Original recording artist" text, "Order #" text, "Result" text )
SELECT COUNT("Result") FROM table_28479 WHERE "Theme" = 'Inspirational'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4608, 4440, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 1160, 121, 1499, 6, 96, 667, 3380, 10270, 5592, 2377, 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, 2847, 17161, 599, 121, 20119, 8512, 21680, 953, 834, 357, 4608, 4440, 549, 17444, 427, 96, 634, 526, 121, 3274, 3, 31, 1570, 7675, 2661, 138, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the race for the world championship formula 1 at a venue of hungaroring?
CREATE TABLE table_name_4 (race VARCHAR, notes VARCHAR, venue VARCHAR)
SELECT race FROM table_name_4 WHERE notes = "world championship formula 1" AND venue = "hungaroring"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 12614, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1964, 21, 8, 296, 10183, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1964, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 3358, 3274, 96, 7276, 10183, 5403, 209, 121, 3430, 5669, 3274, 96, 6668, 291, 127, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many college/junior/club teams are ther when nhl team is edmonton oilers?
CREATE TABLE table_30580 ( "Pick #" real, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT COUNT("College/junior/club team") FROM table_30580 WHERE "NHL team" = 'Edmonton Oilers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26724, 2079, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9939, 7883, 87, 6959, 23, 127, 87, 13442, 372, 8512, 21680, 953, 834, 26724, 2079, 549, 17444, 427, 96, 15743, 434, 372, 121, 3274, 3, 31, 427, 26, 4662, 106, 6067, 277, 31, 1, -100, -100, -...
What is the date of appointment when the date of vacancy is 21 december 2007?
CREATE TABLE table_10592536_8 ( date_of_appointment VARCHAR, date_of_vacancy VARCHAR )
SELECT date_of_appointment FROM table_10592536_8 WHERE date_of_vacancy = "21 December 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 28456, 3420, 834, 927, 41, 833, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 6, 833, 834, 858, 834, 29685, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 9, 102, 2700, 297, 21680, 953, 834, 12869, 28456, 3420, 834, 927, 549, 17444, 427, 833, 834, 858, 834, 29685, 3274, 96, 2658, 1882, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Gold has a Bronze of 1, and a Total smaller than 3?
CREATE TABLE table_47697 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Gold") FROM table_47697 WHERE "Bronze" = '1' AND "Total" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3959, 4327, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 23576, 8512, 21680, 953, 834, 591, 3959, 4327, 549, 17444, 427, 96, 22780, 29, 776, 121, 3274, 3, 31, 536, 31, 3430, 96, 3696, 1947, 121, 3, 2, 3, 31, 519, 31, 1, -100, -100, -100, -100, -10...
which census subdivision has a larger land area , edmonton or winnipeg ?
CREATE TABLE table_203_834 ( id number, "rank" number, "census subdivision" text, "province" text, "type" text, "land area\n(km2, 2011)" number, "population 2011" number, "population 2006" number, "population 2001" number, "population 1996" number, "change in % 2006-2011" num...
SELECT "census subdivision" FROM table_203_834 WHERE "census subdivision" IN ('edmonton', 'winnipeg') ORDER BY "land area\n(km2, 2011)" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4591, 591, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 75, 35, 7, 302, 27444, 121, 1499, 6, 96, 1409, 2494, 565, 121, 1499, 6, 96, 6137, 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, 75, 35, 7, 302, 27444, 121, 21680, 953, 834, 23330, 834, 4591, 591, 549, 17444, 427, 96, 75, 35, 7, 302, 27444, 121, 3388, 41, 31, 15, 26, 4662, 106, 31, 6, 3, 31, 3757, 29, 23, 855, 122, 31, 61, 4674, 1...
What is the Date, when Game is 17?
CREATE TABLE table_name_69 (date VARCHAR, game VARCHAR)
SELECT date FROM table_name_69 WHERE game = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 5522, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7678, 6, 116, 4435, 19, 1003, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 467, 3274, 1003, 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,...
For those employees who did not have any job in the past, show me the trend about commission_pct over hire_date with a line chart, I want to rank HIRE_DATE in descending order.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE...
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY HIRE_DATE DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680...
How many employees at nokia, ranked under 3?
CREATE TABLE table_66761 ( "Rank" real, "Company" text, "Headquarters" text, "Industry" text, "Employees" real, "Reference date" real )
SELECT MAX("Employees") FROM table_66761 WHERE "Company" = 'nokia' AND "Rank" < '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3959, 536, 41, 96, 22557, 121, 490, 6, 96, 5890, 2837, 63, 121, 1499, 6, 96, 3845, 9, 26, 19973, 7, 121, 1499, 6, 96, 1570, 8655, 8224, 121, 1499, 6, 96, 427, 51,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 51, 7379, 63, 15, 15, 7, 8512, 21680, 953, 834, 3539, 3959, 536, 549, 17444, 427, 96, 5890, 2837, 63, 121, 3274, 3, 31, 29, 1825, 23, 9, 31, 3430, 96, 22557, 121, 3, 2, 3, 31, 519, 31...
What is Record, when Event is "UFC 40"?
CREATE TABLE table_name_57 (record VARCHAR, event VARCHAR)
SELECT record FROM table_name_57 WHERE event = "ufc 40"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 60, 7621, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 11392, 6, 116, 8042, 19, 96, 18899, 254, 1283, 121, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 605, 3274, 96, 76, 89, 75, 1283, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the average of department_id bin hire_date by time in a bar chart, sort in asc by the mean department id.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT HIRE_DATE, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(DEPARTMENT_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914,...
How many faculty members do we have for each rank and gender?
CREATE TABLE activity ( actid number, activity_name text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE faculty_participates_in ( facid number, actid number ) CREATE TABLE...
SELECT rank, sex, COUNT(*) FROM faculty GROUP BY rank, sex
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1756, 41, 1810, 23, 26, 381, 6, 1756, 834, 4350, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6, 3, 40, 4350, 1499, 6, 3, 89, 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, 11003, 6, 3, 7, 994, 6, 2847, 17161, 599, 1935, 61, 21680, 6040, 350, 4630, 6880, 272, 476, 11003, 6, 3, 7, 994, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the main places for the streymoy region with an area of larger than 6.1?
CREATE TABLE table_33521 ( "Name" text, "Area" real, "Inhabitants" real, "People per km\u00b2" real, "Main places" text, "Regions" text )
SELECT "Main places" FROM table_33521 WHERE "Regions" = 'streymoy' AND "Area" > '6.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2469, 2658, 41, 96, 23954, 121, 1499, 6, 96, 188, 864, 121, 490, 6, 96, 1570, 29884, 7, 121, 490, 6, 96, 24337, 399, 2280, 2, 76, 1206, 115, 357, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21978, 29, 1747, 121, 21680, 953, 834, 519, 2469, 2658, 549, 17444, 427, 96, 17748, 2865, 121, 3274, 3, 31, 7, 929, 63, 51, 32, 63, 31, 3430, 96, 188, 864, 121, 2490, 3, 31, 23769, 31, 1, -100, -100, -100, ...
What is the average gold that has a total of 2 and more than 1 bronze.
CREATE TABLE table_name_75 ( gold INTEGER, total VARCHAR, bronze VARCHAR )
SELECT AVG(gold) FROM table_name_75 WHERE total = 2 AND bronze > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 2045, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 2045, 24, 65, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 14910, 61, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 792, 3274, 204, 3430, 13467, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose discharge location is snf and admission year is less than 2146?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "SNF" AND demographic.admityear < "2146"
[ 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, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 134, 12619, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96,...
Who directed the TV broadcast s03e19?
CREATE TABLE table_15861776_1 (directed_by VARCHAR, tv_broadcast VARCHAR)
SELECT directed_by FROM table_15861776_1 WHERE tv_broadcast = "S03E19"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3840, 2517, 3959, 834, 536, 41, 22955, 834, 969, 584, 4280, 28027, 6, 3, 17, 208, 834, 115, 8635, 5254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6640, 834, 969, 21680, 953, 834, 1808, 3840, 2517, 3959, 834, 536, 549, 17444, 427, 3, 17, 208, 834, 115, 8635, 5254, 3274, 96, 134, 4928, 427, 2294, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What shows for W adys awowo, Poland when the world record shows olympic record, a Marcin Do ga (POL) is olympic standard, and Snatch is clean & jerk?
CREATE TABLE table_name_83 ( władysławowo_ VARCHAR, _poland VARCHAR, snatch VARCHAR, world_record VARCHAR, marcin_dołęga___pol__ VARCHAR )
SELECT władysławowo_, _poland FROM table_name_83 WHERE world_record = "olympic record" AND marcin_dołęga___pol__ = "olympic standard" AND snatch = "clean & jerk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 3, 210, 2, 9, 26, 63, 7, 2, 9, 210, 2381, 32, 834, 584, 4280, 28027, 6, 3, 834, 3233, 232, 584, 4280, 28027, 6, 3, 7, 29, 14547, 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, 210, 2, 9, 26, 63, 7, 2, 9, 210, 2381, 32, 834, 6, 3, 834, 3233, 232, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 296, 834, 60, 7621, 3274, 96, 32, 120, 51, 6174, 1368, 121, 3430, 14124, 77, 834, 2...
What's the total when the bronze was more than 1, silver was 3, and gold was less than 5?
CREATE TABLE table_name_90 ( total INTEGER, gold VARCHAR, bronze VARCHAR, silver VARCHAR )
SELECT SUM(total) FROM table_name_90 WHERE bronze > 1 AND silver = 3 AND gold < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 792, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 180, 6122, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 13467, 2490, 209, 3430, 4294, 3274, 220, 3430, 2045, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For each party, use a pie chart to show the number of its delegates.
CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE election ( Election_ID int, Counties_Represented text, District int, Delegate text, Party int, First_Elected real, Committee text ) CREATE TABLE party ( Party_ID int, ...
SELECT T2.Party, COUNT(T2.Party) FROM election AS T1 JOIN party AS T2 ON T1.Party = T2.Party_ID GROUP BY T2.Party
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5435, 41, 1334, 834, 196, 26, 16, 17, 6, 1334, 834, 4350, 1499, 6, 29659, 490, 6, 22296, 834, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4356, 41, 19488,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 13725, 63, 6, 2847, 17161, 599, 382, 4416, 13725, 63, 61, 21680, 4356, 6157, 332, 536, 3, 15355, 3162, 1088, 6157, 332, 357, 9191, 332, 5411, 13725, 63, 3274, 332, 4416, 13725, 63, 834, 4309, 350, 4630, 6...
global lvef between 30 and 45 % .
CREATE TABLE table_test_5 ( "id" int, "systemic_lupus_erythematosus" bool, "anemia" bool, "gender" string, "pregnancy_or_lactation" bool, "serum_potassium" float, "hemoglobin_a1c_hba1c" float, "heart_disease" bool, "renal_disease" bool, "creatinine_clearance_cl" float, "estim...
SELECT * FROM table_test_5 WHERE global_lvef >= 30 AND global_lvef <= 45
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 755, 41, 96, 23, 26, 121, 16, 17, 6, 96, 3734, 447, 834, 40, 413, 302, 834, 4203, 532, 3357, 32, 7, 302, 121, 3, 12840, 40, 6, 96, 152, 11658, 121, 3, 1284...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4377, 834, 755, 549, 17444, 427, 1252, 834, 40, 162, 89, 2490, 2423, 604, 3430, 1252, 834, 40, 162, 89, 3, 2, 2423, 3479, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
I want the score for 28 march 1979
CREATE TABLE table_name_37 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_37 WHERE date = "28 march 1979"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 27, 241, 8, 2604, 21, 2059, 10556, 15393, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 833, 3274, 96, 2577, 10556, 15393, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the presentation of credentials for appointed by of grover cleveland and representative of charles w. buck
CREATE TABLE table_67424 ( "Representative" text, "Title" text, "Presentation of Credentials" text, "Termination of Mission" text, "Appointed by" text )
SELECT "Presentation of Credentials" FROM table_67424 WHERE "Appointed by" = 'grover cleveland' AND "Representative" = 'charles w. buck'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 591, 2266, 41, 96, 1649, 12640, 1528, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 10572, 5277, 257, 13, 14301, 7220, 7, 121, 1499, 6, 96, 11679, 77, 257, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10572, 5277, 257, 13, 14301, 7220, 7, 121, 21680, 953, 834, 3708, 591, 2266, 549, 17444, 427, 96, 9648, 32, 2429, 26, 57, 121, 3274, 3, 31, 20254, 52, 3, 75, 4563, 232, 31, 3430, 96, 1649, 12640, 1528, 121, ...
Which country has a to par of e?
CREATE TABLE table_name_20 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_20 WHERE to_par = "e"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 17529, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 3, 9, 12, 260, 13, 3, 15, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 12, 834, 1893, 3274, 96, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who directed the episode that have 0.25 million u.s viewers
CREATE TABLE table_29803475_3 ( directed_by VARCHAR, us_viewers__million_ VARCHAR )
SELECT directed_by FROM table_29803475_3 WHERE us_viewers__million_ = "0.25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2079, 3710, 3072, 834, 519, 41, 6640, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6640, 834, 969, 21680, 953, 834, 3166, 2079, 3710, 3072, 834, 519, 549, 17444, 427, 178, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 18189, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the rank when the game was at dnipro stadium , kremenchuk?
CREATE TABLE table_name_55 ( rank VARCHAR, location VARCHAR )
SELECT rank FROM table_name_55 WHERE location = "dnipro stadium , kremenchuk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 11003, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 116, 8, 467, 47, 44, 3, 26, 29, 23, 1409...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11003, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 1128, 3274, 96, 26, 29, 23, 1409, 14939, 3, 6, 3, 157, 60, 904, 524, 1598, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average number of points of the team with more than 18 played?
CREATE TABLE table_name_72 (points INTEGER, played INTEGER)
SELECT AVG(points) FROM table_name_72 WHERE played > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2700, 7, 3, 21342, 17966, 6, 1944, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 381, 13, 979, 13, 8, 372, 28, 72, 145, 507, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1944, 2490, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Show all calendar dates and bin by year in a line chart, list by the Calendar_Date from low to high.
CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE...
SELECT Calendar_Date, COUNT(Calendar_Date) FROM Ref_Calendar ORDER BY Calendar_Date
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 834, 434, 32, 75, 1628, 41, 11167, 834, 4309, 3, 21342, 17966, 6, 10450, 834, 22737, 3, 28027, 599, 1808, 201, 7678, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 309, 6048, 382...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18783, 834, 308, 342, 6, 2847, 17161, 599, 14318, 35, 3439, 834, 308, 342, 61, 21680, 419, 89, 834, 14318, 35, 3439, 4674, 11300, 272, 476, 18783, 834, 308, 342, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who do not work in departments with managers that have ids between 100 and 200, show me the trend about department_id over hire_date with a line chart, and sort HIRE_DATE in ascending order.
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT HIRE_DATE, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY HIRE_DATE
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, ...
What was the vacancy date of the manager appointed on 11 March 2010?
CREATE TABLE table_name_45 ( date_of_vacancy VARCHAR, date_of_appointment VARCHAR )
SELECT date_of_vacancy FROM table_name_45 WHERE date_of_appointment = "11 march 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 833, 834, 858, 834, 29685, 584, 4280, 28027, 6, 833, 834, 858, 834, 9, 102, 2700, 297, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 834, 858, 834, 29685, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 833, 834, 858, 834, 9, 102, 2700, 297, 3274, 96, 2596, 10556, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Provide the number of patients born before 2123 who have s/p hanging as their primary disease.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "S/P HANGING" AND demographic.dob_year < "2123"
[ 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, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 134, 87, 345, 454, 19775, 2365, 121, 3430, 14798, 5, 26, 32, 115, 83...
Who held the same position in 2014 that Garion Weller held in 2014?
CREATE TABLE table_7285 ( "Position" text, "2014" text, "2013" text, "2012" text, "2011" text )
SELECT "2014" FROM table_7285 WHERE "2012" = 'garion weller'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4433, 41, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 10218, 121, 1499, 6, 96, 11138, 121, 1499, 6, 96, 12172, 121, 1499, 6, 96, 13907, 121, 1499, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10218, 121, 21680, 953, 834, 5865, 4433, 549, 17444, 427, 96, 12172, 121, 3274, 3, 31, 1478, 23, 106, 168, 49, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
hypertension > 180 mmhg systolic, > 110 mmhg diastolic office blood pressure
CREATE TABLE table_dev_46 ( "id" int, "ogtt" int, "systolic_blood_pressure_sbp" int, "neuromuscular_disease" bool, "renal_disease" bool, "hepatic_disease" bool, "active_oncologic_disease" bool, "hematologic_disease" bool, "diastolic_blood_pressure_dbp" int, "muscular_disease" boo...
SELECT * FROM table_dev_46 WHERE hypertension = 1 OR (systolic_blood_pressure_sbp > 180 OR diastolic_blood_pressure_dbp > 110)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 4448, 41, 96, 23, 26, 121, 16, 17, 6, 96, 32, 122, 17, 17, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 4448, 549, 17444, 427, 6676, 13177, 3274, 209, 4674, 41, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 2490, 8003, 4674, 1227, 9, 7, 235, 2176, 834, 27798, 834, 2...
Who was the winner when Niki Lauda held pole position?
CREATE TABLE table_52285 ( "Race" text, "Date" text, "Location" text, "Pole Position" text, "Fastest Lap" text, "Race Winner" text, "Constructor" text, "Report" text )
SELECT "Race Winner" FROM table_52285 WHERE "Pole Position" = 'niki lauda'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 357, 4433, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 43...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 3302, 18125, 121, 21680, 953, 834, 5373, 357, 4433, 549, 17444, 427, 96, 8931, 15, 14258, 121, 3274, 3, 31, 4953, 23, 3, 12513, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest number of third place runners up held by any of the countries competing in the Mr. International competition?.
CREATE TABLE table_20325360_2 (Id VARCHAR)
SELECT MAX(3 AS rd_runner_up) FROM table_20325360_2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 1828, 19208, 834, 357, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 1025, 286, 16448, 95, 1213, 57, 136, 13, 8, 1440,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 519, 6157, 3, 52, 26, 834, 10806, 834, 413, 61, 21680, 953, 834, 23330, 1828, 19208, 834, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which TV network had its series finale on May 7, 2012?
CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, series_finale VARCHAR)
SELECT tv_network_s_ FROM table_29799700_2 WHERE series_finale = "May 7, 2012"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 3264, 9295, 834, 357, 41, 17, 208, 834, 1582, 1981, 834, 7, 834, 584, 4280, 28027, 6, 939, 834, 12406, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 834, 1582, 1981, 834, 7, 834, 21680, 953, 834, 357, 4327, 3264, 9295, 834, 357, 549, 17444, 427, 939, 834, 12406, 15, 3274, 96, 15881, 7973, 1673, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the earlier round where Takashi Kogure got the fastest lap?
CREATE TABLE table_22379931_2 ( round INTEGER, fastest_lap VARCHAR )
SELECT MIN(round) FROM table_22379931_2 WHERE fastest_lap = "Takashi Kogure"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4118, 3264, 3341, 834, 357, 41, 1751, 3, 21342, 17966, 6, 10391, 834, 8478, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2283, 1751, 213, 18973, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 7775, 61, 21680, 953, 834, 2884, 4118, 3264, 3341, 834, 357, 549, 17444, 427, 10391, 834, 8478, 3274, 96, 382, 5667, 5605, 1793, 7840, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the method of resolution when Katsuhisa Fujii's record was 0-1?
CREATE TABLE table_45424 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text )
SELECT "Method" FROM table_45424 WHERE "Record" = '0-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 591, 2266, 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, 23351, 107, 32, 26, 121, 21680, 953, 834, 2128, 591, 2266, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 632, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
provide the number of patients whose drug code is infl0.5lf and lab test fluid is blood?
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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE prescriptions.formulary_drug_cd = "INFL0.5LF" AND lab.fluid = "Blood"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 338...
How many 2007s have 0.2 as a 2006, with a 2010 less than 0.1?
CREATE TABLE table_61012 ( "2006" real, "2007" real, "2008" real, "2009" real, "2010" real )
SELECT SUM("2007") FROM table_61012 WHERE "2006" = '0.2' AND "2010" < '0.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27097, 2122, 41, 96, 21196, 121, 490, 6, 96, 20615, 121, 490, 6, 96, 16128, 121, 490, 6, 96, 16660, 121, 490, 6, 96, 14926, 121, 490, 3, 61, 3, 32102, 32103, 32101, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 20615, 8512, 21680, 953, 834, 27097, 2122, 549, 17444, 427, 96, 21196, 121, 3274, 3, 31, 18189, 31, 3430, 96, 14926, 121, 3, 2, 3, 31, 16029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -...
What is the Tournament, on the Week of May 5?
CREATE TABLE table_9939 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text )
SELECT "Tournament" FROM table_9939 WHERE "Week" = 'may 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3264, 3288, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 371, 10270, 343,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3264, 3288, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 13726, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
A bar chart shows the distribution of All_Games and School_ID , and could you list by the bars in desc?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT All_Games, School_ID FROM basketball_match ORDER BY All_Games DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 23055, 7, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 432, 834, 23055, 7, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many mountains classifications when Rui Costa is the winner?
CREATE TABLE table_25999087_2 ( mountains_classification VARCHAR, winner VARCHAR )
SELECT COUNT(mountains_classification) FROM table_25999087_2 WHERE winner = "Rui Costa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3264, 2394, 4225, 834, 357, 41, 8022, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8022, 13774, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11231, 13676, 834, 4057, 2420, 61, 21680, 953, 834, 1828, 3264, 2394, 4225, 834, 357, 549, 17444, 427, 4668, 3274, 96, 17137, 23, 11229, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me about the distribution of All_Neutral and All_Games_Percent in a bar chart.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT All_Neutral, All_Games_Percent FROM basketball_match
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 834, 26288, 8792, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the notes for the Mandarin Chinese program on CTV earlier than 2013?
CREATE TABLE table_name_40 ( notes VARCHAR, network VARCHAR, year VARCHAR, language VARCHAR )
SELECT notes FROM table_name_40 WHERE year < 2013 AND language = "mandarin chinese" AND network = "ctv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 3358, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1612, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3358, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 215, 3, 2, 2038, 3430, 1612, 3274, 96, 348, 3439, 77, 3, 1436, 1496, 15, 121, 3430, 1229, 3274, 96, 75, 17, 208, 121, 1, -100, -100, -100, -100, -100, -100,...
Name the number of weeks for 50073 attendance
CREATE TABLE table_14984050_1 (week VARCHAR, attendance VARCHAR)
SELECT COUNT(week) FROM table_14984050_1 WHERE attendance = 50073
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 26311, 1752, 834, 536, 41, 8041, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 1274, 21, 2899, 4552, 11364, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 24816, 26311, 1752, 834, 536, 549, 17444, 427, 11364, 3274, 2899, 4552, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
tell me the number of female patients who had other persistent mental disorders due to conditions classified elsewhere diagnoses.
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.short_title = "Mental disor NEC oth dis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What was the average attendance when the record was 17-18?
CREATE TABLE table_68635 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" real, "Record" text )
SELECT AVG("Attendance") FROM table_68635 WHERE "Record" = '17-18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 948, 2469, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 26,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 3651, 948, 2469, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2517, 6996, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What game has a platform(s) of playstation 3, when the genre is platform game?
CREATE TABLE table_13804 ( "Year" text, "Game" text, "Genre" text, "Platform(s)" text, "Developer(s)" text )
SELECT "Game" FROM table_13804 WHERE "Platform(s)" = 'playstation 3' AND "Genre" = 'platform game'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22744, 6348, 41, 96, 476, 2741, 121, 1499, 6, 96, 23055, 121, 1499, 6, 96, 13714, 60, 121, 1499, 6, 96, 10146, 2032, 599, 7, 61, 121, 1499, 6, 96, 2962, 162, 8745, 49, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23055, 121, 21680, 953, 834, 22744, 6348, 549, 17444, 427, 96, 10146, 2032, 599, 7, 61, 121, 3274, 3, 31, 4895, 6682, 220, 31, 3430, 96, 13714, 60, 121, 3274, 3, 31, 29100, 467, 31, 1, -100, -100, -100, -100, ...
What was the preliminary average for Miss Maryland?
CREATE TABLE table_16323766_3 ( preliminary_average VARCHAR, state VARCHAR )
SELECT preliminary_average FROM table_16323766_3 WHERE state = "Maryland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 2668, 4118, 3539, 834, 519, 41, 17413, 834, 28951, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 17413, 1348, 21, 5964, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17413, 834, 28951, 21680, 953, 834, 2938, 2668, 4118, 3539, 834, 519, 549, 17444, 427, 538, 3274, 96, 7286, 28900, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Count the patients admitted before the year 2148 that are categorized under the chemistry lab test.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2148" AND lab."CATEGORY" = "Chemistry"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What was the result of the election of doc hastings (r) 53.3% jay inslee (d) 46.7%
CREATE TABLE table_72370 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Status" text, "Opponent" text )
SELECT "Status" FROM table_72370 WHERE "Opponent" = 'Doc Hastings (R) 53.3% Jay Inslee (D) 46.7%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 22520, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 134, 17, 144, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 5865, 22520, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 4135, 75, 4498, 1222, 7, 41, 448, 61, 12210, 5, 5170, 9373, 86, 7, 109, 15, 41, 308, 61, 9668, 5...
What is the epicenter on January 1, 1965?
CREATE TABLE table_12102 ( "Date" text, "Epicenter" text, "Magnitude" text, "Intensity" text, "Casualties" text )
SELECT "Epicenter" FROM table_12102 WHERE "Date" = 'january 1, 1965'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 14388, 41, 96, 308, 342, 121, 1499, 6, 96, 427, 102, 23, 13866, 121, 1499, 6, 96, 22909, 29, 20341, 121, 1499, 6, 96, 1570, 324, 7, 485, 121, 1499, 6, 96, 254, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 102, 23, 13866, 121, 21680, 953, 834, 2122, 14388, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 7066, 76, 1208, 1914, 19201, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the greatest Goals with a Name of samuel eto'o?
CREATE TABLE table_12516 ( "Rank" real, "Name" text, "Team" text, "Goals" real, "Appearances" real, "Minutes played" text )
SELECT MAX("Goals") FROM table_12516 WHERE "Name" = 'samuel eto''o'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10124, 2938, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 6221, 5405, 121, 490, 6, 96, 9648, 2741, 663, 7, 121, 490, 6, 96, 12858, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6221, 5405, 8512, 21680, 953, 834, 10124, 2938, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 7, 265, 76, 15, 40, 3, 15, 235, 31, 31, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the average enrollment when the team nickname is wolverines and founded is after 1817?
CREATE TABLE table_name_55 (enrollment INTEGER, team_nickname VARCHAR, founded VARCHAR)
SELECT AVG(enrollment) FROM table_name_55 WHERE team_nickname = "wolverines" AND founded > 1817
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 35, 4046, 297, 3, 21342, 17966, 6, 372, 834, 11191, 4350, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 35, 4046, 297, 61, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 372, 834, 11191, 4350, 3274, 96, 210, 32, 40, 624, 4477, 121, 3430, 5710, 2490, 507, 2517, 1, -100, -100, -100, -100, -100, -100,...
find the number of patients who have been admitted in hospital this year.
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wa...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE DATETIME(patient.hospitaladmittime, 'start of year') = DATETIME(CURRENT_TIME(), 'start of year', '-0 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 6, 3, 31, 10208, 13, 215, 31, 61, 3274, 309, 6048, 382,...
What's the HPO4 2 that has less than 89.3 as an H2PO 4 and 3.02 10 5 as the PO4 3?
CREATE TABLE table_13627 ( "[A] (mol/L)" text, "[H 3 PO 4 ]/[A] (%)" text, "[H 2 PO 4 \u2212 ]/[A] (%)" real, "[HPO 4 2\u2212 ]/[A] (%)" text, "[PO 4 3\u2212 ]/[A] (%)" text )
SELECT "[HPO 4 2\u2212 ]/[A] (%)" FROM table_13627 WHERE "[H 2 PO 4 \u2212 ]/[A] (%)" < '89.3' AND "[PO 4 3\u2212 ]/[A] (%)" = '3.02×10 −5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2555, 41, 96, 6306, 188, 908, 41, 4641, 87, 434, 61, 121, 1499, 6, 96, 6306, 566, 220, 9915, 314, 3, 908, 87, 6306, 188, 908, 41, 6210, 121, 1499, 6, 96, 6306, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6306, 566, 6618, 314, 204, 2, 76, 2884, 2122, 3, 908, 87, 6306, 188, 908, 41, 6210, 121, 21680, 953, 834, 23459, 2555, 549, 17444, 427, 96, 6306, 566, 204, 9915, 314, 3, 2, 76, 2884, 2122, 3, 908, 87, 6306, ...
What team is sponsored by chameleon sunglasses?
CREATE TABLE table_name_63 (team VARCHAR, sponsor VARCHAR)
SELECT team FROM table_name_63 WHERE sponsor = "chameleon sunglasses"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 11650, 584, 4280, 28027, 6, 9037, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 19, 11851, 57, 3, 17788, 400, 106, 22950, 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, 372, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 9037, 3274, 96, 17788, 400, 106, 22950, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What name has 100 w. pender st. as the address?
CREATE TABLE table_name_6 (name VARCHAR, street_address VARCHAR)
SELECT name FROM table_name_6 WHERE street_address = "100 w. pender st."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 4350, 584, 4280, 28027, 6, 2815, 834, 9, 26, 12039, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 564, 65, 910, 3, 210, 5, 4550, 588, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 2815, 834, 9, 26, 12039, 3274, 96, 2915, 3, 210, 5, 4550, 588, 3, 7, 17, 535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the IATA for Ringway Airport in the United Kingdom?
CREATE TABLE table_80191 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "IATA" FROM table_80191 WHERE "Country" = 'united kingdom' AND "Airport" = 'ringway airport'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 2294, 536, 41, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 20162, 1493, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 196, 19282, 121, 21680, 953, 834, 2079, 2294, 536, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 14740, 31, 3430, 96, 20162, 1493, 121, 3274, 3, 31, 1007, 1343, 3761, 31, 1, -100, -100, -10...
What is I/O bus when socket is socket g1bga-1288?
CREATE TABLE table_name_46 ( i_o_bus VARCHAR, socket VARCHAR )
SELECT i_o_bus FROM table_name_46 WHERE socket = "socket g1bga-1288"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 3, 23, 834, 32, 834, 3465, 584, 4280, 28027, 6, 16197, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 27, 87, 667, 2601, 116, 16197, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23, 834, 32, 834, 3465, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 16197, 3274, 96, 7, 3961, 15, 17, 3, 122, 536, 115, 122, 9, 5947, 4060, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who had the fastest lap in the races won by Max Papis?
CREATE TABLE table_16430 ( "Rnd" real, "Race Name" text, "Pole position" text, "Fastest lap" text, "Winning driver" text, "Winning team" text, "Report" text )
SELECT "Fastest lap" FROM table_16430 WHERE "Winning driver" = 'Max Papis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26987, 1458, 41, 96, 448, 727, 121, 490, 6, 96, 448, 3302, 5570, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 4377, 14941, 121, 1499, 6, 96, 518, 1050...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 9, 7, 4377, 14941, 121, 21680, 953, 834, 26987, 1458, 549, 17444, 427, 96, 518, 10503, 2535, 121, 3274, 3, 31, 21298, 3, 15182, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Rudy Harris' pick number in round 4?
CREATE TABLE table_name_25 ( pick INTEGER, round VARCHAR, player VARCHAR )
SELECT MAX(pick) FROM table_name_25 WHERE round = "round 4" AND player = "rudy harris"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1432, 3, 21342, 17966, 6, 1751, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 17806, 63, 12551, 31, 1432, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 17967, 61, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 1751, 3274, 96, 7775, 3, 20364, 3430, 1959, 3274, 96, 17237, 63, 3, 107, 10269, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the home team when away team is kilmarnock
CREATE TABLE table_15173650_2 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_15173650_2 WHERE away_team = "Kilmarnock"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 4552, 15348, 834, 357, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 234, 372, 116, 550, 37...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 26578, 4552, 15348, 834, 357, 549, 17444, 427, 550, 834, 11650, 3274, 96, 439, 173, 1635, 29, 3961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the number of episodes for sam snape
CREATE TABLE table_27208817_1 ( episode VARCHAR, writer VARCHAR )
SELECT COUNT(episode) FROM table_27208817_1 WHERE writer = "Sam Snape"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 1755, 4060, 2517, 834, 536, 41, 5640, 584, 4280, 28027, 6, 4346, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 13562, 21, 3, 7, 265, 10075...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15, 102, 159, 32, 221, 61, 21680, 953, 834, 2555, 1755, 4060, 2517, 834, 536, 549, 17444, 427, 4346, 3274, 96, 134, 265, 20035, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the smallest crowd that watched an away team score 3.10 (28)?
CREATE TABLE table_74727 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MIN("Crowd") FROM table_74727 WHERE "Away team score" = '3.10 (28)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 4177, 2555, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 3623, 26, 8512, 21680, 953, 834, 940, 4177, 2555, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 5787, 1714, 4743, 13520, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total number of First Elected that has counties represented of Anne Arundel, District of 30, and a Ways and Means Committee?
CREATE TABLE table_71330 ( "District" text, "Counties Represented" text, "Delegate" text, "Party" text, "First Elected" real, "Committee" text )
SELECT COUNT("First Elected") FROM table_71330 WHERE "Counties Represented" = 'anne arundel' AND "District" = '30' AND "Committee" = 'ways and means'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 17225, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 10628, 725, 419, 12640, 15, 26, 121, 1499, 6, 96, 2962, 8791, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25171, 1289, 7633, 8512, 21680, 953, 834, 4450, 17225, 549, 17444, 427, 96, 10628, 725, 419, 12640, 15, 26, 121, 3274, 3, 31, 4515, 3, 9, 14483, 40, 31, 3430, 96, 308, 23, 20066, 121, 3274, ...
What is the average GPA of students taking ACCT-211?
CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp...
SELECT AVG(T2.stu_gpa) FROM enroll AS T1 JOIN student AS T2 ON T1.stu_num = T2.stu_num JOIN class AS T3 ON T1.class_code = T3.class_code WHERE T3.crs_code = 'ACCT-211'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 17990, 41, 853, 834, 4978, 1499, 6, 21341, 834, 5525, 381, 6, 17990, 834, 6801, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 8943, 834, 5525, 381, 6, 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, 382, 4416, 7, 17, 76, 834, 122, 102, 9, 61, 21680, 17990, 6157, 332, 536, 3, 15355, 3162, 1236, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 834, 5525, 3274, 332, 4416, 7, 17, 76, 834, 5525, 3, ...
What was the Women's doubles that has a Men's singles of fernando silva, and in the year 1996?
CREATE TABLE table_36585 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Women's doubles" FROM table_36585 WHERE "Men's singles" = 'fernando silva' AND "Year" < '1996'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10402, 4433, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 32, 904, 31, 7, 1486, 7, 121, 21680, 953, 834, 10402, 4433, 549, 17444, 427, 96, 329, 35, 31, 7, 712, 7, 121, 3274, 3, 31, 8377, 232, 32, 108, 40, 900, 31, 3430, 96, 476, 2741, 121, 3, 2, 3, 31, 2...
what is days of hospital stay and diagnoses short title of subject id 19420?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT demographic.days_stay, diagnoses.short_title FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.subject_id = "19420"
[ 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, 1135, 7, 834, 21545, 6, 18730, 7, 5, 7, 14184, 834, 21869, 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, 549, 174...
What is the nationality of the play for New Jersey from 2007-2009?
CREATE TABLE table_name_62 ( nationality VARCHAR, years_in_new_jersey VARCHAR )
SELECT nationality FROM table_name_62 WHERE years_in_new_jersey = "2007-2009"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1157, 485, 584, 4280, 28027, 6, 203, 834, 77, 834, 5534, 834, 12488, 7, 15, 63, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 203, 834, 77, 834, 5534, 834, 12488, 7, 15, 63, 3274, 96, 20615, 18, 16660, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Find the location of the club "Pen and Paper Gaming".
CREATE TABLE club (clublocation VARCHAR, clubname VARCHAR)
SELECT clublocation FROM club WHERE clubname = "Pen and Paper Gaming"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 13442, 14836, 584, 4280, 28027, 6, 1886, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 1128, 13, 8, 1886, 96, 345, 35, 11, 6564, 18613, 1280, 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, 1886, 14836, 21680, 1886, 549, 17444, 427, 1886, 4350, 3274, 96, 345, 35, 11, 6564, 18613, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Format of the Label with Catalog SBP 234999?
CREATE TABLE table_name_23 ( format VARCHAR, catalog VARCHAR )
SELECT format FROM table_name_23 WHERE catalog = "sbp 234999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1910, 584, 4280, 28027, 6, 10173, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12439, 13, 8, 16229, 28, 22424, 180, 11165, 204, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1910, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 10173, 3274, 96, 7, 115, 102, 204, 3710, 19446, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the 2007 actor from Moscow for the shipwreck of Leonty Ibayev?
CREATE TABLE table_name_44 (actor_in_moscow VARCHAR, _2007 VARCHAR, shipwreck VARCHAR)
SELECT actor_in_moscow, _2007 FROM table_name_44 WHERE shipwreck = "leonty ibayev"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 9, 5317, 834, 77, 834, 3972, 509, 210, 584, 4280, 28027, 6, 3, 834, 20615, 584, 4280, 28027, 6, 4383, 210, 60, 2406, 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, 7556, 834, 77, 834, 3972, 509, 210, 6, 3, 834, 20615, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 4383, 210, 60, 2406, 3274, 96, 109, 1770, 63, 3, 23, 11119, 15, 208, 121, 1, -100, -100, -100, -100, -100, ...
Who is team c when dhez javier is team e?
CREATE TABLE table_name_44 (team_c VARCHAR, team_e VARCHAR)
SELECT team_c FROM table_name_44 WHERE team_e = "dhez javier"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 11650, 834, 75, 584, 4280, 28027, 6, 372, 834, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 372, 3, 75, 116, 3, 26, 88, 172, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 75, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 372, 834, 15, 3274, 96, 26, 88, 172, 2662, 5144, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Before 1957, what was the largest in Attendance at Varsity Stadium?
CREATE TABLE table_40261 ( "Season" real, "Date" text, "Venue" text, "City" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_40261 WHERE "Season" < '1957' AND "Venue" = 'varsity stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 357, 4241, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 553, 159, 155, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 2445, 357, 4241, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3, 2, 3, 31, 2294, 3436, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 31336, 1...