NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What was the Attendance in the game against the New Orleans Saints?
CREATE TABLE table_name_29 (attendance VARCHAR, opponent VARCHAR)
SELECT COUNT(attendance) FROM table_name_29 WHERE opponent = "new orleans saints"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 15116, 663, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 22497, 663, 16, 8, 467, 581, 8, 368, 14433, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 15264, 3274, 96, 5534, 42, 109, 3247, 15528, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
find the number of female patients who belong to asian ethnic background.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.ethnicity = "ASIAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274, 96, 3291, 21758, 121, 1...
Name the total number of years for brm straight-4
CREATE TABLE table_name_65 (year VARCHAR, engine VARCHAR)
SELECT COUNT(year) FROM table_name_65 WHERE engine = "brm straight-4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 1201, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 203, 21, 6397, 51, 2541, 4278, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1948, 3274, 96, 115, 52, 51, 2541, 18, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many turkish lakes ate less than 10 square kilometers in size ?
CREATE TABLE table_204_341 ( id number, "name in english" text, "name in turkish" text, "area (km2)" text, "depth" text, "location (districts and/or provinces)" text )
SELECT COUNT(*) FROM table_204_341 WHERE "area (km2)" < 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3710, 536, 41, 3, 23, 26, 381, 6, 96, 4350, 16, 22269, 121, 1499, 6, 96, 4350, 16, 3, 2905, 157, 1273, 121, 1499, 6, 96, 498, 41, 5848, 7318, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 3710, 536, 549, 17444, 427, 96, 498, 41, 5848, 7318, 121, 3, 2, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients had int insert dual-cham dev on urgent admission?
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admission_type = "URGENT" AND procedures.short_title = "Int insert dual-cham dev"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What date is st kilda the Away team?
CREATE TABLE table_name_90 (date VARCHAR, away_team VARCHAR)
SELECT date FROM table_name_90 WHERE away_team = "st kilda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 5522, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 19, 3, 7, 17, 3, 157, 173, 26, 9, 8, 71, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 550, 834, 11650, 3274, 96, 7, 17, 3, 157, 173, 26, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which nominee was nominated in the Outstanding Director of a Musical category?
CREATE TABLE table_40295 ( "Year" real, "Award" text, "Category" text, "Nominee" text, "Result" text )
SELECT "Nominee" FROM table_40295 WHERE "Category" = 'outstanding director of a musical'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 357, 3301, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 4168, 8695, 15, 121, 1499, 6, 96, 20119, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4168, 8695, 15, 121, 21680, 953, 834, 2445, 357, 3301, 549, 17444, 427, 96, 18610, 6066, 651, 121, 3274, 3, 31, 670, 11018, 2090, 13, 3, 9, 4183, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest grid that tetsuya harada rode in?
CREATE TABLE table_name_71 ( grid INTEGER, rider VARCHAR )
SELECT MAX(grid) FROM table_name_71 WHERE rider = "tetsuya harada"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 8634, 3, 21342, 17966, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 8634, 24, 3, 17, 15, 17, 7, 76, 63, 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...
[ 3, 23143, 14196, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 2564, 52, 3274, 96, 17, 15, 17, 7, 76, 63, 9, 4244, 14842, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the number of the game against Charlotte?
CREATE TABLE table_name_63 ( game INTEGER, team VARCHAR )
SELECT SUM(game) FROM table_name_63 WHERE team = "charlotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 467, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 381, 13, 8, 467, 581, 11240, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 372, 3274, 96, 4059, 21538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the number of three pointers for 67
CREATE TABLE table_23184448_4 (three_pointers VARCHAR, points VARCHAR)
SELECT COUNT(three_pointers) FROM table_23184448_4 WHERE points = 67
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2606, 3628, 3707, 834, 591, 41, 21182, 834, 2700, 277, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 386, 500, 277, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21182, 834, 2700, 277, 61, 21680, 953, 834, 2773, 2606, 3628, 3707, 834, 591, 549, 17444, 427, 979, 3274, 3, 3708, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Can you tell me the sum of Matches that has the Goals of 103, and the Rank larger than 9?
CREATE TABLE table_41332 ( "Rank" real, "Name" text, "Years" text, "Matches" real, "Goals" real )
SELECT SUM("Matches") FROM table_41332 WHERE "Goals" = '103' AND "Rank" > '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2368, 2668, 41, 96, 22557, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 476, 2741, 7, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 6221, 5405, 121, 490, 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, 180, 6122, 599, 121, 329, 144, 2951, 8512, 21680, 953, 834, 591, 2368, 2668, 549, 17444, 427, 96, 6221, 5405, 121, 3274, 3, 31, 17864, 31, 3430, 96, 22557, 121, 2490, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -1...
What is the highest Attendance, when Result is l 26-16, and when Week is less than 12?
CREATE TABLE table_name_36 (attendance INTEGER, result VARCHAR, week VARCHAR)
SELECT MAX(attendance) FROM table_name_36 WHERE result = "l 26-16" AND week < 12
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 15116, 663, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 22497, 663, 6, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 741, 3274, 96, 40, 2208, 10892, 121, 3430, 471, 3, 2, 586, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest Games, when Name is Jeremiah Massey, and when Points is less than 340?
CREATE TABLE table_name_91 (games INTEGER, name VARCHAR, points VARCHAR)
SELECT MIN(games) FROM table_name_91 WHERE name = "jeremiah massey" AND points < 340
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 7261, 7, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 5880, 6, 116, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 7, 61, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 564, 3274, 96, 12488, 11658, 107, 3294, 15, 63, 121, 3430, 979, 3, 2, 3, 21129, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who constructed Chris Amon's car?
CREATE TABLE table_52647 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT "Constructor" FROM table_52647 WHERE "Driver" = 'chris amon'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2688, 4177, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4302, 7593, 127, 121, 21680, 953, 834, 755, 2688, 4177, 549, 17444, 427, 96, 20982, 52, 121, 3274, 3, 31, 524, 52, 159, 183, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What bridge is in Mcville?
CREATE TABLE table_name_69 (name VARCHAR, location VARCHAR)
SELECT name FROM table_name_69 WHERE location = "mcville"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 4350, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 4716, 19, 16, 3038, 1420, 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, 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, 564, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 1128, 3274, 96, 51, 75, 1420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the result of the game from September 10, 2000?
CREATE TABLE table_name_68 (result VARCHAR, date VARCHAR)
SELECT result FROM table_name_68 WHERE date = "september 10, 2000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 45, 1600, 10372, 2766, 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, 741, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 10372, 2766, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the athlete from egypt with q in the notes?
CREATE TABLE table_name_50 (athlete VARCHAR, notes VARCHAR, country VARCHAR)
SELECT athlete FROM table_name_50 WHERE notes = "q" AND country = "egypt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 26170, 15, 584, 4280, 28027, 6, 3358, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 17893, 45, 3, 15, 122...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17893, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 3358, 3274, 96, 1824, 121, 3430, 684, 3274, 96, 15, 122, 63, 102, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who is the visitor team on Saturday, November 22 when link pings hc was the home team and there were more than 20 rounds?
CREATE TABLE table_62911 ( "Round" real, "Date" text, "Home" text, "Result" text, "Visitor" text, "Venue" text, "Attendance" real )
SELECT "Visitor" FROM table_62911 WHERE "Home" = 'linköpings hc' AND "Round" > '20' AND "Date" = 'saturday, november 22'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3166, 2596, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 159, 155, 127, 121, 21680, 953, 834, 948, 3166, 2596, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 4907, 1872, 2462, 7, 3, 107, 75, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 1755, 31, 3430, 96, ...
What is the highest selection number for the saskatchewan roughriders team?
CREATE TABLE table_10960039_6 ( pick__number INTEGER, cfl_team VARCHAR )
SELECT MAX(pick__number) FROM table_10960039_6 WHERE cfl_team = "Saskatchewan Roughriders"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 6007, 3288, 834, 948, 41, 1432, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 3, 75, 89, 40, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 17304, 6007, 3288, 834, 948, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 134, 9, 7, 8682, 1033, 3877, 391, 4607, 4055, 277, 121, 1, -100, ...
what is the entry where the other person is zden k hr za
CREATE TABLE table_28046929_2 ( entrant VARCHAR, co_driver VARCHAR )
SELECT entrant FROM table_28046929_2 WHERE co_driver = "Zdeněk Hrůza"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 591, 3951, 3166, 834, 357, 41, 3, 295, 3569, 584, 4280, 28027, 6, 576, 834, 13739, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1764, 213,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 295, 3569, 21680, 953, 834, 17518, 591, 3951, 3166, 834, 357, 549, 17444, 427, 576, 834, 13739, 52, 3274, 96, 956, 537, 2, 157, 454, 52, 2, 1629, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For all employees who have the letters D or S in their first name, return a scatter chart about the correlation between commission_pct and department_id .
CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(...
SELECT COMMISSION_PCT, DEPARTMENT_ID FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 30085, 834, 567, 17683, 3, 4331, 4059, 599, 1755, 201, 301, 12510, 834, 567, 17683, 3, 4331, 4059, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6657, 329, 16994, 9215, 834, 4051, 382, 6, 3396, 19846, 11810, 834, 4309, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, ...
What is 17th c., when Initial-Syllable Open/Semi-Open Unstressed Vowels is 'o / /'?
CREATE TABLE table_59711 ( "Initial-syllable open/semi-open unstressed vowels" text, "17th c." text, "American" text, "British" text, "Australian" text, "Examples" text )
SELECT "17th c." FROM table_59711 WHERE "Initial-syllable open/semi-open unstressed vowels" = 'o /ɵ/'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3390, 4450, 536, 41, 96, 1570, 23, 10646, 18, 7, 63, 195, 179, 539, 87, 7, 15, 51, 23, 18, 8751, 1149, 9746, 15, 26, 22121, 3573, 121, 1499, 6, 96, 2517, 189, 3, 75, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2517, 189, 3, 75, 535, 21680, 953, 834, 3390, 4450, 536, 549, 17444, 427, 96, 1570, 23, 10646, 18, 7, 63, 195, 179, 539, 87, 7, 15, 51, 23, 18, 8751, 1149, 9746, 15, 26, 22121, 3573, 121, 3274, 3, 31, 32, ...
What was the result of the election where stephen van rensselaer was the incumbent and the party represented was the adams-clay federalist party?
CREATE TABLE table_28874 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT "Result" FROM table_28874 WHERE "Party" = 'Adams-Clay Federalist' AND "Incumbent" = 'Stephen Van Rensselaer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4060, 4581, 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, 1499, 6, 96, 20119, 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, 20119, 121, 21680, 953, 834, 357, 4060, 4581, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 188, 7812, 7, 18, 254, 5595, 5034, 343, 31, 3430, 96, 1570, 75, 5937, 295, 121, 3274, 3, 31, 14337, 19017, 4480, ...
When the completion schedule is 2016 for the state of jammu & kashmir, what is the smallest S.no.?
CREATE TABLE table_61444 ( "S.no." real, "Power Plant" text, "State" text, "Total Capacity (MW)" real, "Completion Schedule" text )
SELECT MIN("S.no.") FROM table_61444 WHERE "State" = 'jammu & kashmir' AND "Completion Schedule" = '2016'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2534, 3628, 41, 96, 134, 5, 29, 32, 535, 490, 6, 96, 23553, 6041, 121, 1499, 6, 96, 134, 4748, 121, 1499, 6, 96, 3696, 1947, 4000, 9, 6726, 41, 16027, 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, 3, 17684, 599, 121, 134, 5, 29, 32, 5, 8512, 21680, 953, 834, 948, 2534, 3628, 549, 17444, 427, 96, 134, 4748, 121, 3274, 3, 31, 1191, 635, 76, 3, 184, 3, 157, 3198, 5884, 31, 3430, 96, 5890, 4788, 1575, 14890, ...
Name the least game for october 10 at shibe park
CREATE TABLE table_name_5 (game INTEGER, location VARCHAR, date VARCHAR)
SELECT MIN(game) FROM table_name_5 WHERE location = "shibe park" AND date = "october 10"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 7261, 3, 21342, 17966, 6, 1128, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 709, 467, 21, 3, 32, 75, 235, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7261, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 1128, 3274, 96, 5605, 346, 2447, 121, 3430, 833, 3274, 96, 32, 75, 235, 1152, 335, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the leading lady in a yank in the r.a.f.?
CREATE TABLE table_10840 ( "Year" real, "Title" text, "Role" text, "Leading Lady" text, "Director" text )
SELECT "Leading Lady" FROM table_10840 WHERE "Title" = 'a yank in the r.a.f.'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 2445, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 448, 32, 109, 121, 1499, 6, 96, 2796, 9, 26, 53, 8571, 121, 1499, 6, 96, 23620, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 9, 26, 53, 8571, 121, 21680, 953, 834, 16169, 2445, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 9, 3, 63, 5979, 16, 8, 3, 52, 5, 9, 5, 89, 5, 31, 1, -100, -100, -100, -100, -100, -100, ...
how many wiaa classifications does fort vancouver high school have?
CREATE TABLE table_22058547_1 (wiaa_classification VARCHAR, high_school VARCHAR)
SELECT COUNT(wiaa_classification) FROM table_22058547_1 WHERE high_school = "Fort Vancouver"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3076, 4433, 4177, 834, 536, 41, 210, 23, 9, 9, 834, 4057, 2420, 584, 4280, 28027, 6, 306, 834, 6646, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 210, 23, 9, 9, 834, 4057, 2420, 61, 21680, 953, 834, 2884, 3076, 4433, 4177, 834, 536, 549, 17444, 427, 306, 834, 6646, 3274, 96, 3809, 17, 11680, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
In which years cars were produced weighing no less than 3000 and no more than 4000 ?
CREATE TABLE cars_data (year VARCHAR, weight INTEGER)
SELECT DISTINCT year FROM cars_data WHERE weight BETWEEN 3000 AND 4000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2948, 834, 6757, 41, 1201, 584, 4280, 28027, 6, 1293, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 86, 84, 203, 2948, 130, 2546, 3, 22853, 150, 705, 145, 220, 2313, 11, 150, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 215, 21680, 2948, 834, 6757, 549, 17444, 427, 1293, 272, 7969, 518, 23394, 220, 2313, 3430, 314, 2313, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score in game 81?
CREATE TABLE table_name_60 ( score VARCHAR, game__number VARCHAR )
SELECT score FROM table_name_60 WHERE game__number = 81
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 2604, 584, 4280, 28027, 6, 467, 834, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 16, 467, 3, 4959, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 467, 834, 834, 5525, 1152, 3274, 3, 4959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the least lost when the place is higher than 4, goals scored is 12 and points is more than 4?
CREATE TABLE table_name_72 ( lost INTEGER, points VARCHAR, place VARCHAR, goals_scored VARCHAR )
SELECT MIN(lost) FROM table_name_72 WHERE place > 4 AND goals_scored = 12 AND points > 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 1513, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1766, 834, 3523, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 2298, 17, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 286, 2490, 314, 3430, 1766, 834, 3523, 1271, 3274, 586, 3430, 979, 2490, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
did patient 021-114154 have an allergic reaction to anything until 56 months ago?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TA...
SELECT COUNT(*) > 0 FROM allergy WHERE allergy.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '021-114154')) AND DATETIME(allergy.allergytime) <= DATETIME(CURRENT_TIME(), '-56...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11963, 670, 2562, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 23886, 549, 17444, 427, 23886, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 1006...
Find the year which offers the largest number of courses.
CREATE TABLE teaches ( id text, course_id text, sec_id text, semester text, year number ) CREATE TABLE time_slot ( time_slot_id text, day text, start_hr number, start_min number, end_hr number, end_min number ) CREATE TABLE takes ( id text, course_id text, sec_i...
SELECT year FROM section GROUP BY year ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 11749, 41, 3, 23, 26, 1499, 6, 503, 834, 23, 26, 1499, 6, 4220, 834, 23, 26, 1499, 6, 10542, 1499, 6, 215, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 97,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 215, 21680, 1375, 350, 4630, 6880, 272, 476, 215, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date did the away team Fremantle play?
CREATE TABLE table_72786 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Date" FROM table_72786 WHERE "Away team" = 'Fremantle'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2555, 3840, 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, 517, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 940, 2555, 3840, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 371, 60, 348, 17, 109, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
where is a arabic restaurant on buchanan in san francisco ?
CREATE TABLE geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_n...
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'san francisco' AND location.street_name = 'buchanan' AND restaurant.food_type = 'arabic' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20929, 41, 690, 834, 4350, 3, 4331, 4059, 6, 5435, 3, 4331, 4059, 6, 1719, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2062, 41, 3, 23, 26, 16, 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, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 1128, 6, 2062, 549, 17444, 427, 1128, 5, 6726, 834, 4350, 3274, 3, 31, 7, 152, 2515, 11389, 3523, 31, 3430, 1128, 5, 22967, 834, 4350, 3274, 3, 31, 5671, ...
what is the grid when the time/retired is +9 laps and the laps is larger than 91?
CREATE TABLE table_54331 ( "Driver" text, "Constructor" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT COUNT("Grid") FROM table_54331 WHERE "Time/Retired" = '+9 laps' AND "Laps" > '91'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 519, 3341, 41, 96, 20982, 52, 121, 1499, 6, 96, 4302, 7593, 127, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499, 6, 96, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13313, 26, 8512, 21680, 953, 834, 5062, 519, 3341, 549, 17444, 427, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 1220, 1298, 14941, 7, 31, 3430, 96, 3612, 102, 7, 121, 2490, 3, 31, 4729...
What are the locations and representatives' names of the gas stations owned by the companies with the 3 largest amounts of assets?
CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, market_value number ) CREATE TABLE station_company ( station_id number, company_id number, ran...
SELECT T3.location, T3.representative_name FROM station_company AS T1 JOIN company AS T2 ON T1.company_id = T2.company_id JOIN gas_station AS T3 ON T1.station_id = T3.station_id ORDER BY T2.assets_billion DESC LIMIT 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 349, 41, 349, 834, 23, 26, 381, 6, 11003, 381, 6, 349, 1499, 6, 13767, 1499, 6, 711, 834, 13580, 7, 8224, 1499, 6, 1085, 834, 115, 14916, 381, 6, 9613, 834, 115, 14916, 381, 6, 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, 332, 5787, 14836, 6, 332, 5787, 60, 12640, 1528, 834, 4350, 21680, 2478, 834, 29179, 6157, 332, 536, 3, 15355, 3162, 349, 6157, 332, 357, 9191, 332, 5411, 29179, 834, 23, 26, 3274, 332, 4416, 29179, 834, 23, 26, 3, ...
When was the lock with 10 caps born?
CREATE TABLE table_name_20 (date_of_birth__age_ VARCHAR, position VARCHAR, caps VARCHAR)
SELECT date_of_birth__age_ FROM table_name_20 WHERE position = "lock" AND caps = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 5522, 834, 858, 834, 20663, 834, 834, 545, 834, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 16753, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 834, 858, 834, 20663, 834, 834, 545, 834, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 1102, 3274, 96, 4029, 121, 3430, 16753, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Find the first names of students who took exactly one class.
CREATE TABLE student ( stu_num number, stu_lname text, stu_fname text, stu_init text, stu_dob time, stu_hrs number, stu_class text, stu_gpa number, stu_transfer number, dept_code text, stu_phone text, prof_num number ) CREATE TABLE enroll ( class_code text, stu_n...
SELECT T1.stu_fname FROM student AS T1 JOIN enroll AS T2 ON T1.stu_num = T2.stu_num GROUP BY T2.stu_num HAVING COUNT(*) = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 834, 5525, 381, 6, 21341, 834, 40, 4350, 1499, 6, 21341, 834, 89, 4350, 1499, 6, 21341, 834, 77, 155, 1499, 6, 21341, 834, 26, 32, 115, 97, 6, 21341, 834, 18745, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 7, 17, 76, 834, 89, 4350, 21680, 1236, 6157, 332, 536, 3, 15355, 3162, 17990, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 834, 5525, 3274, 332, 4416, 7, 17, 76, 834, 5525, 350, 4630, 6880, 272, 476, 3...
What was the score on 26 July 1930?
CREATE TABLE table_name_62 ( score VARCHAR, date VARCHAR )
SELECT score FROM table_name_62 WHERE date = "26 july 1930"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 2604, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 2208, 1718, 15559, 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, 2604, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 833, 3274, 96, 2688, 3, 2047, 120, 15559, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who was hired before 2002-06-21, show me about the change of employee_id over hire_date in a line chart, and sort by the x axis in asc.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JO...
SELECT HIRE_DATE, EMPLOYEE_ID FROM employees WHERE HIRE_DATE < '2002-06-21' ORDER BY HIRE_DATE
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 4674, 11300, 272, 476, 454, 14132, 834, 308, ...
Name the No. 10 which has a No. 8 of jackson, and a No. 9 of jayden?
CREATE TABLE table_name_94 (no_10 VARCHAR, no_8 VARCHAR, no_9 VARCHAR)
SELECT no_10 FROM table_name_94 WHERE no_8 = "jackson" AND no_9 = "jayden"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 29, 32, 834, 1714, 584, 4280, 28027, 6, 150, 834, 927, 584, 4280, 28027, 6, 150, 834, 1298, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 150, 834, 1714, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 150, 834, 927, 3274, 96, 9325, 739, 121, 3430, 150, 834, 1298, 3274, 96, 1191, 63, 537, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What series have Caroline Flack as a main presenter?
CREATE TABLE table_14345690_15 (series VARCHAR, main_presenter VARCHAR)
SELECT series FROM table_14345690_15 WHERE main_presenter = "Caroline Flack"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3710, 4834, 2394, 834, 1808, 41, 10833, 7, 584, 4280, 28027, 6, 711, 834, 12640, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 939, 43, 21753, 7036, 240...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 939, 21680, 953, 834, 2534, 3710, 4834, 2394, 834, 1808, 549, 17444, 427, 711, 834, 12640, 49, 3274, 96, 6936, 32, 747, 7036, 2406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which set 3 has a Set 1 of 19-25, and a Set 2 of 19-25?
CREATE TABLE table_42556 ( "Date" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Set 4" text, "Set 5" text, "Total" text )
SELECT "Set 3" FROM table_42556 WHERE "Set 1" = '19-25' AND "Set 2" = '19-25'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 1828, 4834, 41, 96, 308, 342, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 17175, 220, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 17175, 220, 121, 21680, 953, 834, 591, 1828, 4834, 549, 17444, 427, 96, 17175, 209, 121, 3274, 3, 31, 2294, 14855, 31, 3430, 96, 17175, 204, 121, 3274, 3, 31, 2294, 14855, 31, 1, -100, -100, -100, -100, -100, ...
who is the player when the place is t5 and the score is 69-74=143?
CREATE TABLE table_name_26 (player VARCHAR, place VARCHAR, score VARCHAR)
SELECT player FROM table_name_26 WHERE place = "t5" AND score = 69 - 74 = 143
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 20846, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 19, 8, 1959, 116, 8, 286, 19, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 286, 3274, 96, 17, 17395, 3430, 2604, 3274, 3, 3951, 3, 18, 3, 4581, 3274, 3, 25133, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the opponent on September 8?
CREATE TABLE table_name_24 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_24 WHERE date = "september 8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 30, 1600, 505, 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, 15264, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 505, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the No in series when Rob wright & Debra j. Fisher & Erica Messer were the writers?
CREATE TABLE table_73259 ( "No. in series" real, "No. in season" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text )
SELECT MIN("No. in series") FROM table_73259 WHERE "Written by" = 'Rob Wright & Debra J. Fisher & Erica Messer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 357, 3390, 41, 96, 4168, 5, 16, 939, 121, 490, 6, 96, 4168, 5, 16, 774, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 4168, 5, 16, 939, 8512, 21680, 953, 834, 4552, 357, 3390, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 24372, 16634, 3, 184, 374, 1939, 446, 5, 14639, 3, 184, 6964, 9, 6598, 49, 31,...
Who won the mountains classification when Maarten Tjallingii won most corageous?
CREATE TABLE table_73723 ( "Stage" real, "Winner" text, "General Classification" text, "Youth Classification" text, "Mountains Classification" text, "Sprint Classification" text, "Most Courageous" text, "Team Classification" text )
SELECT "Mountains Classification" FROM table_73723 WHERE "Most Courageous" = 'Maarten Tjallingii'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27931, 2773, 41, 96, 134, 6505, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 20857, 4501, 2420, 121, 1499, 6, 96, 3774, 189, 4501, 2420, 121, 1499, 6, 96, 329, 32, 1401...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 329, 32, 14016, 77, 7, 4501, 2420, 121, 21680, 953, 834, 27931, 2773, 549, 17444, 427, 96, 329, 3481, 13579, 545, 1162, 121, 3274, 3, 31, 329, 9, 15422, 332, 1191, 12013, 23, 23, 31, 1, -100, -100, -100, -100,...
What was the score of the March 14 game?
CREATE TABLE table_name_95 (score VARCHAR, date VARCHAR)
SELECT score FROM table_name_95 WHERE date = "march 14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 1332, 968, 467, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 833, 3274, 96, 51, 7064, 968, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was the opponent after week 9 with an attendance of 44,020?
CREATE TABLE table_name_96 (opponent VARCHAR, week VARCHAR, attendance VARCHAR)
SELECT opponent FROM table_name_96 WHERE week > 9 AND attendance = "44,020"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4314, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 227, 471, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 4350, 834, 4314, 549, 17444, 427, 471, 2490, 668, 3430, 11364, 3274, 96, 3628, 6, 632, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many David's team for the Lees Team of Deborah Meaden and Mark Watson?
CREATE TABLE table_2909 ( "Episode" text, "First broadcast" text, "Davids team" text, "Lees team" text, "Scores" text )
SELECT COUNT("Davids team") FROM table_2909 WHERE "Lees team" = 'Deborah Meaden and Mark Watson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4198, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 25171, 6878, 121, 1499, 6, 96, 308, 9, 6961, 7, 372, 121, 1499, 6, 96, 2796, 15, 7, 372, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 9, 6961, 7, 372, 8512, 21680, 953, 834, 3166, 4198, 549, 17444, 427, 96, 2796, 15, 7, 372, 121, 3274, 3, 31, 2962, 6693, 9, 107, 1212, 9, 537, 11, 2185, 18763, 31, 1, -100, -100, -100...
What is Score, when Team is '@ Memphis'?
CREATE TABLE table_name_15 ( score VARCHAR, team VARCHAR )
SELECT score FROM table_name_15 WHERE team = "@ memphis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2604, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 17763, 6, 116, 2271, 19, 3, 31, 1741, 22715, 31, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 372, 3274, 96, 1741, 140, 7656, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the listed owner for mike garvey
CREATE TABLE table_26895 ( "Team" text, "Truck(s)" text, "#" real, "Driver(s)" text, "Primary Sponsor(s)" text, "Listed Owner(s)" text, "Crew Chief" text )
SELECT "Listed Owner(s)" FROM table_26895 WHERE "Crew Chief" = 'Mike Garvey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3651, 3301, 41, 96, 18699, 121, 1499, 6, 96, 21921, 2406, 599, 7, 61, 121, 1499, 6, 96, 4663, 121, 490, 6, 96, 20982, 52, 599, 7, 61, 121, 1499, 6, 96, 7855, 51, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28886, 13307, 599, 7, 61, 121, 21680, 953, 834, 357, 3651, 3301, 549, 17444, 427, 96, 254, 60, 210, 5116, 121, 3274, 3, 31, 329, 5208, 3121, 162, 63, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the enrollment for the institution in Westfield, Massachusetts?
CREATE TABLE table_261927_2 (enrollment VARCHAR, location VARCHAR)
SELECT enrollment FROM table_261927_2 WHERE location = "Westfield, Massachusetts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2294, 2555, 834, 357, 41, 35, 4046, 297, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 17938, 21, 8, 6568, 16, 1244, 184...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17938, 21680, 953, 834, 2688, 2294, 2555, 834, 357, 549, 17444, 427, 1128, 3274, 96, 19069, 1846, 6, 9777, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the competition when the date is 16 january 1996?
CREATE TABLE table_name_14 ( competition VARCHAR, date VARCHAR )
SELECT competition FROM table_name_14 WHERE date = "16 january 1996"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 2259, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2259, 116, 8, 833, 19, 898, 3, 7066, 76, 1208, 69...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 833, 3274, 96, 2938, 3, 7066, 76, 1208, 6911, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which patients have procedure icd9 code 4523?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE procedures.icd9_code = "4523"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Which title had 20 episodes and aired on 11 jun- 6 jul?
CREATE TABLE table_name_20 ( english_title__chinese_title_ VARCHAR, number_of_episodes VARCHAR, airing_date VARCHAR )
SELECT english_title__chinese_title_ FROM table_name_20 WHERE number_of_episodes = 20 AND airing_date = "11 jun- 6 jul"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 22269, 834, 21869, 834, 834, 1436, 1496, 15, 834, 21869, 834, 584, 4280, 28027, 6, 381, 834, 858, 834, 15, 102, 159, 32, 1395, 584, 4280, 28027, 6, 799...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22269, 834, 21869, 834, 834, 1436, 1496, 15, 834, 21869, 834, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 381, 834, 858, 834, 15, 102, 159, 32, 1395, 3274, 460, 3430, 799, 53, 834, 5522, 3274, 96, 2596, 3, ...
Which year opened has le monstre coaster?
CREATE TABLE table_name_57 ( year_opened VARCHAR, coaster_name VARCHAR )
SELECT year_opened FROM table_name_57 WHERE coaster_name = "le monstre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 215, 834, 26940, 584, 4280, 28027, 6, 4939, 49, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 2946, 65, 90, 1911, 7, 92...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 26940, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 4939, 49, 834, 4350, 3274, 96, 109, 1911, 7, 929, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Lambert's song choice in the top 13?
CREATE TABLE table_21501511_1 (song_choice VARCHAR, week__number VARCHAR)
SELECT song_choice FROM table_21501511_1 WHERE week__number = "Top 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 12278, 1808, 2596, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 471, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 834, 3995, 867, 21680, 953, 834, 357, 12278, 1808, 2596, 834, 536, 549, 17444, 427, 471, 834, 834, 5525, 1152, 3274, 96, 22481, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the highest round for the pick from Finland?
CREATE TABLE table_name_55 ( round INTEGER, nationality VARCHAR )
SELECT MAX(round) FROM table_name_55 WHERE nationality = "finland"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 1751, 3, 21342, 17966, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 1751, 21, 8, 1432, 45, 16458, 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, 4800, 4, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 1157, 485, 3274, 96, 89, 25948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was mlb draft for the player who's school was Carl Albert High School?
CREATE TABLE table_11677100_18 ( mlb_draft VARCHAR, school VARCHAR )
SELECT mlb_draft FROM table_11677100_18 WHERE school = "Carl Albert High school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 4013, 2915, 834, 2606, 41, 3, 51, 40, 115, 834, 26, 10913, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 3, 51, 40, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 51, 40, 115, 834, 26, 10913, 21680, 953, 834, 20159, 4013, 2915, 834, 2606, 549, 17444, 427, 496, 3274, 96, 6936, 40, 11375, 1592, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
If the latitude is 77 28 n, what is the longitude?
CREATE TABLE table_name_27 ( longitude VARCHAR, latitude VARCHAR )
SELECT longitude FROM table_name_27 WHERE latitude = "77°28′n"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 307, 20341, 584, 4280, 28027, 6, 50, 6592, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 50, 6592, 19, 3, 4013, 2059, 3, 29, 6, 125...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 307, 20341, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 50, 6592, 3274, 96, 4013, 1956, 2577, 17774, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Visualize a bar chart about the distribution of meter_700 and meter_100 , and I want to show meter_100 in descending order.
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text...
SELECT meter_700, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 9295, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 3, 4401, 834, 2915, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Create a bar chart showing how many location across location, list Y from high to low order.
CREATE TABLE shop ( Shop_ID int, Shop_Name text, Location text, Open_Date text, Open_Year int ) CREATE TABLE device ( Device_ID int, Device text, Carrier text, Package_Version text, Applications text, Software_Platform text ) CREATE TABLE stock ( Shop_ID int, Device...
SELECT Location, COUNT(Location) FROM shop GROUP BY Location ORDER BY COUNT(Location) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1814, 41, 3687, 834, 4309, 16, 17, 6, 3687, 834, 23954, 1499, 6, 10450, 1499, 6, 2384, 834, 308, 342, 1499, 6, 2384, 834, 476, 2741, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 438...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10450, 6, 2847, 17161, 599, 434, 32, 75, 257, 61, 21680, 1814, 350, 4630, 6880, 272, 476, 10450, 4674, 11300, 272, 476, 2847, 17161, 599, 434, 32, 75, 257, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100...
What was the latest year placement for Taboo with a score smaller than 96.125?
CREATE TABLE table_name_50 (year INTEGER, program_title VARCHAR, score VARCHAR)
SELECT MAX(year) FROM table_name_50 WHERE program_title = "taboo" AND score < 96.125
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 1201, 3, 21342, 17966, 6, 478, 834, 21869, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1251, 215, 7907, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 478, 834, 21869, 3274, 96, 17, 9, 12840, 121, 3430, 2604, 3, 2, 3, 4314, 5, 10124, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the guage of the concessionaire ferrosur roca?
CREATE TABLE table_name_8 (gauge VARCHAR, concessionaire VARCHAR)
SELECT gauge FROM table_name_8 WHERE concessionaire = "ferrosur roca"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 20038, 397, 584, 4280, 28027, 6, 19093, 2378, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3, 1744, 545, 13, 8, 19093, 2378, 25007, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13596, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 19093, 2378, 3274, 96, 1010, 1859, 450, 3, 7818, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When there were 554 points, what was the point difference?
CREATE TABLE table_name_37 (points_difference VARCHAR, points_for VARCHAR)
SELECT points_difference FROM table_name_37 WHERE points_for = "554"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 2700, 7, 834, 26, 99, 11788, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 132, 130, 305, 5062, 979, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 834, 26, 99, 11788, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 979, 834, 1161, 3274, 96, 3769, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what country scored the top number of bronze medals in taekwondo at the 2013 bolivarian games ?
CREATE TABLE table_204_922 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_204_922 ORDER BY "bronze" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4508, 357, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 26363, 834, 4508, 357, 4674, 11300, 272, 476, 96, 13711, 776, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many exhibitions has each artist had?, and could you order Y in ascending order?
CREATE TABLE exhibition ( Exhibition_ID int, Year int, Theme text, Artist_ID int, Ticket_Price real ) CREATE TABLE exhibition_record ( Exhibition_ID int, Date text, Attendance int ) CREATE TABLE artist ( Artist_ID int, Name text, Country text, Year_Join int, Age int...
SELECT Name, COUNT(*) FROM exhibition AS T1 JOIN artist AS T2 ON T1.Artist_ID = T2.Artist_ID GROUP BY T1.Artist_ID ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4473, 41, 22371, 834, 4309, 16, 17, 6, 2929, 16, 17, 6, 37, 526, 1499, 6, 9152, 834, 4309, 16, 17, 6, 3, 15569, 834, 345, 4920, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 604...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 4473, 6157, 332, 536, 3, 15355, 3162, 2377, 6157, 332, 357, 9191, 332, 5411, 7754, 343, 834, 4309, 3274, 332, 4416, 7754, 343, 834, 4309, 350, 4630, 6880, 272, 476, 332, 5...
How many starts did Pearson have when his winnings were $101,438?
CREATE TABLE table_28552 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT "Starts" FROM table_28552 WHERE "Winnings" = '$101,438'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3769, 357, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 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, 96, 7681, 17, 7, 121, 21680, 953, 834, 2577, 3769, 357, 549, 17444, 427, 96, 518, 10503, 7, 121, 3274, 3, 31, 3229, 19621, 6, 591, 3747, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the lowest attendance of a game that has the result of 2-0?
CREATE TABLE table_name_59 ( attendance INTEGER, result VARCHAR )
SELECT MIN(attendance) FROM table_name_59 WHERE result = "2-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 11364, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 11364, 13, 3, 9, 467, 24, 65, 8, 741, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 741, 3274, 96, 19423, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the rank of finale 37?
CREATE TABLE table_11926114_1 (rank VARCHAR, finale VARCHAR)
SELECT rank FROM table_11926114_1 WHERE finale = 37
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 2688, 18959, 834, 536, 41, 6254, 584, 4280, 28027, 6, 13604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 13604, 6862, 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, 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, 11003, 21680, 953, 834, 19993, 2688, 18959, 834, 536, 549, 17444, 427, 13604, 3274, 6862, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which family has a Name of humpback whale?
CREATE TABLE table_67034 ( "Name" text, "Species/Authority" text, "Order" text, "Family" text, "Red List" real )
SELECT "Family" FROM table_67034 WHERE "Name" = 'humpback whale'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 632, 3710, 41, 96, 23954, 121, 1499, 6, 96, 7727, 725, 87, 23602, 127, 485, 121, 1499, 6, 96, 7395, 588, 121, 1499, 6, 96, 371, 3690, 120, 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, 371, 3690, 120, 121, 21680, 953, 834, 3708, 632, 3710, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 4884, 102, 1549, 18214, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which circuit has a length of 45 minutes and is held on August 6?
CREATE TABLE table_name_78 (circuit VARCHAR, length VARCHAR, date VARCHAR)
SELECT circuit FROM table_name_78 WHERE length = "45 minutes" AND date = "august 6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 15357, 21560, 584, 4280, 28027, 6, 2475, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4558, 65, 3, 9, 2475, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4558, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 2475, 3274, 96, 2128, 676, 121, 3430, 833, 3274, 96, 402, 17198, 431, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many total draws were there with a less than 8 loss, more than 30 points, and a goal diff larger than 26?
CREATE TABLE table_name_21 ( draw VARCHAR, goal_diff VARCHAR, loss VARCHAR, point VARCHAR )
SELECT COUNT(draw) FROM table_name_21 WHERE loss < 8 AND point > 30 AND goal_diff > 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 3314, 584, 4280, 28027, 6, 1288, 834, 26, 5982, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 6, 500, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 19489, 61, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 1453, 3, 2, 505, 3430, 500, 2490, 604, 3430, 1288, 834, 26, 5982, 2490, 2208, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team set a 3:15:43 winning time?
CREATE TABLE table_2241841_1 (team VARCHAR, race_time VARCHAR)
SELECT team FROM table_2241841_1 WHERE race_time = "3:15:43"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 2606, 4853, 834, 536, 41, 11650, 584, 4280, 28027, 6, 1964, 834, 715, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 356, 3, 9, 220, 10, 1808, 10, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 24622, 2606, 4853, 834, 536, 549, 17444, 427, 1964, 834, 715, 3274, 96, 519, 10, 1808, 10, 4906, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the GDP (in millions USD) of Indonesia in 2009?
CREATE TABLE table_1496582_1 (gdp_millions_of_usd__2009_ VARCHAR, country___territory VARCHAR)
SELECT COUNT(gdp_millions_of_usd__2009_) FROM table_1496582_1 WHERE country___territory = "Indonesia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4122, 4613, 834, 536, 41, 122, 26, 102, 834, 17030, 7, 834, 858, 834, 302, 26, 834, 834, 16660, 834, 584, 4280, 28027, 6, 684, 834, 834, 834, 17, 21301, 10972, 584, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 122, 26, 102, 834, 17030, 7, 834, 858, 834, 302, 26, 834, 834, 16660, 834, 61, 21680, 953, 834, 24816, 4122, 4613, 834, 536, 549, 17444, 427, 684, 834, 834, 834, 17, 21301, 10972, 3274, 96, 1570, ...
What's the average mph of 1964?
CREATE TABLE table_25244 ( "Year" text, "Date" text, "Driver" text, "Team" text, "Manufacturer" text, "Laps" text, "Miles (km)" text, "Race Time" text, "Average Speed (mph)" text, "Report" text )
SELECT "Average Speed (mph)" FROM table_25244 WHERE "Year" = '1964'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 357, 3628, 41, 96, 476, 2741, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 20982, 52, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 624, 545, 9913, 41, 7656, 61, 121, 21680, 953, 834, 1828, 357, 3628, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What player has over 1 first apperance and over 32 first team goals?
CREATE TABLE table_name_97 (player VARCHAR, first_team_appearances VARCHAR, first_team_goals VARCHAR)
SELECT player FROM table_name_97 WHERE first_team_appearances > 1 AND first_team_goals = 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 20846, 584, 4280, 28027, 6, 166, 834, 11650, 834, 3096, 2741, 663, 7, 584, 4280, 28027, 6, 166, 834, 11650, 834, 839, 5405, 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, 1, 1, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 166, 834, 11650, 834, 3096, 2741, 663, 7, 2490, 209, 3430, 166, 834, 11650, 834, 839, 5405, 3274, 3538, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is we two where you two is ngipen?
CREATE TABLE table_1015914_24 (we_two VARCHAR, you_two VARCHAR)
SELECT we_two FROM table_1015914_24 WHERE you_two = "ngipen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 27904, 2534, 834, 2266, 41, 1123, 834, 8264, 584, 4280, 28027, 6, 25, 834, 8264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 62, 192, 213, 25, 192, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 62, 834, 8264, 21680, 953, 834, 1714, 27904, 2534, 834, 2266, 549, 17444, 427, 25, 834, 8264, 3274, 96, 1725, 23, 3208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What category was the winner in?
CREATE TABLE table_48133 ( "Event" text, "Year" real, "Category" text, "Work" text, "Outcome" text )
SELECT "Category" FROM table_48133 WHERE "Outcome" = 'winner'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 22974, 41, 96, 427, 2169, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 12492, 121, 1499, 6, 96, 15767, 287, 15, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 18610, 6066, 651, 121, 21680, 953, 834, 3707, 22974, 549, 17444, 427, 96, 15767, 287, 15, 121, 3274, 3, 31, 3757, 687, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Venue has a Competition of venice marathon?
CREATE TABLE table_name_98 ( venue VARCHAR, competition VARCHAR )
SELECT venue FROM table_name_98 WHERE competition = "venice marathon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 5669, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 65, 3, 9, 15571, 13, 3, 1926, 867, 17625, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 2259, 3274, 96, 1926, 867, 17625, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the defensive award winner when the rookie award was given to Daryl Veltman and the offensive award was given to Mark Steenhuis?
CREATE TABLE table_14132239_3 ( defensive VARCHAR, rookie VARCHAR, offensive VARCHAR )
SELECT defensive FROM table_14132239_3 WHERE rookie = "Daryl Veltman" AND offensive = "Mark Steenhuis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 2368, 2884, 3288, 834, 519, 41, 11976, 584, 4280, 28027, 6, 24188, 584, 4280, 28027, 6, 12130, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 1197...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11976, 21680, 953, 834, 2534, 2368, 2884, 3288, 834, 519, 549, 17444, 427, 24188, 3274, 96, 308, 1208, 40, 11670, 17, 348, 121, 3430, 12130, 3274, 96, 19762, 3557, 35, 3464, 7, 121, 1, -100, -100, -100, -100, -100, ...
Which player has montana as the school/club team?
CREATE TABLE table_name_12 ( player VARCHAR, school_club_team VARCHAR )
SELECT player FROM table_name_12 WHERE school_club_team = "montana"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1959, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 65, 6278, 152, 9, 38, 8, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 4662, 152, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many patients hospital stay is more than 30 days and are lab tested for albumin, 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.days_stay > "30" AND lab.label = "Albumin, 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 round was the game against Watford?
CREATE TABLE table_78772 ( "Date" text, "Round" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Scorers" text )
SELECT "Round" FROM table_78772 WHERE "Opponent" = 'watford'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 4013, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 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, 448, 32, 1106, 121, 21680, 953, 834, 3940, 4013, 357, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 210, 144, 2590, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is who-two when you two is ngipelngu?
CREATE TABLE table_1015914_24 (who_two VARCHAR, you_two VARCHAR)
SELECT who_two FROM table_1015914_24 WHERE you_two = "ngipelngu"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 27904, 2534, 834, 2266, 41, 8903, 834, 8264, 584, 4280, 28027, 6, 25, 834, 8264, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 113, 18, 8264, 116, 25, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 113, 834, 8264, 21680, 953, 834, 1714, 27904, 2534, 834, 2266, 549, 17444, 427, 25, 834, 8264, 3274, 96, 1725, 23, 4343, 29, 1744, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
which nation had their sailors as robert scheidt and bruno prada ?
CREATE TABLE table_203_586 ( id number, "#" number, "nation" text, "qualification tournament" text, "place in qt" number, "sailor" text )
SELECT "nation" FROM table_203_586 WHERE "sailor" = 'robert scheidt' INTERSECT SELECT "nation" FROM table_203_586 WHERE "sailor" = 'bruno prada'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3840, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 11433, 2420, 5892, 121, 1499, 6, 96, 4687, 16, 3, 1824, 17, 121, 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, 29, 257, 121, 21680, 953, 834, 23330, 834, 755, 3840, 549, 17444, 427, 96, 7, 9, 967, 121, 3274, 3, 31, 5840, 49, 17, 3, 10726, 17, 31, 3, 21342, 5249, 14196, 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, ...
What is the highest played with more than 0 draws, less than 3 losses, and less than 27 points?
CREATE TABLE table_name_62 (played INTEGER, points VARCHAR, drawn VARCHAR, lost VARCHAR)
SELECT MAX(played) FROM table_name_62 WHERE drawn > 0 AND lost < 3 AND points < 27
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 4895, 15, 26, 3, 21342, 17966, 6, 979, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 6796, 2490, 3, 632, 3430, 1513, 3, 2, 220, 3430, 979, 3, 2, 2307, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What team does George Hulme play for?
CREATE TABLE table_1213511_4 ( college_junior_club_team VARCHAR, player VARCHAR )
SELECT college_junior_club_team FROM table_1213511_4 WHERE player = "George Hulme"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22011, 2469, 2596, 834, 591, 41, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 834, 6959, 23, 127, 834, 13442, 834, 11650, 21680, 953, 834, 22011, 2469, 2596, 834, 591, 549, 17444, 427, 1959, 3274, 96, 31317, 454, 83, 526, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
how many times did Casey Martin win?
CREATE TABLE table_21175 ( "Year" real, "Tournaments played" real, "Cuts made" real, "Wins" real, "Best finish" text, "Earnings ( $ )" real, "Money list rank" text )
SELECT MAX("Wins") FROM table_21175
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27278, 3072, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 1211, 29, 9, 4128, 1944, 121, 490, 6, 96, 15784, 17, 7, 263, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 17278, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18455, 7, 8512, 21680, 953, 834, 27278, 3072, 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, ...
Which week did the Seattle Seahawks have a record of 6-6?
CREATE TABLE table_15780 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Game site" text, "Record" text, "Attendance" text )
SELECT AVG("Week") FROM table_15780 WHERE "Record" = '6-6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27452, 2079, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 23055, 353, 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, 71, 17217, 599, 121, 518, 10266, 8512, 21680, 953, 834, 27452, 2079, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 948, 5783, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What airport has an ICAP of BGBW?
CREATE TABLE table_name_68 ( airport VARCHAR, icao VARCHAR )
SELECT airport FROM table_name_68 WHERE icao = "bgbw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 3761, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 3761, 65, 46, 27, 16986, 13, 272, 3443, 518, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3761, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 3, 2617, 32, 3274, 96, 115, 122, 115, 210, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many people were in attendance for the game week 15?
CREATE TABLE table_name_9 (attendance VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_9 WHERE week = 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 15116, 663, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 151, 130, 16, 11364, 21, 8, 467, 471, 627, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 471, 3274, 627, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the apartment numbers, start dates, and end dates of all the apartment bookings.
CREATE TABLE Apartment_Bookings (booking_start_date VARCHAR, apt_id VARCHAR); CREATE TABLE Apartments (apt_number VARCHAR, apt_id VARCHAR)
SELECT T2.apt_number, T1.booking_start_date, T1.booking_start_date FROM Apartment_Bookings AS T1 JOIN Apartments AS T2 ON T1.apt_id = T2.apt_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15970, 834, 13355, 53, 7, 41, 2567, 53, 834, 10208, 834, 5522, 584, 4280, 28027, 6, 3, 6789, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 6789, 834, 5525, 1152, 6, 332, 5411, 2567, 53, 834, 10208, 834, 5522, 6, 332, 5411, 2567, 53, 834, 10208, 834, 5522, 21680, 15970, 834, 13355, 53, 7, 6157, 332, 536, 3, 15355, 3162, 15970, 7, 6157, 332, ...
what number of married patients underwent the procedure titled radiotherapeut proc nec?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "MARRIED" AND procedures.short_title = "Radiotherapeut proc NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the lowest Market Value (billion $) which has Assets (billion $) larger than 276.81, and a Company of toyota, and Profits (billion $) larger than 17.21?
CREATE TABLE table_name_44 ( market_value__billion_ INTEGER, profits__billion_$_ VARCHAR, assets__billion_$_ VARCHAR, company VARCHAR )
SELECT MIN(market_value__billion_) AS $_ FROM table_name_44 WHERE assets__billion_$_ > 276.81 AND company = "toyota" AND profits__billion_$_ > 17.21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 512, 834, 12097, 834, 834, 115, 14916, 834, 3, 21342, 17966, 6, 9613, 834, 834, 115, 14916, 834, 3229, 834, 584, 4280, 28027, 6, 4089, 834, 834, 115, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8809, 834, 12097, 834, 834, 115, 14916, 834, 61, 6157, 1514, 834, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 4089, 834, 834, 115, 14916, 834, 3229, 834, 2490, 204, 3959, 5, 4959, 3430, 349, 32...
What was the final score of the game at Texas Stadium?
CREATE TABLE table_68753 ( "Date" text, "Visiting Team" text, "Final Score" text, "Host Team" text, "Stadium" text )
SELECT "Final Score" FROM table_68753 WHERE "Stadium" = 'texas stadium'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3072, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 30338, 2271, 121, 1499, 6, 96, 371, 10270, 17763, 121, 1499, 6, 96, 566, 3481, 2271, 121, 1499, 6, 96, 134, 17, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 10270, 17763, 121, 21680, 953, 834, 3651, 3072, 519, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 10354, 9, 7, 14939, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
display the department ID, full name (first and last name), salary for those employees who is highest salary in every department.
CREATE TABLE employees (first_name VARCHAR, last_name VARCHAR, salary INTEGER, department_id VARCHAR)
SELECT first_name, last_name, salary, department_id, MAX(salary) FROM employees GROUP BY department_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 14672, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 6, 9090, 3, 21342, 17966, 6, 3066, 834, 23, 26, 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, 1, 1...
[ 3, 23143, 14196, 166, 834, 4350, 6, 336, 834, 4350, 6, 9090, 6, 3066, 834, 23, 26, 6, 4800, 4, 599, 7, 138, 1208, 61, 21680, 1652, 350, 4630, 6880, 272, 476, 3066, 834, 23, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the average events for miller barber
CREATE TABLE table_name_27 (events INTEGER, player VARCHAR)
SELECT AVG(events) FROM table_name_27 WHERE player = "miller barber"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 15, 2169, 7, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1348, 984, 21, 3293, 49, 9935, 49, 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, 71, 17217, 599, 15, 2169, 7, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1959, 3274, 96, 51, 7613, 9935, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is date of birth and days of hospital stay of subject id 2560?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT demographic.dob, demographic.days_stay FROM demographic WHERE demographic.subject_id = "2560"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 32, 115, 6, 14798, 5, 1135, 7, 834, 21545, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 1828, 3328, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...