NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What were the total number of games in April greater than 83?
CREATE TABLE table_name_61 ( april VARCHAR, game INTEGER )
SELECT COUNT(april) FROM table_name_61 WHERE game > 83
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 3, 9, 2246, 40, 584, 4280, 28027, 6, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 130, 8, 792, 381, 13, 1031, 16, 1186, 2123, 145...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 9, 2246, 40, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 467, 2490, 3, 4591, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team features garth tander?
CREATE TABLE table_name_14 ( team VARCHAR, name VARCHAR )
SELECT team FROM table_name_14 WHERE name = "garth tander"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 372, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 753, 5260, 189, 3, 17, 11849, 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, 372, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 564, 3274, 96, 1478, 189, 3, 17, 11849, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What film was directed by Sandro Aguilar?
CREATE TABLE table_name_80 (film VARCHAR, director_s_ VARCHAR)
SELECT film FROM table_name_80 WHERE director_s_ = "sandro aguilar"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 9988, 584, 4280, 28027, 6, 2090, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 814, 47, 6640, 57, 1138, 22357, 71, 7938, 40, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 814, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 2090, 834, 7, 834, 3274, 96, 7, 9, 22357, 3, 9, 7938, 40, 291, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many points have a series of british formula renault 2.0 winter cup and f/laps of 0?
CREATE TABLE table_25983 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" text, "Position" text )
SELECT "Points" FROM table_25983 WHERE "Series" = 'British Formula Renault 2.0 Winter Cup' AND "F/Laps" = '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 3916, 519, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 121, 21680, 953, 834, 1828, 3916, 519, 549, 17444, 427, 96, 12106, 7, 121, 3274, 3, 31, 279, 13224, 7, 107, 13786, 20493, 6864, 4272, 3802, 31, 3430, 96, 371, 87, 3612, 102, 7, 121, 3274, 3, 31, 63...
What position did the person finish in with a notes of junior men individual 5.64km?
CREATE TABLE table_name_95 ( position VARCHAR, notes VARCHAR )
SELECT position FROM table_name_95 WHERE notes = "junior men individual 5.64km"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 1102, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 8, 568, 1992, 16, 28, 3, 9, 3358, 13, 9212, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 3358, 3274, 96, 6959, 23, 127, 1076, 928, 3594, 4389, 5848, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the chassis for Augusto Scalbi on Team RP Motorsport?
CREATE TABLE table_44020 ( "Team" text, "Driver" text, "Class" text, "Chassis" text, "Rounds" text )
SELECT "Chassis" FROM table_44020 WHERE "Team" = 'rp motorsport' AND "Driver" = 'augusto scalbi'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22335, 1755, 41, 96, 18699, 121, 1499, 6, 96, 20982, 52, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 448, 32, 1106, 7, 121, 1499, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3541, 6500, 7, 121, 21680, 953, 834, 22335, 1755, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 52, 102, 2340, 6661, 31, 3430, 96, 20982, 52, 121, 3274, 3, 31, 402, 17198, 32, 3, 7, 1489, 115, 23, 31, 1, -...
What language was the film Pelle Erobreren, which received the best actor nomination, in?
CREATE TABLE table_name_11 ( language VARCHAR, category VARCHAR, original_title VARCHAR )
SELECT language FROM table_name_11 WHERE category = "best actor" AND original_title = "pelle erobreren"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 1612, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1612, 47, 8, 814, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1612, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 3295, 3274, 96, 9606, 7556, 121, 3430, 926, 834, 21869, 3274, 96, 102, 693, 3, 49, 32, 1999, 1536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the total number of written by for original air date for may 8, 2005
CREATE TABLE table_1876825_7 ( written_by VARCHAR, original_air_date VARCHAR )
SELECT COUNT(written_by) FROM table_1876825_7 WHERE original_air_date = "May 8, 2005"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 3651, 1828, 834, 940, 41, 1545, 834, 969, 584, 4280, 28027, 6, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14973, 834, 969, 61, 21680, 953, 834, 25828, 3651, 1828, 834, 940, 549, 17444, 427, 926, 834, 2256, 834, 5522, 3274, 96, 15881, 9478, 3105, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Hometown/School had a pick above 30, position of OF and team of Cleveland Indians?
CREATE TABLE table_name_79 (hometown_school VARCHAR, team VARCHAR, pick VARCHAR, position VARCHAR)
SELECT hometown_school FROM table_name_79 WHERE pick > 30 AND position = "of" AND team = "cleveland indians"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 5515, 3540, 834, 6646, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 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, 22295, 834, 6646, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1432, 2490, 604, 3430, 1102, 3274, 96, 858, 121, 3430, 372, 3274, 96, 75, 4563, 232, 16, 8603, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100...
Who has a career that has test larger than 41, catches over 33, and a total dismissals rate of 147?
CREATE TABLE table_name_46 (test_career VARCHAR, total_dismissals VARCHAR, tests VARCHAR, catches VARCHAR)
SELECT test_career FROM table_name_46 WHERE tests > 41 AND catches > 33 AND total_dismissals = 147
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 4377, 834, 2864, 49, 584, 4280, 28027, 6, 792, 834, 26, 159, 11502, 5405, 584, 4280, 28027, 6, 3830, 584, 4280, 28027, 6, 3, 23386, 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, 794, 834, 2864, 49, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 3830, 2490, 8798, 3430, 3, 23386, 2490, 5400, 3430, 792, 834, 26, 159, 11502, 5405, 3274, 3, 24719, 1, -100, -100, -100, -100, -100, -100, -100, ...
count the number of patients whose admission year is less than 2200 and item id is 51222?
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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.admityear < "2200" AND lab.itemid = "51222"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the Wins which has a Class of 350cc, and a Year smaller than 1973?
CREATE TABLE table_name_42 ( wins INTEGER, class VARCHAR, year VARCHAR )
SELECT SUM(wins) FROM table_name_42 WHERE class = "350cc" AND year < 1973
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 9204, 3, 21342, 17966, 6, 853, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 4871, 7, 84, 65, 3, 9, 4501...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 3757, 7, 61, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 853, 3274, 96, 16975, 75, 75, 121, 3430, 215, 3, 2, 17107, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
name the country that had the same number of bronze medals as russia .
CREATE TABLE table_204_703 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_703 WHERE "nation" <> 'russia' AND "bronze" = (SELECT "bronze" FROM table_204_703 WHERE "nation" = 'russia')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 2518, 519, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 26363, 834, 2518, 519, 549, 17444, 427, 96, 29, 257, 121, 3, 2, 3155, 3, 31, 26165, 31, 3430, 96, 13711, 776, 121, 3274, 41, 23143, 14196, 96, 13711, 776, 121, 21680, 953, 834, ...
Create a bar chart showing manager_id across last name, could you list in descending by the x-axis?
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0),...
SELECT LAST_NAME, MANAGER_ID FROM employees ORDER BY LAST_NAME 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, 301, 12510, 834, 567, 17683, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 4674, 11300, 272, 476, 301, 12510, 834, 567, 17683, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many international tourist arrivals were in Senegal in 2011?
CREATE TABLE table_19569 ( "Rank" real, "Country" text, "International tourist arrivals (2011)" text, "International tourist arrivals (2010)" text, "Change (2010 to 2011)" text, "Change (2009 to 2010)" text )
SELECT "International tourist arrivals (2011)" FROM table_19569 WHERE "Country" = 'Senegal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22464, 3951, 41, 96, 22557, 121, 490, 6, 96, 10628, 651, 121, 1499, 6, 96, 27490, 8548, 6870, 7, 25163, 121, 1499, 6, 96, 27490, 8548, 6870, 7, 26118, 121, 1499, 6, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 27490, 8548, 6870, 7, 25163, 121, 21680, 953, 834, 22464, 3951, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 134, 35, 15, 6191, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the away team score for home team of university
CREATE TABLE table_name_36 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team AS score FROM table_name_36 WHERE home_team = "university"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 550, 372, 2604, 21, 234, 372, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7846, 485, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many league apps in the season with more than 2 cup goals and more than 6 cup apps?
CREATE TABLE table_name_22 ( league_apps INTEGER, cup_goals VARCHAR, cup_apps VARCHAR )
SELECT SUM(league_apps) FROM table_name_22 WHERE cup_goals > 2 AND cup_apps > 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 5533, 834, 3096, 7, 3, 21342, 17966, 6, 4119, 834, 839, 5405, 584, 4280, 28027, 6, 4119, 834, 3096, 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, 180, 6122, 599, 29512, 834, 3096, 7, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 4119, 834, 839, 5405, 2490, 204, 3430, 4119, 834, 3096, 7, 2490, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is Try Diff, when Points Against is 213?
CREATE TABLE table_44488 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text )
SELECT "Try diff" FROM table_44488 WHERE "Points against" = '213'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3628, 4060, 41, 96, 18699, 121, 1499, 6, 96, 382, 2593, 21, 121, 1499, 6, 96, 382, 2593, 581, 121, 1499, 6, 96, 382, 651, 20624, 121, 1499, 6, 96, 22512, 7, 21, 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, 382, 651, 20624, 121, 21680, 953, 834, 591, 3628, 4060, 549, 17444, 427, 96, 22512, 7, 581, 121, 3274, 3, 31, 357, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the time for a grid more than 6 in less than 23 laps with a Honda CBR1000RR?
CREATE TABLE table_name_31 ( time VARCHAR, laps VARCHAR, grid VARCHAR, bike VARCHAR )
SELECT time FROM table_name_31 WHERE grid > 6 AND bike = "honda cbr1000rr" AND laps < 23
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 97, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 3724, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 97, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 8634, 2490, 431, 3430, 3724, 3274, 96, 31782, 3, 75, 115, 52, 16824, 52, 52, 121, 3430, 14941, 7, 3, 2, 1902, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Name the yarn type for standard yarn weight system for 3 or light
CREATE TABLE table_23646 ( "Standard Yarn Weight System" text, "Yarn Type (US)" text, "Ply (UK, NZ, AU)" text, "m/100g" text, "Wraps Per Inch (WPI)" text )
SELECT "Yarn Type (US)" FROM table_23646 WHERE "Standard Yarn Weight System" = '3 or Light'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3420, 4448, 41, 96, 134, 17, 232, 986, 4701, 52, 29, 14230, 2149, 121, 1499, 6, 96, 476, 291, 29, 6632, 41, 3063, 61, 121, 1499, 6, 96, 345, 120, 41, 15787, 6, 445...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 291, 29, 6632, 41, 3063, 61, 121, 21680, 953, 834, 357, 3420, 4448, 549, 17444, 427, 96, 134, 17, 232, 986, 4701, 52, 29, 14230, 2149, 121, 3274, 3, 31, 519, 42, 2892, 31, 1, -100, -100, -100, -100, -10...
Which home has a Date of november 7?
CREATE TABLE table_name_16 ( home VARCHAR, date VARCHAR )
SELECT home FROM table_name_16 WHERE date = "november 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 65, 3, 9, 7678, 13, 3, 5326, 18247, 489, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is round2 when round5 is more than 35, round3 is less than 51, the rank is smaller than 2 and the team is netherlands?
CREATE TABLE table_name_54 (round2 VARCHAR, rank VARCHAR, team VARCHAR, round5 VARCHAR, round3 VARCHAR)
SELECT COUNT(round2) FROM table_name_54 WHERE round5 > 35 AND round3 < 51 AND team = "netherlands" AND rank < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 7775, 357, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 1751, 755, 584, 4280, 28027, 6, 1751, 519, 584, 4280, 28027, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 7318, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1751, 755, 2490, 3097, 3430, 1751, 519, 3, 2, 11696, 3430, 372, 3274, 96, 29, 16764, 6347, 121, 3430, 11003, 3, 2, 204, 1, -100, -100,...
What is the D43 associated with a D41 of r 21?
CREATE TABLE table_name_44 ( d_43 VARCHAR, d_41 VARCHAR )
SELECT d_43 FROM table_name_44 WHERE d_41 = "r 21"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 3, 26, 834, 4906, 584, 4280, 28027, 6, 3, 26, 834, 4853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 309, 4906, 1968, 28, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 4906, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3, 26, 834, 4853, 3274, 96, 52, 1401, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which driver has a grid value larger than 11, and drove more than 52 laps?
CREATE TABLE table_name_38 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_38 WHERE grid > 11 AND laps > 52
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 13739, 52, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535, 65, 3, 9, 8634, 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, 2535, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 8634, 2490, 850, 3430, 14941, 7, 2490, 9065, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the isotopic mass (u) when the nuclide is 89 y?
CREATE TABLE table_42763 ( "Element" text, "Nuclide" text, "Z ( p )" real, "N ( n )" real, "isotopic mass ( u )" text )
SELECT "isotopic mass ( u )" FROM table_42763 WHERE "Nuclide" = '89 y'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2555, 3891, 41, 96, 427, 3335, 121, 1499, 6, 96, 12924, 14758, 221, 121, 1499, 6, 96, 956, 41, 3, 102, 3, 61, 121, 490, 6, 96, 567, 41, 3, 29, 3, 61, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 159, 32, 19710, 3294, 41, 3, 76, 3, 61, 121, 21680, 953, 834, 591, 2555, 3891, 549, 17444, 427, 96, 12924, 14758, 221, 121, 3274, 3, 31, 3914, 3, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Melbourne had a gold coast and sydney which were yes, but an adelaide that was no?
CREATE TABLE table_name_59 ( melbourne VARCHAR, sydney VARCHAR, gold_coast VARCHAR, adelaide VARCHAR )
SELECT melbourne FROM table_name_59 WHERE gold_coast = "yes" AND adelaide = "no" AND sydney = "yes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 3, 2341, 26255, 584, 4280, 28027, 6, 3, 7, 63, 26, 3186, 584, 4280, 28027, 6, 2045, 834, 25500, 584, 4280, 28027, 6, 3, 15311, 5385, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 2341, 26255, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 2045, 834, 25500, 3274, 96, 10070, 121, 3430, 3, 15311, 5385, 3274, 96, 29, 32, 121, 3430, 3, 7, 63, 26, 3186, 3274, 96, 10070, 121, 1, -100, -100...
What is the final score in 2007 for the world league in novi sad played against Italy?
CREATE TABLE table_70842 ( "Year" real, "Competition" text, "Town" text, "Opponent" text, "Final score" text )
SELECT "Final score" FROM table_70842 WHERE "Year" = '2007' AND "Competition" = 'world league' AND "Town" = 'novi sad' AND "Opponent" = 'italy'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 4608, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 382, 9197, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 371, 10270, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10270, 2604, 121, 21680, 953, 834, 2518, 4608, 357, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 20615, 31, 3430, 96, 5890, 4995, 4749, 121, 3274, 3, 31, 7276, 5533, 31, 3430, 96, 382, 9197, 121, 327...
What is the summary for the episode with a coach named Rebecca Star?
CREATE TABLE table_2140071_13 (episode VARCHAR, coach VARCHAR)
SELECT episode AS Summary FROM table_2140071_13 WHERE coach = "Rebecca Star"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 5548, 4450, 834, 2368, 41, 15, 102, 159, 32, 221, 584, 4280, 28027, 6, 3763, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 9251, 21, 8, 5640, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5640, 6157, 20698, 21680, 953, 834, 2658, 5548, 4450, 834, 2368, 549, 17444, 427, 3763, 3274, 96, 1649, 346, 12464, 2042, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is every reference for the example of AF117?
CREATE TABLE table_31424 ( "Prefix class" text, "Type and usage" text, "Example" text, "Equivalent" text, "Reference" text )
SELECT "Reference" FROM table_31424 WHERE "Example" = 'AF117'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2534, 2266, 41, 96, 10572, 12304, 853, 121, 1499, 6, 96, 25160, 11, 4742, 121, 1499, 6, 96, 5420, 9, 9208, 121, 1499, 6, 96, 427, 1169, 15592, 121, 1499, 6, 96, 1649...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11788, 121, 21680, 953, 834, 519, 2534, 2266, 549, 17444, 427, 96, 5420, 9, 9208, 121, 3274, 3, 31, 6282, 20275, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the total number of date for l 63-77
CREATE TABLE table_19789597_5 (date VARCHAR, score VARCHAR)
SELECT COUNT(date) FROM table_19789597_5 WHERE score = "L 63-77"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3940, 3301, 4327, 834, 755, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 833, 21, 3, 40, 3, 3891, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5522, 61, 21680, 953, 834, 2294, 3940, 3301, 4327, 834, 755, 549, 17444, 427, 2604, 3274, 96, 434, 3, 3891, 18, 4013, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the shortest Time for David Neville when his React time was greater than 0.183?
CREATE TABLE table_14209 ( "Rank" real, "Lane" real, "Athlete" text, "Nationality" text, "Time" real, "React" real )
SELECT MIN("Time") FROM table_14209 WHERE "React" > '0.183' AND "Athlete" = 'david neville'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24978, 4198, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 188, 189, 1655, 15, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 13368, 8512, 21680, 953, 834, 24978, 4198, 549, 17444, 427, 96, 1649, 2708, 121, 2490, 3, 31, 16029, 4591, 31, 3430, 96, 188, 189, 1655, 15, 121, 3274, 3, 31, 26, 9, 6961, 3, 29, 15, 1420, 31...
How many results have 14,381 as the attendance?
CREATE TABLE table_21350934_2 (result VARCHAR, attendance VARCHAR)
SELECT COUNT(result) FROM table_21350934_2 WHERE attendance = "14,381"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 2469, 4198, 3710, 834, 357, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 772, 43, 11363, 3747, 536, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 60, 7, 83, 17, 61, 21680, 953, 834, 2658, 2469, 4198, 3710, 834, 357, 549, 17444, 427, 11364, 3274, 96, 2534, 6, 3747, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which team played against North Melbourne as the home team?
CREATE TABLE table_name_5 ( home_team VARCHAR, away_team VARCHAR )
SELECT home_team FROM table_name_5 WHERE away_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 234, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 1944, 581, 1117, 9396, 38, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 550, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was marlboro brm's lowest points by using brm p160b?
CREATE TABLE table_name_60 (points INTEGER, entrant VARCHAR, chassis VARCHAR)
SELECT MIN(points) FROM table_name_60 WHERE entrant = "marlboro brm" AND chassis = "brm p160b"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 2700, 7, 3, 21342, 17966, 6, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 3157, 40, 14901, 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, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 3, 295, 3569, 3274, 96, 1635, 40, 14901, 6397, 51, 121, 3430, 22836, 3274, 96, 115, 52, 51, 3, 102, 19129, 115, 121, 1, -100, -100, ...
how many patients admitted in emergency were diagnosed with seroma complicating a procedure?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.long_title = "Seroma complicating a procedure"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What is the Place, when the Score is 68-70-71=209?
CREATE TABLE table_name_19 ( place VARCHAR, score VARCHAR )
SELECT place FROM table_name_19 WHERE score = 68 - 70 - 71 = 209
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 6, 116, 8, 17763, 19, 3, 3651, 18, 2518, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 2604, 3274, 3, 3651, 3, 18, 2861, 3, 18, 3, 4450, 3274, 460, 1298, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What number episode in the series had a production code of 110?
CREATE TABLE table_27483 ( "No. in series" text, "Title" text, "Directed by" text, "Written by" text, "U.S. viewers (millions)" text, "Original U.S. air date" text, "Prod. code" text )
SELECT "No. in series" FROM table_27483 WHERE "Prod. code" = '110'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3707, 519, 41, 96, 4168, 5, 16, 939, 121, 1499, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4168, 5, 16, 939, 121, 21680, 953, 834, 2555, 3707, 519, 549, 17444, 427, 96, 3174, 26, 5, 1081, 121, 3274, 3, 31, 19277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is South Africa's to par?
CREATE TABLE table_name_35 (to_par VARCHAR, country VARCHAR)
SELECT to_par FROM table_name_35 WHERE country = "south africa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 235, 834, 1893, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 1013, 2648, 31, 7, 12, 260, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 684, 3274, 96, 7, 670, 107, 24040, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average time span of contact channels in the database?
CREATE TABLE customer_contact_channels (active_to_date VARCHAR, active_from_date VARCHAR)
SELECT AVG(active_to_date - active_from_date) FROM customer_contact_channels
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 884, 834, 27608, 834, 19778, 7, 41, 6645, 834, 235, 834, 5522, 584, 4280, 28027, 6, 1676, 834, 7152, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 6645, 834, 235, 834, 5522, 3, 18, 1676, 834, 7152, 834, 5522, 61, 21680, 884, 834, 27608, 834, 19778, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What's the storage case of the buttonholer described as ivory and red metal?
CREATE TABLE table_74303 ( "For shank type" text, "Singer part number" text, "Uses templates?" text, "Description" text, "Storage case" text )
SELECT "Storage case" FROM table_74303 WHERE "Description" = 'ivory and red metal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 23335, 41, 96, 3809, 6660, 5979, 686, 121, 1499, 6, 96, 134, 9963, 294, 381, 121, 1499, 6, 96, 1265, 2260, 7405, 4609, 1499, 6, 96, 2962, 11830, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 235, 4843, 495, 121, 21680, 953, 834, 4581, 23335, 549, 17444, 427, 96, 2962, 11830, 121, 3274, 3, 31, 23, 1967, 63, 11, 1131, 1946, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Spain had what time with lanes smaller than 4?
CREATE TABLE table_67597 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" text )
SELECT "Time" FROM table_67597 WHERE "Lane" < '4' AND "Nationality" = 'spain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 3390, 940, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 13368, 121, 21680, 953, 834, 3708, 3390, 940, 549, 17444, 427, 96, 434, 152, 15, 121, 3, 2, 3, 31, 591, 31, 3430, 96, 24732, 485, 121, 3274, 3, 31, 14147, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Which December has a Record of 21 6 5?
CREATE TABLE table_34412 ( "Game" real, "December" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT AVG("December") FROM table_34412 WHERE "Record" = '21–6–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3628, 2122, 41, 96, 23055, 121, 490, 6, 96, 29835, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 29835, 8512, 21680, 953, 834, 519, 3628, 2122, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2658, 104, 948, 104, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
when was the last hospital admission time when patient 028-45936 was admitted via an recovery room?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsysto...
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '028-45936' AND patient.hospitaladmitsource = 'recovery room' ORDER BY patient.hospitaladmittime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3362, 4267, 32, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 2577, 4278, 3390, 3420, 31, 3430, 1868, 5, 31386, 20466, 17, 7928, 3274, 3, 31, 60, 9817, 63, 562, 31, 467...
Which college's pick was 14?
CREATE TABLE table_35029 ( "Round" text, "Pick" text, "Player" text, "Position" text, "College" text )
SELECT "College" FROM table_35029 WHERE "Pick" = '14'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16975, 3166, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 96, 9939, 7883, 121, 21680, 953, 834, 16975, 3166, 549, 17444, 427, 96, 345, 3142, 121, 3274, 3, 31, 2534, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of employees that have a salary between 100000 and 200000?
CREATE TABLE flight ( flno number, origin text, destination text, distance number, departure_date time, arrival_date time, price number, aid number ) CREATE TABLE certificate ( eid number, aid number ) CREATE TABLE aircraft ( aid number, name text, distance number )...
SELECT COUNT(*) FROM employee WHERE salary BETWEEN 100000 AND 200000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3777, 41, 3, 89, 40, 29, 32, 381, 6, 5233, 1499, 6, 3954, 1499, 6, 2357, 381, 6, 12028, 834, 5522, 97, 6, 6870, 834, 5522, 97, 6, 594, 381, 6, 3052, 381, 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, 1935, 61, 21680, 3490, 549, 17444, 427, 9090, 272, 7969, 518, 23394, 910, 2313, 3430, 2766, 1206, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Provide me the number of patients taking base type drug prescriptions who have hip pressure ulcer.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Pressure ulcer, hip" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
how many patients whose discharge location is home and age is less than 68?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "HOME" AND demographic.age < "68"
[ 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, 26, 159, 7993, 834, 14836, 3274, 96, 6299, 4369, 121, 3430, 14798, 5, 545, 3, 2, 96, 3651, 121, ...
What was the competition in 2003?
CREATE TABLE table_name_76 ( competition VARCHAR, year VARCHAR )
SELECT competition FROM table_name_76 WHERE year = 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 2259, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2259, 16, 3888, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 3959, 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, -100, -100, -100, -100...
What is the average react of bryan barnett, who has a lane less than 2?
CREATE TABLE table_name_59 (react INTEGER, name VARCHAR, lane VARCHAR)
SELECT AVG(react) FROM table_name_59 WHERE name = "bryan barnett" AND lane < 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 60, 2708, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8922, 13, 6397,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 60, 2708, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 564, 3274, 96, 115, 651, 152, 1207, 10544, 121, 3430, 3, 8102, 3, 2, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average number of entries driver Mark Webber, who has more than 1014.5 points, has?
CREATE TABLE table_37062 ( "Driver" text, "Entries" real, "Points" real, "Average points per race entered" real, "Average pre-2010" real )
SELECT AVG("Entries") FROM table_37062 WHERE "Driver" = 'mark webber' AND "Points" > '1014.5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22520, 4056, 41, 96, 20982, 52, 121, 1499, 6, 96, 16924, 2593, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 188, 624, 545, 979, 399, 1964, 5136, 121, 490, 6, 96, 188, 62...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 16924, 2593, 8512, 21680, 953, 834, 22520, 4056, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 3920, 765, 1152, 31, 3430, 96, 22512, 7, 121, 2490, 3, 31, 19621, 12451, 31, 1, -100, -100, -...
What tournament was played on May 29, 2010?
CREATE TABLE table_name_8 ( tournament VARCHAR, date VARCHAR )
SELECT tournament FROM table_name_8 WHERE date = "may 29, 2010"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5892, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5892, 47, 1944, 30, 932, 14405, 2735, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 833, 3274, 96, 13726, 14405, 2735, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team did the player represent that was picked after 196?
CREATE TABLE table_name_35 (nfl_club VARCHAR, pick INTEGER)
SELECT nfl_club FROM table_name_35 WHERE pick > 196
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 29, 89, 40, 834, 13442, 584, 4280, 28027, 6, 1432, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 410, 8, 1959, 4221, 24, 47, 4758, 227,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 89, 40, 834, 13442, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1432, 2490, 3, 26937, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many golds for teams ranking below 7 with 3 bronze and less than 5 total medals?
CREATE TABLE table_name_79 (gold VARCHAR, total VARCHAR, bronze VARCHAR, rank VARCHAR)
SELECT COUNT(gold) FROM table_name_79 WHERE bronze = 3 AND rank > 7 AND total < 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 14910, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 14910, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 13467, 3274, 220, 3430, 11003, 2490, 489, 3430, 792, 3, 2, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What are the average points that have december 27?
CREATE TABLE table_name_36 ( points INTEGER, december VARCHAR )
SELECT AVG(points) FROM table_name_36 WHERE december = 27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 979, 3, 21342, 17966, 6, 20, 75, 18247, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 1348, 979, 24, 43, 20, 75, 18247, 2307, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 20, 75, 18247, 3274, 2307, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what player got 10 total points in their game ?
CREATE TABLE table_204_952 ( id number, "rank" number, "player" text, "county" text, "tally" text, "total" number, "opposition" text )
SELECT "player" FROM table_204_952 WHERE "total" = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3301, 357, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 13362, 63, 121, 1499, 6, 96, 17, 1427, 121, 1499, 6, 96, 235, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20846, 121, 21680, 953, 834, 26363, 834, 3301, 357, 549, 17444, 427, 96, 235, 1947, 121, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On which date was the Dodge Dealers Grand Prix GTS class race?
CREATE TABLE table_name_46 (date VARCHAR, race VARCHAR, class VARCHAR)
SELECT date FROM table_name_46 WHERE race = "dodge dealers grand prix" AND class = "gts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 5522, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 461, 84, 833, 47, 8, 15153, 22212, 7, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 1964, 3274, 96, 26, 32, 26, 397, 15939, 1907, 3407, 121, 3430, 853, 3274, 96, 122, 17, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average election that has monza as the municipality?
CREATE TABLE table_13092 ( "Municipality" text, "Inhabitants" real, "Mayor" text, "Party" text, "Election" real )
SELECT AVG("Election") FROM table_13092 WHERE "Municipality" = 'monza'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21448, 4508, 41, 96, 329, 202, 23, 3389, 10355, 121, 1499, 6, 96, 1570, 29884, 7, 121, 490, 6, 96, 15881, 127, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 427, 12252, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 427, 12252, 8512, 21680, 953, 834, 21448, 4508, 549, 17444, 427, 96, 329, 202, 23, 3389, 10355, 121, 3274, 3, 31, 2157, 1629, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the name of the player picked in the last round ?
CREATE TABLE table_203_291 ( id number, "round" number, "pick" number, "player" text, "position" text, "school/club team" text )
SELECT "player" FROM table_203_291 ORDER BY "round" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 357, 4729, 41, 3, 23, 26, 381, 6, 96, 7775, 121, 381, 6, 96, 17967, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 6646, 87, 13442, 372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20846, 121, 21680, 953, 834, 23330, 834, 357, 4729, 4674, 11300, 272, 476, 96, 7775, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many company commanders were commissioned or elected on November 12, 1861?
CREATE TABLE table_29023680_2 ( company VARCHAR, date_of_election_commission VARCHAR )
SELECT COUNT(company) AS Commander FROM table_29023680_2 WHERE date_of_election_commission = "November 12, 1861"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 357, 3420, 2079, 834, 357, 41, 349, 584, 4280, 28027, 6, 833, 834, 858, 834, 15, 12252, 834, 287, 5451, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 29179, 61, 6157, 24934, 21680, 953, 834, 23838, 357, 3420, 2079, 834, 357, 549, 17444, 427, 833, 834, 858, 834, 15, 12252, 834, 287, 5451, 3274, 96, 28635, 10440, 507, 4241, 121, 1, -100, -100, -100,...
Draw a bar chart of operating system versus the total number
CREATE TABLE browser ( id int, name text, market_share real ) CREATE TABLE accelerator_compatible_browser ( accelerator_id int, browser_id int, compatible_since_year int ) CREATE TABLE Web_client_accelerator ( id int, name text, Operating_system text, Client text, Connectio...
SELECT Operating_system, COUNT(*) FROM Web_client_accelerator GROUP BY Operating_system
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3509, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 512, 834, 12484, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 30202, 834, 25383, 834, 14853, 7, 49, 41, 30202, 834...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 21606, 834, 3734, 6, 2847, 17161, 599, 1935, 61, 21680, 1620, 834, 26693, 834, 6004, 15, 1171, 1016, 350, 4630, 6880, 272, 476, 21606, 834, 3734, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name who directed the 114 episode in the series
CREATE TABLE table_15584067_7 ( directed_by VARCHAR, no_in_series VARCHAR )
SELECT directed_by FROM table_15584067_7 WHERE no_in_series = "114"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 26311, 3708, 834, 940, 41, 6640, 834, 969, 584, 4280, 28027, 6, 150, 834, 77, 834, 10833, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 113, 6640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6640, 834, 969, 21680, 953, 834, 20896, 26311, 3708, 834, 940, 549, 17444, 427, 150, 834, 77, 834, 10833, 7, 3274, 96, 18959, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the party for massachusetts 3
CREATE TABLE table_1341897_23 (party VARCHAR, district VARCHAR)
SELECT party FROM table_1341897_23 WHERE district = "Massachusetts 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2606, 4327, 834, 2773, 41, 8071, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1088, 21, 3294, 1836, 1074, 17, 17, 7, 220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1088, 21680, 953, 834, 23747, 2606, 4327, 834, 2773, 549, 17444, 427, 3939, 3274, 96, 27189, 1836, 1074, 17, 17, 7, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
who held the position longer , t.v sivaraopantulu or l. suryalingam ?
CREATE TABLE table_204_593 ( id number, "year" text, "chairperson" text )
SELECT "chairperson" FROM table_204_593 WHERE "chairperson" IN ('t.v. sivaraopantulu', 'l. suryalingam') ORDER BY "year" - "year" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3390, 519, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 15657, 6075, 121, 1499, 3, 61, 3, 32102, 32103, 32101, 32103, 113, 1213, 8, 1102, 1200, 3, 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, 15657, 6075, 121, 21680, 953, 834, 26363, 834, 3390, 519, 549, 17444, 427, 96, 15657, 6075, 121, 3388, 41, 31, 17, 5, 208, 5, 108, 4331, 9, 32, 2837, 2520, 76, 31, 6, 3, 31, 40, 5, 244, 63, 9, 697, 265, ...
What venue featured fitzroy as the home squad?
CREATE TABLE table_name_62 (venue VARCHAR, home_team VARCHAR)
SELECT venue FROM table_name_62 WHERE home_team = "fitzroy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 15098, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 4510, 1400, 172, 8170, 38, 8, 234, 12025, 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, 5669, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 234, 834, 11650, 3274, 96, 89, 5615, 8170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose lab test name is mesothelial cells?
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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.label = "Mesothelial cells"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many Dates have a Score in the final of 6 4, 6 2?
CREATE TABLE table_name_92 ( date INTEGER, score_in_the_final VARCHAR )
SELECT SUM(date) FROM table_name_92 WHERE score_in_the_final = "6–4, 6–2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 833, 3, 21342, 17966, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 7678, 7, 43, 3, 9, 17...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 5522, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 948, 104, 8525, 431, 104, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When was the Rd., Time 12 (12), 1:24?
CREATE TABLE table_42899 ( "Result" text, "Opponent" text, "Type" text, "Rd., Time" text, "Date" text, "Location" text )
SELECT "Date" FROM table_42899 WHERE "Rd., Time" = '12 (12), 1:24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2577, 3264, 41, 96, 20119, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 448, 26, 5, 6, 2900, 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, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 591, 2577, 3264, 549, 17444, 427, 96, 448, 26, 5, 6, 2900, 121, 3274, 3, 31, 2122, 16465, 201, 30651, 591, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of votes for the party which got more than 28 seats?
CREATE TABLE table_52367 ( "Party" text, "Leader" text, "Votes" real, "Percentage" text, "Seats" real )
SELECT COUNT("Votes") FROM table_52367 WHERE "Seats" > '28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2773, 3708, 41, 96, 13725, 63, 121, 1499, 6, 96, 2796, 9, 588, 121, 1499, 6, 96, 553, 32, 1422, 121, 490, 6, 96, 12988, 3728, 545, 121, 1499, 6, 96, 134, 1544, 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, 2847, 17161, 599, 121, 553, 32, 1422, 8512, 21680, 953, 834, 755, 2773, 3708, 549, 17444, 427, 96, 134, 1544, 7, 121, 2490, 3, 31, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
In what venue is Essendon the home team?
CREATE TABLE table_54353 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Venue" FROM table_54353 WHERE "Home team" = 'essendon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 2469, 519, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 5062, 2469, 519, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 8185, 2029, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the highest guard picked?
CREATE TABLE table_name_50 ( pick INTEGER, position VARCHAR )
SELECT MAX(pick) FROM table_name_50 WHERE position = "guard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 1432, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 4879, 4758, 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, 4800, 4, 599, 17967, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 1102, 3274, 96, 11010, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
If the varsity team is 6, what is the location?
CREATE TABLE table_24919 ( "School" text, "Location" text, "Team Name" text, "Colors" text, "Varsity Teams" real, "NJCAA Championships" real )
SELECT "Location" FROM table_24919 WHERE "Varsity Teams" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3647, 2294, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 3881, 322, 7, 121, 1499, 6, 96, 553, 291, 7, 485, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 75, 257, 121, 21680, 953, 834, 357, 3647, 2294, 549, 17444, 427, 96, 553, 291, 7, 485, 16651, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many bronzes had a rank of 10 and 0 gold?
CREATE TABLE table_name_9 (bronze INTEGER, rank VARCHAR, gold VARCHAR)
SELECT SUM(bronze) FROM table_name_9 WHERE rank = "10" AND gold < 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 13711, 776, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13467, 7, 141, 3, 9, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 11003, 3274, 96, 1714, 121, 3430, 2045, 3, 2, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the date of the final that has a score of 3–6, 6–3, 6–4 and penny barg paula smith was the opponent?
CREATE TABLE table_name_98 (date VARCHAR, score_in_the_final VARCHAR, opponents_in_the_final VARCHAR)
SELECT date FROM table_name_98 WHERE score_in_the_final = "3–6, 6–3, 6–4" AND opponents_in_the_final = "penny barg paula smith"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 5522, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61, 3, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 519, 104, 11071, 431, 104, 6355, 431, 104, 20364, 3430, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 3208, 29...
What is Career with the franchise [b ], when Player is "Willie Anderson Category:Articles with hCards"?
CREATE TABLE table_name_59 (career_with_the_franchise_ VARCHAR, b_ VARCHAR, player VARCHAR)
SELECT career_with_the_franchise_[b_] FROM table_name_59 WHERE player = "willie anderson category:articles with hcards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 2864, 49, 834, 4065, 834, 532, 834, 6296, 1436, 7, 15, 834, 584, 4280, 28027, 6, 3, 115, 834, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1415, 834, 4065, 834, 532, 834, 6296, 1436, 7, 15, 834, 6306, 115, 834, 908, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 1959, 3274, 96, 8894, 23, 15, 11, 13515, 3295, 10, 8372, 7, 28, 3, 107, 6043, 7, 12...
What is the high lap total for a grid less than 6, and a Time/Retired of halfshaft?
CREATE TABLE table_name_68 (laps INTEGER, grid VARCHAR, time_retired VARCHAR)
SELECT MAX(laps) FROM table_name_68 WHERE grid < 6 AND time_retired = "halfshaft"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 8478, 7, 3, 21342, 17966, 6, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 306, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 8634, 3, 2, 431, 3430, 97, 834, 10682, 1271, 3274, 96, 17114, 7, 8045, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients are born before 2120 and their lab test fluid is other body fluid?
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 INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.dob_year < "2120" AND lab.fluid = "Other Body Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
what is the number of registered female voters where the percentage is 108.6%
CREATE TABLE table_25042332_30 ( enrolled_women VARCHAR, e_vap_ratio_women VARCHAR )
SELECT enrolled_women FROM table_25042332_30 WHERE e_vap_ratio_women = "108.6%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 11434, 591, 2773, 2668, 834, 1458, 41, 3, 15097, 834, 210, 32, 904, 584, 4280, 28027, 6, 3, 15, 834, 900, 102, 834, 6850, 32, 834, 210, 32, 904, 584, 4280, 28027, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15097, 834, 210, 32, 904, 21680, 953, 834, 11434, 591, 2773, 2668, 834, 1458, 549, 17444, 427, 3, 15, 834, 900, 102, 834, 6850, 32, 834, 210, 32, 904, 3274, 96, 16169, 5, 6370, 121, 1, -100, -100, -100, -100, ...
How many stations own Bounce TV?
CREATE TABLE table_19100 ( "Call sign" text, "Analog channel" text, "Digital channel" text, "Virtual channel" text, "Network" text, "Station Ownership" text )
SELECT COUNT("Station Ownership") FROM table_19100 WHERE "Network" = 'Bounce TV'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2915, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 188, 29, 9, 2152, 4245, 121, 1499, 6, 96, 30225, 4245, 121, 1499, 6, 96, 21031, 17, 3471, 4245, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 134, 6821, 13307, 2009, 8512, 21680, 953, 834, 2294, 2915, 549, 17444, 427, 96, 9688, 1981, 121, 3274, 3, 31, 279, 7906, 1424, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the name of the specimen test that patient 031-3355 received for the last time?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperio...
SELECT microlab.culturesite FROM microlab WHERE microlab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '031-3355')) ORDER BY microlab.culturetakentime DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 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, 2179, 9339, 5, 10547, 3585, 21680, 2179, 9339, 549, 17444, 427, 2179, 9339, 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, 1...
Who is the head linesman at game xxxv?
CREATE TABLE table_name_66 (head_linesman VARCHAR, game VARCHAR)
SELECT head_linesman FROM table_name_66 WHERE game = "xxxv"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3313, 834, 6972, 348, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 819, 2356, 348, 44, 467, 3, 226, 1923...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 819, 834, 6972, 348, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 467, 3274, 96, 226, 19230, 208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the works numbers where the year is 1929 and the driver diameter is 60'/1520mm?
CREATE TABLE table_31321 ( "SAR No." real, "Builder" text, "Year" real, "Works No." real, "Firebox" text, "Driver Diameter" text )
SELECT "Works No." FROM table_31321 WHERE "Year" = '1929' AND "Driver Diameter" = '60"/1520mm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 2658, 41, 96, 134, 4280, 465, 535, 490, 6, 96, 24752, 49, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 12492, 7, 465, 535, 490, 6, 96, 3183, 60, 2689, 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, 12492, 7, 465, 535, 21680, 953, 834, 519, 2368, 2658, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 3166, 31, 3430, 96, 20982, 52, 5267, 4401, 121, 3274, 3, 31, 3328, 121, 20376, 1755, 635, 31, 1, ...
Which Adelaide has Sydney yes, Melbourne yes, and Perth no?
CREATE TABLE table_name_31 (adelaide VARCHAR, perth VARCHAR, sydney VARCHAR, melbourne VARCHAR)
SELECT adelaide FROM table_name_31 WHERE sydney = "yes" AND melbourne = "yes" AND perth = "no"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 15311, 5385, 584, 4280, 28027, 6, 399, 189, 584, 4280, 28027, 6, 3, 7, 63, 26, 3186, 584, 4280, 28027, 6, 3, 2341, 26255, 584, 4280, 28027, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 3, 15311, 5385, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 3, 7, 63, 26, 3186, 3274, 96, 10070, 121, 3430, 3, 2341, 26255, 3274, 96, 10070, 121, 3430, 399, 189, 3274, 96, 29, 32, 121, 1, -100, -100, -100, ...
What is the sum of the laps with a grid less than 28, retirement time, and a ducati 1098 f08 bikes?
CREATE TABLE table_name_5 (laps INTEGER, bike VARCHAR, grid VARCHAR, time VARCHAR)
SELECT SUM(laps) FROM table_name_5 WHERE grid < 28 AND time = "retirement" AND bike = "ducati 1098 f08"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 8478, 7, 3, 21342, 17966, 6, 3724, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 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, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 8634, 3, 2, 2059, 3430, 97, 3274, 96, 10682, 60, 297, 121, 3430, 3724, 3274, 96, 1259, 16461, 335, 3916, 3, 89, 4018, 121, 1, -100, ...
Find the max, average and min training hours of all players.
CREATE TABLE Player (HS INTEGER)
SELECT AVG(HS), MAX(HS), MIN(HS) FROM Player
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 12387, 41, 4950, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 9858, 6, 1348, 11, 3519, 761, 716, 13, 66, 1508, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4950, 201, 4800, 4, 599, 4950, 201, 3, 17684, 599, 4950, 61, 21680, 12387, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Floors is the highest one that has a Name of one indiana square?
CREATE TABLE table_name_84 (floors INTEGER, name VARCHAR)
SELECT MAX(floors) FROM table_name_84 WHERE name = "one indiana square"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 20924, 7, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 12324, 7, 19, 8, 2030, 80, 24, 65, 3, 9, 5570, 13, 80, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 20924, 7, 61, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 564, 3274, 96, 782, 16, 8603, 9, 2812, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me a bar chart for sum price of each name, and order y-axis in desc order.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Name, SUM(Price) FROM Products GROUP BY Name ORDER BY SUM(Price) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 180, 6122, 599, 345, 4920, 61, 21680, 7554, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 180, 6122, 599, 345, 4920, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the number is 2 what is the lowest amount of al-wedhat wins?
CREATE TABLE table_2985714_2 (al_wehdat_wins INTEGER, _number VARCHAR)
SELECT MIN(al_wehdat_wins) FROM table_2985714_2 WHERE _number = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 3436, 2534, 834, 357, 41, 138, 834, 1123, 107, 26, 144, 834, 3757, 7, 3, 21342, 17966, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 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, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 138, 834, 1123, 107, 26, 144, 834, 3757, 7, 61, 21680, 953, 834, 357, 3916, 3436, 2534, 834, 357, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many games did they play when their record 0-2-0?
CREATE TABLE table_21058823_1 (date VARCHAR, record VARCHAR)
SELECT COUNT(date) FROM table_21058823_1 WHERE record = "0-2-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 12869, 4060, 2773, 834, 536, 41, 5522, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 410, 79, 577, 116, 70, 1368, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 5522, 61, 21680, 953, 834, 357, 12869, 4060, 2773, 834, 536, 549, 17444, 427, 1368, 3274, 96, 9498, 19423, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
find the number of white ethnic background patients who have diagnoses icd9 code e8799.
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 INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "WHITE" AND diagnoses.icd9_code = "E8799"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
How many goals on average had 644 matches and a rank bigger than 3?
CREATE TABLE table_name_94 (goals INTEGER, matches VARCHAR, rank VARCHAR)
SELECT AVG(goals) FROM table_name_94 WHERE matches = 644 AND rank > 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 839, 5405, 3, 21342, 17966, 6, 6407, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1766, 30, 1348, 141, 431,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 839, 5405, 61, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 6407, 3274, 431, 3628, 3430, 11003, 2490, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who were the candidates in the Maryland 5 district election?
CREATE TABLE table_18104 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Results" text, "Candidates" text )
SELECT "Candidates" FROM table_18104 WHERE "District" = 'Maryland 5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 15442, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 7, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 2606, 15442, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 7286, 28900, 305, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the cost of a drug known as insulin lispro (humalog) injection 0-20 units?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREA...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'medication' AND cost.eventid IN (SELECT medication.medicationid FROM medication WHERE medication.drugname = 'insulin lispro (humalog) injection 0-20 units')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7757, 41, 7757, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 526, 17530, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 7757, 5, 526, 17530, 23, 26, 21680, ...
what the most lost for Alianza with a draw less than 6?
CREATE TABLE table_63421 ( "Place" real, "Team" text, "Played" real, "Draw" real, "Lost" real, "Goals Scored" real, "Goals Conceded" real, "Points" real )
SELECT MAX("Lost") FROM table_63421 WHERE "Team" = 'alianza' AND "Draw" < '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 591, 2658, 41, 96, 345, 11706, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 434, 3481, 8512, 21680, 953, 834, 3891, 591, 2658, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 9, 9928, 1629, 31, 3430, 96, 308, 10936, 121, 3, 2, 3, 31, 948, 31, 1, -100, -100, -100, -100, ...
What is the weight of the shortest person?
CREATE TABLE people ( people_id number, name text, height number, weight number, date_of_birth text ) CREATE TABLE entrepreneur ( entrepreneur_id number, people_id number, company text, money_requested number, investor text )
SELECT weight FROM people ORDER BY height LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 151, 834, 23, 26, 381, 6, 564, 1499, 6, 3902, 381, 6, 1293, 381, 6, 833, 834, 858, 834, 20663, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 12290, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1293, 21680, 151, 4674, 11300, 272, 476, 3902, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the Grid with a hydraulics time/required?
CREATE TABLE table_name_57 ( grid VARCHAR, time_retired VARCHAR )
SELECT grid FROM table_name_57 WHERE time_retired = "hydraulics"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 23644, 28, 3, 9, 20320, 7, 97, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8634, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 10656, 402, 2176, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many times did Alyn McCauley get picked?
CREATE TABLE table_4125 ( "Pick" text, "Player" text, "Position" text, "Nationality" text, "NHL team" text, "College/junior/club team" text )
SELECT COUNT("Pick") FROM table_4125 WHERE "Player" = 'Alyn McCauley'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 10124, 41, 96, 345, 3142, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 15743, 434, 372, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 345, 3142, 8512, 21680, 953, 834, 591, 10124, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 188, 120, 29, 7040, 402, 1306, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the English name given to the city of St. John's?
CREATE TABLE table_1008653_1 ( capital___exonym__ VARCHAR, capital___endonym__ VARCHAR )
SELECT capital___exonym__ FROM table_1008653_1 WHERE capital___endonym__ = "St. John's"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 3840, 4867, 834, 536, 41, 1784, 834, 834, 834, 994, 19140, 834, 834, 584, 4280, 28027, 6, 1784, 834, 834, 834, 989, 19140, 834, 834, 584, 4280, 28027, 3, 61, 3, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 1784, 834, 834, 834, 994, 19140, 834, 834, 21680, 953, 834, 2915, 3840, 4867, 834, 536, 549, 17444, 427, 1784, 834, 834, 834, 989, 19140, 834, 834, 3274, 96, 134, 17, 5, 1079, 31, 7, 121, 1, -100, -100, -100, -100...
What is the name of the player from Maylands, Western Australia?
CREATE TABLE table_24501530_1 (candidate VARCHAR, hometown VARCHAR)
SELECT candidate FROM table_24501530_1 WHERE hometown = "Maylands, Western Australia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 20176, 26918, 834, 536, 41, 1608, 12416, 342, 584, 4280, 28027, 6, 22295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 1959, 45, 932, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4775, 21680, 953, 834, 2266, 20176, 26918, 834, 536, 549, 17444, 427, 22295, 3274, 96, 15881, 6347, 6, 3782, 2051, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In what place was the song that had a draw of 3?
CREATE TABLE table_name_54 ( place VARCHAR, draw VARCHAR )
SELECT place FROM table_name_54 WHERE draw = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 286, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 286, 47, 8, 2324, 24, 141, 3, 9, 3314, 13, 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...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 3314, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Bar graph to show the total number from different allergytype, and order by the x axis from high to low.
CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER...
SELECT AllergyType, COUNT(*) FROM Allergy_Type GROUP BY AllergyType ORDER BY AllergyType DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 25160, 41, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 201, 432, 49, 122, 63, 25160, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 432, 49, 122, 63, 25160, 6, 2847, 17161, 599, 1935, 61, 21680, 432, 49, 122, 63, 834, 25160, 350, 4630, 6880, 272, 476, 432, 49, 122, 63, 25160, 4674, 11300, 272, 476, 432, 49, 122, 63, 25160, 309, 25067, 1, -100,...