NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What country has a 14 to par?
CREATE TABLE table_name_66 (country VARCHAR, to_par VARCHAR)
SELECT country FROM table_name_66 WHERE to_par = 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 17529, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 65, 3, 9, 968, 12, 260, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 12, 834, 1893, 3274, 968, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the names of schools with the top 3 largest size?
CREATE TABLE college (cName VARCHAR, enr VARCHAR)
SELECT cName FROM college ORDER BY enr DESC LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 75, 23954, 584, 4280, 28027, 6, 3, 35, 52, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3056, 13, 2061, 28, 8, 420, 220, 2015, 812, 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, 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, 3, 75, 23954, 21680, 1900, 4674, 11300, 272, 476, 3, 35, 52, 309, 25067, 8729, 12604, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Week has a Opponent of tennessee titans?
CREATE TABLE table_name_86 (week VARCHAR, opponent VARCHAR)
SELECT week FROM table_name_86 WHERE opponent = "tennessee titans"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 8041, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 6551, 65, 3, 9, 4495, 9977, 13, 3, 324, 655, 15, 15, 29243...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 471, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 15264, 3274, 96, 324, 655, 15, 15, 29243, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who was hired before 2002-06-21, find hire_date and the average of employee_id bin hire_date by weekday, and visualize them by a bar chart, list the average of employee id in descending order.
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), ...
SELECT HIRE_DATE, AVG(EMPLOYEE_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY AVG(EMPLOYEE_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 6037, 345, 5017, 476, 5080, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 7...
Who was the Cover model when the Centerfold Model was Marketa Janska?
CREATE TABLE table_name_43 (cover_model VARCHAR, centerfold_model VARCHAR)
SELECT cover_model FROM table_name_43 WHERE centerfold_model = "marketa janska"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 9817, 834, 21770, 584, 4280, 28027, 6, 1530, 10533, 834, 21770, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 5620, 825, 116, 8, 1166...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1189, 834, 21770, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1530, 10533, 834, 21770, 3274, 96, 8809, 9, 3, 7066, 10717, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the sum of year for penrith panthers opponent
CREATE TABLE table_71158 ( "Margin" real, "Score" text, "Opponent" text, "Venue" text, "Year" real )
SELECT SUM("Year") FROM table_71158 WHERE "Opponent" = 'penrith panthers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 26556, 41, 96, 7286, 122, 77, 121, 490, 6, 96, 134, 9022, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 476, 2741, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4450, 26556, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 3208, 30922, 2131, 189, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many townships are there in the region with 376 village groups?
CREATE TABLE table_19457_1 ( town_ships INTEGER, village_groups VARCHAR )
SELECT MAX(town_ships) FROM table_19457_1 WHERE village_groups = 376
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 591, 3436, 834, 536, 41, 1511, 834, 2009, 7, 3, 21342, 17966, 6, 3309, 834, 10739, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1511, 2009, 7,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3540, 834, 2009, 7, 61, 21680, 953, 834, 2294, 591, 3436, 834, 536, 549, 17444, 427, 3309, 834, 10739, 7, 3274, 220, 3959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many hours were flown in each of the years where more than 64379058.0 kilometers were flown?
CREATE TABLE table_52 ( "Year" real, "Aircraft kilometers" real, "Departures" real, "Flying hours" real, "Passengers" real, "Seat factor" text, "Employees" real, "Profit/loss" text )
SELECT "Flying hours" FROM table_52 WHERE "Aircraft kilometers" > '64379058.0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5373, 41, 96, 476, 2741, 121, 490, 6, 96, 20162, 6696, 20325, 121, 490, 6, 96, 2962, 2274, 7665, 121, 490, 6, 96, 371, 120, 53, 716, 121, 490, 6, 96, 20192, 4606, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 120, 53, 716, 121, 21680, 953, 834, 5373, 549, 17444, 427, 96, 20162, 6696, 20325, 121, 2490, 3, 31, 4389, 519, 4440, 3076, 27376, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Record, when Game is 27?
CREATE TABLE table_8136 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_8136 WHERE "Game" = '27'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4959, 3420, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 4959, 3420, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 2555, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player played on 07/06/1997?
CREATE TABLE table_54682 ( "Player" text, "Tries" text, "Conv" text, "Venue" text, "Date" text )
SELECT "Player" FROM table_54682 WHERE "Date" = '07/06/1997'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 3651, 357, 41, 96, 15800, 49, 121, 1499, 6, 96, 382, 2593, 121, 1499, 6, 96, 4302, 208, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 5062, 3651, 357, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 4560, 87, 5176, 13523, 4327, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
when the annual co2 emissions (in thousands of metric tons) is 1811, what is the country?
CREATE TABLE table_2508175_1 ( country VARCHAR, annual_co2_emissions__in_thousands_of_metric_tons_ VARCHAR )
SELECT country FROM table_2508175_1 WHERE annual_co2_emissions__in_thousands_of_metric_tons_ = 1811
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 4959, 3072, 834, 536, 41, 684, 584, 4280, 28027, 6, 2041, 834, 509, 357, 834, 15, 5451, 7, 834, 834, 77, 834, 189, 1162, 232, 7, 834, 858, 834, 7959, 834, 8057, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 953, 834, 11434, 4959, 3072, 834, 536, 549, 17444, 427, 2041, 834, 509, 357, 834, 15, 5451, 7, 834, 834, 77, 834, 189, 1162, 232, 7, 834, 858, 834, 7959, 834, 8057, 834, 3274, 507, 2596, 1, -100, -100,...
What population density (per km) that has 84 as the population (2006)?
CREATE TABLE table_name_56 (population_density__per_km²_ VARCHAR, population__2006_ VARCHAR)
SELECT population_density__per_km²_ FROM table_name_56 WHERE population__2006_ = "84"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 9791, 7830, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 584, 4280, 28027, 6, 2074, 834, 834, 21196, 834, 584, 4280, 28027, 61, 3, 32102, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2074, 834, 537, 7, 485, 834, 834, 883, 834, 5848, 357, 834, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2074, 834, 834, 21196, 834, 3274, 96, 4608, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the orignal title for the winner and nominee, Breaking the Waves, in 1996 (11th)?
CREATE TABLE table_name_56 ( original_title VARCHAR, year VARCHAR, winner_and_nominees VARCHAR )
SELECT original_title FROM table_name_56 WHERE year = "1996 (11th)" AND winner_and_nominees = "breaking the waves"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 926, 834, 21869, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 4668, 834, 232, 834, 3114, 630, 15, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 926, 834, 21869, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 215, 3274, 96, 2294, 4314, 41, 2596, 189, 61, 121, 3430, 4668, 834, 232, 834, 3114, 630, 15, 7, 3274, 96, 18087, 8, 9866, 121, 1, -100, -100, -10...
what is minimum age of patients whose gender is m and age is greater than or equal to 54?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic (...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.age >= "54"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 545, 2490, 2423, 96, 5062, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the titles of segment b when segment c is standby generators (part 1)?
CREATE TABLE table_19932 ( "Series Ep." text, "Episode" real, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Segment B" FROM table_19932 WHERE "Segment C" = 'Standby Generators (Part 1)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19479, 2668, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6, 96, 134, 15, 122, 297, 272, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 122, 297, 272, 121, 21680, 953, 834, 19479, 2668, 549, 17444, 427, 96, 134, 15, 122, 297, 205, 121, 3274, 3, 31, 134, 17, 232, 969, 27478, 7, 41, 13725, 8925, 31, 1, -100, -100, -100, -100, -100, -1...
Find the number of the last name of female (sex is F) students in the descending order of age.
CREATE TABLE Member_of ( FacID INTEGER, DNO INTEGER, Appt_Type VARCHAR(15) ) CREATE TABLE Department ( DNO INTEGER, Division VARCHAR(2), DName VARCHAR(25), Room VARCHAR(5), Building VARCHAR(13), DPhone INTEGER ) CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), C...
SELECT LName, COUNT(LName) FROM Student WHERE Sex = "F" GROUP BY LName ORDER BY Age DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8541, 834, 858, 41, 1699, 75, 4309, 3, 21342, 17966, 6, 309, 7400, 3, 21342, 17966, 6, 2276, 17, 834, 25160, 584, 4280, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 23954, 6, 2847, 17161, 599, 434, 23954, 61, 21680, 6341, 549, 17444, 427, 679, 226, 3274, 96, 371, 121, 350, 4630, 6880, 272, 476, 301, 23954, 4674, 11300, 272, 476, 7526, 309, 25067, 1, -100, -100, -100, -100, ...
What is the title of the episode with the original air date of 28 September 1969?
CREATE TABLE table_1439096_1 (title VARCHAR, original_air_date__atv_ VARCHAR)
SELECT title FROM table_1439096_1 WHERE original_air_date__atv_ = "28 September 1969"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 2394, 4314, 834, 536, 41, 21869, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 834, 834, 144, 208, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 25133, 2394, 4314, 834, 536, 549, 17444, 427, 926, 834, 2256, 834, 5522, 834, 834, 144, 208, 834, 3274, 96, 2577, 1600, 17185, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the date of the Women's Individual Class 3?
CREATE TABLE table_name_73 ( date VARCHAR, event VARCHAR )
SELECT date FROM table_name_73 WHERE event = "women's individual class 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 833, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 4047, 31, 7, 10963, 4501, 220, 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, 833, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 605, 3274, 96, 210, 32, 904, 31, 7, 928, 853, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
provide the number of patients whose insurance is self pay and lab test name is creatine kinase, mb isoenzyme?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.insurance = "Self Pay" AND lab.label = "Creatine Kinase, MB Isoenzyme"
[ 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,...
Who is the captain of Neil Warnock's team?
CREATE TABLE table_26593762_2 (team VARCHAR, manager VARCHAR)
SELECT team AS captain FROM table_26593762_2 WHERE manager = "Neil Warnock"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 3390, 4118, 4056, 834, 357, 41, 11650, 584, 4280, 28027, 6, 2743, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 14268, 13, 17906, 1602, 29, 3961, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 6157, 14268, 21680, 953, 834, 2688, 3390, 4118, 4056, 834, 357, 549, 17444, 427, 2743, 3274, 96, 567, 15, 173, 1602, 29, 3961, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the name and prominence of the mountains whose picture is not taken by a lens of brand 'Sigma'.
CREATE TABLE photos ( mountain_id VARCHAR, camera_lens_id VARCHAR ) CREATE TABLE mountain ( name VARCHAR, prominence VARCHAR, id VARCHAR ) CREATE TABLE camera_lens ( id VARCHAR, brand VARCHAR )
SELECT name, prominence FROM mountain EXCEPT SELECT T1.name, T1.prominence FROM mountain AS T1 JOIN photos AS T2 ON T1.id = T2.mountain_id JOIN camera_lens AS T3 ON T2.camera_lens_id = T3.id WHERE T3.brand = 'Sigma'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1302, 41, 4180, 834, 23, 26, 584, 4280, 28027, 6, 1861, 834, 40, 35, 7, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 564, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 564, 6, 31829, 21680, 4180, 262, 4, 30416, 3, 23143, 14196, 332, 5411, 4350, 6, 332, 5411, 1409, 1109, 1433, 21680, 4180, 6157, 332, 536, 3, 15355, 3162, 1302, 6157, 332, 357, 9191, 332, 5411, 23, 26, 3274, 332, 441...
Name the height for date of birth being 17/08/75
CREATE TABLE table_22705586_1 (height__m_ INTEGER, date_of_birth VARCHAR)
SELECT MIN(height__m_) FROM table_22705586_1 WHERE date_of_birth = "17/08/75"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 17485, 3769, 3840, 834, 536, 41, 88, 2632, 834, 834, 51, 834, 3, 21342, 17966, 6, 833, 834, 858, 834, 20663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 88, 2632, 834, 834, 51, 834, 61, 21680, 953, 834, 357, 17485, 3769, 3840, 834, 536, 549, 17444, 427, 833, 834, 858, 834, 20663, 3274, 96, 2517, 87, 4018, 21766, 17395, 1, -100, -100, -100, -100, -100,...
What is Team 1 Al-Hilal's Agg.?
CREATE TABLE table_name_81 (agg VARCHAR, team_1 VARCHAR)
SELECT agg FROM table_name_81 WHERE team_1 = "al-hilal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 9, 4102, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2271, 209, 901, 18, 566, 173, 138, 31, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 9, 4102, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 372, 834, 536, 3274, 96, 138, 18, 107, 173, 138, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the maximum speed for straight-4, 1.466 cc Type r 150?
CREATE TABLE table_name_60 ( vmax VARCHAR, type VARCHAR, cylinder VARCHAR, capacity VARCHAR )
SELECT vmax FROM table_name_60 WHERE cylinder = "straight-4" AND capacity = "1.466 cc" AND type = "r 150"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 3, 208, 9128, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 3, 12980, 584, 4280, 28027, 6, 2614, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 208, 9128, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 3, 12980, 3274, 96, 3109, 2632, 18, 20364, 3430, 2614, 3274, 96, 14912, 3539, 3, 75, 75, 121, 3430, 686, 3274, 96, 52, 4261, 121, 1, -100, -100, -10...
Which Total is the highest one that has a Rank of 1, and a Gold larger than 11?
CREATE TABLE table_name_24 (total INTEGER, rank VARCHAR, gold VARCHAR)
SELECT MAX(total) FROM table_name_24 WHERE rank = "1" AND gold > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 235, 1947, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9273, 19, 8, 2030, 80, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 11003, 3274, 96, 536, 121, 3430, 2045, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the salmonella with escherichia being espd
CREATE TABLE table_16046 ( "\u2193 Function / Genus \u2192" text, "Shigella" text, "Salmonella" text, "Yersinia" text, "Escherichia" text )
SELECT "Salmonella" FROM table_16046 WHERE "Escherichia" = 'EspD'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19129, 4448, 41, 96, 2, 76, 2658, 4271, 21839, 3, 87, 5945, 302, 3, 2, 76, 357, 19978, 121, 1499, 6, 96, 10499, 3077, 195, 9, 121, 1499, 6, 96, 134, 138, 2157, 5303, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 138, 2157, 5303, 121, 21680, 953, 834, 19129, 4448, 549, 17444, 427, 96, 427, 11575, 362, 23, 9, 121, 3274, 3, 31, 427, 7, 102, 308, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many numbers of rebounds are associated with exactly 18 points?
CREATE TABLE table_27207 ( "Player" text, "Games Played" real, "Rebounds" real, "Assists" real, "Steals" real, "Blocks" real, "Points" real )
SELECT COUNT("Rebounds") FROM table_27207 WHERE "Points" = '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 26426, 41, 96, 15800, 49, 121, 1499, 6, 96, 23055, 7, 2911, 15, 26, 121, 490, 6, 96, 1649, 6115, 7, 121, 490, 6, 96, 188, 7, 7, 343, 7, 121, 490, 6, 96, 14337, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1649, 6115, 7, 8512, 21680, 953, 834, 2555, 26426, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 2606, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show the times used by climbers to climb mountains in Country Uganda.
CREATE TABLE climber ( Time VARCHAR, Mountain_ID VARCHAR ) CREATE TABLE mountain ( Mountain_ID VARCHAR, Country VARCHAR )
SELECT T1.Time FROM climber AS T1 JOIN mountain AS T2 ON T1.Mountain_ID = T2.Mountain_ID WHERE T2.Country = "Uganda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8147, 49, 41, 2900, 584, 4280, 28027, 6, 5617, 834, 4309, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4180, 41, 5617, 834, 4309, 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, 332, 5411, 13368, 21680, 8147, 49, 6157, 332, 536, 3, 15355, 3162, 4180, 6157, 332, 357, 9191, 332, 5411, 329, 32, 14016, 77, 834, 4309, 3274, 332, 4416, 329, 32, 14016, 77, 834, 4309, 549, 17444, 427, 332, 4416, 10...
How many courses are in the Psychology department for each semester? Return a pie chart.
CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE prereq ( course_id varchar(8), ...
SELECT semester, COUNT(semester) FROM course AS T1 JOIN section AS T2 ON T1.course_id = T2.course_id WHERE T1.dept_name = 'Psychology' GROUP BY semester
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1217, 41, 4699, 3, 4331, 4059, 15757, 6, 503, 834, 23, 26, 3, 4331, 4059, 28007, 6, 4220, 834, 23, 26, 3, 4331, 4059, 28007, 6, 10542, 3, 4331, 4059, 18669, 6, 215, 206, 17552, 599...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10542, 6, 2847, 17161, 599, 7, 15, 526, 1370, 61, 21680, 503, 6157, 332, 536, 3, 15355, 3162, 1375, 6157, 332, 357, 9191, 332, 5411, 19221, 834, 23, 26, 3274, 332, 4416, 19221, 834, 23, 26, 549, 17444, 427, 332, 5...
count the number of patients whose language is russ and ethnicity is white - russian?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.language = "RUSS" AND demographic.ethnicity = "WHITE - RUSSIAN"
[ 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, 549, 17444, 427, 14798, 5, 24925, 3274, 96, 8503, 4256, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274, 96, 15313, 14871, 3, ...
What is the lowest wins with less than 2 Byes?
CREATE TABLE table_name_15 ( wins INTEGER, byes INTEGER )
SELECT MIN(wins) FROM table_name_15 WHERE byes < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 9204, 3, 21342, 17966, 6, 57, 15, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 9204, 28, 705, 145, 204, 938, 15, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 57, 15, 7, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many imr* have 64.3 life expectancy males?
CREATE TABLE table_26068 ( "Period" text, "Live births per year" text, "Deaths per year" text, "Natural change per year" text, "CBR*" text, "CDR*" text, "NC*" text, "TFR*" text, "IMR*" real, "Life expectancy total" text, "Life expectancy males" text, "Life expectancy fema...
SELECT MIN("IMR*") FROM table_26068 WHERE "Life expectancy males" = '64.3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18365, 3651, 41, 96, 12988, 23, 32, 26, 121, 1499, 6, 96, 24179, 3879, 7, 399, 215, 121, 1499, 6, 96, 2962, 9, 189, 7, 399, 215, 121, 1499, 6, 96, 567, 13149, 40, 483, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 196, 9320, 1935, 8512, 21680, 953, 834, 18365, 3651, 549, 17444, 427, 96, 16427, 1672, 6833, 5069, 7, 121, 3274, 3, 31, 948, 21841, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is diagnoses short title of diagnoses icd9 code 2875?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic (...
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.icd9_code = "2875"
[ 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, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 2577, 3072, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the hometown for mike ladd?
CREATE TABLE table_31264 ( "Name" text, "Number" real, "Position" text, "Height" text, "Weight" real, "Year" text, "Hometown" text, "Last School/College" text )
SELECT "Hometown" FROM table_31264 WHERE "Name" = 'Mike Ladd'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 26755, 41, 96, 23954, 121, 1499, 6, 96, 567, 5937, 49, 121, 490, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 490, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 3540, 121, 21680, 953, 834, 3341, 26755, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 329, 5208, 325, 26, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
From which region is the album with release date of 19 June 2007?
CREATE TABLE table_name_7 ( region VARCHAR, date VARCHAR )
SELECT region FROM table_name_7 WHERE date = "19 june 2007"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 1719, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1029, 84, 1719, 19, 8, 2306, 28, 1576, 833, 13, 957, 1515, 4101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1719, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 833, 3274, 96, 2294, 3, 6959, 15, 4101, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Report on November 15, 2000?
CREATE TABLE table_65000 ( "Date" text, "Venue" text, "Score" text, "Comp" text, "Report" text )
SELECT "Report" FROM table_65000 WHERE "Date" = 'november 15, 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 2313, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 5890, 102, 121, 1499, 6, 96, 1649, 1493, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 1649, 1493, 121, 21680, 953, 834, 4122, 2313, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 10725, 2766, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What score has 15.0% as the 2012?
CREATE TABLE table_name_16 ( score VARCHAR )
SELECT score FROM table_name_16 WHERE 2012 = "15.0%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 65, 9996, 6932, 38, 8, 1673, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 1673, 3274, 96, 1808, 5, 6932, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Date has a Score of 6 1, 6 2?
CREATE TABLE table_36761 ( "Outcome" text, "Date" text, "Tournament" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Date" FROM table_36761 WHERE "Score" = '6–1, 6–2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 3959, 536, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 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, 96, 308, 342, 121, 21680, 953, 834, 3420, 3959, 536, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 948, 104, 4347, 431, 104, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the marriage of the person who is married for christian viii
CREATE TABLE table_name_74 (marriage VARCHAR, spouse VARCHAR)
SELECT marriage FROM table_name_74 WHERE spouse = "christian viii"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 51, 10269, 545, 584, 4280, 28027, 6, 9911, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 5281, 13, 8, 568, 113, 19, 4464, 21, 3, 15294,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5281, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 9911, 3274, 96, 15294, 23, 152, 3, 14553, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Show the type of school and the number of buses for each type.
CREATE TABLE school_bus ( school_id VARCHAR ) CREATE TABLE school ( type VARCHAR, school_id VARCHAR )
SELECT T2.type, COUNT(*) FROM school_bus AS T1 JOIN school AS T2 ON T1.school_id = T2.school_id GROUP BY T2.type
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 834, 3465, 41, 496, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 496, 41, 686, 584, 4280, 28027, 6, 496, 834, 23, 26, 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, 332, 4416, 6137, 6, 2847, 17161, 599, 1935, 61, 21680, 496, 834, 3465, 6157, 332, 536, 3, 15355, 3162, 496, 6157, 332, 357, 9191, 332, 5411, 6646, 834, 23, 26, 3274, 332, 4416, 6646, 834, 23, 26, 350, 4630, 6880, ...
How many season had Melgar as a champion?
CREATE TABLE table_26220 ( "Season" real, "Champion" text, "Count" real, "Runners-up" text, "Third place" text, "Top scorer" text, "Top scorers club" text, "Goals" text )
SELECT COUNT("Season") FROM table_26220 WHERE "Champion" = 'Melgar'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 357, 1755, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 121, 490, 6, 96, 23572, 7, 18, 413, 121, 1499, 6, 96, 382, 9288, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 134, 15, 9, 739, 8512, 21680, 953, 834, 2688, 357, 1755, 549, 17444, 427, 96, 254, 1483, 12364, 121, 3274, 3, 31, 329, 15, 40, 1478, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is team 2 if Team 1 is Numancia?
CREATE TABLE table_name_61 ( team_2 VARCHAR, team_1 VARCHAR )
SELECT team_2 FROM table_name_61 WHERE team_1 = "numancia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 372, 834, 357, 584, 4280, 28027, 6, 372, 834, 536, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 372, 204, 3, 99, 2271, 209, 19, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 357, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 372, 834, 536, 3274, 96, 5525, 11389, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the team that danced a jive and was safe?
CREATE TABLE table_name_65 (score VARCHAR, dance VARCHAR, result VARCHAR)
SELECT score FROM table_name_65 WHERE dance = "jive" AND result = "safe"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 7, 9022, 584, 4280, 28027, 6, 2595, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 372, 24, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 2595, 3274, 96, 354, 757, 121, 3430, 741, 3274, 96, 15233, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patient whose primary disease is congestive heart failure and year of death is before 2168?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "CONGESTIVE HEART FAILURE" AND demographic.dod_year <= "2168.0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 254, 15628, 6038, 8087, 3, 6021, 8241, 377, 22862, 18290, 121, 3430, 1...
What engine was used by Equipe Simca Gordini before 1956 with less than 4 points?
CREATE TABLE table_80102 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Engine" FROM table_80102 WHERE "Year" < '1956' AND "Points" < '4' AND "Entrant" = 'equipe simca gordini'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 14388, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 31477, 121, 21680, 953, 834, 2079, 14388, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 4834, 31, 3430, 96, 22512, 7, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 16924, 3569, 121, 3274, 3, 31, 15, 23067...
During 2003 what was open cup qualifying status?
CREATE TABLE table_1570003_2 ( open_cup VARCHAR, year VARCHAR )
SELECT open_cup FROM table_1570003_2 WHERE year = 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 27133, 519, 834, 357, 41, 539, 834, 4658, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 2092, 3888, 125, 47, 539, 4119, 18002, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 539, 834, 4658, 21680, 953, 834, 1808, 27133, 519, 834, 357, 549, 17444, 427, 215, 3274, 3888, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is 1994, when 2002 is ATP Masters Series?
CREATE TABLE table_name_76 ( Id VARCHAR )
SELECT 1994 FROM table_name_76 WHERE 2002 = "atp masters series"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7520, 6, 116, 4407, 19, 3, 26758, 14119, 4531, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7520, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 4407, 3274, 96, 144, 102, 2325, 7, 939, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
calculate the average age of male patients who have medicare health insurance.
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 prescription...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.gender = "M" AND demographic.insurance = "Medicare"
[ 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, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 329, 121, 3430, 14798, 5, 29441, 3274, 96, 15789, 355, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
What nationality has a ranking less than 7 with tony stenson as the name?
CREATE TABLE table_79777 ( "Ranking" real, "Nationality" text, "Name" text, "Years" text, "Total Appearances(league only)" text )
SELECT "Nationality" FROM table_79777 WHERE "Ranking" < '7' AND "Name" = 'tony stenson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 26225, 41, 96, 22557, 53, 121, 490, 6, 96, 24732, 485, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 3696, 1947, 2276, 2741, 663, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 24732, 485, 121, 21680, 953, 834, 4440, 26225, 549, 17444, 427, 96, 22557, 53, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 23954, 121, 3274, 3, 31, 17, 106, 63, 3, 1913, 739, 31, 1, -100, -100, -100, -100, -100, ...
how many medications is patient 025-39356 ordered in 2104?
CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartr...
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '025-39356')) AND STRFTIME('%y', medication.drugstarttime) = '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, 41, 11963, 670, 2562, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2358, 8292, 1499, 6, 2358, 40, 10333, 1499, 6, 2358, 7480, 35, 76, 17552, 381, 6, 11963, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, ...
What is every category wise when the multi lane is 677?
CREATE TABLE table_30709 ( "Sl. No" real, "Category wise" text, "Single lane" real, "Intermediate lane" real, "Double lane" real, "Multi lane" real, "Total" real )
SELECT "Category wise" FROM table_30709 WHERE "Multi lane" = '677'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 2518, 1298, 41, 96, 134, 40, 5, 465, 121, 490, 6, 96, 18610, 6066, 651, 7624, 121, 1499, 6, 96, 134, 53, 109, 3, 8102, 121, 490, 6, 96, 17555, 5700, 342, 3, 8102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18610, 6066, 651, 7624, 121, 21680, 953, 834, 1458, 2518, 1298, 549, 17444, 427, 96, 31922, 3, 8102, 121, 3274, 3, 31, 3708, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Journal Papers by mohammad rastegari
CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE field ( fieldid int ) C...
SELECT DISTINCT paper.paperid FROM author, paper, writes WHERE author.authorname = 'mohammad rastegari' AND paper.journalid >= 0 AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, 6378, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17953, 41, 17953, 23, 26, 16, 17, 6, 17953, 4350, 3, 4331,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1040, 5, 19587, 23, 26, 21680, 2291, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 51, 32, 1483, 11374, 3, 20484, 15, 1478, 23, 31, 3430, 1040, 5, 25340, 23, 26, 2...
what number of patients of black/cape verdean ethnicity have been diagnosed with morbid obesity/sda?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.ethnicity = "BLACK/CAPE VERDEAN" AND demographic.diagnosis = "MORBID OBESITY/SDA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 15, 189, 2532, 485, 3274, 96, 8775, 15339, 87, 16986, 427, 3, 16174, 308, 20152, 121, 3430, 14798,...
What is the Label when the album shows cover version vi?
CREATE TABLE table_name_26 (label VARCHAR, album VARCHAR)
SELECT label FROM table_name_26 WHERE album = "cover version vi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 40, 10333, 584, 4280, 28027, 6, 2306, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16229, 116, 8, 2306, 1267, 1189, 988, 5931, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3783, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 2306, 3274, 96, 9817, 988, 5931, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score of the Washington tournament?
CREATE TABLE table_name_20 ( score VARCHAR, tournament VARCHAR )
SELECT score FROM table_name_20 WHERE tournament = "washington"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 2604, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 2386, 5892, 58, 1, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 5892, 3274, 96, 14710, 6029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Count the Number of electorates (2009) that has a District of fatehpur and jahanabad?
CREATE TABLE table_name_11 ( number_of_electorates__2009_ INTEGER, district VARCHAR, name VARCHAR )
SELECT SUM(number_of_electorates__2009_) FROM table_name_11 WHERE district = "fatehpur" AND name = "jahanabad"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 381, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 3, 21342, 17966, 6, 3939, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 5525, 1152, 834, 858, 834, 400, 5317, 6203, 834, 834, 16660, 834, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 3939, 3274, 96, 89, 342, 107, 3791, 121, 3430, 564, 3274, 96, 1191, 2618, 9, ...
when did patient 006-100609 come into the hospital for the last time until 1 year ago?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid num...
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '006-100609' AND DATETIME(patient.hospitaladmittime) <= DATETIME(CURRENT_TIME(), '-1 year') ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 1206, 948, 4536, 5176, 4198, 31, 3430, 309, 6048, 382, 15382, 599, 10061, 5, 31386, 20466, 17, 715, 61, 3, 2, 2...
What is 2011, when 2008 is '2R'?
CREATE TABLE table_name_40 ( Id VARCHAR )
SELECT 2011 FROM table_name_40 WHERE 2008 = "2r"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8558, 116, 2628, 19, 3, 31, 357, 448, 31, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2722, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 2628, 3274, 96, 357, 52, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What week was the result l 14 9?
CREATE TABLE table_60628 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Week" FROM table_60628 WHERE "Result" = 'l 14–9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3328, 948, 2577, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10266, 121, 21680, 953, 834, 3328, 948, 2577, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 40, 968, 104, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the longitude of Carmenta Farra in 1994?
CREATE TABLE table_name_74 (longitude VARCHAR, year_named VARCHAR, name VARCHAR)
SELECT longitude FROM table_name_74 WHERE year_named = 1994 AND name = "carmenta farra"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 2961, 20341, 584, 4280, 28027, 6, 215, 834, 4350, 26, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 307, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 307, 20341, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 215, 834, 4350, 26, 3274, 7520, 3430, 564, 3274, 96, 1720, 297, 9, 623, 52, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where was game 78 held?
CREATE TABLE table_name_62 ( location VARCHAR, game VARCHAR )
SELECT location FROM table_name_62 WHERE game = 78
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 1128, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 467, 3, 3940, 1213, 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, 1128, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 467, 3274, 3, 3940, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the rank of flori lang when his time was less than 22.27
CREATE TABLE table_name_52 (rank INTEGER, name VARCHAR, time VARCHAR)
SELECT SUM(rank) FROM table_name_52 WHERE name = "flori lang" AND time < 22.27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 6254, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11003, 13, 12215, 12142, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 6254, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 564, 3274, 96, 89, 322, 23, 12142, 121, 3430, 97, 3, 2, 1630, 5, 2555, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the date of the game when attendance is more than 20,682?
CREATE TABLE table_77596 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Series" text )
SELECT "Date" FROM table_77596 WHERE "Attendance" > '20,682'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3072, 4314, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 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, 308, 342, 121, 21680, 953, 834, 940, 3072, 4314, 549, 17444, 427, 96, 188, 17, 324, 26, 663, 121, 2490, 3, 31, 1755, 6, 3651, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who directed the episode for s02 e08?
CREATE TABLE table_20711 ( "Number in series" real, "Broadcast Order" text, "Title" text, "Directed by" text, "Written by" text, "Original airdate" text, "Production Code" real )
SELECT "Directed by" FROM table_20711 WHERE "Broadcast Order" = 'S02 E08'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 2596, 41, 96, 567, 5937, 49, 16, 939, 121, 490, 6, 96, 279, 8635, 5254, 5197, 121, 1499, 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, 23620, 15, 26, 57, 121, 21680, 953, 834, 26426, 2596, 549, 17444, 427, 96, 279, 8635, 5254, 5197, 121, 3274, 3, 31, 134, 4305, 262, 4018, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are all the states (class) when the successor was Joseph Anderson ( DR )?
CREATE TABLE table_224839_3 ( state__class_ VARCHAR, successor VARCHAR )
SELECT state__class_ FROM table_224839_3 WHERE successor = "Joseph Anderson ( DR )"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3707, 3288, 834, 519, 41, 538, 834, 834, 4057, 834, 584, 4280, 28027, 6, 22261, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 66, 8, 2315, 41, 4057...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 538, 834, 834, 4057, 834, 21680, 953, 834, 2884, 3707, 3288, 834, 519, 549, 17444, 427, 22261, 3274, 96, 683, 32, 7, 15, 102, 107, 11825, 41, 3, 3913, 3, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the score when Bolton Wanderers were the away team?
CREATE TABLE table_name_38 (score VARCHAR, away_team VARCHAR)
SELECT score FROM table_name_38 WHERE away_team = "bolton wanderers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 7, 9022, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 116, 1491, 7377, 12832, 277, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 550, 834, 11650, 3274, 96, 4243, 17, 106, 10735, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest amount of assists for more than 5 games?
CREATE TABLE table_name_24 (assists INTEGER, games_played INTEGER)
SELECT MIN(assists) FROM table_name_24 WHERE games_played > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 6500, 7, 17, 7, 3, 21342, 17966, 6, 1031, 834, 4895, 15, 26, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 866, 13, 13041, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6500, 7, 17, 7, 61, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 1031, 834, 4895, 15, 26, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE VENUE ON MARCH 28, 2008?
CREATE TABLE table_name_34 ( venue VARCHAR, date VARCHAR )
SELECT venue FROM table_name_34 WHERE date = "march 28, 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 5669, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 584, 5332, 5078, 9191, 3, 13845, 8360, 13719, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 833, 3274, 96, 51, 7064, 13719, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the location of the church when the church name is Ortnevik Kyrkje?
CREATE TABLE table_178389_1 (location_of_the_church VARCHAR, church_name VARCHAR)
SELECT location_of_the_church FROM table_178389_1 WHERE church_name = "Ortnevik kyrkje"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4591, 3914, 834, 536, 41, 14836, 834, 858, 834, 532, 834, 28854, 584, 4280, 28027, 6, 2078, 834, 4350, 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, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 858, 834, 532, 834, 28854, 21680, 953, 834, 2517, 4591, 3914, 834, 536, 549, 17444, 427, 2078, 834, 4350, 3274, 96, 7395, 17, 29, 15, 21346, 3, 3781, 52, 157, 1924, 121, 1, -100, -100, -100, -100, -100, ...
In what edition is Ungur's opponent David Nalbandian?
CREATE TABLE table_24099476_8 (edition VARCHAR, opponent VARCHAR)
SELECT edition FROM table_24099476_8 WHERE opponent = "David Nalbandian"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11944, 3264, 591, 3959, 834, 927, 41, 15, 10569, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 4182, 19, 597, 7840, 31, 7, 15264, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4182, 21680, 953, 834, 11944, 3264, 591, 3959, 834, 927, 549, 17444, 427, 15264, 3274, 96, 308, 9, 6961, 1823, 40, 3478, 8603, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the weight in kg when the horse was Alcopop?
CREATE TABLE table_24915874_1 (weight__kg_ VARCHAR, horse VARCHAR)
SELECT weight__kg_ FROM table_24915874_1 WHERE horse = "Alcopop"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4729, 3449, 4581, 834, 536, 41, 9378, 834, 834, 8711, 834, 584, 4280, 28027, 6, 4952, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1293, 16, 9147, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1293, 834, 834, 8711, 834, 21680, 953, 834, 2266, 4729, 3449, 4581, 834, 536, 549, 17444, 427, 4952, 3274, 96, 188, 40, 509, 9791, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are all values for the male population in 2001 with a growth rate in 1991-01 of 36.16?
CREATE TABLE table_23093 ( "Districts of Bihar" text, "Total Population 2001" real, "Male Population 2001" real, "Female Population 2001" real, "Growth Rate 1981-91" text, "Growth Rate 1991-01" text, "Sex Ratio \u2021 1991" real, "Sex Ratio \u2021 2001" real, "Population density \u20...
SELECT "Male Population 2001" FROM table_23093 WHERE "Growth Rate 1991-01" = '36.16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 13427, 4271, 41, 96, 308, 23, 20066, 7, 13, 2106, 3272, 121, 1499, 6, 96, 3696, 1947, 29659, 4402, 121, 490, 6, 96, 329, 9, 109, 29659, 4402, 121, 490, 6, 96, 371, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 9, 109, 29659, 4402, 121, 21680, 953, 834, 13427, 4271, 549, 17444, 427, 96, 517, 3623, 189, 13002, 9957, 14772, 121, 3274, 3, 31, 3420, 5, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which show has a season premiere with a Average series rating of 1.85 million viewers?
CREATE TABLE table_46240 ( "Season" text, "Episodes" real, "Season premiere" text, "Season finale" text, "Peak Series rating[ citation needed ]" text, "Average series rating" text, "DVD release date" text, "Discs" real )
SELECT "Season premiere" FROM table_46240 WHERE "Average series rating" = '1.85 million viewers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 11944, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 427, 102, 159, 32, 1395, 121, 490, 6, 96, 134, 15, 9, 739, 13539, 121, 1499, 6, 96, 134, 15, 9, 739, 13604, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 13539, 121, 21680, 953, 834, 4448, 11944, 549, 17444, 427, 96, 188, 624, 545, 939, 5773, 121, 3274, 3, 31, 16253, 755, 770, 13569, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the most recent year joined?
CREATE TABLE table_20887670_1 ( year_joined INTEGER )
SELECT MAX(year_joined) FROM table_20887670_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4060, 3959, 2518, 834, 536, 41, 215, 834, 1927, 630, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 167, 1100, 215, 3311, 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, 4800, 4, 599, 1201, 834, 1927, 630, 26, 61, 21680, 953, 834, 1755, 4060, 3959, 2518, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which body tackle has yes for the diving tackle and the sliding tackle classified as a trip?
CREATE TABLE table_33079 ( "sliding tackle" text, "spear tackle" text, "dump tackle" text, "body tackle" text, "ankle tap" text, "diving tackle" text, "bumping/blocking" text, "shoulder charge" text, "steal/intercept ball" text, "Chicken wing" text )
SELECT "body tackle" FROM table_33079 WHERE "diving tackle" = 'yes' AND "sliding tackle" = 'classified as a trip'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 4440, 41, 96, 7, 8130, 53, 8000, 121, 1499, 6, 96, 7, 855, 291, 8000, 121, 1499, 6, 96, 1259, 1167, 8000, 121, 1499, 6, 96, 6965, 8000, 121, 1499, 6, 96, 5979, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6965, 8000, 121, 21680, 953, 834, 17225, 4440, 549, 17444, 427, 96, 8481, 53, 8000, 121, 3274, 3, 31, 10070, 31, 3430, 96, 7, 8130, 53, 8000, 121, 3274, 3, 31, 4057, 3676, 38, 3, 9, 1469, 31, 1, -100, -100, ...
How many trains leave from puri?
CREATE TABLE table_17413 ( "Train No." text, "Train Name" text, "Origin" text, "Destination" text, "Frequency" text )
SELECT COUNT("Train Name") FROM table_17413 WHERE "Origin" = 'Puri'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27693, 2368, 41, 96, 9402, 77, 465, 535, 1499, 6, 96, 9402, 77, 5570, 121, 1499, 6, 96, 667, 3380, 77, 121, 1499, 6, 96, 308, 222, 77, 257, 121, 1499, 6, 96, 371, 60, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 9402, 77, 5570, 8512, 21680, 953, 834, 27693, 2368, 549, 17444, 427, 96, 667, 3380, 77, 121, 3274, 3, 31, 345, 459, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
count the number of patients whose marital status is single and admission year is less than 2182?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "SINGLE" AND demographic.admityear < "2182"
[ 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, 1635, 9538, 834, 8547, 302, 3274, 96, 134, 2365, 3765, 121, 3430, 14798, 5, 20466, 17, 1201, 3, ...
How many golds for nations with over 0 silvers, over 1 total, and over 3 bronze?
CREATE TABLE table_78328 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT COUNT("Gold") FROM table_78328 WHERE "Silver" > '0' AND "Total" > '1' AND "Bronze" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 28070, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, 3696, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 23576, 8512, 21680, 953, 834, 3940, 28070, 549, 17444, 427, 96, 134, 173, 624, 121, 2490, 3, 31, 632, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 536, 31, 3430, 96, 22780, 29, 776, 121, 2490...
Which Political Party has a Name of mehdi bej frash ri (2nd time)?
CREATE TABLE table_name_72 ( political_party VARCHAR, name VARCHAR )
SELECT political_party FROM table_name_72 WHERE name = "mehdi bej frashëri (2nd time)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 1827, 834, 8071, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 19289, 3450, 65, 3, 9, 5570, 13, 140, 107, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1827, 834, 8071, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 564, 3274, 96, 526, 107, 26, 23, 36, 354, 2515, 3198, 2, 52, 23, 4743, 727, 97, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the figure for La Canada Flintridge when Pasadena is 34?
CREATE TABLE table_name_65 ( la_cañada_flintridge VARCHAR, pasadena VARCHAR )
SELECT la_cañada_flintridge FROM table_name_65 WHERE pasadena = "34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 50, 834, 658, 2, 9, 26, 9, 834, 89, 40, 77, 17, 7700, 584, 4280, 28027, 6, 330, 9, 537, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 50, 834, 658, 2, 9, 26, 9, 834, 89, 40, 77, 17, 7700, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 330, 9, 537, 9, 3274, 96, 3710, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What conferences does kurtis heimerl publish in ?
CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE author ( authorid int, authorname varchar...
SELECT DISTINCT paper.venueid FROM author, paper, writes WHERE author.authorname = 'kurtis heimerl' AND writes.authorid = author.authorid AND writes.paperid = paper.paperid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 1040, 23, 26, 16, 17, 6, 2291, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6378, 41, 6378, 23, 26, 16, 17, 6, 6378, 4350, 3, 4331, 4059...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1040, 5, 15098, 23, 26, 21680, 2291, 6, 1040, 6, 11858, 549, 17444, 427, 2291, 5, 17415, 4350, 3274, 3, 31, 10923, 17, 159, 3, 3254, 49, 40, 31, 3430, 11858, 5, 17415, 23, 26, 3274, 2291, ...
Name the total number of round 3 for class tt1
CREATE TABLE table_1939 ( "Athlete" text, "Class" text, "Event" text, "Round 1" text, "Round 2" text, "Round 3" text, "1/8 Finals" text, "Quarterfinals" text, "Semifinals" text, "Final/ Bronze medal contest" text )
SELECT COUNT("Round 3") FROM table_1939 WHERE "Class" = 'TT1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3288, 41, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 448, 32, 1106, 209, 121, 1499, 6, 96, 448, 32, 1106, 204...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 448, 32, 1106, 220, 8512, 21680, 953, 834, 2294, 3288, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 9697, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what's the status in the style of ballet/ gymnastics?
CREATE TABLE table_67577 ( "Status" text, "Name" text, "First Performance" text, "Last Performance" text, "Style" text )
SELECT "Status" FROM table_67577 WHERE "Style" = 'ballet/ gymnastics'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 755, 4013, 41, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 25171, 8233, 121, 1499, 6, 96, 3612, 7, 17, 8233, 121, 1499, 6, 96, 30719, 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, 134, 17, 144, 302, 121, 21680, 953, 834, 3708, 755, 4013, 549, 17444, 427, 96, 30719, 121, 3274, 3, 31, 3184, 15, 17, 87, 23379, 7636, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which films participated when the category was Best Newcomer?
CREATE TABLE table_29644931_1 (participants_recipients VARCHAR, category VARCHAR)
SELECT participants_recipients FROM table_29644931_1 WHERE category = "Best Newcomer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4389, 3647, 3341, 834, 536, 41, 2274, 23, 3389, 2366, 834, 60, 3389, 4741, 7, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4852...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3008, 834, 60, 3389, 4741, 7, 21680, 953, 834, 3166, 4389, 3647, 3341, 834, 536, 549, 17444, 427, 3295, 3274, 96, 17278, 368, 287, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the greatest lane with an overall rank of 79 and a time larger than 26.1?
CREATE TABLE table_31971 ( "Heat Rank" real, "Lane" real, "Swimmer" text, "Country" text, "Time" real, "Overall Rank" text )
SELECT MAX("Lane") FROM table_31971 WHERE "Overall Rank" = '79' AND "Time" > '26.1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2294, 4450, 41, 96, 3845, 144, 3, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 134, 210, 12174, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 434, 152, 15, 8512, 21680, 953, 834, 519, 2294, 4450, 549, 17444, 427, 96, 23847, 1748, 3, 22557, 121, 3274, 3, 31, 4440, 31, 3430, 96, 13368, 121, 2490, 3, 31, 357, 23769, 31, 1, -100, -100, ...
What date did the DVD for season six come out in region 2?
CREATE TABLE table_1067134_1 ( region_2 VARCHAR, dvd_name VARCHAR )
SELECT region_2 FROM table_1067134_1 WHERE dvd_name = "Season Six"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 3708, 23747, 834, 536, 41, 1719, 834, 357, 584, 4280, 28027, 6, 30114, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 410, 8, 5677, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1719, 834, 357, 21680, 953, 834, 1714, 3708, 23747, 834, 536, 549, 17444, 427, 30114, 834, 4350, 3274, 96, 134, 15, 9, 739, 7643, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the serials issued in 1982 with a format of ABC-123?
CREATE TABLE table_47894 ( "Issued" text, "Type" text, "Design" text, "Serial format" text, "Serials issued" text )
SELECT "Serials issued" FROM table_47894 WHERE "Serial format" = 'abc-123' AND "Issued" = '1982'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 3914, 591, 41, 96, 196, 7, 7, 76, 15, 26, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 19103, 121, 1499, 6, 96, 134, 15, 12042, 1910, 121, 1499, 6, 96, 134, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 12042, 7, 4683, 121, 21680, 953, 834, 4177, 3914, 591, 549, 17444, 427, 96, 134, 15, 12042, 1910, 121, 3274, 3, 31, 9, 115, 75, 18, 14574, 31, 3430, 96, 196, 7, 7, 76, 15, 26, 121, 3274, 3, 31, ...
How many viewers are the when the draw is 3?
CREATE TABLE table_27994983_8 (viewers INTEGER, draw VARCHAR)
SELECT MAX(viewers) FROM table_27994983_8 WHERE draw = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3264, 3647, 4591, 834, 927, 41, 4576, 277, 3, 21342, 17966, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13569, 33, 8, 116, 8, 3314, 19, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4576, 277, 61, 21680, 953, 834, 2555, 3264, 3647, 4591, 834, 927, 549, 17444, 427, 3314, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
had patient 015-15167 ever undergone a tracheal suctioning until 3 years ago?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREAT...
SELECT COUNT(*) > 0 FROM treatment WHERE treatment.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '015-15167')) AND treatment.treatmentname = 'tracheal suctioning' AND DATETIM...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 1058, 549, 17444, 427, 1058, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
Show all student IDs who have at least two allergies.
CREATE TABLE Has_allergy (StuID VARCHAR)
SELECT StuID FROM Has_allergy GROUP BY StuID HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 11211, 122, 63, 41, 13076, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 1236, 4699, 7, 113, 43, 44, 709, 192, 18500, 5, 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, 3, 13076, 4309, 21680, 4498, 834, 11211, 122, 63, 350, 4630, 6880, 272, 476, 3, 13076, 4309, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Skip has a Third of carlo alessandro zisa?
CREATE TABLE table_39140 ( "Nation" text, "Skip" text, "Third" text, "Second" text, "Lead" text )
SELECT "Skip" FROM table_39140 WHERE "Third" = 'carlo alessandro zisa'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 22012, 41, 96, 567, 257, 121, 1499, 6, 96, 134, 2168, 102, 121, 1499, 6, 96, 382, 9288, 26, 121, 1499, 6, 96, 134, 15, 1018, 26, 121, 1499, 6, 96, 2796, 9, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 2168, 102, 121, 21680, 953, 834, 3288, 22012, 549, 17444, 427, 96, 382, 9288, 26, 121, 3274, 3, 31, 1720, 40, 32, 4620, 7, 9, 22357, 15396, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many patients whose admission location is emergency room admit and primary disease is mesenteric ischemia?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.diagnosis = "MESENTERIC ISCHEMIA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 427, 13098, 18464, 17063, 3, 30270, 8502, 12604, 121, 3430, 147...
How many original air dates have U.S. Views (millions) of 19.49?
CREATE TABLE table_1757 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "U.S. viewers (millions)" text )
SELECT COUNT("Original air date") FROM table_1757 WHERE "U.S. viewers (millions)" = '19.49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 3436, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 667, 3380, 10270, 799, 833, 8512, 21680, 953, 834, 2517, 3436, 549, 17444, 427, 96, 1265, 5, 134, 5, 13569, 41, 17030, 7, 61, 121, 3274, 3, 31, 2294, 5, 3647, 31, 1, -100, -100, -100, -100, ...
Find Team_Name and ACC_Percent , and visualize them by a bar chart, I want to order by the Y-axis in desc please.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Per...
SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY ACC_Percent DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 23954, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 12988, 3728, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many years had at least 15 or more independent councillors ?
CREATE TABLE table_204_349 ( id number, "year" number, "conservative\ncouncillors" number, "labour\ncouncillors" number, "independent\ncouncillors" number, "liberal\ncouncillors" number )
SELECT COUNT("year") FROM table_204_349 WHERE "independent\ncouncillors" >= 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3647, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 1018, 3473, 1528, 2, 29, 509, 15254, 40, 322, 7, 121, 381, 6, 96, 9339, 1211, 2, 29, 509, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 1201, 8512, 21680, 953, 834, 26363, 834, 519, 3647, 549, 17444, 427, 96, 77, 17631, 2, 29, 509, 15254, 40, 322, 7, 121, 2490, 2423, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's the total number of points for grace dunne with a draw over 5?
CREATE TABLE table_name_93 (points VARCHAR, artist VARCHAR, draw VARCHAR)
SELECT COUNT(points) FROM table_name_93 WHERE artist = "grace dunne" AND draw > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 2700, 7, 584, 4280, 28027, 6, 2377, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 792, 381, 13, 979, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 2377, 3274, 96, 122, 12614, 146, 29, 29, 15, 121, 3430, 3314, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What round is highest and has a defensive tackle position and overall lower than 282?
CREATE TABLE table_name_12 (round INTEGER, position VARCHAR, overall VARCHAR)
SELECT MAX(round) FROM table_name_12 WHERE position = "defensive tackle" AND overall < 282
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 7775, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 19, 2030, 11, 65, 3, 9, 1197...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 1102, 3274, 96, 221, 23039, 15, 8000, 121, 3430, 1879, 3, 2, 2059, 357, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Total Cargo (Metric Tonnes) is the highest one that has a Rank smaller than 4, and an Airport of shanghai pudong international airport?
CREATE TABLE table_name_66 (total_cargo__metric_tonnes_ INTEGER, rank VARCHAR, airport VARCHAR)
SELECT MAX(total_cargo__metric_tonnes_) FROM table_name_66 WHERE rank < 4 AND airport = "shanghai pudong international airport"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 235, 1947, 834, 1720, 839, 834, 834, 7959, 834, 17, 5993, 7, 834, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 3761, 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, 4800, 4, 599, 235, 1947, 834, 1720, 839, 834, 834, 7959, 834, 17, 5993, 7, 834, 61, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 11003, 3, 2, 314, 3430, 3761, 3274, 96, 7, 9270, 1024, 23, 4353, 26, 2444, 1...
What is Country, when Place is "T3", and when Score is "67-70=137"?
CREATE TABLE table_name_24 (country VARCHAR, place VARCHAR, score VARCHAR)
SELECT country FROM table_name_24 WHERE place = "t3" AND score = 67 - 70 = 137
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 17529, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 6993, 6, 116, 3399, 19, 96, 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, 684, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 3430, 2604, 3274, 3, 3708, 3, 18, 2861, 3274, 3, 24636, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many percentages are listed for the election in 1983?
CREATE TABLE table_168482_1 ( _percentage_of_popular_vote VARCHAR, election VARCHAR )
SELECT COUNT(_percentage_of_popular_vote) FROM table_168482_1 WHERE election = 1983
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24274, 3707, 357, 834, 536, 41, 3, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 584, 4280, 28027, 6, 4356, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 61, 21680, 953, 834, 24274, 3707, 357, 834, 536, 549, 17444, 427, 4356, 3274, 15041, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...