NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What was their record on week 11?
CREATE TABLE table_name_15 (record VARCHAR, week VARCHAR)
SELECT record FROM table_name_15 WHERE week = 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 60, 7621, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 70, 1368, 30, 471, 850, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 471, 3274, 850, 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,...
Name the total number of opponent of record 9-2
CREATE TABLE table_72852 ( "Game" real, "Date" text, "Opponent" text, "Score/Time" text, "High points" text, "High rebounds" text, "High assists" text, "Arena/Attendance" text, "Record" text )
SELECT COUNT("Opponent") FROM table_72852 WHERE "Record" = '9-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5865, 4433, 357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 87, 13368, 121, 1499, 6, 96, 21417, 979, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 667, 102, 9977, 8512, 21680, 953, 834, 5865, 4433, 357, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 1298, 4949, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the D 47 which has D 42 of d 22
CREATE TABLE table_name_10 ( d_47 VARCHAR, d_42 VARCHAR )
SELECT d_47 FROM table_name_10 WHERE d_42 = "d 22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 3, 26, 834, 4177, 584, 4280, 28027, 6, 3, 26, 834, 4165, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 10635, 84, 65, 309, 64...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 4177, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 3, 26, 834, 4165, 3274, 96, 26, 1630, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the nationality of the player Pat Garrity?
CREATE TABLE table_name_28 (nationality VARCHAR, player VARCHAR)
SELECT nationality FROM table_name_28 WHERE player = "pat garrity"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 16557, 485, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1157, 485, 13, 8, 1959, 5192, 3121, 52, 485, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 1959, 3274, 96, 4665, 5260, 52, 485, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Lap Length of the race with a Grand Prix Fia Category?
CREATE TABLE table_name_50 (lap_length VARCHAR, category VARCHAR)
SELECT lap_length FROM table_name_50 WHERE category = "grand prix fia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 8478, 834, 19457, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 325, 102, 312, 1725, 189, 13, 8, 1964, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14941, 834, 19457, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3295, 3274, 96, 15448, 3407, 361, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the least pick number for the denver broncos
CREATE TABLE table_27363 ( "Pick #" real, "NFL Team" text, "Player" text, "Position" text, "College" text )
SELECT MIN("Pick #") FROM table_27363 WHERE "NFL Team" = 'Denver Broncos'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3420, 519, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 12619, 434, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 3142, 1713, 8512, 21680, 953, 834, 2555, 3420, 519, 549, 17444, 427, 96, 12619, 434, 2271, 121, 3274, 3, 31, 308, 35, 624, 4027, 29, 509, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100...
What is the highest rank of Tokyo International Airport?
CREATE TABLE table_name_72 (rank INTEGER, airport VARCHAR)
SELECT MAX(rank) FROM table_name_72 WHERE airport = "tokyo international airport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 6254, 3, 21342, 17966, 6, 3761, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11003, 13, 12653, 1331, 5735, 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, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3761, 3274, 96, 235, 3781, 32, 1038, 3761, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest rank of Ukraine with fewer than 14 silver medals, fewer than 3 bronze medals, and a total of 4 medals?
CREATE TABLE table_name_95 ( rank INTEGER, nation VARCHAR, total VARCHAR, silver VARCHAR, bronze VARCHAR )
SELECT MIN(rank) FROM table_name_95 WHERE silver < 14 AND bronze < 3 AND total = 4 AND nation = "ukraine"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 11003, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 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, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 4294, 3, 2, 968, 3430, 13467, 3, 2, 220, 3430, 792, 3274, 314, 3430, 2982, 3274, 96, 1598, 6559, 15, 121, 1, -100, -100, -100, -100, -100...
How many laps did innes ireland drive with a grid higher than 11?
CREATE TABLE table_name_29 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT SUM(laps) FROM table_name_29 WHERE driver = "innes ireland" AND grid > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 8478, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14941, 7, 410, 16, 1496, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 2535, 3274, 96, 14029, 7, 3, 2060, 40, 232, 121, 3430, 8634, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score of the game that was a loss to Dotson (2-3)?
CREATE TABLE table_name_34 ( score VARCHAR, loss VARCHAR )
SELECT score FROM table_name_34 WHERE loss = "dotson (2-3)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 2604, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 467, 24, 47, 3, 9, 1453, 12, 531, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1453, 3274, 96, 26, 32, 17, 739, 4743, 18, 5268, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which province has the contestant elixandra tobias carasco?
CREATE TABLE table_name_81 ( province VARCHAR, _community VARCHAR, contestant VARCHAR )
SELECT province, _community FROM table_name_81 WHERE contestant = "elixandra tobias carasco"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 7985, 584, 4280, 28027, 6, 3, 834, 18782, 485, 584, 4280, 28027, 6, 4233, 288, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7985, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7985, 6, 3, 834, 18782, 485, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 4233, 288, 3274, 96, 15, 17591, 152, 3515, 12, 15500, 7, 443, 9, 3523, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the final score of the game with gerald wallace (14) as the High Rebound?
CREATE TABLE table_17001658_10 ( record VARCHAR, high_rebounds VARCHAR )
SELECT record FROM table_17001658_10 WHERE high_rebounds = "Gerald Wallace (14)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26774, 2938, 3449, 834, 1714, 41, 1368, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 804, 2604, 13, 8, 467, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 26774, 2938, 3449, 834, 1714, 549, 17444, 427, 306, 834, 23768, 3274, 96, 517, 49, 138, 26, 25568, 4077, 7256, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total number of races when there was more than 1 pole, and the fastest number of laps was less than 4?
CREATE TABLE table_45052 ( "Season" text, "Races" real, "Wins" real, "Podiums" real, "Poles" real, "Fastest Laps" real )
SELECT SUM("Races") FROM table_45052 WHERE "Poles" > '1' AND "Fastest Laps" < '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 5373, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 16665, 2552, 7, 121, 490, 6, 96, 8931, 15, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 448, 9, 2319, 8512, 21680, 953, 834, 10593, 5373, 549, 17444, 427, 96, 8931, 15, 7, 121, 2490, 3, 31, 536, 31, 3430, 96, 371, 9, 7, 4377, 325, 102, 7, 121, 3, 2, 3, 31, 591, 31, 1, -100,...
Find the captain rank that has no captain in Third-rate ship of the line class.
CREATE TABLE ship ( ship_id number, name text, type text, built_year number, class text, flag text ) CREATE TABLE captain ( captain_id number, name text, ship_id number, age text, class text, rank text )
SELECT rank FROM captain EXCEPT SELECT rank FROM captain WHERE class = 'Third-rate ship of the line'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4383, 41, 4383, 834, 23, 26, 381, 6, 564, 1499, 6, 686, 1499, 6, 1192, 834, 1201, 381, 6, 853, 1499, 6, 5692, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1426...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21680, 14268, 262, 4, 30416, 3, 23143, 14196, 11003, 21680, 14268, 549, 17444, 427, 853, 3274, 3, 31, 382, 9288, 26, 18, 2206, 4383, 13, 8, 689, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are the total Goals against with 72 points and more than 37 losses?
CREATE TABLE table_name_10 (goals_against INTEGER, points VARCHAR, lost VARCHAR)
SELECT SUM(goals_against) FROM table_name_10 WHERE points = 72 AND lost > 37
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 839, 5405, 834, 9, 16720, 7, 17, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 839, 5405, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 979, 3274, 9455, 3430, 1513, 2490, 6862, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is every GA if coach is Bob Ferguson and T is 6?
CREATE TABLE table_22655 ( "Season" text, "League" text, "Division" text, "GP" real, "W" real, "L" real, "T" real, "OTL" real, "SOL" real, "PTS" real, "PCT" text, "GF" real, "GA" real, "PIM" real, "Coach(es)" text, "Result" text )
SELECT "GA" FROM table_22655 WHERE "Coach(es)" = 'Bob Ferguson' AND "T" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2688, 3769, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 308, 23, 6610, 121, 1499, 6, 96, 8049, 121, 490, 6, 96, 518, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6302, 121, 21680, 953, 834, 357, 2688, 3769, 549, 17444, 427, 96, 3881, 1836, 599, 15, 7, 61, 121, 3274, 3, 31, 279, 32, 115, 27461, 31, 3430, 96, 382, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, ...
What's the 2003 result for the falkirk council?
CREATE TABLE table_name_97 (council VARCHAR)
SELECT 2003 AS _result FROM table_name_97 WHERE council = "falkirk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 509, 15254, 40, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3888, 741, 21, 8, 12553, 157, 12546, 6098, 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, 3888, 6157, 3, 834, 60, 7, 83, 17, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 6098, 3274, 96, 89, 138, 157, 12546, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the losing pitcher when the winning pitcher is roy oswalt?
CREATE TABLE table_12125069_2 ( losing_pitcher VARCHAR, winning_pitcher VARCHAR )
SELECT losing_pitcher FROM table_12125069_2 WHERE winning_pitcher = "Roy Oswalt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22011, 11434, 3951, 834, 357, 41, 5489, 834, 5230, 1703, 584, 4280, 28027, 6, 3447, 834, 5230, 1703, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 5489...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5489, 834, 5230, 1703, 21680, 953, 834, 22011, 11434, 3951, 834, 357, 549, 17444, 427, 3447, 834, 5230, 1703, 3274, 96, 448, 32, 63, 411, 7, 5380, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the Place of the Player with a Score of 70-71=141?
CREATE TABLE table_name_61 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_61 WHERE score = 70 - 71 = 141
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 13, 8, 12387, 28, 3, 9, 17763, 13, 2861, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 2604, 3274, 2861, 3, 18, 3, 4450, 3274, 3, 26059, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the compatibility for the Mnemonic d for 'dynamite'?
CREATE TABLE table_56488 ( "Fire Class" text, "Geometric Symbol" text, "Intended Use" text, "Mnemonic" text, "compatibility" text )
SELECT "compatibility" FROM table_56488 WHERE "Mnemonic" = 'd for "dynamite'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4834, 591, 4060, 41, 96, 3183, 60, 4501, 121, 1499, 6, 96, 517, 15, 32, 7959, 3, 18650, 121, 1499, 6, 96, 196, 25916, 2048, 121, 1499, 6, 96, 329, 9660, 4554, 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, 7699, 144, 11102, 121, 21680, 953, 834, 4834, 591, 4060, 549, 17444, 427, 96, 329, 9660, 4554, 121, 3274, 3, 31, 26, 21, 96, 24805, 1538, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 2nd leg for the team #2 junior?
CREATE TABLE table_76067 ( "Team #1" text, "Points" text, "Team #2" text, "1st leg" text, "2nd leg" text )
SELECT "2nd leg" FROM table_76067 WHERE "Team #2" = 'junior'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28212, 3708, 41, 96, 18699, 7172, 121, 1499, 6, 96, 22512, 7, 121, 1499, 6, 96, 18699, 15493, 121, 1499, 6, 96, 536, 7, 17, 4553, 121, 1499, 6, 96, 357, 727, 4553, 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, 357, 727, 4553, 121, 21680, 953, 834, 28212, 3708, 549, 17444, 427, 96, 18699, 15493, 121, 3274, 3, 31, 6959, 23, 127, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What details are there on the research staff? List the result in ascending alphabetical order.
CREATE TABLE grants ( grant_id number, organisation_id number, grant_amount number, grant_start_date time, grant_end_date time, other_details text ) CREATE TABLE organisation_types ( organisation_type text, organisation_type_description text ) CREATE TABLE research_outcomes ( outcome_code text, outcome_description text ) CREATE TABLE research_staff ( staff_id number, employer_organisation_id number, staff_details text ) CREATE TABLE project_outcomes ( project_id number, outcome_code text, outcome_details text ) CREATE TABLE project_staff ( staff_id number, project_id number, role_code text, date_from time, date_to time, other_details text ) CREATE TABLE tasks ( task_id number, project_id number, task_details text, eg agree objectives text ) CREATE TABLE projects ( project_id number, organisation_id number, project_details text ) CREATE TABLE organisations ( organisation_id number, organisation_type text, organisation_details text ) CREATE TABLE documents ( document_id number, document_type_code text, grant_id number, sent_date time, response_received_date time, other_details text ) CREATE TABLE document_types ( document_type_code text, document_description text ) CREATE TABLE staff_roles ( role_code text, role_description text )
SELECT staff_details FROM research_staff ORDER BY staff_details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11133, 41, 5334, 834, 23, 26, 381, 6, 5102, 834, 23, 26, 381, 6, 5334, 834, 9, 11231, 381, 6, 5334, 834, 10208, 834, 5522, 97, 6, 5334, 834, 989, 834, 5522, 97, 6, 119, 834, 221,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 871, 834, 221, 5756, 7, 21680, 585, 834, 26416, 4674, 11300, 272, 476, 871, 834, 221, 5756, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many reverse with series being iii series
CREATE TABLE table_12284476_8 (reverse VARCHAR, series VARCHAR)
SELECT COUNT(reverse) FROM table_12284476_8 WHERE series = "III series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2577, 3628, 3959, 834, 927, 41, 60, 7583, 584, 4280, 28027, 6, 939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 7211, 28, 939, 271, 3, 23, 23, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 60, 7583, 61, 21680, 953, 834, 2122, 2577, 3628, 3959, 834, 927, 549, 17444, 427, 939, 3274, 96, 13671, 939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who was the last opponent the texas tech team faced in 1993 ?
CREATE TABLE table_204_197 ( id number, "date" text, "time" text, "opponent#" text, "site" text, "tv" text, "result" text, "attendance" number )
SELECT "opponent#" FROM table_204_197 ORDER BY "date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 27181, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 715, 121, 1499, 6, 96, 32, 102, 9977, 4663, 121, 1499, 6, 96, 3585, 121, 1499, 6, 96, 17, 208, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 32, 102, 9977, 4663, 121, 21680, 953, 834, 26363, 834, 27181, 4674, 11300, 272, 476, 96, 5522, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -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, draw a bar chart about the distribution of hire_date and the average of employee_id bin hire_date by time, and could you order in asc by the mean employee id please?
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY AVG(EMPLOYEE_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, ...
What is the average episode that has September 11, 2007 as a region 1?
CREATE TABLE table_36340 ( "Volume" text, "Discs" real, "Episodes" real, "Region 1 release" text, "Region 2 release" text, "Region 4 release" text )
SELECT AVG("Episodes") FROM table_36340 WHERE "Region 1 release" = 'september 11, 2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 21129, 41, 96, 22803, 440, 15, 121, 1499, 6, 96, 15683, 7, 121, 490, 6, 96, 427, 102, 159, 32, 1395, 121, 490, 6, 96, 17748, 23, 106, 209, 1576, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 427, 102, 159, 32, 1395, 8512, 21680, 953, 834, 3420, 21129, 549, 17444, 427, 96, 17748, 23, 106, 209, 1576, 121, 3274, 3, 31, 7, 6707, 18247, 9694, 4101, 31, 1, -100, -100, -100, -100, -100, ...
What is the organism that has a disease area of cancer and has 4/4 clinical trial b?
CREATE TABLE table_name_96 (marine_organism_α VARCHAR, disease_area VARCHAR, clinical_trials_β VARCHAR)
SELECT marine_organism_α FROM table_name_96 WHERE disease_area = "cancer" AND clinical_trials_β = "4/4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 12181, 15, 834, 11127, 159, 51, 834, 2, 584, 4280, 28027, 6, 1994, 834, 498, 584, 4280, 28027, 6, 3739, 834, 17, 12042, 7, 834, 2, 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, 8769, 834, 11127, 159, 51, 834, 2, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 1994, 834, 498, 3274, 96, 1608, 2110, 121, 3430, 3739, 834, 17, 12042, 7, 834, 2, 3274, 96, 591, 13572, 121, 1, -100, -100, -10...
Which round did the bout that led to a 1-0 record end in?
CREATE TABLE table_name_42 (round VARCHAR, record VARCHAR)
SELECT round FROM table_name_42 WHERE record = "1-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 7775, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1751, 410, 8, 9338, 24, 2237, 12, 3, 9, 3, 18930, 1368, 414...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1751, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1368, 3274, 96, 18930, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the details of all trucks in the order of their license number.
CREATE TABLE trucks (truck_details VARCHAR, truck_licence_number VARCHAR)
SELECT truck_details FROM trucks ORDER BY truck_licence_number
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11370, 41, 28105, 834, 221, 5756, 7, 584, 4280, 28027, 6, 4072, 834, 2176, 1433, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 1030, 13, 66, 11370, 16,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4072, 834, 221, 5756, 7, 21680, 11370, 4674, 11300, 272, 476, 4072, 834, 2176, 1433, 834, 5525, 1152, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
male or female between the ages of 55 and 85 years with a clinical diagnosis of early stage ad, defined according to the following criteria assessed during screening and at baseline : clinical dementia rating ( cdr ) score of 0.5 or 1 with memory box score of 0.5 or greater ; mmse score of 20 or greater ; rbans dmi score <= 85
CREATE TABLE table_train_141 ( "id" int, "gender" string, "hypothyroidism" bool, "depression" bool, "mini_mental_state_examination_mmse" int, "neuropsychiatric_diagnoses" bool, "memory_box" float, "early_stage_ad" bool, "head_injury" bool, "stroke" bool, "body_weight" float, "major_medical_illness" bool, "rbans_dmi" int, "psychosis" bool, "alzheimer_disease_ad" bool, "diabetes" bool, "body_mass_index_bmi" float, "ad" bool, "hypertension" bool, "clinical_dementia_rating_cdr" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_141 WHERE (gender = 'male' OR gender = 'female') AND (age >= 55 AND age <= 85) AND early_stage_ad = 1 OR (clinical_dementia_rating_cdr = 0.5 OR clinical_dementia_rating_cdr = 1 AND memory_box >= 0.5) OR mini_mental_state_examination_mmse >= 20 OR rbans_dmi <= 85
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 26059, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 13397, 32, 17, 31878, 159, 51, 121, 3, 12840, 40, 6, 96, 221, 8243, 121, 3, 12840, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 26059, 549, 17444, 427, 41, 122, 3868, 3274, 3, 31, 13513, 31, 4674, 7285, 3274, 3, 31, 89, 15, 13513, 31, 61, 3430, 41, 545, 2490, 2423, 6897, 3430, 1246, 3, 2, 2423, 11989, 61, ...
What is the premiere date of the american disney xd tron uprising site?
CREATE TABLE table_4204 ( "Country / region" text, "Channel" text, "Series premiere" text, "Title in country" text, "Source(s)" text, "Airing?" text )
SELECT "Series premiere" FROM table_4204 WHERE "Source(s)" = 'American Disney XD Tron Uprising Site'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21899, 591, 41, 96, 10628, 651, 3, 87, 1719, 121, 1499, 6, 96, 3541, 4515, 40, 121, 1499, 6, 96, 12106, 7, 13539, 121, 1499, 6, 96, 382, 155, 109, 16, 684, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12106, 7, 13539, 121, 21680, 953, 834, 21899, 591, 549, 17444, 427, 96, 23799, 599, 7, 61, 121, 3274, 3, 31, 8778, 6118, 3, 4, 308, 7080, 29, 3234, 52, 4890, 3238, 31, 1, -100, -100, -100, -100, -100, -100, ...
Which character won before 2006?
CREATE TABLE table_name_44 ( character VARCHAR, result VARCHAR, year VARCHAR )
SELECT character FROM table_name_44 WHERE result = "won" AND year < 2006
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 1848, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1848, 751, 274, 3581, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1848, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 741, 3274, 96, 210, 106, 121, 3430, 215, 3, 2, 3581, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the result with an attendance larger than 10,107 and Celtic as the opponent?
CREATE TABLE table_77429 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text )
SELECT "Result" FROM table_77429 WHERE "Attendance" > '10,107' AND "Opponent" = 'celtic'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 591, 3166, 41, 96, 308, 342, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 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, 20119, 121, 21680, 953, 834, 4013, 591, 3166, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 1714, 6, 18057, 31, 3430, 96, 667, 102, 9977, 121, 3274, 3, 31, 7125, 1225, 31, 1, -100, -100, -100...
give me the number of patients whose procedure short title is opn lft hemicolectmy nec?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.short_title = "Opn lft hemicolectmy NEC"
[ 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,...
What is the lowest against score for Twickenham, London with the status of Five Nations against Ireland?
CREATE TABLE table_name_16 (against INTEGER, opposing_teams VARCHAR, venue VARCHAR, status VARCHAR)
SELECT MIN(against) FROM table_name_16 WHERE venue = "twickenham, london" AND status = "five nations" AND opposing_teams = "ireland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 10720, 53, 834, 11650, 7, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 2637, 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, 3, 17684, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 5669, 3274, 96, 17, 5981, 35, 1483, 6, 3, 40, 106, 2029, 121, 3430, 2637, 3274, 96, 16443, 9352, 121, 3430, 10720, 53, 834, ...
What was the first game played on February 28?
CREATE TABLE table_name_95 (game INTEGER, date VARCHAR)
SELECT MIN(game) FROM table_name_95 WHERE date = "february 28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 7261, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 166, 467, 1944, 30, 2083, 2059, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 833, 3274, 96, 89, 15, 9052, 1208, 2059, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
mention the admission type and procedure short title of subject id 16438.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.admission_type, procedures.short_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "16438"
[ 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, 14798, 5, 9, 26, 5451, 834, 6137, 6, 4293, 5, 7, 14184, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, draw a line chart about the change of manager_id over hire_date .
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, MANAGER_ID FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40
[ 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, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 3, 2, 3...
What was the result on December 31, 2005?
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_68 WHERE date = "december 31, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 30, 1882, 12074, 3105, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 12074, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Home team at corio oval?
CREATE TABLE table_name_57 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_57 WHERE venue = "corio oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1210, 372, 44, 4301, 23, 32, 17986, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 5669, 3274, 96, 5715, 23, 32, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
In what year were there more laps than 200 in a race?
CREATE TABLE table_name_38 (year VARCHAR, laps INTEGER)
SELECT year FROM table_name_38 WHERE laps > 200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 1201, 584, 4280, 28027, 6, 14941, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 215, 130, 132, 72, 14941, 7, 145, 2382, 16, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 14941, 7, 2490, 2382, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who are the studio analysts for the year 2008-09?
CREATE TABLE table_14902507_2 ( studio_analysts VARCHAR, year VARCHAR )
SELECT studio_analysts FROM table_14902507_2 WHERE year = "2008-09"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 2394, 1828, 4560, 834, 357, 41, 3100, 834, 152, 9, 120, 7, 17, 7, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 33, 8, 310...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3100, 834, 152, 9, 120, 7, 17, 7, 21680, 953, 834, 2534, 2394, 1828, 4560, 834, 357, 549, 17444, 427, 215, 3274, 96, 16128, 18, 4198, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the player from Japan?
CREATE TABLE table_name_9 (player VARCHAR, country VARCHAR)
SELECT player FROM table_name_9 WHERE country = "japan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 20846, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 45, 3411, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 684, 3274, 96, 1191, 2837, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total for 1984 for the team with 100 points total and more than 3 seasons?
CREATE TABLE table_name_11 ( total_points VARCHAR, seasons VARCHAR )
SELECT SUM(1984) FROM table_name_11 WHERE total_points = 100 AND seasons > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 792, 834, 2700, 7, 584, 4280, 28027, 6, 9385, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 21, 13480, 21, 8, 372, 28, 910...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 24151, 7256, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 792, 834, 2700, 7, 3274, 910, 3430, 9385, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the average prices of wines for different years Show the trend, list by the X-axis in descending.
CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT )
SELECT Year, AVG(Price) FROM wine GROUP BY Year ORDER BY Year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8319, 6105, 7, 41, 465, 3, 21342, 17966, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1334, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5690, 3, 3463, 4, 382, 6, 19, 6968, 188, 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, 2929, 6, 71, 17217, 599, 345, 4920, 61, 21680, 2013, 350, 4630, 6880, 272, 476, 2929, 4674, 11300, 272, 476, 2929, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Where is the coed school with state authority, a Decile larger than 6 and 26 enrolled?
CREATE TABLE table_name_61 ( area VARCHAR, roll VARCHAR, gender VARCHAR, authority VARCHAR, decile VARCHAR )
SELECT area FROM table_name_61 WHERE authority = "state" AND decile > 6 AND gender = "coed" AND roll = 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 616, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 6, 7285, 584, 4280, 28027, 6, 5015, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 3, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 616, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 5015, 3274, 96, 5540, 121, 3430, 7908, 109, 2490, 431, 3430, 7285, 3274, 96, 509, 15, 26, 121, 3430, 3812, 3274, 2208, 1, -100, -100, -100, -100, -100, -100, -...
What is Result, when Date is "December 12"?
CREATE TABLE table_name_70 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_70 WHERE date = "december 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 20119, 6, 116, 7678, 19, 96, 29835, 586, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the socket with an order part number of amm300dbo22gq and a September 10, 2009 release date?
CREATE TABLE table_name_34 (socket VARCHAR, release_date VARCHAR, order_part_number VARCHAR)
SELECT socket FROM table_name_34 WHERE release_date = "september 10, 2009" AND order_part_number = "amm300dbo22gq"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 7, 3961, 15, 17, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 6, 455, 834, 2274, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 16197, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1576, 834, 5522, 3274, 96, 7, 6707, 18247, 10372, 2464, 121, 3430, 455, 834, 2274, 834, 5525, 1152, 3274, 96, 9, 635, 5426, 26, 115, 32, 2884, 122, 1824, 121...
What is the Country that has a Player of Scott Hoch?
CREATE TABLE table_8460 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_8460 WHERE "Player" = 'scott hoch'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4608, 3328, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 4608, 3328, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 7, 10405, 6012, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
The record of 11-1 used what method?
CREATE TABLE table_35871 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text )
SELECT "Method" FROM table_35871 WHERE "Record" = '11-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 4225, 536, 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, 2469, 4225, 536, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2596, 2292, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest rank with less than 1 gold, 0 silver, 1 bronze, and a total less than 1?
CREATE TABLE table_60714 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Rank") FROM table_60714 WHERE "Gold" < '1' AND "Silver" = '0' AND "Bronze" = '1' AND "Total" < '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 940, 2534, 41, 96, 22557, 121, 490, 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, 3, 17684, 599, 121, 22557, 8512, 21680, 953, 834, 3328, 940, 2534, 549, 17444, 427, 96, 23576, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 134, 173, 624, 121, 3274, 3, 31, 632, 31, 3430, 96, 22780, 29, 776, 121, 3274, ...
What is the total associated with Bronzes over 35?
CREATE TABLE table_43926 ( "Sport" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Total" FROM table_43926 WHERE "Bronze" > '35'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3288, 2688, 41, 96, 17682, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, 1947, 121, 490, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 3696, 1947, 121, 21680, 953, 834, 591, 3288, 2688, 549, 17444, 427, 96, 22780, 29, 776, 121, 2490, 3, 31, 2469, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which state has the most customers?
CREATE TABLE customers ( state VARCHAR )
SELECT state FROM customers GROUP BY state ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 538, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 538, 65, 8, 167, 722, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 538, 21680, 722, 350, 4630, 6880, 272, 476, 538, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the number of apartment bookings for each year and bin booking start date by year interval in a bar chart, and show y-axis from low to high order.
CREATE TABLE Apartment_Buildings ( building_id INTEGER, building_short_name CHAR(15), building_full_name VARCHAR(80), building_description VARCHAR(255), building_address VARCHAR(255), building_manager VARCHAR(50), building_phone VARCHAR(80) ) CREATE TABLE Guests ( guest_id INTEGER, gender_code CHAR(1), guest_first_name VARCHAR(80), guest_last_name VARCHAR(80), date_of_birth DATETIME ) CREATE TABLE Apartments ( apt_id INTEGER, building_id INTEGER, apt_type_code CHAR(15), apt_number CHAR(10), bathroom_count INTEGER, bedroom_count INTEGER, room_count CHAR(5) ) CREATE TABLE Apartment_Facilities ( apt_id INTEGER, facility_code CHAR(15) ) CREATE TABLE View_Unit_Status ( apt_id INTEGER, apt_booking_id INTEGER, status_date DATETIME, available_yn BIT ) CREATE TABLE Apartment_Bookings ( apt_booking_id INTEGER, apt_id INTEGER, guest_id INTEGER, booking_status_code CHAR(15), booking_start_date DATETIME, booking_end_date DATETIME )
SELECT booking_start_date, COUNT(booking_start_date) FROM Apartment_Bookings AS T1 JOIN Guests AS T2 ON T1.guest_id = T2.guest_id ORDER BY COUNT(booking_start_date)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 24752, 53, 7, 41, 740, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 7, 14184, 834, 4350, 3, 28027, 599, 1808, 201, 740, 834, 1329, 40, 834, 4350, 584, 4280, 28027, 599, 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, 5038, 834, 10208, 834, 5522, 6, 2847, 17161, 599, 2567, 53, 834, 10208, 834, 5522, 61, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 3, 22360, 6157, 332, 357, 9191, 332, 5411, 15991, 17, 834, 23, ...
What is the lowest Cuts made that has a Tournament of PGA Championship, and has a Top-5 that is smaller than 2?
CREATE TABLE table_name_50 (cuts_made INTEGER, tournament VARCHAR, top_5 VARCHAR)
SELECT MIN(cuts_made) FROM table_name_50 WHERE tournament = "pga championship" AND top_5 < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 3044, 7, 834, 4725, 3, 21342, 17966, 6, 5892, 584, 4280, 28027, 6, 420, 834, 755, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3044, 7, 834, 4725, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 5892, 3274, 96, 102, 122, 9, 10183, 121, 3430, 420, 834, 755, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Gold, when Bronze is 11?
CREATE TABLE table_76979 ( "Nation" text, "Gold" text, "Silver" text, "Bronze" text, "Total" real )
SELECT "Gold" FROM table_76979 WHERE "Bronze" = '11'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3951, 4440, 41, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 1499, 6, 96, 134, 173, 624, 121, 1499, 6, 96, 22780, 29, 776, 121, 1499, 6, 96, 3696, 1947, 121, 490, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 23576, 121, 21680, 953, 834, 940, 3951, 4440, 549, 17444, 427, 96, 22780, 29, 776, 121, 3274, 3, 31, 2596, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the Lineup that has an Assist/pass of carli lloyd,a Competition of 2010 concacaf world cup qualifying – group stage?
CREATE TABLE table_name_43 (lineup VARCHAR, assist_pass VARCHAR, competition VARCHAR)
SELECT lineup FROM table_name_43 WHERE assist_pass = "carli lloyd" AND competition = "2010 concacaf world cup qualifying – group stage"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 747, 413, 584, 4280, 28027, 6, 2094, 834, 3968, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4919, 413, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15561, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 2094, 834, 3968, 3274, 96, 1720, 40, 23, 3, 195, 32, 63, 26, 121, 3430, 2259, 3274, 96, 14926, 975, 658, 658, 89, 296, 4119, 18002, 3, 104, 563, 1726, 121,...
In what year was ' Kevin Spacey ' born ?
CREATE TABLE producer ( pid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE director ( did int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tv_series ( sid int, title text, release_year int, num_of_seasons int, num_of_episodes int, title_aka text, budget text ) CREATE TABLE classification ( id int, msid int, gid int ) CREATE TABLE actor ( aid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tags ( id int, msid int, kid int ) CREATE TABLE made_by ( id int, msid int, pid int ) CREATE TABLE copyright ( id int, msid int, cid int ) CREATE TABLE genre ( gid int, genre text ) CREATE TABLE directed_by ( id int, msid int, did int ) CREATE TABLE keyword ( id int, keyword text ) CREATE TABLE written_by ( id int, msid int, wid int ) CREATE TABLE movie ( mid int, title text, release_year int, title_aka text, budget text ) CREATE TABLE writer ( wid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE cast ( id int, msid int, aid int, role text ) CREATE TABLE company ( id int, name text, country_code varchar )
SELECT birth_year FROM writer WHERE name = 'Kevin Spacey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8211, 41, 3, 12417, 16, 17, 6, 7285, 1499, 6, 564, 1499, 6, 1157, 485, 1499, 6, 3879, 834, 6726, 1499, 6, 3879, 834, 1201, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3879, 834, 1201, 21680, 4346, 549, 17444, 427, 564, 3274, 3, 31, 439, 15, 2494, 5844, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find ACC_Road and School_ID , and group by attribute All_Home, and visualize them by a bar chart, order by the Y from high to low.
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 ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Road, School_ID FROM basketball_match GROUP BY All_Home, ACC_Road ORDER BY School_ID 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, 3, 14775, 834, 448, 32, 9, 26, 6, 1121, 834, 4309, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 19040, 6, 3, 14775, 834, 448, 32, 9, 26, 4674, 11300, 272, 476, 1121, 834, 4309, 309, 25067, 1, -1...
Name the fsb for atom z540
CREATE TABLE table_16729930_11 (fsb VARCHAR, model_number VARCHAR)
SELECT fsb FROM table_16729930_11 WHERE model_number = "Atom Z540"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27650, 357, 3264, 1458, 834, 2596, 41, 89, 7, 115, 584, 4280, 28027, 6, 825, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 89, 7, 115, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 89, 7, 115, 21680, 953, 834, 27650, 357, 3264, 1458, 834, 2596, 549, 17444, 427, 825, 834, 5525, 1152, 3274, 96, 188, 235, 51, 1027, 25379, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
temperature < 35 c on admission to emergency department.
CREATE TABLE table_dev_57 ( "id" int, "intra_aortic_balloon_pump_iabp" bool, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "vasopressors" bool, "temperature" float, "creatinine_clearance_cl" float, "cardiogenic_shock" bool, "height" int, "serum_creatinine" float, "NOUSE" float )
SELECT * FROM table_dev_57 WHERE temperature < 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 3436, 41, 96, 23, 26, 121, 16, 17, 6, 96, 20322, 9, 834, 9, 127, 1225, 834, 3184, 32, 106, 834, 4987, 1167, 834, 23, 9, 115, 102, 121, 3, 12840, 40, 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, 1429, 21680, 953, 834, 9776, 834, 3436, 549, 17444, 427, 2912, 3, 2, 3097, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which artist created the silver dollar for the 400th anniversary of Quebec?
CREATE TABLE table_name_80 ( artist VARCHAR, theme VARCHAR )
SELECT artist FROM table_name_80 WHERE theme = "400th anniversary of quebec"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 2377, 584, 4280, 28027, 6, 3800, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2377, 990, 8, 4294, 6816, 21, 8, 4837, 189, 7685, 13, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2377, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 3800, 3274, 96, 5548, 189, 7685, 13, 238, 346, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which LNER class was introduced in 1885 and GNoSR class of g?
CREATE TABLE table_10988 ( "Locomotive superintendent" text, "GNoSR Class" text, "LNER class" text, "Quantity Built" real, "Passed to LNER" real, "Manufacturer" text, "Date introduced" text )
SELECT "LNER class" FROM table_10988 WHERE "Date introduced" = '1885' AND "GNoSR Class" = 'g'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 4060, 41, 96, 434, 32, 287, 32, 3268, 30158, 121, 1499, 6, 96, 13738, 32, 6857, 4501, 121, 1499, 6, 96, 434, 18206, 853, 121, 1499, 6, 96, 5991, 288, 485, 14862, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 18206, 853, 121, 21680, 953, 834, 17304, 4060, 549, 17444, 427, 96, 308, 342, 3665, 121, 3274, 3, 31, 2606, 4433, 31, 3430, 96, 13738, 32, 6857, 4501, 121, 3274, 3, 31, 122, 31, 1, -100, -100, -100, -100,...
provide the number of patients whose insurance is private and diagnoses long title is pressure ulcer, unstageable?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.insurance = "Private" AND diagnoses.long_title = "Pressure ulcer, unstageable"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the sub-parish of the church located in Fortun?
CREATE TABLE table_21965 ( "Parish (Prestegjeld)" text, "Sub-Parish (Sogn)" text, "Church Name" text, "Year Built" real, "Location of the Church" text )
SELECT "Sub-Parish (Sogn)" FROM table_21965 WHERE "Location of the Church" = 'Fortun'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2294, 4122, 41, 96, 13212, 1273, 41, 10572, 849, 122, 354, 8804, 61, 121, 1499, 6, 96, 25252, 18, 13212, 1273, 41, 5231, 122, 29, 61, 121, 1499, 6, 96, 3541, 450, 52...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25252, 18, 13212, 1273, 41, 5231, 122, 29, 61, 121, 21680, 953, 834, 357, 2294, 4122, 549, 17444, 427, 96, 434, 32, 75, 257, 13, 8, 2345, 121, 3274, 3, 31, 3809, 17, 202, 31, 1, -100, -100, -100, -100, -100,...
Which High points have High rebounds of lamar odom (15), and a Date of april 27?
CREATE TABLE table_46235 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "Location Attendance" text, "Series" text )
SELECT "High points" FROM table_46235 WHERE "High rebounds" = 'lamar odom (15)' AND "Date" = 'april 27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 25174, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 4448, 25174, 549, 17444, 427, 96, 21417, 3, 23768, 121, 3274, 3, 31, 521, 1635, 3, 32, 5012, 17251, 61, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 2307, 31, 1, ...
Find all the product whose name contains the word 'Scanner'.
CREATE TABLE store_product ( store_id number, product_id number ) CREATE TABLE store ( store_id number, store_name text, type text, area_size number, number_of_product_category number, ranking number ) CREATE TABLE district ( district_id number, district_name text, headquartered_city text, city_population number, city_area number ) CREATE TABLE product ( product_id number, product text, dimensions text, dpi number, pages_per_minute_color number, max_page_size text, interface text ) CREATE TABLE store_district ( store_id number, district_id number )
SELECT product FROM product WHERE product LIKE "%Scanner%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 834, 15892, 41, 1078, 834, 23, 26, 381, 6, 556, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1078, 41, 1078, 834, 23, 26, 381, 6, 1078, 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, 556, 21680, 556, 549, 17444, 427, 556, 8729, 9914, 96, 1454, 134, 1608, 687, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the winner when points classification is Robbie Mcewen, and a Mountains classification is Jos Rujano?
CREATE TABLE table_64877 ( "Stage" text, "Winner" text, "General classification" text, "Points classification" text, "Mountains classification" text, "Intergiro classification" text, "Trofeo Fast Team" text, "Trofeo Super Team" text )
SELECT "Winner" FROM table_64877 WHERE "Points classification" = 'robbie mcewen' AND "Mountains classification" = 'josé rujano'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 27697, 41, 96, 134, 6505, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 13774, 121, 1499, 6, 96, 22512, 7, 13774, 121, 1499, 6, 96, 329, 32, 14016, 77, 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, 18455, 687, 121, 21680, 953, 834, 4389, 27697, 549, 17444, 427, 96, 22512, 7, 13774, 121, 3274, 3, 31, 5840, 4232, 3, 51, 565, 210, 35, 31, 3430, 96, 329, 32, 14016, 77, 7, 13774, 121, 3274, 3, 31, 1927, 7, ...
In the Ronde Van Vlaanderen race what is the leader's team?
CREATE TABLE table_43103 ( "Date" text, "Race" text, "Country" text, "Winner" text, "Team" text, "World Cup Leader" text, "Leader's Team" text )
SELECT "Leader's Team" FROM table_43103 WHERE "Race" = 'ronde van vlaanderen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 17864, 41, 96, 308, 342, 121, 1499, 6, 96, 448, 3302, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 17954, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 9, 588, 31, 7, 2271, 121, 21680, 953, 834, 4906, 17864, 549, 17444, 427, 96, 448, 3302, 121, 3274, 3, 31, 52, 106, 221, 4049, 3, 208, 521, 11849, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Please give me a bar chart showing institution types, along with the total enrollment for each type, order total number in desc order.
CREATE TABLE Institution ( Institution_id text, Institution text, Location text, Founded real, Type text, Enrollment int, Team text, Primary_Conference text, building_id text ) CREATE TABLE building ( building_id text, Name text, Street_address text, Years_as_tallest text, Height_feet int, Floors int ) CREATE TABLE protein ( common_name text, protein_name text, divergence_from_human_lineage real, accession_number text, sequence_length real, sequence_identity_to_human_protein text, Institution_id text )
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY SUM(Enrollment) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14932, 41, 14932, 834, 23, 26, 1499, 6, 14932, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 6632, 1499, 6, 695, 4046, 297, 16, 17, 6, 2271, 1499, 6, 14542, 834, 4302, 11788, 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, 6632, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 14932, 350, 4630, 6880, 272, 476, 6632, 4674, 11300, 272, 476, 180, 6122, 599, 8532, 4046, 297, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the horse that ranked 69?
CREATE TABLE table_63340 ( "Rank" text, "Rider" text, "Horse" text, "Nation" text, "Judge E" text, "Judge C" text, "Judge M" text, "Penalty Points" real )
SELECT "Horse" FROM table_63340 WHERE "Rank" = '69'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 21129, 41, 96, 22557, 121, 1499, 6, 96, 448, 23, 588, 121, 1499, 6, 96, 566, 127, 7, 15, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 683, 13164, 262, 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, 566, 127, 7, 15, 121, 21680, 953, 834, 3891, 21129, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3951, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average bronze medal when gold is greater than 0, and there is less than 0 silver medals?
CREATE TABLE table_63728 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Bronze") FROM table_63728 WHERE "Gold" > '0' AND "Silver" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 940, 2577, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 3891, 940, 2577, 549, 17444, 427, 96, 23576, 121, 2490, 3, 31, 632, 31, 3430, 96, 134, 173, 624, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, ...
What was the title of the episode directed by Jesse Warn?
CREATE TABLE table_27238 ( "No." real, "#" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Production code" FROM table_27238 WHERE "Directed by" = 'Jesse Warn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 357, 3747, 41, 96, 4168, 535, 490, 6, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 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, 3174, 8291, 1081, 121, 21680, 953, 834, 2555, 357, 3747, 549, 17444, 427, 96, 23620, 15, 26, 57, 121, 3274, 3, 31, 683, 6119, 1602, 29, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When less than 30 games have been played what is the average goals scored?
CREATE TABLE table_name_18 (goals_scored INTEGER, games_played INTEGER)
SELECT AVG(goals_scored) FROM table_name_18 WHERE games_played < 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 839, 5405, 834, 3523, 1271, 3, 21342, 17966, 6, 1031, 834, 4895, 15, 26, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 366, 705, 145, 604, 1031, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 834, 3523, 1271, 61, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1031, 834, 4895, 15, 26, 3, 2, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many drivers drove 300 laps at average speed of 103.594?
CREATE TABLE table_2175858_1 ( driver VARCHAR, laps VARCHAR, average_speed__mph_ VARCHAR )
SELECT COUNT(driver) FROM table_2175858_1 WHERE laps = "300" AND average_speed__mph_ = "103.594"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2517, 3449, 3449, 834, 536, 41, 2535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 1348, 834, 9993, 834, 834, 7656, 834, 584, 4280, 28027, 3, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13739, 52, 61, 21680, 953, 834, 357, 2517, 3449, 3449, 834, 536, 549, 17444, 427, 14941, 7, 3274, 96, 5426, 121, 3430, 1348, 834, 9993, 834, 834, 7656, 834, 3274, 96, 17864, 5, 3390, 20364, 1, -100...
What year has a nomination title of 'sangrador'?
CREATE TABLE table_name_84 ( year__ceremony_ VARCHAR, film_title_used_in_nomination VARCHAR )
SELECT year__ceremony_ FROM table_name_84 WHERE film_title_used_in_nomination = "sangrador"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 215, 834, 834, 2110, 15, 21208, 834, 584, 4280, 28027, 6, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 584, 4280, 28027, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 215, 834, 834, 2110, 15, 21208, 834, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 814, 834, 21869, 834, 10064, 834, 77, 834, 29, 32, 14484, 3274, 96, 7, 152, 3987, 127, 121, 1, -100, -100, -100, -100, -100, ...
What was the population density in km2 for 2011 in the division where area in km2 was 684.37 in 2011?
CREATE TABLE table_24027047_1 (population_density___km²_2011_ VARCHAR, area__km²__2011 VARCHAR)
SELECT population_density___km²_2011_ FROM table_24027047_1 WHERE area__km²__2011 * * = "684.37"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 17485, 4177, 834, 536, 41, 9791, 7830, 834, 537, 7, 485, 834, 834, 834, 5848, 357, 834, 13907, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 834, 13907, 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, 2074, 834, 537, 7, 485, 834, 834, 834, 5848, 357, 834, 13907, 834, 21680, 953, 834, 11944, 17485, 4177, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 834, 13907, 1429, 1429, 3274, 96, 3651, 21841, 940, 1...
What is the average Grid for the Rider Toni Elias with Laps more than 30?
CREATE TABLE table_name_62 ( grid INTEGER, rider VARCHAR, laps VARCHAR )
SELECT AVG(grid) FROM table_name_62 WHERE rider = "toni elias" AND laps > 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 8634, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 23644, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 2564, 52, 3274, 96, 17, 106, 23, 3, 13240, 7, 121, 3430, 14941, 7, 2490, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which catalog contents has price above 700 dollars? Show their catalog entry names and capacities, list in desc by the x-axis.
CREATE TABLE Catalog_Contents_Additional_Attributes ( catalog_entry_id INTEGER, catalog_level_number INTEGER, attribute_id INTEGER, attribute_value VARCHAR(255) ) CREATE TABLE Catalog_Structure ( catalog_level_number INTEGER, catalog_id INTEGER, catalog_level_name VARCHAR(50) ) CREATE TABLE Catalog_Contents ( catalog_entry_id INTEGER, catalog_level_number INTEGER, parent_entry_id INTEGER, previous_entry_id INTEGER, next_entry_id INTEGER, catalog_entry_name VARCHAR(80), product_stock_number VARCHAR(50), price_in_dollars DOUBLE, price_in_euros DOUBLE, price_in_pounds DOUBLE, capacity VARCHAR(20), length VARCHAR(20), height VARCHAR(20), width VARCHAR(20) ) CREATE TABLE Attribute_Definitions ( attribute_id INTEGER, attribute_name VARCHAR(30), attribute_data_type VARCHAR(10) ) CREATE TABLE Catalogs ( catalog_id INTEGER, catalog_name VARCHAR(50), catalog_publisher VARCHAR(80), date_of_publication DATETIME, date_of_latest_revision DATETIME )
SELECT catalog_entry_name, capacity FROM Catalog_Contents WHERE price_in_dollars > 700 ORDER BY catalog_entry_name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 22424, 834, 4302, 4669, 7, 834, 20773, 4749, 138, 834, 188, 17, 5135, 1422, 41, 10173, 834, 295, 651, 834, 23, 26, 3, 21342, 17966, 6, 10173, 834, 4563, 834, 5525, 1152, 3, 21342, 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, 10173, 834, 295, 651, 834, 4350, 6, 2614, 21680, 22424, 834, 4302, 4669, 7, 549, 17444, 427, 594, 834, 77, 834, 26748, 7, 2490, 12283, 4674, 11300, 272, 476, 10173, 834, 295, 651, 834, 4350, 309, 25067, 1, -100, -10...
Show the party and the number of drivers in each party Plot them as bar chart, and display total number from low to high order.
CREATE TABLE driver ( Driver_ID int, Name text, Party text, Home_city text, Age int ) CREATE TABLE school ( School_ID int, Grade text, School text, Location text, Type text ) CREATE TABLE school_bus ( School_ID int, Driver_ID int, Years_Working int, If_full_time bool )
SELECT Party, COUNT(*) FROM driver GROUP BY Party ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2535, 41, 10546, 834, 4309, 16, 17, 6, 5570, 1499, 6, 3450, 1499, 6, 1210, 834, 6726, 1499, 6, 7526, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3450, 6, 2847, 17161, 599, 1935, 61, 21680, 2535, 350, 4630, 6880, 272, 476, 3450, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Score, when Date is December 23?
CREATE TABLE table_name_76 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_76 WHERE date = "december 23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 7678, 19, 1882, 1902, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 1902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the number of seats to be won being % of popular vote at 6.88%
CREATE TABLE table_73093 ( "Election" real, "Leader" text, "# of candidates" real, "# of seats to be won" real, "# of seats won" real, "# of total votes" real, "% of popular vote" text )
SELECT "# of seats to be won" FROM table_73093 WHERE "% of popular vote" = '6.88%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 1458, 4271, 41, 96, 427, 12252, 121, 490, 6, 96, 2796, 9, 588, 121, 1499, 6, 96, 4663, 13, 4341, 121, 490, 6, 96, 4663, 13, 6116, 12, 36, 751, 121, 490, 6, 96, 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, 96, 4663, 13, 6116, 12, 36, 751, 121, 21680, 953, 834, 940, 1458, 4271, 549, 17444, 427, 96, 1454, 13, 1012, 2902, 121, 3274, 3, 31, 948, 5, 927, 5953, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which driver had a Part 1 time of 1:13.306?
CREATE TABLE table_name_56 (driver VARCHAR, part_1 VARCHAR)
SELECT driver FROM table_name_56 WHERE part_1 = "1:13.306"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 13739, 52, 584, 4280, 28027, 6, 294, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535, 141, 3, 9, 2733, 209, 97, 13, 19520, 19...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 294, 834, 536, 3274, 96, 536, 10, 536, 19660, 5176, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is days of hospital stay and death status of subject id 74032?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.days_stay, demographic.expire_flag FROM demographic WHERE demographic.subject_id = "74032"
[ 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, 14798, 5, 994, 2388, 15, 834, 89, 5430, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 940, 2445, 2668, 121, 1, -100, -100, -100, -100, -100, -100, -...
how many years were held in summer ?
CREATE TABLE table_204_986 ( id number, "#" number, "event year" number, "season" text, "flag bearer" text )
SELECT COUNT("event year") FROM table_204_986 WHERE "season" = 'summer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3916, 948, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 15, 2169, 215, 121, 381, 6, 96, 9476, 121, 1499, 6, 96, 89, 5430, 4595, 49, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 15, 2169, 215, 8512, 21680, 953, 834, 26363, 834, 3916, 948, 549, 17444, 427, 96, 9476, 121, 3274, 3, 31, 23541, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is primary disease and discharge time of subject name ida cook?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT demographic.diagnosis, demographic.dischtime FROM demographic WHERE demographic.name = "Ida Cook"
[ 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, 14798, 5, 25930, 4844, 159, 6, 14798, 5, 26, 2499, 715, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 196, 26, 9, 6176, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which students not enrolled in any course? Find their personal names.
CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gender_mf text, address_line_1 text ) CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description text ) CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, test_result text ) CREATE TABLE students ( student_id number, date_of_registration time, date_of_latest_logon time, login_name text, password text, personal_name text, middle_name text, family_name text ) CREATE TABLE subjects ( subject_id number, subject_name text )
SELECT personal_name FROM students EXCEPT SELECT T1.personal_name FROM students AS T1 JOIN student_course_enrolment AS T2 ON T1.student_id = T2.student_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 503, 834, 17415, 7, 834, 232, 834, 17, 76, 5535, 41, 2291, 834, 23, 26, 381, 6, 2291, 834, 17, 76, 17, 127, 834, 144, 115, 1499, 6, 11255, 834, 4350, 1499, 6, 4735, 1499, 6, 525,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 525, 834, 4350, 21680, 481, 262, 4, 30416, 3, 23143, 14196, 332, 5411, 17108, 834, 4350, 21680, 481, 6157, 332, 536, 3, 15355, 3162, 1236, 834, 19221, 834, 35, 3491, 297, 6157, 332, 357, 9191, 332, 5411, 8637, 295, ...
What is the location of the airport that had a traffic of 3258 in 2009-10
CREATE TABLE table_1695 ( "Rank" real, "Airport" text, "Location" text, "IATA" text, "1985\u201386" real, "1990\u201391" real, "1995\u201396" real, "2000\u201301" real, "2005\u201306" real, "2007\u201308" real, "2009\u201310" real, "2010-11" real )
SELECT "Location" FROM table_1695 WHERE "2009\u201310" = '3258'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3301, 41, 96, 22557, 121, 490, 6, 96, 20162, 1493, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 2294, 4433, 2, 76, 11138, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 2938, 3301, 549, 17444, 427, 96, 16660, 2, 76, 11138, 1714, 121, 3274, 3, 31, 2668, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the frequency of the model with sSpec number sl5qj?
CREATE TABLE table_name_72 (frequency VARCHAR, sspec_number VARCHAR)
SELECT frequency FROM table_name_72 WHERE sspec_number = "sl5qj"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 30989, 584, 4280, 28027, 6, 3, 7, 7576, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7321, 13, 8, 825, 28, 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, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3, 7, 7576, 834, 5525, 1152, 3274, 96, 7, 40, 755, 1824, 354, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the loans received for 2Q having total receipts of $25,328,694
CREATE TABLE table_78342 ( "Candidate" text, "Money Raised, 2Q" text, "Loans Received, 2Q" text, "Money Spent, 2Q" text, "Total Receipts" text, "Cash On Hand" text )
SELECT "Loans Received, 2Q" FROM table_78342 WHERE "Total Receipts" = '$25,328,694'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3710, 357, 41, 96, 14050, 12416, 342, 121, 1499, 6, 96, 9168, 15, 63, 2922, 3375, 6, 204, 2247, 121, 1499, 6, 96, 434, 32, 3247, 24083, 26, 6, 204, 2247, 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, 434, 32, 3247, 24083, 26, 6, 204, 2247, 121, 21680, 953, 834, 3940, 3710, 357, 549, 17444, 427, 96, 3696, 1947, 7136, 15, 23, 102, 17, 7, 121, 3274, 3, 31, 3229, 1828, 6, 28070, 6, 3951, 591, 31, 1, -100, ...
How big was the crowd when Richmond was the away team?
CREATE TABLE table_name_28 (crowd VARCHAR, away_team VARCHAR)
SELECT crowd FROM table_name_28 WHERE away_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 75, 3623, 26, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 600, 47, 8, 4374, 116, 17247, 47, 8, 550,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4374, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the 2004 tournament that has a 2R in 2000?
CREATE TABLE table_name_24 ( Id VARCHAR )
SELECT 2004 FROM table_name_24 WHERE 2000 = "2r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 4406, 5892, 24, 65, 3, 9, 204, 448, 16, 2766, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4406, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2766, 3274, 96, 357, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Score has a January larger than 21, and Points of 63?
CREATE TABLE table_name_18 (score VARCHAR, january VARCHAR, points VARCHAR)
SELECT score FROM table_name_18 WHERE january > 21 AND points = 63
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 7, 9022, 584, 4280, 28027, 6, 3, 7066, 76, 1208, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 3, 7066, 76, 1208, 2490, 1401, 3430, 979, 3274, 3, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many times was guam an opponent ?
CREATE TABLE table_204_376 ( id number, "date" text, "venue" text, "opponents" text, "score" text, "competition" text )
SELECT COUNT(*) FROM table_204_376 WHERE "opponents" = 'guam'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3959, 41, 3, 23, 26, 381, 6, 96, 5522, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 32, 102, 9977, 7, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 287,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 519, 3959, 549, 17444, 427, 96, 32, 102, 9977, 7, 121, 3274, 3, 31, 1744, 265, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Tournament is in 1993 with a Score in the final of 6–2, 2–6, 7–5?
CREATE TABLE table_name_13 (tournament VARCHAR, date VARCHAR, score_in_the_final VARCHAR)
SELECT tournament FROM table_name_13 WHERE date = 1993 AND score_in_the_final = "6–2, 2–6, 7–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 833, 3274, 8388, 3430, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 948, 104, 4482, 204, 104, 11071, 489, 104, 17395, 1, -100, -100, -100, -100, -100, -100, ...
In what series did the driver get 30 points?
CREATE TABLE table_2441 ( "Position" real, "Driver" text, "Points" real, "Winnings" text, "Series" text )
SELECT "Series" FROM table_2441 WHERE "Points" = '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4853, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 20982, 52, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 518, 10503, 7, 121, 1499, 6, 96, 12106, 7, 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, 0...
[ 3, 23143, 14196, 96, 12106, 7, 121, 21680, 953, 834, 2266, 4853, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 1458, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Phil Klemmer wrote all titles and production code is 3t6455.
CREATE TABLE table_3705 ( "No. in series" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" text, "U.S. viewers (million)" text )
SELECT "Title" FROM table_3705 WHERE "Written by" = 'Phil Klemmer' AND "Production code" = '3T6455'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 3076, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 667, 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, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 155, 109, 121, 21680, 953, 834, 4118, 3076, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 23305, 19549, 635, 49, 31, 3430, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 519, 382, 4389, 3769, 31, 1, -...
What is the death date of elisabeth of lorraine?
CREATE TABLE table_6078 ( "Image" text, "Father" text, "Birth" text, "Ceased to be Duchess" text, "Death" text, "Husband" text )
SELECT "Death" FROM table_6078 WHERE "Image" = 'elisabeth of lorraine'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 3940, 41, 96, 29979, 121, 1499, 6, 96, 371, 144, 760, 121, 1499, 6, 96, 279, 23, 52, 189, 121, 1499, 6, 96, 254, 14608, 26, 12, 36, 970, 2951, 7, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2962, 9, 189, 121, 21680, 953, 834, 3328, 3940, 549, 17444, 427, 96, 29979, 121, 3274, 3, 31, 15, 40, 159, 9, 346, 189, 13, 3, 322, 6559, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the qualification with more than 162 laps in 1953?
CREATE TABLE table_71301 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT "Qual" FROM table_71301 WHERE "Laps" > '162' AND "Year" = '1953'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 25626, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5991, 138, 121, 21680, 953, 834, 4450, 25626, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 2938, 357, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 2294, 4867, 31, 1, -100, -100, -100, -100, -100, -100, ...
Visualize a bar chart about the distribution of Date_of_Birth and Height , and could you sort from low to high by the total number?
CREATE TABLE people ( People_ID int, Sex text, Name text, Date_of_Birth text, Height real, Weight real ) CREATE TABLE candidate ( Candidate_ID int, People_ID int, Poll_Source text, Date text, Support_rate real, Consider_rate real, Oppose_rate real, Unsure_rate real )
SELECT Date_of_Birth, Height FROM people ORDER BY Height
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 679, 226, 1499, 6, 5570, 1499, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 6, 24231, 490, 6, 14230, 490, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 24231, 21680, 151, 4674, 11300, 272, 476, 24231, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...