NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which Team classification has a Combination classification of egoi martínez, and a Winner of tom boonen?
CREATE TABLE table_name_28 (team_classification VARCHAR, combination_classification VARCHAR, winner VARCHAR)
SELECT team_classification FROM table_name_28 WHERE combination_classification = "egoi martínez" AND winner = "tom boonen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 11650, 834, 4057, 2420, 584, 4280, 28027, 6, 2711, 834, 4057, 2420, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 372, 834, 4057, 2420, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 2711, 834, 4057, 2420, 3274, 96, 6066, 23, 3157, 17, 2, 9645, 121, 3430, 4668, 3274, 96, 235, 51, 3005, 106, 35, 121, 1, -100, -100, -100, -...
What was the score on April 23?
CREATE TABLE table_name_5 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_5 WHERE date = "april 23"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 1186, 1902, 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, 755, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 1902, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
That is the total year that Neal Baer is a nominee?
CREATE TABLE table_name_91 (year INTEGER, nominee_s_ VARCHAR)
SELECT SUM(year) FROM table_name_91 WHERE nominee_s_ = "neal baer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 1201, 3, 21342, 17966, 6, 21077, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 466, 19, 8, 792, 215, 24, 1484, 138, 2659, 49, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 21077, 834, 7, 834, 3274, 96, 29, 15, 138, 4698, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the names of products and the number of events they are in.
CREATE TABLE Products ( Product_Name VARCHAR, Product_ID VARCHAR ) CREATE TABLE Products_in_Events ( Product_ID VARCHAR )
SELECT T1.Product_Name, COUNT(*) FROM Products AS T1 JOIN Products_in_Events AS T2 ON T1.Product_ID = T2.Product_ID GROUP BY T1.Product_Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 6246, 834, 23954, 584, 4280, 28027, 6, 6246, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 834, 77, 834, 427, 2169, 7, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 3174, 7472, 834, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 7554, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 3174, 7472, 834, 4309, 3274, 332, 441...
What is every value for if polish is ksi ka?
CREATE TABLE table_25008327_8 ( словјански VARCHAR, polish VARCHAR )
SELECT словјански FROM table_25008327_8 WHERE polish = "książka"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2560, 4591, 2555, 834, 927, 41, 12681, 6588, 16811, 2, 25873, 30610, 584, 4280, 28027, 6, 12535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12681, 6588, 16811, 2, 25873, 30610, 21680, 953, 834, 357, 2560, 4591, 2555, 834, 927, 549, 17444, 427, 12535, 3274, 96, 157, 7, 23, 2, 1258, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
if the aramaic is šlām-āʼ, what is the english?
CREATE TABLE table_26919_7 (english VARCHAR, aramaic VARCHAR)
SELECT english FROM table_26919_7 WHERE aramaic = "šlām-āʼ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3951, 2294, 834, 940, 41, 4606, 40, 1273, 584, 4280, 28027, 6, 3, 9, 10819, 447, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 99, 8, 3, 9, 10819, 447, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22269, 21680, 953, 834, 357, 3951, 2294, 834, 940, 549, 17444, 427, 3, 9, 10819, 447, 3274, 96, 2, 40, 2, 51, 18, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Result has a Record of 5 4?
CREATE TABLE table_38088 ( "Week" real, "Date" text, "Opponent" text, "Location" text, "Time ( ET )" text, "Result" text, "Record" text )
SELECT "Result" FROM table_38088 WHERE "Record" = '5–4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 4060, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 13368, 41, 10104, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 22671, 4060, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 755, 104, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Opponents on a clay surface with christophe rochus as partner?
CREATE TABLE table_name_57 ( opponents VARCHAR, surface VARCHAR, partner VARCHAR )
SELECT opponents FROM table_name_57 WHERE surface = "clay" AND partner = "christophe rochus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 16383, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 2397, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4495, 9977, 7, 30, 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, 16383, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 2397, 3274, 96, 15294, 10775, 15, 3, 11492, 302, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what year did naga bonar take place
CREATE TABLE table_name_82 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_name_82 WHERE original_title = "naga bonar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 1201, 834, 834, 2110, 15, 21208, 834, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 215, 410, 3, 15603,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 834, 2110, 15, 21208, 834, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 926, 834, 21869, 3274, 96, 15603, 9, 2682, 291, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the home team score for essendon
CREATE TABLE table_name_54 (home_team VARCHAR)
SELECT home_team AS score FROM table_name_54 WHERE home_team = "essendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 5515, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 234, 372, 2604, 21, 3, 8185, 2029, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 234, 834, 11650, 3274, 96, 8185, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the title when the featuring is leela and series sorted is 4s/b?
CREATE TABLE table_name_71 ( title VARCHAR, featuring VARCHAR, series_sorted VARCHAR )
SELECT title FROM table_name_71 WHERE featuring = "leela" AND series_sorted = "4s/b"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 2233, 584, 4280, 28027, 6, 4767, 584, 4280, 28027, 6, 939, 834, 14504, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2233, 116, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 4767, 3274, 96, 109, 15, 521, 121, 3430, 939, 834, 14504, 3274, 96, 591, 7, 87, 115, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which winner has a points classification of Tony Rominger at stage 17?
CREATE TABLE table_name_72 (winner VARCHAR, points_classification VARCHAR, stage VARCHAR)
SELECT winner FROM table_name_72 WHERE points_classification = "tony rominger" AND stage = "17"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 3757, 687, 584, 4280, 28027, 6, 979, 834, 4057, 2420, 584, 4280, 28027, 6, 1726, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4668, 65, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 979, 834, 4057, 2420, 3274, 96, 17, 106, 63, 3, 3522, 9963, 121, 3430, 1726, 3274, 96, 2517, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What District was Incumbent Steve Israel First elected after 1998 in the Democratic party?
CREATE TABLE table_name_1 (district VARCHAR, incumbent VARCHAR, first_elected VARCHAR, party VARCHAR)
SELECT district FROM table_name_1 WHERE first_elected > 1998 AND party = "democratic" AND incumbent = "steve israel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 26, 23, 20066, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 6, 166, 834, 19971, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 166, 834, 19971, 2490, 6260, 3430, 1088, 3274, 96, 23319, 447, 121, 3430, 28406, 3274, 96, 849, 162, 3, 30178, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the label for CAD 2014 CD?
CREATE TABLE table_63526 ( "Country" text, "Date" text, "Label" text, "Format" text, "Catalogue #" text )
SELECT "Label" FROM table_63526 WHERE "Catalogue #" = 'cad 2014 cd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2469, 2688, 41, 96, 10628, 651, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 10384, 1713, 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, 0...
[ 3, 23143, 14196, 96, 434, 10333, 121, 21680, 953, 834, 948, 2469, 2688, 549, 17444, 427, 96, 18610, 9, 10384, 1713, 121, 3274, 3, 31, 658, 26, 1412, 3, 75, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
On which surface was the score w/o?
CREATE TABLE table_name_82 (surface VARCHAR, score VARCHAR)
SELECT surface FROM table_name_82 WHERE score = "w/o"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 26899, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 1774, 47, 8, 2604, 3, 210, 87, 32, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 2604, 3274, 96, 210, 87, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what was the only year that a competition was held in china ?
CREATE TABLE table_203_734 ( id number, "year" number, "competition" text, "venue" text, "position" text, "event" text, "notes" text )
SELECT "year" FROM table_203_734 WHERE "venue" = 'china'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4552, 591, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 15098, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 15, 2169, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1201, 121, 21680, 953, 834, 23330, 834, 4552, 591, 549, 17444, 427, 96, 15098, 121, 3274, 3, 31, 5675, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the highest pop for tottori
CREATE TABLE table_name_11 (pop_¹ INTEGER, prefecture VARCHAR)
SELECT MAX(pop_¹) FROM table_name_11 WHERE prefecture = "tottori"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 9791, 834, 536, 3, 21342, 17966, 6, 554, 4075, 1462, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 2030, 2783, 21, 12, 17, 3600, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9791, 834, 6982, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 554, 4075, 1462, 3274, 96, 235, 17, 3600, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the position Bill Campbell played before round 6?
CREATE TABLE table_6504 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "Position" FROM table_6504 WHERE "Round" < '6' AND "Player" = 'bill campbell'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15348, 591, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, 683, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 15348, 591, 549, 17444, 427, 96, 448, 32, 1106, 121, 3, 2, 3, 31, 948, 31, 3430, 96, 15800, 49, 121, 3274, 3, 31, 3727, 40, 2856, 7708, 31, 1, -100, -100, -100, -100...
who are the grand finalists when the champion team members are miko biscocho, claude gomez, mikee victoriano?
CREATE TABLE table_66532 ( "Year" real, "Champion" text, "Grand Finalist" text, "Champion Team Members" text, "Grand Finalists" text )
SELECT "Grand Finalists" FROM table_66532 WHERE "Champion Team Members" = 'miko biscocho, claude gomez, mikee victoriano'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 4867, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 4744, 727, 6514, 343, 121, 1499, 6, 96, 254, 1483, 12364, 2271, 9537, 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, 4744, 727, 6514, 343, 7, 121, 21680, 953, 834, 3539, 4867, 357, 549, 17444, 427, 96, 254, 1483, 12364, 2271, 9537, 121, 3274, 3, 31, 51, 12027, 1005, 509, 3995, 6, 3, 75, 12513, 15, 281, 51, 457, 6, 3, 20068...
Calculate the number of patients with excision or destruction of other lesion or tissue of heart, endovascular approach, who had a lab test for hematology
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE procedures.long_title = "Excision or destruction of other lesion or tissue of heart, endovascular approach" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 3388, 18206...
Which Venue was used when the Home team was geelong?
CREATE TABLE table_name_47 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_47 WHERE home_team = "geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 15098, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 47, 261, 116, 8, 1210, 372, 47, 873, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 234, 834, 11650, 3274, 96, 397, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the colonized date for Michigan?
CREATE TABLE table_name_92 (colonized VARCHAR, state VARCHAR)
SELECT colonized FROM table_name_92 WHERE state = "michigan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 8135, 29, 1601, 584, 4280, 28027, 6, 538, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6718, 1601, 833, 21, 5847, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6718, 1601, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 538, 3274, 96, 51, 362, 12588, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show name and distance for all aircrafts by a bar chart, could you order by the x-axis in desc?
CREATE TABLE aircraft ( aid number(9,0), name varchar2(30), distance number(6,0) ) CREATE TABLE flight ( flno number(4,0), origin varchar2(20), destination varchar2(20), distance number(6,0), departure_date date, arrival_date date, price number(7,2), aid number(9,0) ) CREATE TABLE certificate ( eid number(9,0), aid number(9,0) ) CREATE TABLE employee ( eid number(9,0), name varchar2(30), salary number(10,2) )
SELECT name, distance FROM aircraft ORDER BY name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6442, 41, 3052, 381, 599, 1298, 6, 632, 201, 564, 3, 4331, 4059, 357, 599, 1458, 201, 2357, 381, 599, 11071, 632, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 2357, 21680, 6442, 4674, 11300, 272, 476, 564, 309, 25067, 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,...
When was the archbishop that was ordained as a bishop on November 30, 1925 born?
CREATE TABLE table_44494 ( "Archbishop" text, "Born" text, "Ordained Priest" text, "Ordained Bishop" text, "Appointed Archbishop" text, "Vacated throne" text, "Died" text )
SELECT "Born" FROM table_44494 WHERE "Ordained Bishop" = 'november 30, 1925'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 3647, 591, 41, 96, 23533, 11514, 10776, 121, 1499, 6, 96, 279, 127, 29, 121, 1499, 6, 96, 7395, 26, 7043, 26, 24582, 121, 1499, 6, 96, 7395, 26, 7043, 26, 16098, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 127, 29, 121, 21680, 953, 834, 3628, 3647, 591, 549, 17444, 427, 96, 7395, 26, 7043, 26, 16098, 121, 3274, 3, 31, 5326, 18247, 11558, 28484, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
The driver Jacky Ickx had what time/retired?
CREATE TABLE table_54423 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Time/Retired" FROM table_54423 WHERE "Driver" = 'jacky ickx'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3628, 2773, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13368, 87, 1649, 11809, 26, 121, 21680, 953, 834, 755, 3628, 2773, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 9325, 63, 3, 3142, 226, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
List the file size and format for all songs that have resolution lower than 800.
CREATE TABLE files ( f_id number, artist_name text, file_size text, duration text, formats text ) CREATE TABLE genre ( g_name text, rating text, most_popular_in text ) CREATE TABLE song ( song_name text, artist_name text, country text, f_id number, genre_is text, rating number, languages text, releasedate time, resolution number ) CREATE TABLE artist ( artist_name text, country text, gender text, preferred_genre text )
SELECT DISTINCT T1.file_size, T1.formats FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T2.resolution < 800
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 3, 89, 834, 23, 26, 381, 6, 2377, 834, 4350, 1499, 6, 1042, 834, 7991, 1499, 6, 8659, 1499, 6, 10874, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 53...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 11966, 834, 7991, 6, 332, 5411, 8995, 7, 21680, 2073, 6157, 332, 536, 3, 15355, 3162, 2324, 6157, 332, 357, 9191, 332, 5411, 89, 834, 23, 26, 3274, 332, 4416, 89, 834, 23, 26, 549...
which stadium holds the most people ?
CREATE TABLE table_204_392 ( id number, "#" number, "stadium" text, "capacity" number, "city" text, "country" text, "domed or retractable roof" text )
SELECT "stadium" FROM table_204_392 ORDER BY "capacity" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3288, 357, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 2427, 12925, 121, 1499, 6, 96, 4010, 9, 6726, 121, 381, 6, 96, 6726, 121, 1499, 6, 96, 17529, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2427, 12925, 121, 21680, 953, 834, 26363, 834, 3288, 357, 4674, 11300, 272, 476, 96, 4010, 9, 6726, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Points have a Grid larger than 7, and a Driver of alex tagliani, and a Lapse smaller than 85?
CREATE TABLE table_name_56 (points INTEGER, laps VARCHAR, grid VARCHAR, driver VARCHAR)
SELECT MAX(points) FROM table_name_56 WHERE grid > 7 AND driver = "alex tagliani" AND laps < 85
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 2700, 7, 3, 21342, 17966, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 8634, 2490, 489, 3430, 2535, 3274, 96, 138, 994, 7860, 9928, 23, 121, 3430, 14941, 7, 3, 2, 11989, 1, -100, -100, -100, -100, -100, -10...
Which Baltimore group has a viron shape of icosahedral, replicates in the cytoplasm, is non-enveloped, and is from the astroviridae family?
CREATE TABLE table_43231 ( "Family" text, "Baltimore group" text, "envelopment" text, "Virion shape" text, "Replication site" text )
SELECT "Baltimore group" FROM table_43231 WHERE "Virion shape" = 'icosahedral' AND "envelopment" = 'non-enveloped' AND "Replication site" = 'cytoplasm' AND "Family" = 'astroviridae'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2668, 3341, 41, 96, 371, 3690, 120, 121, 1499, 6, 96, 279, 2920, 23, 3706, 563, 121, 1499, 6, 96, 15, 17430, 297, 121, 1499, 6, 96, 21031, 23, 106, 2346, 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, 279, 2920, 23, 3706, 563, 121, 21680, 953, 834, 591, 2668, 3341, 549, 17444, 427, 96, 21031, 23, 106, 2346, 121, 3274, 3, 31, 5807, 7, 9, 88, 26, 4900, 31, 3430, 96, 15, 17430, 297, 121, 3274, 3, 31, 29, 1...
how many patients are with primary disease ventricular tachycardia and with abnormal lab test status?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "VENTRICULAR TACHYCARDIA" AND lab.flag = "abnormal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what number of patients whose drug code is topi25 have died in or before the year 2168?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.dod_year <= "2168.0" AND prescriptions.formulary_drug_cd = "TOPI25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who was the sports agent who finished 9th?
CREATE TABLE table_46479 ( "Name" text, "Occupation" text, "Hometown" text, "Season" text, "Finish" text )
SELECT "Name" FROM table_46479 WHERE "Finish" = '9th' AND "Occupation" = 'sports agent'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4389, 4440, 41, 96, 23954, 121, 1499, 6, 96, 667, 75, 4658, 257, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 371, 77, 1273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4389, 4440, 549, 17444, 427, 96, 371, 77, 1273, 121, 3274, 3, 31, 1298, 189, 31, 3430, 96, 667, 75, 4658, 257, 121, 3274, 3, 31, 6661, 7, 3102, 31, 1, -100, -100, -100, -100...
what number of patients were primarily admitted for sepsis before the year 2162?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "SEPSIS" AND demographic.admityear < "2162"
[ 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, 134, 8569, 14408, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 26...
Who directed episode 12 in season 3?
CREATE TABLE table_16581695_4 ( directed_by VARCHAR, no_in_season VARCHAR )
SELECT directed_by FROM table_16581695_4 WHERE no_in_season = "12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3449, 2938, 3301, 834, 591, 41, 6640, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 2938, 3449, 2938, 3301, 834, 591, 549, 17444, 427, 150, 834, 77, 834, 9476, 3274, 96, 2122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which home team had a visitor of Ottawa Senators with a score of 1–5?
CREATE TABLE table_name_61 (home VARCHAR, visitor VARCHAR, score VARCHAR)
SELECT home FROM table_name_61 WHERE visitor = "ottawa senators" AND score = "1–5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 5515, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 141, 3, 9, 7019, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 7019, 3274, 96, 32, 17, 17, 7396, 20596, 7, 121, 3430, 2604, 3274, 96, 536, 104, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the location of the venue owned by johnson c. smith university?
CREATE TABLE table_name_26 ( location VARCHAR, owner VARCHAR )
SELECT location FROM table_name_26 WHERE owner = "johnson c. smith university"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1128, 584, 4280, 28027, 6, 2527, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 13, 8, 5669, 4157, 57, 3, 27341, 739, 3, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 2527, 3274, 96, 27341, 739, 3, 75, 5, 3, 16331, 3819, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score when the scorers show match report?
CREATE TABLE table_name_97 (score VARCHAR, scorers VARCHAR)
SELECT score FROM table_name_97 WHERE scorers = "match report"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 9022, 584, 4280, 28027, 6, 14056, 277, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 116, 8, 14056, 277, 504, 1588, 934, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 14056, 277, 3274, 96, 19515, 934, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What position is the player who went to Regina?
CREATE TABLE table_20170644_3 (position VARCHAR, college VARCHAR)
SELECT position FROM table_20170644_3 WHERE college = "Regina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9887, 5176, 3628, 834, 519, 41, 4718, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 19, 8, 1959, 113, 877, 12, 26031, 58, 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, 0, 0, 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, 9887, 5176, 3628, 834, 519, 549, 17444, 427, 1900, 3274, 96, 1649, 19604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which game number was located in Prudential Center 15,086?
CREATE TABLE table_27700375_6 (game INTEGER, location_attendance VARCHAR)
SELECT MIN(game) FROM table_27700375_6 WHERE location_attendance = "Prudential Center 15,086"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 9295, 22954, 834, 948, 41, 7261, 3, 21342, 17966, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 467, 381, 47, 1069, 16, 21522, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 61, 21680, 953, 834, 2555, 9295, 22954, 834, 948, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 345, 17237, 7220, 1166, 10725, 632, 3840, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, draw a bar chart about the distribution of hire_date and the average of salary bin hire_date by time, I want to sort in asc by the Y-axis.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY AVG(SALARY)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 145...
Give me the names of members whose address is in Harford or Waterbury.
CREATE TABLE happy_hour_member ( hh_id number, member_id number, total_amount number ) CREATE TABLE member ( member_id number, name text, membership_card text, age number, time_of_purchase number, level_of_membership number, address text ) CREATE TABLE happy_hour ( hh_id number, shop_id number, month text, num_of_shaff_in_charge number ) CREATE TABLE shop ( shop_id number, address text, num_of_staff text, score number, open_year text )
SELECT name FROM member WHERE address = 'Harford' OR address = 'Waterbury'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1095, 834, 5842, 834, 12066, 41, 3, 107, 107, 834, 23, 26, 381, 6, 1144, 834, 23, 26, 381, 6, 792, 834, 9, 11231, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 21680, 1144, 549, 17444, 427, 1115, 3274, 3, 31, 15537, 2590, 31, 4674, 1115, 3274, 3, 31, 28632, 7165, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Main span of the Qincaobei Bridge
CREATE TABLE table_name_64 ( main_span_feet VARCHAR, name VARCHAR )
SELECT main_span_feet FROM table_name_64 WHERE name = "qincaobei bridge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 711, 834, 7, 2837, 834, 89, 15, 15, 17, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5140, 8438, 13,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 711, 834, 7, 2837, 834, 89, 15, 15, 17, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 564, 3274, 96, 1824, 77, 658, 32, 5358, 4716, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What iwas the attendance of the game that took place on december 6, 1998?
CREATE TABLE table_name_41 ( attendance VARCHAR, date VARCHAR )
SELECT attendance FROM table_name_41 WHERE date = "december 6, 1998"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 11364, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 23, 9491, 8, 11364, 13, 8, 467, 24, 808, 286, 30, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 8580, 6260, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Display a pie chart for how many exhibitions has each artist had?
CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real )
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2377, 41, 9152, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6993, 1499, 6, 2929, 834, 683, 32, 77, 16, 17, 6, 7526, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 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, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 4473, 6157, 332, 536, 3, 15355, 3162, 2377, 6157, 332, 357, 9191, 332, 5411, 7754, 343, 834, 4309, 3274, 332, 4416, 7754, 343, 834, 4309, 350, 4630, 6880, 272, 476, 332, 5...
What is the most recent year featuring the director Christopher Kulikowski?
CREATE TABLE table_name_89 ( year INTEGER, director VARCHAR )
SELECT MAX(year) FROM table_name_89 WHERE director = "christopher kulikowski"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 215, 3, 21342, 17966, 6, 2090, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 1100, 215, 4767, 8, 2090, 14702, 480, 83, 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, 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, 4350, 834, 3914, 549, 17444, 427, 2090, 3274, 96, 15294, 10775, 49, 3, 10701, 23, 27077, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which country won the least medals ?
CREATE TABLE table_203_576 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_576 ORDER BY "total" LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3959, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29, 257, 121, 21680, 953, 834, 23330, 834, 755, 3959, 4674, 11300, 272, 476, 96, 235, 1947, 121, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the attendance when Fitzroy played as home team?
CREATE TABLE table_name_2 ( crowd VARCHAR, home_team VARCHAR )
SELECT COUNT(crowd) FROM table_name_2 WHERE home_team = "fitzroy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 4374, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 116, 9783, 172, 8170, 1944, 38, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 234, 834, 11650, 3274, 96, 89, 5615, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the total of number of FA Cup that has a League small than 29 with Play-offs less than 0?
CREATE TABLE table_70270 ( "Name" text, "League" real, "Play-offs" real, "FA Cup" real, "League Cup" real, "Total" real )
SELECT COUNT("FA Cup") FROM table_70270 WHERE "League" < '29' AND "Play-offs" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 17485, 41, 96, 23954, 121, 1499, 6, 96, 2796, 9, 5398, 121, 490, 6, 96, 15800, 18, 1647, 7, 121, 490, 6, 96, 4795, 3802, 121, 490, 6, 96, 2796, 9, 5398, 3802, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 4795, 3802, 8512, 21680, 953, 834, 2518, 17485, 549, 17444, 427, 96, 2796, 9, 5398, 121, 3, 2, 3, 31, 3166, 31, 3430, 96, 15800, 18, 1647, 7, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -1...
What game week did the Buccaneers play against the Minnesota Vikings?
CREATE TABLE table_name_47 (week VARCHAR, opponent VARCHAR)
SELECT week FROM table_name_47 WHERE opponent = "minnesota vikings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 8041, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 467, 471, 410, 8, 15882, 1608, 15, 277, 577, 581, 8, 9745, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 471, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 15264, 3274, 96, 1109, 1496, 32, 17, 9, 3, 21346, 53, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the number of electorates when the name is badnawar?
CREATE TABLE table_13358 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Number of electorates (2009)" FROM table_13358 WHERE "Name" = 'badnawar'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22974, 3449, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 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, 567, 5937, 49, 13, 11924, 127, 6203, 3, 25812, 121, 21680, 953, 834, 22974, 3449, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 5514, 29, 9, 2910, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which nation had 14 goals?
CREATE TABLE table_15827 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Goals" real )
SELECT "Nationality" FROM table_15827 WHERE "Goals" = '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26556, 2555, 41, 96, 22557, 53, 121, 490, 6, 96, 24732, 485, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 6221, 5405, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 26556, 2555, 549, 17444, 427, 96, 6221, 5405, 121, 3274, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the opponent for week 10?
CREATE TABLE table_31939 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Opponent" FROM table_31939 WHERE "Week" = '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2294, 3288, 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,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 667, 102, 9977, 121, 21680, 953, 834, 519, 2294, 3288, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What surface has 2 as a cage dive?
CREATE TABLE table_name_5 ( surface VARCHAR, cage_dive VARCHAR )
SELECT surface FROM table_name_5 WHERE cage_dive = "2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 1774, 584, 4280, 28027, 6, 17276, 834, 26, 757, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1774, 65, 204, 38, 3, 9, 17276, 10026, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 17276, 834, 26, 757, 3274, 96, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the service chage of the boat howitzers with a 12-pdr light destination?
CREATE TABLE table_name_42 ( service_charge VARCHAR, designation VARCHAR )
SELECT service_charge FROM table_name_42 WHERE designation = "12-pdr light"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 313, 834, 7993, 584, 4280, 28027, 6, 21767, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 313, 3, 524, 545, 13, 8, 3432, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 313, 834, 7993, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 21767, 3274, 96, 2122, 18, 102, 26, 52, 659, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the aggregate for the celebrity who was known for being a singer and had 7 dances?
CREATE TABLE table_28209 ( "Celebrity" text, "Known for" text, "Age" real, "Professional" text, "Series" real, "Place" text, "Dances" real, "Highest score" real, "Lowest score" real, "Aggregate" real, "Average" text )
SELECT "Aggregate" FROM table_28209 WHERE "Dances" = '7' AND "Known for" = 'Singer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 357, 4198, 41, 96, 254, 400, 2160, 17, 63, 121, 1499, 6, 96, 26176, 21, 121, 1499, 6, 96, 188, 397, 121, 490, 6, 96, 3174, 17585, 138, 121, 1499, 6, 96, 12106, 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, 188, 122, 18301, 342, 121, 21680, 953, 834, 2577, 357, 4198, 549, 17444, 427, 96, 308, 663, 7, 121, 3274, 3, 31, 940, 31, 3430, 96, 26176, 21, 121, 3274, 3, 31, 134, 9963, 31, 1, -100, -100, -100, -100, -100...
Name the city of license for call sign of k215es
CREATE TABLE table_name_7 (city_of_license VARCHAR, call_sign VARCHAR)
SELECT city_of_license FROM table_name_7 WHERE call_sign = "k215es"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 6726, 834, 858, 834, 28062, 584, 4280, 28027, 6, 580, 834, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 690, 13, 3344, 21, 580, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 690, 834, 858, 834, 28062, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 580, 834, 6732, 3274, 96, 157, 357, 1808, 15, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Result of w 24 21, and a Week smaller than 6 had what sum of attendance?
CREATE TABLE table_name_9 ( attendance INTEGER, result VARCHAR, week VARCHAR )
SELECT SUM(attendance) FROM table_name_9 WHERE result = "w 24–21" AND week < 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 11364, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 20119, 13, 3, 210, 997, 12026, 11,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 741, 3274, 96, 210, 997, 104, 2658, 121, 3430, 471, 3, 2, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 100 year for Carbon Dioxide?
CREATE TABLE table_21350772_2 ( gas_name VARCHAR )
SELECT 100 AS _yr FROM table_21350772_2 WHERE gas_name = "Carbon dioxide"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 16975, 4013, 357, 834, 357, 41, 1807, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 910, 215, 21, 14335, 2043, 6778, 15, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 910, 6157, 3, 834, 63, 52, 21680, 953, 834, 2658, 16975, 4013, 357, 834, 357, 549, 17444, 427, 1807, 834, 4350, 3274, 96, 6936, 5407, 22122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the position of players and the average number of points of players of each position. Visualize by bar chart.
CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text ) CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real ) CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze real, Total real )
SELECT Position, AVG(Points) FROM player GROUP BY Position
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 41, 15571, 834, 4309, 16, 17, 6, 2929, 490, 6, 15571, 834, 6137, 1499, 6, 6993, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1886, 41, 1949, 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, 14258, 6, 71, 17217, 599, 22512, 7, 61, 21680, 1959, 350, 4630, 6880, 272, 476, 14258, 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 highest game number that had a time of 2:44?
CREATE TABLE table_name_78 (game INTEGER, time VARCHAR)
SELECT MAX(game) FROM table_name_78 WHERE time = "2:44"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 7261, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 467, 381, 24, 141, 3, 9, 97, 13, 204, 10, 3628, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 97, 3274, 96, 357, 10, 3628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many total medals did argentina win ?
CREATE TABLE table_204_302 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "total" FROM table_204_302 WHERE "nation" = 'argentina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 1458, 357, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 235, 1947, 121, 21680, 953, 834, 26363, 834, 1458, 357, 549, 17444, 427, 96, 29, 257, 121, 3274, 3, 31, 9917, 77, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Grid has Laps larger than 26, and a Time/Retired of 44:39.467?
CREATE TABLE table_76506 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MIN("Grid") FROM table_76506 WHERE "Laps" > '26' AND "Time/Retired" = '44:39.467'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 1752, 948, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 13313, 26, 8512, 21680, 953, 834, 3959, 1752, 948, 549, 17444, 427, 96, 3612, 102, 7, 121, 2490, 3, 31, 2688, 31, 3430, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 3628, 10, 3288, 5, 59...
How many of the white patients had st elevated myocardial infarction\cardiac cath as their primary disease?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "WHITE" AND demographic.diagnosis = "ST ELEVATED MYOCARDIAL INFARCTION\CARDIAC CATH"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 4209,...
What is the sum of bronzes for countries with 1 gold and under 1 silver?
CREATE TABLE table_name_19 (bronze INTEGER, gold VARCHAR, silver VARCHAR)
SELECT SUM(bronze) FROM table_name_19 WHERE gold = 1 AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 13711, 776, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 13467, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2045, 3274, 209, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the other premiership when the runner up wis Geelong?
CREATE TABLE table_1139835_9 ( premiership VARCHAR, runner_up VARCHAR )
SELECT premiership FROM table_1139835_9 WHERE runner_up = "Geelong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20522, 3916, 2469, 834, 1298, 41, 2761, 2009, 584, 4280, 28027, 6, 3, 10806, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 119, 2761, 2009, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2761, 2009, 21680, 953, 834, 20522, 3916, 2469, 834, 1298, 549, 17444, 427, 3, 10806, 834, 413, 3274, 96, 517, 15, 15, 2961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Round larger than 2, and a Position of guard involves what college?
CREATE TABLE table_name_6 (college VARCHAR, round VARCHAR, position VARCHAR)
SELECT college FROM table_name_6 WHERE round > 2 AND position = "guard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 3297, 7883, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 9609, 2186, 145, 3547, 11, 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, 1900, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1751, 2490, 204, 3430, 1102, 3274, 96, 11010, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the total number of Silver that has Gold that's larger than 0, Bronze that's smaller than 23, a Total that's larger than 22, and has the Nation of Saint Kitts and Nevis?
CREATE TABLE table_79486 ( "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Silver") FROM table_79486 WHERE "Gold" > '0' AND "Bronze" < '23' AND "Total" > '22' AND "Nation" = 'saint kitts and nevis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 591, 3840, 41, 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, 1947, 121, 490, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 134, 173, 624, 8512, 21680, 953, 834, 4440, 591, 3840, 549, 17444, 427, 96, 23576, 121, 2490, 3, 31, 632, 31, 3430, 96, 22780, 29, 776, 121, 3, 2, 3, 31, 2773, 31, 3430, 96, 3696, 1947, 12...
What is the average grid for the +2.2 secs time/retired?
CREATE TABLE table_36770 ( "Driver" text, "Team" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT AVG("Grid") FROM table_36770 WHERE "Time/Retired" = '+2.2 secs'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 26920, 41, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13313, 26, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 13313, 26, 8512, 21680, 953, 834, 3420, 26920, 549, 17444, 427, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 1220, 15300, 4220, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Airport with an IATA of TRZ?
CREATE TABLE table_45567 ( "City" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "Airport" FROM table_45567 WHERE "IATA" = 'trz'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 755, 3708, 41, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038, 667, 121, 1499, 6, 96, 20162, 1493, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 20162, 1493, 121, 21680, 953, 834, 2128, 755, 3708, 549, 17444, 427, 96, 196, 19282, 121, 3274, 3, 31, 17, 52, 172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
List the distinct carriers of phones with memories bigger than 32.
CREATE TABLE phone ( Carrier VARCHAR, Memory_in_G INTEGER )
SELECT DISTINCT Carrier FROM phone WHERE Memory_in_G > 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 951, 41, 1184, 6711, 584, 4280, 28027, 6, 19159, 834, 77, 834, 517, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 6746, 16642, 13, 7219, 28, 5655, 4038, 145, 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, 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, 1184, 6711, 21680, 951, 549, 17444, 427, 19159, 834, 77, 834, 517, 2490, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which districts have at least two addresses?
CREATE TABLE address (district VARCHAR)
SELECT district FROM address GROUP BY district HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1115, 41, 26, 23, 20066, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14126, 43, 44, 709, 192, 7181, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3939, 21680, 1115, 350, 4630, 6880, 272, 476, 3939, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the Attendance that has the Date of april 12?
CREATE TABLE table_name_63 (attendance VARCHAR, date VARCHAR)
SELECT attendance FROM table_name_63 WHERE date = "april 12"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 22497, 663, 24, 65, 8, 7678, 13, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 586, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
for how many years did the player who graduated from stanford play for Grizzlies?
CREATE TABLE table_47208 ( "Player" text, "Nationality" text, "Position" text, "Years for Grizzlies" text, "School/Club Team" text )
SELECT "Years for Grizzlies" FROM table_47208 WHERE "School/Club Team" = 'stanford'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 23946, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 121, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 21, 3, 13313, 5271, 4664, 121, 21680, 953, 834, 4177, 23946, 549, 17444, 427, 96, 29364, 87, 254, 11158, 2271, 121, 3274, 3, 31, 5627, 2590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What tyres were used with the mp4/14 chassis?
CREATE TABLE table_name_40 ( tyres VARCHAR, chassis VARCHAR )
SELECT tyres FROM table_name_40 WHERE chassis = "mp4/14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 3, 17, 63, 60, 7, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3, 17, 63, 60, 7, 130, 261, 28, 8, 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, 3, 17, 63, 60, 7, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 22836, 3274, 96, 1167, 591, 14785, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest Week, when Attendance is 38,624?
CREATE TABLE table_name_27 (week INTEGER, attendance VARCHAR)
SELECT MIN(week) FROM table_name_27 WHERE attendance = 38 OFFSET 624
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 8041, 3, 21342, 17966, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 6551, 6, 116, 22497, 663, 19, 6654, 6, 948, 226...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 11364, 3274, 6654, 3, 15316, 20788, 431, 2266, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the Date of the Competition with a Score of 2 0?
CREATE TABLE table_name_96 ( date VARCHAR, score VARCHAR )
SELECT date FROM table_name_96 WHERE score = "2–0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 833, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7678, 13, 8, 15571, 28, 3, 9, 17763, 13, 204, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 2604, 3274, 96, 357, 104, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the date with record of 55-24
CREATE TABLE table_name_9 (date VARCHAR, record VARCHAR)
SELECT date FROM table_name_9 WHERE record = "55-24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 28, 1368, 13, 6897, 14962, 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, 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, 833, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1368, 3274, 96, 3769, 14962, 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 Galician (reintegrationist) word of the Galician (Official) is bo d a / bos d as?
CREATE TABLE table_26614365_5 ( galician___reintegrationist__ VARCHAR, galician___official__ VARCHAR )
SELECT galician___reintegrationist__ FROM table_26614365_5 WHERE galician___official__ = "Bo día / Bos días"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 2534, 10402, 834, 755, 41, 7466, 1294, 152, 834, 834, 834, 60, 8576, 257, 343, 834, 834, 584, 4280, 28027, 6, 7466, 1294, 152, 834, 834, 834, 20884, 834, 834, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7466, 1294, 152, 834, 834, 834, 60, 8576, 257, 343, 834, 834, 21680, 953, 834, 357, 3539, 2534, 10402, 834, 755, 549, 17444, 427, 7466, 1294, 152, 834, 834, 834, 20884, 834, 834, 3274, 96, 279, 32, 3, 26, 2, 9, ...
how many teams played consecutive games due to getting a tie ?
CREATE TABLE table_203_620 ( id number, "tie no" number, "home team" text, "score" text, "away team" text, "attendance" number )
SELECT COUNT(*) FROM table_203_620 WHERE "score" = "score"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 26898, 41, 3, 23, 26, 381, 6, 96, 17, 23, 15, 150, 121, 381, 6, 96, 5515, 372, 121, 1499, 6, 96, 7, 9022, 121, 1499, 6, 96, 8006, 372, 121, 1499, 6, 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, 1935, 61, 21680, 953, 834, 23330, 834, 26898, 549, 17444, 427, 96, 7, 9022, 121, 3274, 96, 7, 9022, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the qatari female is 918, what is the total number of females?
CREATE TABLE table_3509 ( "Year" real, "Qatari Male" real, "Qatari Female" real, "Total Qatari" real, "Non Qatari Male" real, "Non Qatari Female" real, "Total Non Qatar" real, "Total Male" real, "Total Female" real, "Grand Total" real )
SELECT "Total Female" FROM table_3509 WHERE "Qatari Female" = '918'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 4198, 41, 96, 476, 2741, 121, 490, 6, 96, 2247, 9, 5310, 17830, 121, 490, 6, 96, 2247, 9, 5310, 27144, 121, 490, 6, 96, 3696, 1947, 21936, 23, 121, 490, 6, 96, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3696, 1947, 27144, 121, 21680, 953, 834, 2469, 4198, 549, 17444, 427, 96, 2247, 9, 5310, 27144, 121, 3274, 3, 31, 1298, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose gender is m and diagnoses icd9 code is 99592?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "M" AND diagnoses.icd9_code = "99592"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Find the state and country of all cities with post code starting with 4.
CREATE TABLE addresses (state_province_county VARCHAR, country VARCHAR, zip_postcode VARCHAR)
SELECT state_province_county, country FROM addresses WHERE zip_postcode LIKE "4%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7181, 41, 5540, 834, 1409, 2494, 565, 834, 13362, 63, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 10658, 834, 5950, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 834, 1409, 2494, 565, 834, 13362, 63, 6, 684, 21680, 7181, 549, 17444, 427, 10658, 834, 5950, 4978, 8729, 9914, 96, 5988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the to par when the tournament involved was the Transitions Championship?
CREATE TABLE table_name_45 ( to_par VARCHAR, tournament VARCHAR )
SELECT to_par FROM table_name_45 WHERE tournament = "transitions championship"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 12, 834, 1893, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 12, 260, 116, 8, 5892, 1381, 47, 8, 257...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 5892, 3274, 96, 7031, 4749, 7, 10183, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who's the First District with a Fifth District of prudy adam?
CREATE TABLE table_41874 ( "First District" text, "Second District" text, "Third District" text, "Fourth District" text, "Fifth District" text )
SELECT "First District" FROM table_41874 WHERE "Fifth District" = 'prudy adam'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2606, 4581, 41, 96, 25171, 3570, 121, 1499, 6, 96, 134, 15, 1018, 26, 3570, 121, 1499, 6, 96, 382, 9288, 26, 3570, 121, 1499, 6, 96, 371, 1211, 189, 3570, 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, 25171, 3570, 121, 21680, 953, 834, 591, 2606, 4581, 549, 17444, 427, 96, 371, 99, 189, 3570, 121, 3274, 3, 31, 12129, 26, 63, 3, 9, 7812, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of state champions with more tan 9 MRC Championships, more than 4 co-champions, and a record of 192-189-3?
CREATE TABLE table_name_72 ( state_champions INTEGER, co_champions VARCHAR, mrc_championships VARCHAR, records VARCHAR )
SELECT SUM(state_champions) FROM table_name_72 WHERE mrc_championships > 9 AND records = "192-189-3" AND co_champions > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 538, 834, 17788, 12364, 7, 3, 21342, 17966, 6, 576, 834, 17788, 12364, 7, 584, 4280, 28027, 6, 3, 51, 52, 75, 834, 17788, 12364, 2009, 7, 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, 180, 6122, 599, 5540, 834, 17788, 12364, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3, 51, 52, 75, 834, 17788, 12364, 2009, 7, 2490, 668, 3430, 3187, 3274, 96, 19978, 18, 25312, 3486, 121, 3430, 576, ...
How many reports were the for the cleveland burke lakefront airport circut?
CREATE TABLE table_10707176_2 ( report VARCHAR, circuit VARCHAR )
SELECT COUNT(report) FROM table_10707176_2 WHERE circuit = "Cleveland Burke Lakefront Airport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18057, 4560, 26782, 834, 357, 41, 934, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2279, 130, 8, 21, 8, 3, 75, 4563, 232, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 1493, 61, 21680, 953, 834, 18057, 4560, 26782, 834, 357, 549, 17444, 427, 4558, 3274, 96, 254, 4563, 232, 27575, 2154, 6849, 5735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When did indiana play?
CREATE TABLE table_76379 ( "Game" real, "Date" text, "Opponent" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT "Date" FROM table_76379 WHERE "Opponent" = 'indiana'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 519, 4440, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 3959, 519, 4440, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 77, 8603, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the score of the match with the sydney roosters as the opponent?
CREATE TABLE table_name_83 (score VARCHAR, opponent VARCHAR)
SELECT score FROM table_name_83 WHERE opponent = "sydney roosters"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 7, 9022, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 8, 1588, 28, 8, 3, 7, 63, 26, 3186, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 15264, 3274, 96, 7, 63, 26, 3186, 3, 52, 32, 3481, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show all card type codes and the number of cards in each type.
CREATE TABLE Customers_cards ( card_type_code VARCHAR )
SELECT card_type_code, COUNT(*) FROM Customers_cards GROUP BY card_type_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16423, 834, 6043, 7, 41, 895, 834, 6137, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 895, 686, 5633, 11, 8, 381, 13, 2190, 16, 284, 686, 5, 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, 895, 834, 6137, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 16423, 834, 6043, 7, 350, 4630, 6880, 272, 476, 895, 834, 6137, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was born on 10 May 1788 that ceased to be queen?
CREATE TABLE table_name_3 (ceased_to_be_queen VARCHAR, birth VARCHAR)
SELECT ceased_to_be_queen FROM table_name_3 WHERE birth = "10 may 1788"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 29220, 834, 235, 834, 346, 834, 835, 35, 584, 4280, 28027, 6, 3879, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 2170, 30, 335, 932, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29220, 834, 235, 834, 346, 834, 835, 35, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 3879, 3274, 96, 1714, 164, 1003, 4060, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Tell me the country for ICAO of tjig
CREATE TABLE table_name_84 (country VARCHAR, icao VARCHAR)
SELECT country FROM table_name_84 WHERE icao = "tjig"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 17529, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 684, 21, 3, 15038, 667, 13, 3, 17, 354, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 3, 2617, 32, 3274, 96, 17, 354, 23, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients whose days of hospital stay is greater than 14 and admission year is less than 2119?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE 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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.days_stay > "14" AND demographic.admityear < "2119"
[ 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, 549, 17444, 427, 14798, 5, 1135, 7, 834, 21545, 2490, 96, 2534, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 2294,...
What is the total points of teams using a ligier js11/15 chassis?
CREATE TABLE table_15253 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT COUNT("Points") FROM table_15253 WHERE "Chassis" = 'ligier js11/15'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26320, 4867, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 26320, 4867, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 2825, 972, 3, 354, 7, 2596, 20376, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many horses finished the rase ?
CREATE TABLE table_204_330 ( id number, "finished" text, "horse" text, "jockey" text, "trainer" text, "owner" text, "time / behind" text )
SELECT COUNT("horse") FROM table_204_330
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 17225, 41, 3, 23, 26, 381, 6, 96, 19420, 121, 1499, 6, 96, 107, 127, 7, 15, 121, 1499, 6, 96, 1927, 75, 4397, 121, 1499, 6, 96, 9719, 49, 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, 107, 127, 7, 15, 8512, 21680, 953, 834, 26363, 834, 17225, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score for the away team when they played collingwood?
CREATE TABLE table_name_57 ( away_team VARCHAR, home_team VARCHAR )
SELECT away_team AS score FROM table_name_57 WHERE home_team = "collingwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 550, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 21, 8, 550, 372, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 234, 834, 11650, 3274, 96, 3297, 697, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the sum of the Pick # Anthony Maddox?
CREATE TABLE table_58987 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT SUM("Pick #") FROM table_58987 WHERE "Name" = 'anthony maddox'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3914, 4225, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 345, 3142, 1713, 8512, 21680, 953, 834, 755, 3914, 4225, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 152, 189, 106, 63, 11454, 11990, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What's the 123kg of the Total world record?
CREATE TABLE table_name_41 (world_record VARCHAR)
SELECT 123 AS kg FROM table_name_41 WHERE world_record = "total"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 7276, 834, 60, 7621, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 14574, 8711, 13, 8, 9273, 296, 1368, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 14574, 6157, 9147, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 296, 834, 60, 7621, 3274, 96, 235, 1947, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What activities does Clear Channel Entertainment Facilitation Limited engage in?
CREATE TABLE table_1756264_2 ( description_of_activities VARCHAR, company_name VARCHAR )
SELECT description_of_activities FROM table_1756264_2 WHERE company_name = "CLEAR CHANNEL ENTERTAINMENT FACILITATION LIMITED"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4834, 26755, 834, 357, 41, 4210, 834, 858, 834, 8463, 2197, 584, 4280, 28027, 6, 349, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1087, 405,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4210, 834, 858, 834, 8463, 2197, 21680, 953, 834, 2517, 4834, 26755, 834, 357, 549, 17444, 427, 349, 834, 4350, 3274, 96, 22704, 4280, 3, 25000, 4171, 434, 3, 6431, 24203, 13570, 11810, 377, 5173, 3502, 3177, 8015, 31...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the sum of code , and group by attribute headquarter, order by the y-axis from high to low.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Headquarter, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Headquarter ORDER BY T1.Code DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 3845, 9, 26, 19973, 6, 332, 5411, 22737, 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,...
Return ids of all the products that are supplied by supplier id 2 and are more expensive than the average price of all products.
CREATE TABLE product_suppliers ( product_id VARCHAR, supplier_id VARCHAR ) CREATE TABLE products ( product_id VARCHAR, product_price INTEGER )
SELECT T1.product_id FROM product_suppliers AS T1 JOIN products AS T2 ON T1.product_id = T2.product_id WHERE T1.supplier_id = 2 AND T2.product_price > (SELECT AVG(product_price) FROM products)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 556, 834, 15956, 4518, 41, 556, 834, 23, 26, 584, 4280, 28027, 6, 8106, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 556, 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, 15892, 834, 23, 26, 21680, 556, 834, 15956, 4518, 6157, 332, 536, 3, 15355, 3162, 494, 6157, 332, 357, 9191, 332, 5411, 15892, 834, 23, 26, 3274, 332, 4416, 15892, 834, 23, 26, 549, 17444, 427, 332, 5411,...