NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who was the Home Captain at Sabina Park?
CREATE TABLE table_15479 ( "Date" text, "Home captain" text, "Away captain" text, "Venue" text, "Result" text )
SELECT "Home captain" FROM table_15479 WHERE "Venue" = 'sabina park'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 4440, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 14268, 121, 1499, 6, 96, 188, 1343, 14268, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 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, 0...
[ 3, 23143, 14196, 96, 19040, 14268, 121, 21680, 953, 834, 27308, 4440, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 7, 9, 4517, 9, 2447, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was Bye's opponent's attendance?
CREATE TABLE table_32400 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Attendance" FROM table_32400 WHERE "Opponent" = 'bye'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 5548, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 2668, 5548, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 969, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the classes for the circuit that has the Mazda Raceway Laguna Seca race.
CREATE TABLE table_name_70 (class_es_ VARCHAR, circuit VARCHAR)
SELECT class_es_ FROM table_name_70 WHERE circuit = "mazda raceway laguna seca"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 4057, 834, 15, 7, 834, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2287, 21, 8, 4558, 24, 65, 8, 2473...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 834, 15, 7, 834, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 4558, 3274, 96, 18983, 26, 9, 1964, 1343, 50, 8765, 9, 4220, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total silver with a Rank larger than 9, and a Total larger than 1?
CREATE TABLE table_name_94 (silver INTEGER, rank VARCHAR, total VARCHAR)
SELECT SUM(silver) FROM table_name_94 WHERE rank > 9 AND total > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 7, 173, 624, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 4294, 28, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 11003, 2490, 668, 3430, 792, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What event had a win, record of 8-1 and n/a round?
CREATE TABLE table_43816 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" text )
SELECT "Event" FROM table_43816 WHERE "Res." = 'win' AND "Round" = 'n/a' AND "Record" = '8-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3747, 2938, 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, 427, 2169, 121, 21680, 953, 834, 591, 3747, 2938, 549, 17444, 427, 96, 1649, 7, 535, 3274, 3, 31, 3757, 31, 3430, 96, 448, 32, 1106, 121, 3274, 3, 31, 29, 87, 9, 31, 3430, 96, 1649, 7621, 121, 3274, 3, 31,...
What are the Runner(s)-up of the 1972 Championship?
CREATE TABLE table_name_41 (runner_s__up VARCHAR, year VARCHAR)
SELECT runner_s__up FROM table_name_41 WHERE year = "1972"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3, 23572, 599, 7, 61, 18, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 215, 3274, 96, 2294, 5865, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is High Points, when Location Attendance is Staples Center 18,964?
CREATE TABLE table_7167 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High points" FROM table_7167 WHERE "Location Attendance" = 'staples center 18,964'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 3708, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 979, 121, 21680, 953, 834, 4450, 3708, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 7, 8873, 965, 1530, 14985, 4314, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the home team for the game where North Melbourne was the away team?
CREATE TABLE table_name_59 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_59 WHERE away_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 21, 8, 467, 213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 550, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score that made the record 47-49?
CREATE TABLE table_69984 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Record" text )
SELECT "Score" FROM table_69984 WHERE "Record" = '47-49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 3916, 591, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 1649, 7621, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3951, 3916, 591, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 4177, 18, 3647, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
A bar chart about how many students are affected by each allergy type?, show by the y axis in asc.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), ...
SELECT AllergyType, COUNT(*) FROM Has_Allergy AS T1 JOIN Allergy_Type AS T2 ON T1.Allergy = T2.Allergy GROUP BY T2.AllergyType ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 49, 122, 63, 25160, 6, 2847, 17161, 599, 1935, 61, 21680, 4498, 834, 6838, 49, 122, 63, 6157, 332, 536, 3, 15355, 3162, 432, 49, 122, 63, 834, 25160, 6157, 332, 357, 9191, 332, 5411, 6838, 49, 122, 63, 3274, ...
What was the score on may 21?
CREATE TABLE table_name_43 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_43 WHERE date = "may 21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 164, 1401, 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, 2604, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 833, 3274, 96, 13726, 1401, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which episode title featured a visit to the country of Cuba?
CREATE TABLE table_name_26 ( episode_title VARCHAR, countries_visited VARCHAR )
SELECT episode_title FROM table_name_26 WHERE countries_visited = "cuba"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 5640, 834, 21869, 584, 4280, 28027, 6, 1440, 834, 3466, 23, 1054, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5640, 2233, 4510, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 834, 21869, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1440, 834, 3466, 23, 1054, 3274, 96, 16377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest week for December 26, 1999
CREATE TABLE table_name_31 (week INTEGER, date VARCHAR)
SELECT MIN(week) FROM table_name_31 WHERE date = "december 26, 1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 8041, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 471, 21, 1882, 13597, 5247, 1, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 13597, 5247, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which the lowest Score-Fina has a Rank-Final of 7 and a Year larger than 2009?
CREATE TABLE table_name_26 ( score_final INTEGER, rank_final VARCHAR, year VARCHAR )
SELECT MIN(score_final) FROM table_name_26 WHERE rank_final = 7 AND year > 2009
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 2604, 834, 12406, 3, 21342, 17966, 6, 11003, 834, 12406, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 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, 7, 9022, 834, 12406, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 11003, 834, 12406, 3274, 489, 3430, 215, 2490, 2464, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many students participated in tryouts for each college by descennding count?
CREATE TABLE player ( pid number, pname text, ycard text, hs number ) CREATE TABLE tryout ( pid number, cname text, ppos text, decision text ) CREATE TABLE college ( cname text, state text, enr number )
SELECT COUNT(*), cname FROM tryout GROUP BY cname ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1959, 41, 3, 12417, 381, 6, 3, 102, 4350, 1499, 6, 3, 63, 6043, 1499, 6, 3, 107, 7, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 3, 12417, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 201, 3, 75, 4350, 21680, 653, 670, 350, 4630, 6880, 272, 476, 3, 75, 4350, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is every value for change% for area of 1835.01?
CREATE TABLE table_26321719_1 (change___percentage_ VARCHAR, area__km²_ VARCHAR)
SELECT change___percentage_ FROM table_26321719_1 WHERE area__km²_ = "1835.01"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2668, 2517, 2294, 834, 536, 41, 13073, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 483, 834, 834, 834, 883, 3728, 545, 834, 21680, 953, 834, 2688, 2668, 2517, 2294, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 96, 24361, 20734, 536, 121, 1, -100, -100, -100, -100, -100, -100, -1...
how many patients were discharged from the hospital until 1 year ago?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TA...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE NOT patient.hospitaldischargetime IS NULL AND DATETIME(patient.hospitaldischargetime) <= DATETIME(CURRENT_TIME(), '-1 year')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 4486, 1868, 5, 31386, 26, 159, 7993, 715, 6827, 13046, 10376, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 26, 1...
provide the number of patients whose diagnosis short title is chronic pain nec and drug type is main.
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 demographic ( subject_id text, hadm_id t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Chronic pain NEC" AND prescriptions.drug_type = "MAIN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Name the children together for 9 years of marriage
CREATE TABLE table_24143253_1 (children_together VARCHAR, length_of_marriage VARCHAR)
SELECT children_together FROM table_24143253_1 WHERE length_of_marriage = "9 years"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 2534, 2668, 4867, 834, 536, 41, 25782, 834, 25968, 584, 4280, 28027, 6, 2475, 834, 858, 834, 51, 10269, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 502, 834, 25968, 21680, 953, 834, 2266, 2534, 2668, 4867, 834, 536, 549, 17444, 427, 2475, 834, 858, 834, 51, 10269, 545, 3274, 96, 1298, 203, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the unique ids of those departments where any manager is managing 4 or more employees.
CREATE TABLE countries ( country_id text, country_name text, region_id number ) CREATE TABLE departments ( department_id number, department_name text, manager_id number, location_id number ) CREATE TABLE job_history ( employee_id number, start_date time, end_date time, job_...
SELECT DISTINCT department_id FROM employees GROUP BY department_id, manager_id HAVING COUNT(employee_id) >= 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 684, 834, 23, 26, 1499, 6, 684, 834, 4350, 1499, 6, 1719, 834, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3066, 834, 23, 26, 381,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3066, 834, 23, 26, 21680, 1652, 350, 4630, 6880, 272, 476, 3066, 834, 23, 26, 6, 2743, 834, 23, 26, 454, 6968, 2365, 2847, 17161, 599, 15, 51, 7379, 63, 15, 15, 834, 23, 26, 61, 2490, 2423...
How many seasons did 'strangled, not stirred' air?
CREATE TABLE table_21825 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real )
SELECT COUNT("No. in season") FROM table_21825 WHERE "Title" = 'Strangled, Not Stirred'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2606, 1828, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 2847, 17161, 599, 121, 4168, 5, 16, 774, 8512, 21680, 953, 834, 357, 2606, 1828, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 11500, 19834, 6, 933, 13522, 1271, 31, 1, -100, -100, -100, -100, -100, -100, ...
Show all video games and their types in the order of their names.
CREATE TABLE Video_games (gname VARCHAR, gtype VARCHAR)
SELECT gname, gtype FROM Video_games ORDER BY gname
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3953, 834, 7261, 7, 41, 122, 4350, 584, 4280, 28027, 6, 3, 122, 6137, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 671, 1031, 11, 70, 1308, 16, 8, 455, 13, 70, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 122, 4350, 6, 3, 122, 6137, 21680, 3953, 834, 7261, 7, 4674, 11300, 272, 476, 3, 122, 4350, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
WHose Name has a Region of kansai on 2012-04-01 ( core city )?
CREATE TABLE table_41582 ( "Name" text, "Japanese" text, "Date of designation" text, "Date of reclassification" text, "Region" text, "Prefecture" text )
SELECT "Name" FROM table_41582 WHERE "Region" = 'kansai' AND "Date of reclassification" = '2012-04-01 ( core city )'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1808, 4613, 41, 96, 23954, 121, 1499, 6, 96, 683, 9750, 1496, 15, 121, 1499, 6, 96, 308, 342, 13, 21767, 121, 1499, 6, 96, 308, 342, 13, 3, 60, 4057, 2420, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 591, 1808, 4613, 549, 17444, 427, 96, 17748, 23, 106, 121, 3274, 3, 31, 3304, 7, 9, 23, 31, 3430, 96, 308, 342, 13, 3, 60, 4057, 2420, 121, 3274, 3, 31, 12172, 18083, 14772, 41, ...
Which Avg/G that has a Name of opponents, and an Effic smaller than 129.73?
CREATE TABLE table_name_69 ( avg_g INTEGER, name VARCHAR, effic VARCHAR )
SELECT SUM(avg_g) FROM table_name_69 WHERE name = "opponents" AND effic < 129.73
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 3, 9, 208, 122, 834, 122, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 13577, 447, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 71, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 208, 122, 834, 122, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 564, 3274, 96, 32, 102, 9977, 7, 121, 3430, 13577, 447, 3, 2, 3, 22174, 5, 4552, 1, -100, -100, -100, -100, -100, -10...
What is Detective Donald William Schneider's Cause of death?
CREATE TABLE table_9578 ( "Name" text, "Rank" text, "Tenure" text, "Date of death" text, "Cause of death" text )
SELECT "Cause of death" FROM table_9578 WHERE "Rank" = 'detective' AND "Name" = 'donald william schneider'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3301, 3940, 41, 96, 23954, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 382, 35, 1462, 121, 1499, 6, 96, 308, 342, 13, 1687, 121, 1499, 6, 96, 254, 9, 1074, 13, 1687, 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, 254, 9, 1074, 13, 1687, 121, 21680, 953, 834, 3301, 3940, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 221, 5822, 3268, 31, 3430, 96, 23954, 121, 3274, 3, 31, 26, 9533, 26, 56, 23, 265, 3, 28557, 49, 31, ...
On December 3, where was the game held and how many were in attendance?
CREATE TABLE table_name_56 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_name_56 WHERE date = "december 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 1882, 6180, 213, 47, 8, 467, 1213, 11, 149, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the gold number when the total is less than 8, silver less than 1 and the rank is more than 7?
CREATE TABLE table_37929 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Gold") FROM table_37929 WHERE "Total" < '8' AND "Silver" < '1' AND "Rank" > '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4440, 3166, 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, 2847, 17161, 599, 121, 23576, 8512, 21680, 953, 834, 519, 4440, 3166, 549, 17444, 427, 96, 3696, 1947, 121, 3, 2, 3, 31, 927, 31, 3430, 96, 134, 173, 624, 121, 3, 2, 3, 31, 536, 31, 3430, 96, 22557, 121, 2490, ...
What is the club/province of player Alberto Sgarbi, who played wing, with less than 2 caps?
CREATE TABLE table_name_18 ( club_province VARCHAR, player VARCHAR, caps VARCHAR, position VARCHAR )
SELECT club_province FROM table_name_18 WHERE caps < 2 AND position = "wing" AND player = "alberto sgarbi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 1886, 834, 1409, 2494, 565, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 6, 16753, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1886, 834, 1409, 2494, 565, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 16753, 3, 2, 204, 3430, 1102, 3274, 96, 3108, 121, 3430, 1959, 3274, 96, 138, 7041, 32, 3, 7, 1478, 115, 23, 121, 1, -100, -100, -100,...
What is the status of the game against France with more than 16 against?
CREATE TABLE table_name_18 (status VARCHAR, against VARCHAR, opposing_teams VARCHAR)
SELECT status FROM table_name_18 WHERE against > 16 AND opposing_teams = "france"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 8547, 302, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 6, 10720, 53, 834, 11650, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2637, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 581, 2490, 898, 3430, 10720, 53, 834, 11650, 7, 3274, 96, 89, 5219, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the name of the countries where there is not a single car maker?
CREATE TABLE countries (CountryName VARCHAR, countryId VARCHAR); CREATE TABLE countries (CountryName VARCHAR); CREATE TABLE CAR_MAKERS (Country VARCHAR)
SELECT CountryName FROM countries EXCEPT SELECT T1.CountryName FROM countries AS T1 JOIN CAR_MAKERS AS T2 ON T1.countryId = T2.Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 10628, 651, 23954, 584, 4280, 28027, 6, 684, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 10628, 651, 23954, 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, 6993, 23954, 21680, 1440, 262, 4, 30416, 3, 23143, 14196, 332, 5411, 10628, 651, 23954, 21680, 1440, 6157, 332, 536, 3, 15355, 3162, 205, 4280, 834, 4148, 439, 9984, 6157, 332, 357, 9191, 332, 5411, 17529, 196, 26, 32...
How many silver medals did the nation who received 32 bronze medals receive?
CREATE TABLE table_name_61 (silver VARCHAR, bronze VARCHAR)
SELECT silver FROM table_name_61 WHERE bronze = 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 7, 173, 624, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4294, 9365, 7, 410, 8, 2982, 113, 1204, 3538, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4294, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 13467, 3274, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the score of the game at RIch Stadium?
CREATE TABLE table_name_14 ( result VARCHAR, stadium VARCHAR )
SELECT result FROM table_name_14 WHERE stadium = "rich stadium"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 741, 584, 4280, 28027, 6, 14939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 44, 391, 17760, 12750, 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, 741, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 14939, 3274, 96, 3723, 14939, 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 id of the reviewer whose name has substring Mike ?
CREATE TABLE Reviewer ( rID VARCHAR, name VARCHAR )
SELECT rID FROM Reviewer WHERE name LIKE "%Mike%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4543, 49, 41, 3, 52, 4309, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 23, 26, 13, 8, 1132, 49, 3, 2544, 564, 65, 769, 16099,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 52, 4309, 21680, 4543, 49, 549, 17444, 427, 564, 8729, 9914, 96, 1454, 329, 5208, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who is the opponent when the method is tko (punches) at 4:26 of round 1?
CREATE TABLE table_name_82 (opponent VARCHAR, method VARCHAR)
SELECT opponent FROM table_name_82 WHERE method = "tko (punches) at 4:26 of round 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 32, 102, 9977, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 15264, 116, 8, 1573, 19, 3, 17, 157, 32, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1573, 3274, 96, 17, 157, 32, 41, 6225, 2951, 61, 44, 314, 10, 2688, 13, 1751, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the status with incumbent being eliot engel
CREATE TABLE table_892 ( "District" real, "Incumbent" text, "Party" text, "Elected" real, "Status" text, "Opponent" text )
SELECT "Status" FROM table_892 WHERE "Incumbent" = 'Eliot Engel'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3914, 357, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 21543, 15, 26, 121, 490, 6, 96, 134, 17, 144, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 17, 144, 302, 121, 21680, 953, 834, 3914, 357, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 10991, 23, 32, 17, 25936, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the product type and name for the products with price higher than 1000 or lower than 500.
CREATE TABLE contacts ( contact_id number, customer_id number, gender text, first_name text, last_name text, contact_phone text ) CREATE TABLE customer_orders ( order_id number, customer_id number, order_date time, order_status_code text ) CREATE TABLE addresses ( address_i...
SELECT product_type_code, product_name FROM products WHERE product_price > 1000 OR product_price < 500
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11463, 41, 574, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 7285, 1499, 6, 166, 834, 4350, 1499, 6, 336, 834, 4350, 1499, 6, 574, 834, 6399, 1499, 3, 61, 3, 32102, 32103, 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, 1, 1, 1...
[ 3, 23143, 14196, 556, 834, 6137, 834, 4978, 6, 556, 834, 4350, 21680, 494, 549, 17444, 427, 556, 834, 102, 4920, 2490, 5580, 4674, 556, 834, 102, 4920, 3, 2, 2899, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the number of patients whose marital status is single and procedure long title is open and other replacement of aortic valve with tissue graft?
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.long_title = "Open and other replacement of aortic valve with tissue graft"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What year was the most recent US Open championship?
CREATE TABLE table_1514559_1 ( year INTEGER, championship VARCHAR )
SELECT MAX(year) FROM table_1514559_1 WHERE championship = "US Open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 20987, 3390, 834, 536, 41, 215, 3, 21342, 17966, 6, 10183, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 8, 167, 1100, 837, 2384, 10183, 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, 4800, 4, 599, 1201, 61, 21680, 953, 834, 1808, 20987, 3390, 834, 536, 549, 17444, 427, 10183, 3274, 96, 3063, 2384, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which runner(s)-up had a Winning score of –13 (68-70-66-71=275) and a Margin of victory of 3 strokes?
CREATE TABLE table_name_78 (runner_s__up VARCHAR, margin_of_victory VARCHAR, winning_score VARCHAR)
SELECT runner_s__up FROM table_name_78 WHERE margin_of_victory = "3 strokes" AND winning_score = –13(68 - 70 - 66 - 71 = 275)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 6, 6346, 834, 858, 834, 7287, 10972, 584, 4280, 28027, 6, 3447, 834, 7, 9022, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 10806, 834, 7, 834, 834, 413, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 6346, 834, 858, 834, 7287, 10972, 3274, 96, 519, 9529, 7, 121, 3430, 3447, 834, 7, 9022, 3274, 3, 104, 2368, 599, 3651, 3, 18, ...
How many goals against total did the team with more than 52 goals and fewer than 10 losses have?
CREATE TABLE table_59311 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT SUM("Goals against") FROM table_59311 WHERE "Goals for" > '52' AND "Losses" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 519, 2596, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 6221, 5405, 581, 8512, 21680, 953, 834, 3390, 519, 2596, 549, 17444, 427, 96, 6221, 5405, 21, 121, 2490, 3, 31, 5373, 31, 3430, 96, 434, 13526, 7, 121, 3, 2, 3, 31, 1714, 31, 1, -100, -100, ...
Give me a bar chart for the number of area of each area
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 IN...
SELECT Area, COUNT(Area) FROM appellations GROUP BY Area
[ 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, 5690, 6, 2847, 17161, 599, 188, 864, 61, 21680, 8319, 6105, 7, 350, 4630, 6880, 272, 476, 5690, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What year did Martina Navratilova win Wimbledon?
CREATE TABLE table_2092557_12 (wimbledon VARCHAR, player VARCHAR)
SELECT wimbledon FROM table_2092557_12 WHERE player = "Martina Navratilova"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 28456, 3436, 834, 2122, 41, 210, 603, 2296, 2029, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 410, 3394, 9, 3, 22192, 6850...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11064, 51, 2296, 2029, 21680, 953, 834, 1755, 28456, 3436, 834, 2122, 549, 17444, 427, 1959, 3274, 96, 29838, 9, 3, 22192, 6850, 5850, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What's the place that Once Municipal has a lost greater than 3?
CREATE TABLE table_name_81 (place INTEGER, team VARCHAR, lost VARCHAR)
SELECT AVG(place) FROM table_name_81 WHERE team = "once municipal" AND lost > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 4687, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 286, 24, 1447, 16492, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4687, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 372, 3274, 96, 14549, 10516, 121, 3430, 1513, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the title for Sky One in 2005?
CREATE TABLE table_14646 ( "Year" text, "Title" text, "Role" text, "Episodes" text, "Broadcaster" text )
SELECT "Title" FROM table_14646 WHERE "Broadcaster" = 'sky one' AND "Year" = '2005'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24300, 4448, 41, 96, 476, 2741, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 96, 427, 102, 159, 32, 1395, 121, 1499, 6, 96, 279, 8635,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24300, 4448, 549, 17444, 427, 96, 279, 8635, 25327, 121, 3274, 3, 31, 5352, 80, 31, 3430, 96, 476, 2741, 121, 3274, 3, 31, 22594, 31, 1, -100, -100, -100, -100, -100, -100,...
List all the types of forms.
CREATE TABLE forms ( form_type_code VARCHAR )
SELECT DISTINCT form_type_code FROM forms
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2807, 41, 607, 834, 6137, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 66, 8, 1308, 13, 2807, 5, 1, 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, 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...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 607, 834, 6137, 834, 4978, 21680, 2807, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who were the 3rd couple that were viewed by 4.89 million viewers?
CREATE TABLE table_25664518_4 (viewers__millions_ VARCHAR)
SELECT 3 AS rd_couple FROM table_25664518_4 WHERE viewers__millions_ = "4.89"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3539, 2128, 2606, 834, 591, 41, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 220, 52, 26, 1158, 24, 130, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 220, 6157, 3, 52, 26, 834, 15976, 109, 21680, 953, 834, 1828, 3539, 2128, 2606, 834, 591, 549, 17444, 427, 13569, 834, 834, 17030, 7, 834, 3274, 96, 7984, 3914, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the most recent year that had a time of 1:36.69?
CREATE TABLE table_name_82 (year INTEGER, time VARCHAR)
SELECT MAX(year) FROM table_name_82 WHERE time = "1:36.69"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 1201, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 1100, 215, 24, 141, 3, 9, 97, 13, 209, 10, 3420, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 97, 3274, 96, 536, 10, 3420, 5, 3951, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many draws when there are fewer than 6 wins and the goal difference is less than -15?
CREATE TABLE table_name_28 ( draws VARCHAR, wins VARCHAR, goal_difference VARCHAR )
SELECT COUNT(draws) FROM table_name_28 WHERE wins < 6 AND goal_difference < -15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 14924, 584, 4280, 28027, 6, 9204, 584, 4280, 28027, 6, 1288, 834, 26, 99, 11788, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14924,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 19489, 7, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 9204, 3, 2, 431, 3430, 1288, 834, 26, 99, 11788, 3, 2, 3, 10106, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Result, when Venue is Sydney Cricket Ground, and when Date is 23,24,26,27,28,29 Feb, 1 Mar 1912?
CREATE TABLE table_name_31 (result VARCHAR, venue VARCHAR, date VARCHAR)
SELECT result FROM table_name_31 WHERE venue = "sydney cricket ground" AND date = "23,24,26,27,28,29 feb, 1 mar 1912"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 20119, 6, 116, 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, 741, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 5669, 3274, 96, 7, 63, 26, 3186, 18096, 1591, 121, 3430, 833, 3274, 96, 2773, 6, 2266, 6, 2688, 6, 2555, 6, 2577, 6, 3166, 3, 89, 15, 115, 6, 209, 3157, ...
what were the number of titles produced in 2004 ?
CREATE TABLE table_203_438 ( id number, "year" number, "title" text, "role" text, "notes" text )
SELECT COUNT("title") FROM table_203_438 WHERE "year" = 2004
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3747, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 21869, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, 7977, 7, 121, 1499, 3, 61, 3, 32102, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21869, 8512, 21680, 953, 834, 23330, 834, 591, 3747, 549, 17444, 427, 96, 1201, 121, 3274, 4406, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the student IDs and middle names of the students enrolled in at most two courses, and show student_id in ascending order.
CREATE TABLE Subjects ( subject_id INTEGER, subject_name VARCHAR(120) ) CREATE TABLE Courses ( course_id INTEGER, author_id INTEGER, subject_id INTEGER, course_name VARCHAR(120), course_description VARCHAR(255) ) CREATE TABLE Course_Authors_and_Tutors ( author_id INTEGER, author_tu...
SELECT T2.middle_name, T1.student_id FROM Student_Course_Enrolment AS T1 JOIN Students AS T2 ON T1.student_id = T2.student_id ORDER BY T1.student_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 19237, 7, 41, 1426, 834, 23, 26, 3, 21342, 17966, 6, 1426, 834, 4350, 584, 4280, 28027, 599, 15518, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 8670, 7, 41, 503, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 51, 23, 8437, 834, 4350, 6, 332, 5411, 8637, 295, 834, 23, 26, 21680, 6341, 834, 3881, 3589, 15, 834, 8532, 3491, 297, 6157, 332, 536, 3, 15355, 3162, 4375, 6157, 332, 357, 9191, 332, 5411, 8637, 295, 8...
What is the remelting temperature for the alloy that has a Sn/Sb ratio of 9.5/15?
CREATE TABLE table_43083 ( "Usage" text, "Sn/Sb (%)" text, "Liquid at (\u00b0C)" text, "Casting at (\u00b0C)" text, "Remelting at (\u00b0C)" text, "Hardness" text )
SELECT "Remelting at (\u00b0C)" FROM table_43083 WHERE "Sn/Sb (%)" = '9.5/15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 4591, 41, 96, 1265, 7, 545, 121, 1499, 6, 96, 134, 29, 87, 134, 115, 41, 6210, 121, 1499, 6, 96, 434, 23, 1169, 26, 44, 41, 2, 76, 1206, 115, 632, 254, 61, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 2341, 1222, 44, 41, 2, 76, 1206, 115, 632, 254, 61, 121, 21680, 953, 834, 25449, 4591, 549, 17444, 427, 96, 134, 29, 87, 134, 115, 41, 6210, 121, 3274, 3, 31, 22321, 20376, 31, 1, -100, -100, -100, -10...
What is the name on the Democratic ticket when the Workers ticket is james p. cannon?
CREATE TABLE table_name_32 ( democratic_ticket VARCHAR, workers_ticket VARCHAR )
SELECT democratic_ticket FROM table_name_32 WHERE workers_ticket = "james p. cannon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 15053, 834, 26639, 584, 4280, 28027, 6, 2765, 834, 26639, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 30, 8, 10021, 4142, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15053, 834, 26639, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 2765, 834, 26639, 3274, 96, 1191, 2687, 3, 102, 5, 54, 29, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Kennel Club (UK) Toy Group with the shih-tzu as the American Kennel Club Toy Group breed?
CREATE TABLE table_name_65 (the_kennel_club__uk__toy_group VARCHAR, american_kennel_club_toy_group VARCHAR)
SELECT the_kennel_club__uk__toy_group FROM table_name_65 WHERE american_kennel_club_toy_group = "shih-tzu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 532, 834, 9376, 15, 40, 834, 13442, 834, 834, 1598, 834, 834, 235, 63, 834, 10739, 584, 4280, 28027, 6, 10211, 834, 9376, 15, 40, 834, 13442, 834, 235,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8, 834, 9376, 15, 40, 834, 13442, 834, 834, 1598, 834, 834, 235, 63, 834, 10739, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 10211, 834, 9376, 15, 40, 834, 13442, 834, 235, 63, 834, 10739, 3274, 96, 5605, 1...
What is the score in game 3?
CREATE TABLE table_25889 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Series" text )
SELECT "Score" FROM table_25889 WHERE "Game" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 3914, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 357, 3449, 3914, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the total number of tiers for the postseason of semifinalist?
CREATE TABLE table_name_45 (tier INTEGER, postseason VARCHAR)
SELECT SUM(tier) FROM table_name_45 WHERE postseason = "semifinalist"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3276, 3, 21342, 17966, 6, 442, 9476, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 3, 3276, 7, 21, 8, 442, 9476, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3276, 61, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 442, 9476, 3274, 96, 7, 15, 51, 23, 12406, 343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What TV network is the series aistr em aired on?
CREATE TABLE table_11026 ( "Country" text, "Alternate title/Translation" text, "TV network(s)" text, "Series premiere" text, "Weekly schedule" text )
SELECT "TV network(s)" FROM table_11026 WHERE "Alternate title/Translation" = 'aistrų žemė'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19277, 2688, 41, 96, 10628, 651, 121, 1499, 6, 96, 188, 40, 2947, 342, 2233, 87, 18474, 6105, 121, 1499, 6, 96, 4562, 1229, 599, 7, 61, 121, 1499, 6, 96, 12106, 7, 13539,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4562, 1229, 599, 7, 61, 121, 21680, 953, 834, 19277, 2688, 549, 17444, 427, 96, 188, 40, 2947, 342, 2233, 87, 18474, 6105, 121, 3274, 3, 31, 9, 343, 52, 2, 3, 2, 15, 51, 2, 31, 1, -100, -100, -100, -100, ...
Which lane ranked less than 4 for the Netherlands?
CREATE TABLE table_name_4 ( lane VARCHAR, rank VARCHAR, nationality VARCHAR )
SELECT lane FROM table_name_4 WHERE rank < 4 AND nationality = "netherlands"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 3, 8102, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 8102, 3, 8232, 705...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8102, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 11003, 3, 2, 314, 3430, 1157, 485, 3274, 96, 29, 16764, 6347, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the production code for the episode whose original air date was May15,2000?
CREATE TABLE table_29391888_1 (production_code VARCHAR, original_air_date VARCHAR)
SELECT production_code FROM table_29391888_1 WHERE original_air_date = "May15,2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3288, 536, 10927, 834, 536, 41, 20762, 834, 4978, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 999, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 999, 834, 4978, 21680, 953, 834, 3166, 3288, 536, 10927, 834, 536, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 15881, 1808, 6, 13527, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the details of the shops that can be accessed by walk?
CREATE TABLE visitors ( tourist_id number, tourist_details text ) CREATE TABLE ref_attraction_types ( attraction_type_code text, attraction_type_description text ) CREATE TABLE features ( feature_id number, feature_details text ) CREATE TABLE hotels ( hotel_id number, star_rating_code...
SELECT T1.shop_details FROM shops AS T1 JOIN tourist_attractions AS T2 ON T1.shop_id = T2.tourist_attraction_id WHERE T2.how_to_get_there = "walk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2692, 41, 8548, 834, 23, 26, 381, 6, 8548, 834, 221, 5756, 7, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6273, 834, 144, 10559, 834, 6137, 7, 41, 13715, 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, 332, 5411, 6921, 834, 221, 5756, 7, 21680, 5391, 6157, 332, 536, 3, 15355, 3162, 8548, 834, 144, 10559, 7, 6157, 332, 357, 9191, 332, 5411, 6921, 834, 23, 26, 3274, 332, 4416, 17, 1211, 343, 834, 144, 10559, 834, ...
Return the date of birth for all the guests with gender code 'Male', and count them by a line chart
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 Apartment_Buildi...
SELECT date_of_birth, COUNT(date_of_birth) FROM Guests WHERE gender_code = "Male"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 7, 41, 3, 6789, 834, 23, 26, 3, 21342, 17966, 6, 740, 834, 23, 26, 3, 21342, 17966, 6, 3, 6789, 834, 6137, 834, 4978, 3, 28027, 599, 1808, 201, 3, 6789, 834, 5525, 1152, 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, 833, 834, 858, 834, 20663, 6, 2847, 17161, 599, 5522, 834, 858, 834, 20663, 61, 21680, 3, 22360, 549, 17444, 427, 7285, 834, 4978, 3274, 96, 329, 9, 109, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What percentage of users were using Firefox according to the source that reported 21.70% used Internet Explorer?
CREATE TABLE table_name_22 (firefox VARCHAR, internet_explorer VARCHAR)
SELECT firefox FROM table_name_22 WHERE internet_explorer = "21.70%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 6608, 20400, 584, 4280, 28027, 6, 1396, 834, 20901, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5294, 13, 1105, 130, 338, 19570, 1315, 12, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1472, 20400, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1396, 834, 20901, 3274, 96, 357, 18596, 6932, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the Author/Editor/Source for more than 100 countries sampled and has a 35 world ranking?
CREATE TABLE table_name_86 (author___editor___source VARCHAR, world_ranking__1_ VARCHAR, countries_sampled VARCHAR)
SELECT author___editor___source FROM table_name_86 WHERE world_ranking__1_ = "35" AND countries_sampled > 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 17415, 834, 834, 834, 11272, 127, 834, 834, 834, 7928, 584, 4280, 28027, 6, 296, 834, 6254, 53, 834, 834, 536, 834, 584, 4280, 28027, 6, 1440, 834, 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, 2291, 834, 834, 834, 11272, 127, 834, 834, 834, 7928, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 296, 834, 6254, 53, 834, 834, 536, 834, 3274, 96, 2469, 121, 3430, 1440, 834, 7, 4624, 1361, 2490, 910, 1, -...
What is the lowest week number that had a game on December 3, 1967?
CREATE TABLE table_name_97 ( week INTEGER, date VARCHAR )
SELECT MIN(week) FROM table_name_97 WHERE date = "december 3, 1967"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 471, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 471, 381, 24, 141, 3, 9, 467, 30, 1882, 6180,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 6180, 18148, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many reasons for change were listed when Edward Hempstead was the successor?
CREATE TABLE table_25064 ( "District" text, "Vacator" text, "Reason for change" text, "Successor" text, "Date successor seated" text )
SELECT COUNT("Reason for change") FROM table_25064 WHERE "Successor" = 'Edward Hempstead'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 4389, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 25203, 1016, 121, 1499, 6, 96, 1649, 9, 739, 21, 483, 121, 1499, 6, 96, 134, 17431, 24901, 121, 1499, 6, 96, 308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1649, 9, 739, 21, 483, 8512, 21680, 953, 834, 11434, 4389, 549, 17444, 427, 96, 134, 17431, 24901, 121, 3274, 3, 31, 427, 26, 2239, 216, 1167, 11931, 31, 1, -100, -100, -100, -100, -100, -100,...
which composer is listed below pete doherty ?
CREATE TABLE table_204_969 ( id number, "composer" text, "title" text, "genre" text, "date" number, "notes" text )
SELECT "composer" FROM table_204_969 WHERE id = (SELECT id FROM table_204_969 WHERE "composer" = 'pete doherty') + 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1298, 3951, 41, 3, 23, 26, 381, 6, 96, 287, 2748, 49, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 729, 60, 121, 1499, 6, 96, 5522, 121, 381, 6, 96, 7977, 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, 287, 2748, 49, 121, 21680, 953, 834, 26363, 834, 1298, 3951, 549, 17444, 427, 3, 23, 26, 3274, 41, 23143, 14196, 3, 23, 26, 21680, 953, 834, 26363, 834, 1298, 3951, 549, 17444, 427, 96, 287, 2748, 49, 121, 327...
For directors who had more than one movie, bin the year into Year interval and them compute the total number of movies in each year bucket, and group by title. The result can be drawn as a trend line.
CREATE TABLE Rating ( rID int, mID int, stars int, ratingDate date ) CREATE TABLE Movie ( mID int, title text, year int, director text ) CREATE TABLE Reviewer ( rID int, name text )
SELECT year, COUNT(year) FROM Movie AS T1 JOIN Movie AS T2 ON T1.director = T2.director WHERE T1.title <> T2.title GROUP BY title
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 21662, 41, 3, 52, 4309, 16, 17, 6, 3, 51, 4309, 16, 17, 6, 4811, 16, 17, 6, 5773, 308, 342, 833, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10743, 41, 3, 51, 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, 215, 6, 2847, 17161, 599, 1201, 61, 21680, 10743, 6157, 332, 536, 3, 15355, 3162, 10743, 6157, 332, 357, 9191, 332, 5411, 25982, 3274, 332, 4416, 25982, 549, 17444, 427, 332, 5411, 21869, 3, 2, 3155, 332, 4416, 21869,...
What Name has the 2012 Club Radni ki?
CREATE TABLE table_4330 ( "Name" text, "Pos." text, "Height" text, "Weight" text, "2012 club" text )
SELECT "Name" FROM table_4330 WHERE "2012 club" = 'radnički'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 1458, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 1499, 6, 96, 12172, 1886, 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, 0, 0...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 4906, 1458, 549, 17444, 427, 96, 12172, 1886, 121, 3274, 3, 31, 5672, 29, 23, 2, 2168, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What Golden point(s) scorer has the Away Brisbane Broncos and Home South Sydney Rabbitohs?
CREATE TABLE table_name_14 ( golden_point_s__scorer VARCHAR, away VARCHAR, home VARCHAR )
SELECT golden_point_s__scorer FROM table_name_14 WHERE away = "brisbane broncos" AND home = "south sydney rabbitohs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 7069, 834, 2700, 834, 7, 834, 834, 7, 5715, 49, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 3, 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, 7069, 834, 2700, 834, 7, 834, 834, 7, 5715, 49, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 550, 3274, 96, 2160, 7, 3478, 15, 3, 13711, 509, 7, 121, 3430, 234, 3274, 96, 7, 670, 107, 3, 7, 63, 26, 3186,...
What was the date of the game when Hawthorn was the home team?
CREATE TABLE table_name_54 (date VARCHAR, home_team VARCHAR)
SELECT date FROM table_name_54 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 5522, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 116, 1626, 210, 17, 6293,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
provide the number of patients whose primary disease is coronary artery disease\coronary artery bypass graft with mvr; ? maze and age is less than 85?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT WITH MVR; ? MAZE" AND demographic.age < "85"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 5911, 13044, 24721, 11155, 5946, 476, 309, 19056, 17892, 2, 5911, 13044,...
with rank of 31 what is the year?
CREATE TABLE table_35009 ( "Rank" text, "Name" text, "Height feet(m)" text, "Floors" real, "Year" real )
SELECT COUNT("Year") FROM table_35009 WHERE "Rank" = '31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16975, 4198, 41, 96, 22557, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 3845, 2632, 1922, 599, 51, 61, 121, 1499, 6, 96, 11251, 127, 7, 121, 490, 6, 96, 476, 2741, 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, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 476, 2741, 8512, 21680, 953, 834, 16975, 4198, 549, 17444, 427, 96, 22557, 121, 3274, 3, 31, 3341, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the location of the institution barton college
CREATE TABLE table_11658094_1 (location VARCHAR, institution VARCHAR)
SELECT location FROM table_11658094_1 WHERE institution = "Barton College"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 4122, 2079, 4240, 834, 536, 41, 14836, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 8, 6568, 1207, 17, 106, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 2596, 4122, 2079, 4240, 834, 536, 549, 17444, 427, 6568, 3274, 96, 14851, 17, 106, 1888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Set 1 with a Score of 3–0, and has a Set 3 of 15–10?
CREATE TABLE table_name_4 (set_1 VARCHAR, score VARCHAR, set_3 VARCHAR)
SELECT set_1 FROM table_name_4 WHERE score = "3–0" AND set_3 = "15–10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 2244, 834, 536, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 356, 834, 519, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2821, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 356, 834, 536, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 2604, 3274, 96, 519, 104, 632, 121, 3430, 356, 834, 519, 3274, 96, 1808, 104, 1714, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average overall pick number for the USF player who was picked after round 5?
CREATE TABLE table_name_23 ( overall INTEGER, college VARCHAR, round VARCHAR )
SELECT AVG(overall) FROM table_name_23 WHERE college = "usf" AND round > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 1879, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 1879, 1432, 381, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 1890, 1748, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1900, 3274, 96, 302, 89, 121, 3430, 1751, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who were the candidates when Noah M. Mason was incumbent?
CREATE TABLE table_1342249_13 (candidates VARCHAR, incumbent VARCHAR)
SELECT candidates FROM table_1342249_13 WHERE incumbent = "Noah M. Mason"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2884, 3647, 834, 2368, 41, 1608, 12416, 6203, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 130, 8, 4341, 116, 24384, 283, 5, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4341, 21680, 953, 834, 23747, 2884, 3647, 834, 2368, 549, 17444, 427, 28406, 3274, 96, 4168, 9, 107, 283, 5, 15924, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Siburan-Padawan word for the Tagalog word kanin?
CREATE TABLE table_10673 ( "English" text, "Malay" text, "Bukar-Sadong" text, "Bau-Jagoi" text, "Siburan-Padawan" text, "Bra'ang-Pinyawa" text, "Lundu (Salako)" text, "Kapampangan" text, "Tagalog" text )
SELECT "Siburan-Padawan" FROM table_10673 WHERE "Tagalog" = 'kanin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 4552, 41, 96, 26749, 121, 1499, 6, 96, 329, 9, 5595, 121, 1499, 6, 96, 7793, 4031, 18, 134, 9, 26, 2444, 121, 1499, 6, 96, 279, 402, 18, 683, 9, 839, 23, 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, 134, 23, 5808, 152, 18, 21853, 9, 3877, 121, 21680, 953, 834, 16431, 4552, 549, 17444, 427, 96, 23593, 9, 2152, 121, 3274, 3, 31, 3304, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the team of april 25?
CREATE TABLE table_11960196_3 (team VARCHAR, date VARCHAR)
SELECT team FROM table_11960196_3 WHERE date = "April 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 3328, 26937, 834, 519, 41, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 372, 13, 3, 9, 2246, 40, 944, 58, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 19993, 3328, 26937, 834, 519, 549, 17444, 427, 833, 3274, 96, 23323, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What were the high rebounds on April 4?
CREATE TABLE table_22879323_10 ( high_rebounds VARCHAR, date VARCHAR )
SELECT high_rebounds FROM table_22879323_10 WHERE date = "April 4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4225, 4271, 2773, 834, 1714, 41, 306, 834, 23768, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 306, 3, 23768, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 306, 834, 23768, 21680, 953, 834, 2884, 4225, 4271, 2773, 834, 1714, 549, 17444, 427, 833, 3274, 96, 23323, 3, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the constructor of the car with a Peugeot A12 EV5 3.0 V10 engine that competed in all rounds?
CREATE TABLE table_57122 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Constructor" FROM table_57122 WHERE "Rounds" = 'all' AND "Engine" = 'peugeot a12 ev5 3.0 v10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 20889, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 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, 4302, 7593, 127, 121, 21680, 953, 834, 3436, 20889, 549, 17444, 427, 96, 448, 32, 1106, 7, 121, 3274, 3, 31, 1748, 31, 3430, 96, 31477, 121, 3274, 3, 31, 855, 12972, 32, 17, 3, 9, 2122, 3, 15, 208, 755, 18...
What is the Class when Wessex Trains Pink is the Livery?
CREATE TABLE table_name_90 ( class VARCHAR, livery VARCHAR )
SELECT class FROM table_name_90 WHERE livery = "wessex trains pink"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 853, 584, 4280, 28027, 6, 619, 651, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4501, 116, 101, 7, 7, 994, 15059, 7, 12070, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 853, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 619, 651, 3274, 96, 1123, 7, 7, 994, 14053, 5571, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the semifinal average where the preliminary average is 9.084 (1) ?
CREATE TABLE table_20637 ( "State" text, "Preliminary Average" text, "Interview" text, "Swimsuit" text, "Evening Gown" text, "Semifinal Average" text )
SELECT "Semifinal Average" FROM table_20637 WHERE "Preliminary Average" = '9.084 (1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24643, 4118, 41, 96, 134, 4748, 121, 1499, 6, 96, 10572, 4941, 77, 1208, 23836, 121, 1499, 6, 96, 17555, 4576, 121, 1499, 6, 96, 134, 210, 603, 7628, 121, 1499, 6, 96, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 51, 23, 12406, 23836, 121, 21680, 953, 834, 24643, 4118, 549, 17444, 427, 96, 10572, 4941, 77, 1208, 23836, 121, 3274, 3, 31, 8797, 4018, 591, 5637, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Create a bar chart showing the number of author across author, and order total number from low to high order.
CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text )
SELECT Author, COUNT(Author) FROM submission GROUP BY Author ORDER BY COUNT(Author)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20592, 663, 41, 29779, 834, 4309, 16, 17, 6, 9644, 834, 4309, 16, 17, 6, 3, 20119, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4786, 41, 9644, 834, 4309, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10236, 6, 2847, 17161, 599, 23602, 127, 61, 21680, 8121, 350, 4630, 6880, 272, 476, 10236, 4674, 11300, 272, 476, 2847, 17161, 599, 23602, 127, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every team with location attendance of Seattle Center Coliseum 14,180?
CREATE TABLE table_30069 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_30069 WHERE "Location Attendance" = 'Seattle Center Coliseum 14,180'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5426, 3951, 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, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 5426, 3951, 549, 17444, 427, 96, 434, 32, 75, 257, 22497, 663, 121, 3274, 3, 31, 134, 15, 9, 8692, 1166, 3043, 159, 15, 440, 11363, 20829, 31, 1, -100, -100, -100, -100, -100, -100...
For those records from the products and each product's manufacturer, visualize a bar chart about the distribution of name and revenue , and group by attribute name, order by the y-axis in desc.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T2.Revenue FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name ORDER BY T2.Revenue DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 4416, 1649, 15098, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5...
give me the number of patients whose year of death is less than or equal to 2158 and drug name is oxycodone-acetaminophen elixir?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2158.0" AND prescriptions.drug = "OxycoDONE-Acetaminophen Elixir"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which Examples has Australian of m?
CREATE TABLE table_name_10 ( examples VARCHAR, australian VARCHAR )
SELECT examples FROM table_name_10 WHERE australian = "əm"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 4062, 584, 4280, 28027, 6, 23407, 29, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19119, 65, 3746, 13, 3, 51, 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, 4062, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 23407, 29, 3274, 96, 2, 51, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who is the constructor for driver Niki Lauda and a chassis of mp4/1c?
CREATE TABLE table_name_91 (constructor VARCHAR, chassis VARCHAR, driver VARCHAR)
SELECT constructor FROM table_name_91 WHERE chassis = "mp4/1c" AND driver = "niki lauda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 15982, 5317, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 6774, 127, 21, 2535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 22836, 3274, 96, 1167, 591, 14785, 75, 121, 3430, 2535, 3274, 96, 4953, 23, 3, 12513, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the medal total when there is 2 gold medals, and Brazil (BRA) is the nation?
CREATE TABLE table_13454 ( "Rank" text, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT "Total" FROM table_13454 WHERE "Gold" = '2' AND "Nation" = 'brazil (bra)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 5062, 41, 96, 22557, 121, 1499, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3696, 1947, 121, 21680, 953, 834, 23747, 5062, 549, 17444, 427, 96, 23576, 121, 3274, 3, 31, 357, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 1939, 702, 40, 41, 1939, 61, 31, 1, -100, -100, -100, -100, -100, -...
What place has a to par of E?
CREATE TABLE table_49170 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Place" FROM table_49170 WHERE "To par" = 'e'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 536, 2518, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 345, 11706, 121, 21680, 953, 834, 3647, 536, 2518, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who won the season of 1998?
CREATE TABLE table_10318 ( "Year" real, "Premier" text, "Runner Up" text, "Scores" text, "Venue" text, "Crowd" real, "Margin" real, "Winner Season" text, "Runner Up Season" text )
SELECT "Winner Season" FROM table_10318 WHERE "Year" = '1998'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17864, 2606, 41, 96, 476, 2741, 121, 490, 6, 96, 10572, 51, 972, 121, 1499, 6, 96, 23572, 3234, 121, 1499, 6, 96, 134, 9022, 7, 121, 1499, 6, 96, 553, 35, 76, 15, 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, 18455, 687, 7960, 121, 21680, 953, 834, 17864, 2606, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 3916, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Give me the comparison about the sum of ID over the Nationality , and group by attribute Nationality, and order in asc by the total number.
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE...
SELECT Nationality, SUM(ID) FROM swimmer GROUP BY Nationality ORDER BY SUM(ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499, 6, 868, 485, 1499, 6, 3, 4401, 834, 2915, 490, 6, 3, 4401, 834, 3632, 1499, 6, 3, 4401, 834, 5426, 1499, 6, 3, 4401, 834, 5548, 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, 868, 485, 6, 180, 6122, 599, 4309, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 180, 6122, 599, 4309, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Match Report for the Euro2008q at the Athens Olympic Stadium on November 17, 2007?
CREATE TABLE table_name_89 ( match_report VARCHAR, date VARCHAR, competition VARCHAR, venue VARCHAR )
SELECT match_report FROM table_name_89 WHERE competition = "euro2008q" AND venue = "athens olympic stadium" AND date = "november 17, 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 1588, 834, 60, 1493, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 1588, 834, 60, 1493, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2259, 3274, 96, 1238, 32, 16128, 1824, 121, 3430, 5669, 3274, 96, 9, 189, 35, 7, 3, 32, 120, 51, 6174, 14939, 121, 3430, 833, 3274, 96, 5326,...
what is the total rank where the rank is 58?
CREATE TABLE table_20259 ( "#" real, "Episode" text, "Rating" text, "Share" real, "Rating/Share (18-49)" text, "Viewers (millions)" text, "Rank (Timeslot)" text, "Rank (Night)" text, "Rank (Week)" text )
SELECT COUNT("Rank (Timeslot)") FROM table_20259 WHERE "Rank (Week)" = '58'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 3390, 41, 96, 4663, 121, 490, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 448, 1014, 121, 1499, 6, 96, 24501, 121, 490, 6, 96, 448, 1014, 87, 24501, 9323, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 41, 13368, 7, 3171, 61, 8512, 21680, 953, 834, 19818, 3390, 549, 17444, 427, 96, 22557, 41, 518, 10266, 61, 121, 3274, 3, 31, 3449, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the smallest Class Position that has drivers Les Palmer, Terry Morris, and a Position larger than 23?
CREATE TABLE table_name_59 (class INTEGER, drivers VARCHAR, position VARCHAR)
SELECT MIN(class) AS position FROM table_name_59 WHERE drivers = "les palmer, terry morris" AND position > 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 4057, 3, 21342, 17966, 6, 3863, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 4501, 14258, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4057, 61, 6157, 1102, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 3863, 3274, 96, 965, 8466, 49, 6, 3, 449, 651, 8030, 52, 159, 121, 3430, 1102, 2490, 1902, 1, -100, -100, -100, -100, -100, -...
Which manager has Manchester City as the team?
CREATE TABLE table_80385 ( "Team" text, "Manager" text, "Captain" text, "Kit manufacturer" text, "Shirt sponsor" text )
SELECT "Manager" FROM table_80385 WHERE "Team" = 'manchester city'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 519, 4433, 41, 96, 18699, 121, 1499, 6, 96, 27272, 121, 1499, 6, 96, 19566, 17, 9, 77, 121, 1499, 6, 96, 439, 155, 4818, 121, 1499, 6, 96, 16671, 9037, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 27272, 121, 21680, 953, 834, 2079, 519, 4433, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 348, 13263, 690, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Points against has a Lost of 13, and Points for of 671?
CREATE TABLE table_name_9 (points_against VARCHAR, lost VARCHAR, points_for VARCHAR)
SELECT points_against FROM table_name_9 WHERE lost = "13" AND points_for = "671"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 2700, 7, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 407...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1513, 3274, 96, 2368, 121, 3430, 979, 834, 1161, 3274, 96, 3708, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What party did the incumbent from the Illinois 12 district belong to?
CREATE TABLE table_1341707_15 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341707_15 WHERE district = "Illinois 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2517, 4560, 834, 1808, 41, 8071, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 410, 8, 28406, 45, 8, 7659, 586, 3939, 1300...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1088, 21680, 953, 834, 23747, 2517, 4560, 834, 1808, 549, 17444, 427, 3939, 3274, 96, 196, 195, 77, 32, 159, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Compare the total enrollment in each county with a bar chart, sort y-axis from low to high order.
CREATE TABLE endowment ( endowment_id int, School_id int, donator_name text, amount real ) CREATE TABLE budget ( School_id int, Year int, Budgeted int, total_budget_percent_budgeted real, Invested int, total_budget_percent_invested real, Budget_invested_percent text ) CREAT...
SELECT County, SUM(Enrollment) FROM School GROUP BY County ORDER BY SUM(Enrollment)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 414, 2381, 297, 41, 414, 2381, 297, 834, 23, 26, 16, 17, 6, 1121, 834, 23, 26, 16, 17, 6, 278, 1016, 834, 4350, 1499, 6, 866, 490, 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, 1334, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 1121, 350, 4630, 6880, 272, 476, 1334, 4674, 11300, 272, 476, 180, 6122, 599, 8532, 4046, 297, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the position of john charles?
CREATE TABLE table_12165135_1 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_12165135_1 WHERE player = "John Charles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 2938, 5553, 2469, 834, 536, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 13, 3, 27341, 3, 4059, 965,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 2122, 2938, 5553, 2469, 834, 536, 549, 17444, 427, 1959, 3274, 96, 18300, 5417, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...