NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Name the sum of Laps for lance reventlow with grid more than 16
CREATE TABLE table_name_56 (laps INTEGER, driver VARCHAR, grid VARCHAR)
SELECT SUM(laps) FROM table_name_56 WHERE driver = "lance reventlow" AND grid > 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 8478, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4505, 13, 325, 102, 7, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2535, 3274, 96, 40, 663, 3, 60, 2169, 3216, 121, 3430, 8634, 2490, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names and main services for train stations that have the top three total number of passengers.
CREATE TABLE station ( name VARCHAR, main_services VARCHAR, total_passengers VARCHAR )
SELECT name, main_services FROM station ORDER BY total_passengers DESC LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 564, 584, 4280, 28027, 6, 711, 834, 5114, 7, 584, 4280, 28027, 6, 792, 834, 3968, 4606, 277, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 3056, 11, 711,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 6, 711, 834, 5114, 7, 21680, 2478, 4674, 11300, 272, 476, 792, 834, 3968, 4606, 277, 309, 25067, 8729, 12604, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When the Points 1 were 44 and the Goals For were larger than 65, what was the total number of Goals Against?
CREATE TABLE table_name_14 (goals_against VARCHAR, points_1 VARCHAR, goals_for VARCHAR)
SELECT COUNT(goals_against) FROM table_name_14 WHERE points_1 = 44 AND goals_for > 65
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 839, 5405, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 979, 834, 536, 584, 4280, 28027, 6, 1766, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 839, 5405, 834, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 979, 834, 536, 3274, 8537, 3430, 1766, 834, 1161, 2490, 7123, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Show all artist names and ages in a histogram.
CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int )
SELECT Name, Age FROM artist
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 41, 22371, 834, 4309, 16, 17, 6, 2929, 16, 17, 6, 37, 526, 1499, 6, 9152, 834, 4309, 16, 17, 6, 3, 15569, 834, 345, 4920, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 7526, 21680, 2377, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what are all the playoffs for u.s. open cup in 1st round
CREATE TABLE table_1046170_5 (playoffs VARCHAR, us_open_cup VARCHAR)
SELECT playoffs FROM table_1046170_5 WHERE us_open_cup = "1st Round"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15442, 4241, 2518, 834, 755, 41, 4895, 1647, 7, 584, 4280, 28027, 6, 178, 834, 8751, 834, 4658, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 66, 8, 15289, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15289, 7, 21680, 953, 834, 15442, 4241, 2518, 834, 755, 549, 17444, 427, 178, 834, 8751, 834, 4658, 3274, 96, 536, 7, 17, 9609, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the name of the single that was not released before 2012 ?
CREATE TABLE table_203_696 ( id number, "year" number, "single" text, "charts\nfr" number, "charts\nbel\nwa" number, "charts\nswi" number, "certification" number, "album" text )
SELECT "single" FROM table_203_696 WHERE "year" >= 2012
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3951, 948, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 7, 53, 109, 121, 1499, 6, 96, 4059, 17, 7, 2, 29, 89, 52, 121, 381, 6, 96, 4059, 17, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7, 53, 109, 121, 21680, 953, 834, 23330, 834, 3951, 948, 549, 17444, 427, 96, 1201, 121, 2490, 2423, 1673, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the title of series number 56?
CREATE TABLE table_2468961_4 (title VARCHAR, no_in_series VARCHAR)
SELECT title FROM table_2468961_4 WHERE no_in_series = 56
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3651, 4314, 536, 834, 591, 41, 21869, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2233, 13, 939...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 2266, 3651, 4314, 536, 834, 591, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 11526, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Venue has a Opponents of halmstad and a Score of 1-1?
CREATE TABLE table_44799 ( "Date" text, "Venue" text, "Opponents" text, "Score" text, "Comp" text, "Attendance" text )
SELECT "Venue" FROM table_44799 WHERE "Opponents" = 'halmstad' AND "Score" = '1-1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4177, 3264, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 667, 102, 9977, 7, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 5890, 102, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 553, 35, 76, 15, 121, 21680, 953, 834, 591, 4177, 3264, 549, 17444, 427, 96, 667, 102, 9977, 7, 121, 3274, 3, 31, 3828, 51, 2427, 26, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 536, 2292, 31, 1, -100, -100...
What was the attendence of the game on 26 April 1948 and an away team of Hawthorn?
CREATE TABLE table_53093 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Crowd" FROM table_53093 WHERE "Date" = '26 april 1948' AND "Away team" = 'hawthorn'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26918, 4271, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 3623, 26, 121, 21680, 953, 834, 26918, 4271, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2688, 3, 9, 2246, 40, 21474, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 1024, 210, 17, 6293, 31, 1, -...
Which province is Luogang International Airport located in?
CREATE TABLE table_name_63 ( province VARCHAR, airport VARCHAR )
SELECT province FROM table_name_63 WHERE airport = "luogang international airport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 7985, 584, 4280, 28027, 6, 3761, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 7985, 19, 2318, 32, 3810, 1331, 5735, 1069, 16, 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, 7985, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 3761, 3274, 96, 40, 76, 32, 3810, 1038, 3761, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the total of attendance with a Record of 5-9-0?
CREATE TABLE table_name_69 ( attendance INTEGER, record VARCHAR )
SELECT SUM(attendance) FROM table_name_69 WHERE record = "5-9-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 11364, 3, 21342, 17966, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 13, 11364, 28, 3, 9, 11392, 13, 305, 7141, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1368, 3274, 96, 755, 7141, 18, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the launch site of the delta iv rocket with an unknown date and a gps iif-10 satellite?
CREATE TABLE table_name_86 (launch_site VARCHAR, satellite VARCHAR, date VARCHAR, rocket VARCHAR)
SELECT launch_site FROM table_name_86 WHERE date = "unknown" AND rocket = "delta iv" AND satellite = "gps iif-10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 27493, 834, 3585, 584, 4280, 28027, 6, 7605, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 15721, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 3289, 834, 3585, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 833, 3274, 96, 202, 5661, 121, 3430, 15721, 3274, 96, 24876, 9, 3, 23, 208, 121, 3430, 7605, 3274, 96, 122, 102, 7, 3, 23, 99, 4536, 121, 1, -1...
What was his result against dan bobish?
CREATE TABLE table_name_80 ( res VARCHAR, opponent VARCHAR )
SELECT res FROM table_name_80 WHERE opponent = "dan bobish"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 3, 60, 7, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 112, 741, 581, 3, 3768, 3, 17396, 1273, 58, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 60, 7, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 15264, 3274, 96, 3768, 3, 17396, 1273, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which tyre was before 1995 with 142 laps?
CREATE TABLE table_53839 ( "Year" real, "Class" text, "Tyres" text, "Team" text, "Co-Drivers" text, "Laps" real, "Pos." text, "Class Pos." text )
SELECT "Tyres" FROM table_53839 WHERE "Year" < '1995' AND "Laps" = '142'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3747, 3288, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 382, 63, 60, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3881, 18, 20982, 52, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 63, 60, 7, 121, 21680, 953, 834, 755, 3747, 3288, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 3301, 31, 3430, 96, 3612, 102, 7, 121, 3274, 3, 31, 24978, 31, 1, -100, -100, -100, -100, -100...
Who is the second on the North America team for which Cathy Overton-Clapham the third?
CREATE TABLE table_name_10 (second VARCHAR, team VARCHAR, third VARCHAR)
SELECT second FROM table_name_10 WHERE team = "north america" AND third = "cathy overton-clapham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 12091, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 511, 30, 8, 1117, 1371, 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, 511, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 372, 3274, 96, 29, 127, 189, 3, 23064, 121, 3430, 1025, 3274, 96, 658, 189, 63, 147, 17, 106, 18, 4651, 102, 1483, 121, 1, -100, -100, -100, -100, -100, -100...
If the stadium name is the Thuwunna Stadium, what is the date?
CREATE TABLE table_27661 ( "Date" text, "Tournament" text, "Location" text, "Opponent" text, "Stadium" text, "Score" text, "Indian Scorers" text )
SELECT "Date" FROM table_27661 WHERE "Stadium" = 'Thuwunna Stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3539, 536, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2555, 3539, 536, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 8991, 76, 210, 202, 29, 9, 12750, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Tell me the format for worldwide region july 22, 2008
CREATE TABLE table_name_67 ( format VARCHAR, region VARCHAR, date VARCHAR )
SELECT format FROM table_name_67 WHERE region = "worldwide" AND date = "july 22, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 1910, 584, 4280, 28027, 6, 1719, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1910, 21, 4388, 1719, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1910, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1719, 3274, 96, 7276, 6728, 121, 3430, 833, 3274, 96, 2047, 120, 12889, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients whose gender is m and age is less than 43?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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.gender = "M" AND demographic.age < "43"
[ 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, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 545, 3, 2, 96, 4906, 121, 1, -100, -100, -100, ...
What is the title of the episode/s written by Michael Gans & Richard Register?
CREATE TABLE table_23399481_4 ( title VARCHAR, written_by VARCHAR )
SELECT title FROM table_23399481_4 WHERE written_by = "Michael Gans & Richard Register"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 3264, 3707, 536, 834, 591, 41, 2233, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2233, 21680, 953, 834, 20879, 3264, 3707, 536, 834, 591, 549, 17444, 427, 1545, 834, 969, 3274, 96, 329, 362, 9, 15, 40, 17980, 7, 3, 184, 4117, 12306, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average total medals of the team with 2 gold and less than 1 silver?
CREATE TABLE table_name_93 (total INTEGER, gold VARCHAR, silver VARCHAR)
SELECT AVG(total) FROM table_name_93 WHERE gold = 2 AND silver < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 235, 1947, 3, 21342, 17966, 6, 2045, 584, 4280, 28027, 6, 4294, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 792, 9365, 7, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2045, 3274, 204, 3430, 4294, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is patient 027-144847's gender?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '027-144847'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 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, 3, 15438, 25424, 6227, 1868, 5, 122, 3868, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2555, 11590, 3707, 4177, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the unanimous result of the player from Michigan Dartmouth?
CREATE TABLE table_name_78 (unanimous VARCHAR, school VARCHAR)
SELECT unanimous FROM table_name_78 WHERE school = "michigan dartmouth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 202, 13607, 1162, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 25141, 741, 13, 8, 1959, 45, 5847, 1920, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25141, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 496, 3274, 96, 51, 362, 12588, 649, 17, 11975, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which class has fewer than 89 points and the Honda team later than 1987?
CREATE TABLE table_name_48 (class VARCHAR, year VARCHAR, points VARCHAR, team VARCHAR)
SELECT class FROM table_name_48 WHERE points < 89 AND team = "honda" AND year > 1987
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 4057, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 853, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 853, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 979, 3, 2, 3, 3914, 3430, 372, 3274, 96, 31782, 121, 3430, 215, 2490, 12701, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the outcome with marina erakovic as opponent?
CREATE TABLE table_name_37 (outcome VARCHAR, opponent VARCHAR)
SELECT outcome FROM table_name_37 WHERE opponent = "marina erakovic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 670, 287, 15, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6138, 28, 16584, 3, 49, 1639, 13388, 38, 152...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6138, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 15264, 3274, 96, 12181, 9, 3, 49, 1639, 13388, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Studio has a Director of oliver stone?
CREATE TABLE table_name_97 (studio VARCHAR, director VARCHAR)
SELECT studio FROM table_name_97 WHERE director = "oliver stone"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 22991, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5929, 65, 3, 9, 2578, 13, 7994, 52, 3372, 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, 3100, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 2090, 3274, 96, 4172, 624, 3372, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the laid down date of Kaki?
CREATE TABLE table_69904 ( "Kanji" text, "Name" text, "Builder" text, "Laid down" text, "Launched" text, "Completed" text )
SELECT "Laid down" FROM table_69904 WHERE "Name" = 'kaki'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 2394, 591, 41, 96, 439, 9, 21391, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 434, 6146, 323, 121, 1499, 6, 96, 3612, 202, 4513, 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, 434, 6146, 323, 121, 21680, 953, 834, 3951, 2394, 591, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 157, 11259, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
December smaller than 14, and a Game smaller than 28, and a Score of 6 - 6 involved what opponent?
CREATE TABLE table_33841 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text )
SELECT "Opponent" FROM table_33841 WHERE "December" < '14' AND "Game" < '28' AND "Score" = '6 - 6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3747, 4853, 41, 96, 23055, 121, 490, 6, 96, 29835, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 519, 3747, 4853, 549, 17444, 427, 96, 29835, 121, 3, 2, 3, 31, 2534, 31, 3430, 96, 23055, 121, 3, 2, 3, 31, 2577, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 948, 3, ...
What director grossed $200,512,643
CREATE TABLE table_name_96 (director VARCHAR, gross VARCHAR)
SELECT director FROM table_name_96 WHERE gross = "$200,512,643"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 25982, 584, 4280, 28027, 6, 8690, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2090, 16917, 26, 19503, 6, 24163, 6, 4389, 519, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 8690, 3274, 96, 3229, 3632, 6, 24163, 6, 4389, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the date enacted for N.S. of 10 and normal total of 104
CREATE TABLE table_70943 ( "Date enacted" text, "Normal total" text, "\u00a726 total" text, "Ont." text, "Que." text, "N.S." text, "N.B." text )
SELECT "Date enacted" FROM table_70943 WHERE "N.S." = '10' AND "Normal total" = '104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 4240, 519, 41, 96, 308, 342, 3, 35, 9925, 121, 1499, 6, 96, 19383, 138, 792, 121, 1499, 6, 96, 2, 76, 1206, 9, 940, 2688, 792, 121, 1499, 6, 96, 7638, 17, 535, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 35, 9925, 121, 21680, 953, 834, 2518, 4240, 519, 549, 17444, 427, 96, 567, 5, 134, 535, 3274, 3, 31, 1714, 31, 3430, 96, 19383, 138, 792, 121, 3274, 3, 31, 15442, 31, 1, -100, -100, -100, -100, ...
how many patients below 71 years of age are diagnosed with procedures as the cause of abnormal reaction of patient, or of later complication, without mention of misadventure at time of procedure?
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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.age < "71" AND diagnoses.long_title = "Other specified procedures as the cause of abnormal reaction of patient, or of later complication, without mention of misadventure at time of procedure"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which Constellation has a NGC number smaller than 2775, and a Declination (J2000) of 05 07 ?
CREATE TABLE table_52289 ( "NGC number" real, "Object type" text, "Constellation" text, "Right ascension ( J2000 )" text, "Declination ( J2000 )" text )
SELECT "Constellation" FROM table_52289 WHERE "NGC number" < '2775' AND "Declination ( J2000 )" = '°05′07″'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 357, 3914, 41, 96, 12531, 254, 381, 121, 490, 6, 96, 17057, 686, 121, 1499, 6, 96, 4302, 7, 6714, 257, 121, 1499, 6, 96, 448, 2632, 38, 75, 35, 1938, 41, 446, 135...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 7, 6714, 257, 121, 21680, 953, 834, 5373, 357, 3914, 549, 17444, 427, 96, 12531, 254, 381, 121, 3, 2, 3, 31, 2555, 3072, 31, 3430, 96, 2962, 11005, 257, 41, 446, 13527, 3, 61, 121, 3274, 3, 31, 1956, ...
what is the meaning of the latin day name "dies saturni"?
CREATE TABLE table_2624098_1 (latin_day_name_meaning VARCHAR, glossed_from_latin_day_name VARCHAR)
SELECT latin_day_name_meaning FROM table_2624098_1 WHERE glossed_from_latin_day_name = "Dies Saturni"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 11944, 3916, 834, 536, 41, 14098, 834, 1135, 834, 4350, 834, 27639, 584, 4280, 28027, 6, 20666, 15, 26, 834, 7152, 834, 14098, 834, 1135, 834, 4350, 584, 4280, 28027, 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, 3, 14098, 834, 1135, 834, 4350, 834, 27639, 21680, 953, 834, 2688, 11944, 3916, 834, 536, 549, 17444, 427, 20666, 15, 26, 834, 7152, 834, 14098, 834, 1135, 834, 4350, 3274, 96, 8639, 7, 24037, 23, 121, 1, -100, -100...
How many documents in different starting date? Return a line chart binning starting date by year interval, order in descending by the Date_in_Location_From please.
CREATE TABLE Ref_Document_Types ( Document_Type_Code CHAR(15), Document_Type_Name VARCHAR(255), Document_Type_Description VARCHAR(255) ) CREATE TABLE Ref_Locations ( Location_Code CHAR(15), Location_Name VARCHAR(255), Location_Description VARCHAR(255) ) CREATE TABLE Document_Locations ( Document_ID INTEGER, Location_Code CHAR(15), Date_in_Location_From DATETIME, Date_in_Locaton_To DATETIME ) CREATE TABLE All_Documents ( Document_ID INTEGER, Date_Stored DATETIME, Document_Type_Code CHAR(15), Document_Name CHAR(255), Document_Description CHAR(255), Other_Details VARCHAR(255) ) CREATE TABLE Documents_to_be_Destroyed ( Document_ID INTEGER, Destruction_Authorised_by_Employee_ID INTEGER, Destroyed_by_Employee_ID INTEGER, Planned_Destruction_Date DATETIME, Actual_Destruction_Date DATETIME, Other_Details VARCHAR(255) ) CREATE TABLE Ref_Calendar ( Calendar_Date DATETIME, Day_Number INTEGER ) CREATE TABLE Roles ( Role_Code CHAR(15), Role_Name VARCHAR(255), Role_Description VARCHAR(255) ) CREATE TABLE Employees ( Employee_ID INTEGER, Role_Code CHAR(15), Employee_Name VARCHAR(255), Gender_MFU CHAR(1), Date_of_Birth DATETIME, Other_Details VARCHAR(255) )
SELECT Date_in_Location_From, COUNT(Date_in_Location_From) FROM Document_Locations ORDER BY Date_in_Location_From DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 4135, 1071, 297, 834, 25160, 7, 41, 11167, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 201, 11167, 834, 25160, 834, 23954, 584, 4280, 28027, 599, 25502, 201, 11167, 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, 7678, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 6, 2847, 17161, 599, 308, 342, 834, 77, 834, 434, 32, 75, 257, 834, 22674, 61, 21680, 11167, 834, 434, 32, 75, 1628, 4674, 11300, 272, 476, 7678, 834, 77, 834, 4...
What is the score during the 2006-2007 year?
CREATE TABLE table_name_81 (score VARCHAR, year VARCHAR)
SELECT score FROM table_name_81 WHERE year = "2006-2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 7, 9022, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 383, 8, 3581, 18, 20615, 215, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 215, 3274, 96, 21196, 18, 20615, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the nationality of a player from link pings hc (se)?
CREATE TABLE table_name_52 ( nationality VARCHAR, club_team VARCHAR )
SELECT nationality FROM table_name_52 WHERE club_team = "linköpings hc (se)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 1157, 485, 584, 4280, 28027, 6, 1886, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1157, 485, 13, 3, 9, 1959, 45, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1157, 485, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 1886, 834, 11650, 3274, 96, 4907, 1872, 2462, 7, 3, 107, 75, 41, 7, 15, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which HPFS has a no for ReFS?
CREATE TABLE table_name_51 ( hpfs VARCHAR, refs VARCHAR )
SELECT hpfs FROM table_name_51 WHERE refs = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 3, 107, 102, 89, 7, 584, 4280, 28027, 6, 6273, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5481, 7674, 65, 3, 9, 150, 21, 419, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 107, 102, 89, 7, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 6273, 7, 3274, 96, 29, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the venue was lake oval what did the home team score?
CREATE TABLE table_77774 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_77774 WHERE "Venue" = 'lake oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26225, 4581, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 26225, 4581, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 16948, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which season has the Celtic club?
CREATE TABLE table_name_53 ( season VARCHAR, club VARCHAR )
SELECT season FROM table_name_53 WHERE club = "celtic"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 774, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 65, 8, 21748, 1886, 58, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 774, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1886, 3274, 96, 7125, 1225, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the winning pilot for hungary
CREATE TABLE table_20036882_2 (winning_pilot VARCHAR, country VARCHAR)
SELECT winning_pilot FROM table_20036882_2 WHERE country = "Hungary"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23948, 3651, 4613, 834, 357, 41, 8163, 834, 24650, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3447, 4487, 21, 3, 6668, 1208, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 24650, 21680, 953, 834, 23948, 3651, 4613, 834, 357, 549, 17444, 427, 684, 3274, 96, 566, 425, 1208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the first names of all professors in the Accounting department who is teaching some course and the class room.
CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE employee ( emp_num number, emp_lname text, emp_fname text, emp_initial text, emp_jobcode text, emp_hiredate time, emp_dob time ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE course ( crs_code text, dept_code text, crs_description text, crs_credit number ) CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code text, stu_phone text, prof_num number ) CREATE TABLE enroll ( class_code text, stu_num number, enroll_grade text ) CREATE TABLE class ( class_code text, crs_code text, class_section text, class_time text, class_room text, prof_num number )
SELECT T2.emp_fname, T1.class_room FROM class AS T1 JOIN employee AS T2 ON T1.prof_num = T2.emp_num JOIN professor AS T3 ON T2.emp_num = T3.emp_num JOIN department AS T4 ON T4.dept_code = T3.dept_code WHERE T4.dept_name = 'Accounting'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 8943, 834, 5525, 381, 6, 20, 102, 17, 834, 4978, 1499, 6, 7108, 834, 19632, 1499, 6, 7108, 834, 994, 13177, 1499, 6, 7108, 834, 6739, 834, 19706, 1499, 3, 61, 3, 32102, 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, 332, 4416, 15, 1167, 834, 89, 4350, 6, 332, 5411, 4057, 834, 3082, 21680, 853, 6157, 332, 536, 3, 15355, 3162, 3490, 6157, 332, 357, 9191, 332, 5411, 1409, 89, 834, 5525, 3274, 332, 4416, 15, 1167, 834, 5525, 3, 1...
What is the name of the home team that played an away team who scored 13.11 (89)?
CREATE TABLE table_54553 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team" FROM table_54553 WHERE "Away team score" = '13.11 (89)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2128, 4867, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 121, 21680, 953, 834, 755, 2128, 4867, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 2368, 5, 2596, 41, 3914, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHAT IS THE CITY WITH THIRD AS LORI OLSON-JOHNS?
CREATE TABLE table_name_6 ( city VARCHAR, third VARCHAR )
SELECT city FROM table_name_6 WHERE third = "lori olson-johns"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 690, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 205, 15296, 11951, 332, 7094, 10255, 6157, 301, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1025, 3274, 96, 322, 23, 3, 32, 40, 739, 18, 27341, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the player when the college/junior/club team is new westminster bruins (whl)?
CREATE TABLE table_2850912_7 ( player VARCHAR, college_junior_club_team VARCHAR )
SELECT player FROM table_2850912_7 WHERE college_junior_club_team = "New Westminster Bruins (WHL)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 1752, 4729, 357, 834, 940, 41, 1959, 584, 4280, 28027, 6, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 2577, 1752, 4729, 357, 834, 940, 549, 17444, 427, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 3274, 96, 6861, 25804, 272, 23162, 41, 15313, 434, 61, 121, 1, -100, -100, -100, -100, -100, ...
How many cards does customer Art Turcotte have?
CREATE TABLE customers_cards ( card_id number, customer_id number, card_type_code text, card_number text, date_valid_from time, date_valid_to time, other_card_details text ) CREATE TABLE customers ( customer_id number, customer_first_name text, customer_last_name text, customer_address text, customer_phone text, customer_email text, other_customer_details text ) CREATE TABLE accounts ( account_id number, customer_id number, account_name text, other_account_details text ) CREATE TABLE financial_transactions ( transaction_id number, previous_transaction_id number, account_id number, card_id number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text )
SELECT COUNT(*) FROM customers_cards AS T1 JOIN customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = "Art" AND T2.customer_last_name = "Turcotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 834, 6043, 7, 41, 895, 834, 23, 26, 381, 6, 884, 834, 23, 26, 381, 6, 895, 834, 6137, 834, 4978, 1499, 6, 895, 834, 5525, 1152, 1499, 6, 833, 834, 27769, 834, 7152, 97, 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, 2847, 17161, 599, 1935, 61, 21680, 722, 834, 6043, 7, 6157, 332, 536, 3, 15355, 3162, 722, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 23, 26, 3274, 332, 4416, 25697, 49, 834, 23, 26, 549, 17444, 427, 332, 44...
What are the episode numbers where the episode features Jack & Locke?
CREATE TABLE table_11562149_1 ( no_in_series VARCHAR, featured_character_s_ VARCHAR )
SELECT no_in_series FROM table_11562149_1 WHERE featured_character_s_ = "Jack & Locke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 4056, 24816, 834, 536, 41, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 6, 4510, 834, 31886, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 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, 150, 834, 77, 834, 10833, 7, 21680, 953, 834, 15660, 4056, 24816, 834, 536, 549, 17444, 427, 4510, 834, 31886, 834, 7, 834, 3274, 96, 683, 4365, 3, 184, 10039, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of married patients who have awaiting organ transplant status diagnoses?
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 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.marital_status = "MARRIED" AND diagnoses.long_title = "Awaiting organ transplant status"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Name the heat rank for senegal
CREATE TABLE table_name_22 (heat_rank VARCHAR, country VARCHAR)
SELECT heat_rank FROM table_name_22 WHERE country = "senegal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 88, 144, 834, 6254, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1678, 11003, 21, 3, 7, 35, 15, 6191, 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, 1678, 834, 6254, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 684, 3274, 96, 7, 35, 15, 6191, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What to par is located in the united states and has the player by the name of hale irwin?
CREATE TABLE table_name_87 (to_par VARCHAR, country VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_87 WHERE country = "united states" AND player = "hale irwin"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 235, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 12, 260, 19, 1069, 16, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 3828, 15, 3, 23, 52, 3757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the maximum fc matches at the racecourse?
CREATE TABLE table_1176371_1 (fc_matches INTEGER, name_of_ground VARCHAR)
SELECT MAX(fc_matches) FROM table_1176371_1 WHERE name_of_ground = "The Racecourse"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20275, 3891, 4450, 834, 536, 41, 89, 75, 834, 19515, 15, 7, 3, 21342, 17966, 6, 564, 834, 858, 834, 9232, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 89, 75, 834, 19515, 15, 7, 61, 21680, 953, 834, 20275, 3891, 4450, 834, 536, 549, 17444, 427, 564, 834, 858, 834, 9232, 3274, 96, 634, 10949, 19221, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the location attendance of the game with a 27-22 record?
CREATE TABLE table_name_27 ( location_attendance VARCHAR, record VARCHAR )
SELECT location_attendance FROM table_name_27 WHERE record = "27-22"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 1128, 834, 15116, 663, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1128, 11364, 13, 8, 467, 28, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1368, 3274, 96, 2555, 16149, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT WERE ALL OF THE RESULTS WHEN THEY PLAYED AGAINST LITHUANIA AND THE SURFACE WAS MADE OF CLAY?
CREATE TABLE table_21035 ( "Edition" text, "Round" text, "Date" text, "Against" text, "Surface" text, "Opponent" text, "W/L" text, "Result" text )
SELECT "Result" FROM table_21035 WHERE "Surface" = 'Clay' AND "Against" = 'Lithuania'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 2469, 41, 96, 427, 10569, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20749, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 15239, 2469, 549, 17444, 427, 96, 134, 450, 4861, 121, 3274, 3, 31, 254, 5595, 31, 3430, 96, 20749, 121, 3274, 3, 31, 434, 23, 189, 76, 11219, 31, 1, -100, -100, -100, -100, -100, ...
What is the Root of All Evil with an Original air date that is september 3, 2008?
CREATE TABLE table_name_33 ( root_of_all_evil VARCHAR, original_air_date VARCHAR )
SELECT root_of_all_evil FROM table_name_33 WHERE original_air_date = "september 3, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 5465, 834, 858, 834, 1748, 834, 15, 6372, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 5465, 834, 858, 834, 1748, 834, 15, 6372, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 7, 6707, 18247, 6180, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many counties have a population of 2266?
CREATE TABLE table_22815568_3 ( county VARCHAR, population VARCHAR )
SELECT COUNT(county) FROM table_22815568_3 WHERE population = 2266
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 20896, 3651, 834, 519, 41, 5435, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16227, 43, 3, 9, 2074, 13, 1630, 35...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 13362, 63, 61, 21680, 953, 834, 357, 2577, 20896, 3651, 834, 519, 549, 17444, 427, 2074, 3274, 1630, 3539, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What septembers are 17.1 in December?
CREATE TABLE table_1381 ( "Year" real, "January" text, "February" text, "March" text, "April" text, "May" text, "June" text, "July" text, "August" text, "September" text, "October" text, "November" text, "December" text, "Annual Additions(in millions)" text, "Average Monthly Additions(in millions)" text )
SELECT "December" FROM table_1381 WHERE "September" = '17.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4959, 41, 96, 476, 2741, 121, 490, 6, 96, 30404, 121, 1499, 6, 96, 31122, 121, 1499, 6, 96, 25019, 121, 1499, 6, 96, 23323, 121, 1499, 6, 96, 15881, 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, 29835, 121, 21680, 953, 834, 2368, 4959, 549, 17444, 427, 96, 27652, 121, 3274, 3, 31, 536, 25059, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the highest Pick # for the College of Simon Fraser?
CREATE TABLE table_name_14 (pick__number INTEGER, college VARCHAR)
SELECT MAX(pick__number) FROM table_name_14 WHERE college = "simon fraser"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 17967, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1900, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 8356, 1713, 21, 8, 1888, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 1900, 3274, 96, 28348, 29, 8072, 7, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Please show the employee last names that serves no more than 20 customers.
CREATE TABLE EMPLOYEE ( EmployeeId VARCHAR ) CREATE TABLE CUSTOMER ( LastName VARCHAR, SupportRepId VARCHAR )
SELECT T1.LastName FROM CUSTOMER AS T1 JOIN EMPLOYEE AS T2 ON T1.SupportRepId = T2.EmployeeId GROUP BY T1.SupportRepId HAVING COUNT(*) <= 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 262, 5244, 5017, 476, 5080, 41, 15871, 196, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 205, 16847, 667, 13098, 41, 2506, 23954, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 3612, 7, 17, 23954, 21680, 205, 16847, 667, 13098, 6157, 332, 536, 3, 15355, 3162, 262, 5244, 5017, 476, 5080, 6157, 332, 357, 9191, 332, 5411, 134, 413, 1493, 1649, 102, 196, 26, 3274, 332, 4416, 427, 51...
what is the location when the champion is brigham young-hawaii, defeated is western oregon and the score is 3-0 (15-5, 15-9, 15-6)?
CREATE TABLE table_68267 ( "Year" real, "Champion" text, "Score" text, "Defeated" text, "Location" text )
SELECT "Location" FROM table_68267 WHERE "Champion" = 'brigham young-hawaii' AND "Defeated" = 'western oregon' AND "Score" = '3-0 (15-5, 15-9, 15-6)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 357, 3708, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 16196, 15, 920, 121, 1499, 6, 96, 434, 32, 75, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 3651, 357, 3708, 549, 17444, 427, 96, 254, 1483, 12364, 121, 3274, 3, 31, 2160, 122, 1483, 1021, 18, 107, 7396, 23, 23, 31, 3430, 96, 16196, 15, 920, 121, 3274, 3, 31,...
How many acres burned in 2000s and 1990s?
CREATE TABLE fires ( fire_year number, discovery_date number, discovery_doy number, discovery_time text, stat_cause_code number, stat_cause_descr text, cont_date text, cont_doy text, cont_time text, fire_size number, fire_size_class text, latitude number, longitude number, owner_code number, owner_descr text, state text, county text, fips_code text, fips_name text )
SELECT SUM(fire_size) FROM fires WHERE state = "TX" AND fire_year BETWEEN 2000 AND 2010 UNION SELECT SUM(fire_size) FROM fires WHERE state = "TX" AND fire_year BETWEEN 1990 AND 2000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1472, 7, 41, 1472, 834, 1201, 381, 6, 9087, 834, 5522, 381, 6, 9087, 834, 26, 32, 63, 381, 6, 9087, 834, 715, 1499, 6, 3089, 834, 658, 1074, 834, 4978, 381, 6, 3089, 834, 658, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6608, 834, 7991, 61, 21680, 1472, 7, 549, 17444, 427, 538, 3274, 96, 382, 4, 121, 3430, 1472, 834, 1201, 272, 7969, 518, 23394, 2766, 3430, 2735, 4417, 9215, 3, 23143, 14196, 180, 6122, 599, 6608, 83...
What was the production number of the episode filmed in aug/sept 1968?
CREATE TABLE table_23176 ( "Episode #" real, "Prod #" real, "Title" text, "Directed by" text, "Written by" text, "Originalairdate" text, "Filmed" text )
SELECT "Prod #" FROM table_23176 WHERE "Filmed" = 'Aug/Sept 1968'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 26782, 41, 96, 427, 102, 159, 32, 221, 1713, 121, 490, 6, 96, 3174, 26, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 3174, 26, 1713, 121, 21680, 953, 834, 2773, 26782, 549, 17444, 427, 96, 371, 173, 2726, 121, 3274, 3, 31, 188, 76, 122, 87, 134, 6707, 16506, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose diagnoses long title is unspecified fall and drug name is sodium chloride nasal?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) 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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.long_title = "Unspecified fall" AND prescriptions.drug = "Sodium Chloride Nasal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Find the number of voting records in total.
CREATE TABLE VOTING_RECORD (Id VARCHAR)
SELECT COUNT(*) FROM VOTING_RECORD
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8040, 21089, 834, 20921, 18400, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 381, 13, 10601, 3187, 16, 792, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 3, 8040, 21089, 834, 20921, 18400, 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, -1...
What is the highest number of laps for Darren Manning?
CREATE TABLE table_17319931_1 (laps INTEGER, driver VARCHAR)
SELECT MAX(laps) FROM table_17319931_1 WHERE driver = "Darren Manning"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3341, 3264, 3341, 834, 536, 41, 8478, 7, 3, 21342, 17966, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 14941, 7, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 2517, 3341, 3264, 3341, 834, 536, 549, 17444, 427, 2535, 3274, 96, 29367, 6362, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What gender is allowed at the school which has a roll of 338?
CREATE TABLE table_14943 ( "Name" text, "Years" text, "Gender" text, "Area" text, "Authority" text, "Decile" real, "Roll" real )
SELECT "Gender" FROM table_14943 WHERE "Roll" = '338'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4906, 41, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 517, 3868, 121, 1499, 6, 96, 188, 864, 121, 1499, 6, 96, 23602, 127, 485, 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, 517, 3868, 121, 21680, 953, 834, 24816, 4906, 549, 17444, 427, 96, 29807, 121, 3274, 3, 31, 519, 3747, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What candidates were in the election when james patrick sutton was incumbent?
CREATE TABLE table_751 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_751 WHERE "Incumbent" = 'James Patrick Sutton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 536, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 3072, 536, 549, 17444, 427, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 683, 9, 2687, 8643, 180, 12499, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
With a Morse Taper number less than 3 and a C (max) of 59.5 what is the total of D (max)?
CREATE TABLE table_name_59 ( d__max_ VARCHAR, morse_taper_number VARCHAR, c__max_ VARCHAR )
SELECT COUNT(d__max_) FROM table_name_59 WHERE morse_taper_number < 3 AND c__max_ = 59.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3, 26, 834, 834, 9128, 834, 584, 4280, 28027, 6, 8030, 7, 15, 834, 8873, 49, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 75, 834, 834, 9128, 834, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 26, 834, 834, 9128, 834, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 8030, 7, 15, 834, 8873, 49, 834, 5525, 1152, 3, 2, 220, 3430, 3, 75, 834, 834, 9128, 834, 3274, 305, 22321, 1, -1...
Who is the opponent with a time of 1:19?
CREATE TABLE table_61354 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Time" text, "Location" text )
SELECT "Opponent" FROM table_61354 WHERE "Time" = '1:19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 2469, 591, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 427, 2169, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 4241, 2469, 591, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 536, 10, 2294, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is Player, when Figures is source: . last updated: 28 june 2007.?
CREATE TABLE table_name_52 (player VARCHAR, figures VARCHAR)
SELECT player FROM table_name_52 WHERE figures = "source: . last updated: 28 june 2007."
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 20846, 584, 4280, 28027, 6, 5638, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12387, 6, 116, 7996, 7, 19, 1391, 10, 3, 5, 336, 3250, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 5638, 3274, 96, 7928, 10, 3, 5, 336, 3250, 10, 2059, 3, 6959, 15, 12598, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the manner of leaving the team for the manager of Gostaresh Foolad?
CREATE TABLE table_22297140_3 ( manner_of_departure VARCHAR, team VARCHAR )
SELECT manner_of_departure FROM table_22297140_3 WHERE team = "Gostaresh Foolad"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 4327, 22012, 834, 519, 41, 3107, 834, 858, 834, 221, 2274, 1462, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3107, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 3107, 834, 858, 834, 221, 2274, 1462, 21680, 953, 834, 26144, 4327, 22012, 834, 519, 549, 17444, 427, 372, 3274, 96, 6221, 3624, 15, 7, 107, 31593, 9, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those employees who was hired before 2002-06-21, draw a line chart about the change of salary over hire_date , sort x axis in asc order.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE 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) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, SALARY FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, 6048, 1, -100, -100, ...
Which country is Kaiga-4 built in?
CREATE TABLE nuclear_power_plants ( id text, name text, latitude text, longitude text, country text, status text, reactortype text, reactormodel text, constructionstartat text, operationalfrom text, operationalto text, capacity text, lastupdatedat text, source text )
SELECT country FROM nuclear_power_plants WHERE name = "Kaiga-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6414, 834, 6740, 834, 14925, 7, 41, 3, 23, 26, 1499, 6, 564, 1499, 6, 50, 6592, 1499, 6, 307, 20341, 1499, 6, 684, 1499, 6, 2637, 1499, 6, 24715, 6137, 1499, 6, 24715, 21770, 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, 684, 21680, 6414, 834, 6740, 834, 14925, 7, 549, 17444, 427, 564, 3274, 96, 439, 9, 12581, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the Sat 21 Aug time for the rider whose Tues 24 Aug time was 20' 38.40 109.680mph?
CREATE TABLE table_26986076_6 (sat_21_aug VARCHAR, tues_24_aug VARCHAR)
SELECT sat_21_aug FROM table_26986076_6 WHERE tues_24_aug = "20' 38.40 109.680mph"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3916, 3328, 3959, 834, 948, 41, 7, 144, 834, 2658, 834, 402, 122, 584, 4280, 28027, 6, 3, 17, 76, 15, 7, 834, 2266, 834, 402, 122, 584, 4280, 28027, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 7, 144, 834, 2658, 834, 402, 122, 21680, 953, 834, 2688, 3916, 3328, 3959, 834, 948, 549, 17444, 427, 3, 17, 76, 15, 7, 834, 2266, 834, 402, 122, 3274, 96, 1755, 31, 6654, 5, 2445, 3, 17304, 5, 948, 2079, 7...
What is the Overall Record for the School in Milford?
CREATE TABLE table_80306 ( "School" text, "Team" text, "Division Record" text, "Overall Record" text, "Season Outcome" text )
SELECT "Overall Record" FROM table_80306 WHERE "School" = 'milford'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 1458, 948, 41, 96, 29364, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 308, 23, 6610, 11392, 121, 1499, 6, 96, 23847, 1748, 11392, 121, 1499, 6, 96, 134, 15, 9, 739, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23847, 1748, 11392, 121, 21680, 953, 834, 2079, 1458, 948, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 51, 173, 2590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of each scientist, the names of the projects that they work on, and the hours for each of those projects, listed in alphabetical order by project name, then scientist name.
CREATE TABLE assignedto ( scientist number, project text ) CREATE TABLE projects ( code text, name text, hours number ) CREATE TABLE scientists ( ssn number, name text )
SELECT T1.name, T3.name, T3.hours FROM scientists AS T1 JOIN assignedto AS T2 ON T1.ssn = T2.scientist JOIN projects AS T3 ON T2.project = T3.code ORDER BY T3.name, T1.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7604, 235, 41, 17901, 381, 6, 516, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 1081, 1499, 6, 564, 1499, 6, 716, 381, 3, 61, 3, 32102, 32103, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 4350, 6, 332, 5787, 4350, 6, 332, 5787, 5842, 7, 21680, 7004, 6157, 332, 536, 3, 15355, 3162, 7604, 235, 6157, 332, 357, 9191, 332, 5411, 7, 7, 29, 3274, 332, 4416, 17819, 343, 3, 15355, 3162, 1195, 615...
What are the interview scores for contestants whose average is 9.090?
CREATE TABLE table_20760 ( "Country" text, "Preliminary" text, "Interview" text, "Swimsuit" text, "Evening gown" text, "Average" text )
SELECT "Interview" FROM table_20760 WHERE "Average" = '9.090'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 28212, 41, 96, 10628, 651, 121, 1499, 6, 96, 10572, 4941, 77, 1208, 121, 1499, 6, 96, 17555, 4576, 121, 1499, 6, 96, 134, 210, 603, 7628, 121, 1499, 6, 96, 427, 192...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17555, 4576, 121, 21680, 953, 834, 1755, 28212, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 8797, 632, 2394, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the least number of poins for San Lorenzo?
CREATE TABLE table_22448 ( "Position" real, "Team" text, "Played" real, "Wins" real, "Draws" real, "Losses" real, "Scored" real, "Conceded" real, "Points" real )
SELECT MIN("Points") FROM table_22448 WHERE "Team" = 'San Lorenzo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 3707, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 308, 10936, 7, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22512, 7, 8512, 21680, 953, 834, 24622, 3707, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 134, 152, 1815, 20276, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year shows 4 points?
CREATE TABLE table_name_65 (year VARCHAR, points VARCHAR)
SELECT year FROM table_name_65 WHERE points = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 1201, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 1267, 314, 979, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 979, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the party with end date of 22 november 1980
CREATE TABLE table_name_2 (party VARCHAR, end_date VARCHAR)
SELECT party FROM table_name_2 WHERE end_date = "22 november 1980"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 8071, 584, 4280, 28027, 6, 414, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1088, 28, 414, 833, 13, 1630, 3, 5326, 18247, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 414, 834, 5522, 3274, 96, 2884, 3, 5326, 18247, 6694, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the score in the episode that had Louie Spence and Joe Wilkinson on Sean's team?
CREATE TABLE table_23292220_13 (scores VARCHAR, seans_team VARCHAR)
SELECT scores FROM table_23292220_13 WHERE seans_team = "Louie Spence and Joe Wilkinson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 2884, 1755, 834, 2368, 41, 7, 9022, 7, 584, 4280, 28027, 6, 142, 3247, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 16, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 7586, 21680, 953, 834, 2773, 3166, 2884, 1755, 834, 2368, 549, 17444, 427, 142, 3247, 834, 11650, 3274, 96, 434, 1063, 23, 15, 2526, 1433, 11, 4967, 8540, 7815, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What team was the home team at the venue junction oval?
CREATE TABLE table_name_74 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_74 WHERE venue = "junction oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 47, 8, 234, 372, 44, 8, 5669, 23704, 17986, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 5669, 3274, 96, 6959, 4985, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many female patients were ordered pt lab test?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE 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 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 lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.gender = "F" AND lab.label = "PT"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
In seris episode 11-04, what is the B segment titled?
CREATE TABLE table_15187735_11 ( segment_b VARCHAR, series_ep VARCHAR )
SELECT segment_b FROM table_15187735_11 WHERE series_ep = "11-04"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 2596, 41, 5508, 834, 115, 584, 4280, 28027, 6, 939, 834, 15, 102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 7637, 159, 5640, 850, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5508, 834, 115, 21680, 953, 834, 26578, 27697, 2469, 834, 2596, 549, 17444, 427, 939, 834, 15, 102, 3274, 96, 2596, 18083, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the pick number for the player playing tackle position, and a round less than 15?
CREATE TABLE table_name_97 (pick INTEGER, position VARCHAR, round VARCHAR)
SELECT SUM(pick) FROM table_name_97 WHERE position = "tackle" AND round < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 17967, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1432, 381, 21, 8, 1959, 15...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 17967, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1102, 3274, 96, 17, 9, 19376, 121, 3430, 1751, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What status of school is informatics international college?
CREATE TABLE table_2589963_1 ( status VARCHAR, institution VARCHAR )
SELECT status FROM table_2589963_1 WHERE institution = "Informatics International College"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 3264, 3891, 834, 536, 41, 2637, 584, 4280, 28027, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2637, 13, 496, 19, 3261, 6049, 7, 1038, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2637, 21680, 953, 834, 357, 3449, 3264, 3891, 834, 536, 549, 17444, 427, 6568, 3274, 96, 1570, 8995, 447, 7, 1331, 1888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Find the number of students for the cities where have more than one student, could you show from low to high by the x-axis please?
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Dorm ( dormid INTEGER, dorm_name VARCHAR(20), student_capacity INTEGER, gender VARCHAR(1) ) CREATE TABLE Dorm_amenity ( amenid INTEGER, amenity_name VARCHAR(25) ) CREATE TABLE Lives_in ( stuid INTEGER, dormid INTEGER, room_number INTEGER ) CREATE TABLE Has_amenity ( dormid INTEGER, amenid INTEGER )
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 4674, 11300, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Score has a Visitor of ny rangers, and a Record of 19 28 15?
CREATE TABLE table_name_19 ( score VARCHAR, visitor VARCHAR, record VARCHAR )
SELECT score FROM table_name_19 WHERE visitor = "ny rangers" AND record = "19–28–15"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 2604, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 4957, 127, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 7019, 3274, 96, 29, 63, 620, 52, 7, 121, 3430, 1368, 3274, 96, 2294, 104, 2577, 104, 1808, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the score of the game where Montreal was the home team and the Devils had a record of 40 24 6?
CREATE TABLE table_name_91 ( score VARCHAR, home VARCHAR, record VARCHAR )
SELECT score FROM table_name_91 WHERE home = "montreal" AND record = "40–24–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 2604, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 467, 213, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 234, 3274, 96, 4662, 6644, 121, 3430, 1368, 3274, 96, 2445, 104, 2266, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the main use of the structure that was in redfield, arkansas before 2004?
CREATE TABLE table_name_77 (main_use VARCHAR, year VARCHAR, town VARCHAR)
SELECT main_use FROM table_name_77 WHERE year < 2004 AND town = "redfield, arkansas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 7484, 834, 1074, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1511, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 711, 169, 13, 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, 711, 834, 1074, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 215, 3, 2, 4406, 3430, 1511, 3274, 96, 1271, 1846, 6, 3, 6604, 3247, 9, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the name of the leader whose term ended in 2013?
CREATE TABLE table_name_49 (name VARCHAR, term_end VARCHAR)
SELECT name FROM table_name_49 WHERE term_end = "2013"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 4350, 584, 4280, 28027, 6, 1657, 834, 989, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 564, 13, 8, 2488, 3, 2544, 1657, 3492, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 1657, 834, 989, 3274, 96, 11138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the satellite that has a COSPAR ID of 1967-042a launched?
CREATE TABLE table_12780 ( "Satellite" text, "Launch date" text, "Carrier rocket" text, "Launch site" text, "COSPAR ID" text )
SELECT "Launch date" FROM table_12780 WHERE "COSPAR ID" = '1967-042a'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 2079, 41, 96, 134, 9, 1625, 6311, 121, 1499, 6, 96, 3612, 202, 524, 833, 121, 1499, 6, 96, 6936, 6711, 15721, 121, 1499, 6, 96, 3612, 202, 524, 353, 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, 3612, 202, 524, 833, 121, 21680, 953, 834, 22367, 2079, 549, 17444, 427, 96, 5911, 21215, 448, 4699, 121, 3274, 3, 31, 2294, 3708, 18083, 357, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the height in inches if the represented is Erongo?
CREATE TABLE table_23576576_2 (height__in_ VARCHAR, represented VARCHAR)
SELECT height__in_ FROM table_23576576_2 WHERE represented = "Erongo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3436, 4122, 3959, 834, 357, 41, 88, 2632, 834, 834, 77, 834, 584, 4280, 28027, 6, 7283, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3902, 16, 507...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3902, 834, 834, 77, 834, 21680, 953, 834, 2773, 3436, 4122, 3959, 834, 357, 549, 17444, 427, 7283, 3274, 96, 10575, 2444, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the formed that has type of 4-cor
CREATE TABLE table_name_58 (formed_from VARCHAR, type VARCHAR)
SELECT formed_from FROM table_name_58 WHERE type = "4-cor"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 10816, 834, 7152, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5147, 24, 65, 686, 13, 7769, 5715, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5147, 834, 7152, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 686, 3274, 96, 591, 18, 5715, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the surface for january 8, 2001
CREATE TABLE table_name_93 (surface VARCHAR, date VARCHAR)
SELECT surface FROM table_name_93 WHERE date = "january 8, 2001"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 26899, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1774, 21, 3, 7066, 76, 1208, 9478, 4402, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1774, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 833, 3274, 96, 7066, 76, 1208, 9478, 4402, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Return a bar chart showing the number of each company whose office is located in the building, show y axis in asc order.
CREATE TABLE Companies ( id int, name text, Headquarters text, Industry text, Sales_billion real, Profits_billion real, Assets_billion real, Market_Value_billion text ) CREATE TABLE buildings ( id int, name text, City text, Height int, Stories int, Status text ) CREATE TABLE Office_locations ( building_id int, company_id int, move_in_year int )
SELECT T3.name, COUNT(T3.name) FROM Office_locations AS T1 JOIN buildings AS T2 ON T1.building_id = T2.id JOIN Companies AS T3 ON T1.company_id = T3.id GROUP BY T3.name ORDER BY COUNT(T3.name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11239, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 31282, 1499, 6, 9036, 1499, 6, 7107, 834, 115, 14916, 490, 6, 14717, 7, 834, 115, 14916, 490, 6, 18202, 7, 834, 115, 14916, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 4350, 6, 2847, 17161, 599, 382, 5787, 4350, 61, 21680, 2126, 834, 14836, 7, 6157, 332, 536, 3, 15355, 3162, 3950, 6157, 332, 357, 9191, 332, 5411, 10905, 834, 23, 26, 3274, 332, 4416, 23, 26, 3, 15355, ...
How many golds for Canada (12 total)?
CREATE TABLE table_name_7 (gold VARCHAR, total VARCHAR, nation VARCHAR)
SELECT gold FROM table_name_7 WHERE total > 12 AND nation = "canada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 14910, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2045, 7, 21, 1894, 16465, 792, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2045, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 792, 2490, 586, 3430, 2982, 3274, 96, 658, 18089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
let me know the long title of procedure and the number of days for which patient with patient id 25543 was hospitalized.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 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 demographic.days_stay, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "25543"
[ 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, 14798, 5, 1135, 7, 834, 21545, 6, 4293, 5, 2961, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5,...
What's the first aired date of the Animated Series episode?
CREATE TABLE table_name_91 ( first_aired VARCHAR, episode VARCHAR )
SELECT first_aired FROM table_name_91 WHERE episode = "animated series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 166, 834, 2378, 26, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 166, 3, 2378, 26, 833, 13, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 2378, 26, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 5640, 3274, 96, 29264, 26, 939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the tyre with a 56 chassis?
CREATE TABLE table_57853 ( "Entrant" text, "Constructor" text, "Chassis" text, "Engine" text, "Tyre" text, "Driver" text, "Rounds" text )
SELECT "Tyre" FROM table_57853 WHERE "Chassis" = '56'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4433, 519, 41, 96, 16924, 3569, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 382, 63, 60, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 63, 60, 121, 21680, 953, 834, 3436, 4433, 519, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 4834, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is listed as the Elector with the Title of Deacon of S. Maria in Domnica?
CREATE TABLE table_name_62 (elector VARCHAR, title VARCHAR)
SELECT elector FROM table_name_62 WHERE title = "deacon of s. maria in domnica"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 400, 5317, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2616, 38, 8, 3, 21543, 127, 28, 8, 11029, 13, 374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11924, 127, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 2233, 3274, 96, 221, 9, 1018, 13, 3, 7, 5, 2774, 9, 16, 23920, 658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the team Vanderberg belonged to when there was 42 completions?
CREATE TABLE table_50834 ( "Year" text, "Team" text, "Attempts" text, "Completions" text, "Completion %" text, "Yards" text )
SELECT "Team" FROM table_50834 WHERE "Completions" = '42'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 4591, 591, 41, 96, 476, 2741, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 31108, 7, 121, 1499, 6, 96, 5890, 4788, 10872, 121, 1499, 6, 96, 5890, 4788, 1575, 3, 1454,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 1752, 4591, 591, 549, 17444, 427, 96, 5890, 4788, 10872, 121, 3274, 3, 31, 4165, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the average of manufacturer , and group by attribute name.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 7296, 76, 8717, 450, 49, 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,...