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 highest number of students in attendance for the university of north texas?
CREATE TABLE table_28243691_1 ( enrollment INTEGER, institution VARCHAR )
SELECT MAX(enrollment) FROM table_28243691_1 WHERE institution = "University of North Texas"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2266, 3420, 4729, 834, 536, 41, 17938, 3, 21342, 17966, 6, 6568, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2030, 381, 13, 481, 16, 11364, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 35, 4046, 297, 61, 21680, 953, 834, 2577, 2266, 3420, 4729, 834, 536, 549, 17444, 427, 6568, 3274, 96, 8313, 485, 13, 1117, 2514, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Tournament was the 2010 Olympic Games?
CREATE TABLE table_name_58 (tournament VARCHAR)
SELECT tournament FROM table_name_58 WHERE 2010 = "olympic games"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 20502, 47, 8, 2735, 11548, 5880, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2735, 3274, 96, 32, 120, 51, 6174, 1031, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which artist was 2003?
CREATE TABLE table_name_32 (artist VARCHAR, year VARCHAR)
SELECT artist FROM table_name_32 WHERE year = 2003
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 1408, 343, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2377, 47, 3888, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2377, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 215, 3274, 3888, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the last season that the Scottish Rocks played?
CREATE TABLE table_55107 ( "Team" text, "City/Area" text, "Arena" text, "Capacity" text, "Last season" text )
SELECT "Last season" FROM table_55107 WHERE "Team" = 'scottish rocks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 18057, 41, 96, 18699, 121, 1499, 6, 96, 254, 485, 87, 188, 864, 121, 1499, 6, 96, 188, 1536, 9, 121, 1499, 6, 96, 19566, 9, 6726, 121, 1499, 6, 96, 3612, 7, 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, 96, 3612, 7, 17, 774, 121, 21680, 953, 834, 3769, 18057, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 7, 10405, 1273, 12288, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What's Matts Nilsson's team that's ranked better than 7?
CREATE TABLE table_55331 ( "Rank" real, "Rider" text, "Team" text, "Speed" text, "Time" text )
SELECT "Team" FROM table_55331 WHERE "Rank" < '7' AND "Rider" = 'matts nilsson'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 519, 3341, 41, 96, 22557, 121, 490, 6, 96, 448, 23, 588, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 28328, 121, 1499, 6, 96, 13368, 121, 1499, 3, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 3769, 519, 3341, 549, 17444, 427, 96, 22557, 121, 3, 2, 3, 31, 940, 31, 3430, 96, 448, 23, 588, 121, 3274, 3, 31, 3357, 17, 7, 3, 29, 1558, 739, 31, 1, -100, -100, -100, -100, ...
What's the lowest attendance for October 13, 1968, and is larger than week 5?
CREATE TABLE table_10858 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MIN("Attendance") FROM table_10858 WHERE "Date" = 'october 13, 1968' AND "Week" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16169, 3449, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 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, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 16169, 3449, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 10670, 16506, 31, 3430, 96, 518, 10266, 121, 2490, 3, 31, 755, 3...
Which audition city held callbacks at Amelia Island Plantation?
CREATE TABLE table_name_81 ( audition_city VARCHAR, callback_venue VARCHAR )
SELECT audition_city FROM table_name_81 WHERE callback_venue = "amelia island plantation"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 21042, 834, 6726, 584, 4280, 28027, 6, 580, 1549, 834, 15098, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 21042, 690, 1213, 580, 1549, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 21042, 834, 6726, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 580, 1549, 834, 15098, 3274, 96, 265, 13240, 3368, 1475, 257, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many golds for west germany with over 8 total?
CREATE TABLE table_name_11 (gold INTEGER, nation VARCHAR, total VARCHAR)
SELECT MIN(gold) FROM table_name_11 WHERE nation = "west germany" AND total > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 14910, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2045, 7, 21, 4653, 13692, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14910, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 2982, 3274, 96, 12425, 13692, 63, 121, 3430, 792, 2490, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
give the minimum age of patients who are married and the admission location is phys referral/normal deli.
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescription...
SELECT MIN(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.admission_location = "PHYS REFERRAL/NORMAL DELI"
[ 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, 3, 17684, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 8023, 476, 134, 4083,...
What was the position in 1981?
CREATE TABLE table_name_55 (position VARCHAR, year VARCHAR)
SELECT position FROM table_name_55 WHERE year = 1981
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 4718, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 16, 15465, 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, 1102, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 215, 3274, 15465, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When is a Decision of osgood, and a Score of 6 7?
CREATE TABLE table_name_76 ( date VARCHAR, decision VARCHAR, score VARCHAR )
SELECT date FROM table_name_76 WHERE decision = "osgood" AND score = "6 – 7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 833, 584, 4280, 28027, 6, 1357, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 19, 3, 9, 25006, 13, 3, 32, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 1357, 3274, 96, 32, 7, 10452, 121, 3430, 2604, 3274, 96, 948, 3, 104, 489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What University has the acrronym of USF
CREATE TABLE table_1160660_1 ( university_name VARCHAR, acronym VARCHAR )
SELECT university_name FROM table_1160660_1 WHERE acronym = "USF"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3328, 27720, 834, 536, 41, 3819, 834, 4350, 584, 4280, 28027, 6, 30895, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 636, 65, 8, 3, 9, 75, 52, 52, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3819, 834, 4350, 21680, 953, 834, 2596, 3328, 27720, 834, 536, 549, 17444, 427, 30895, 3274, 96, 3063, 371, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many of the patients with icd9 code 2538 were nebulized?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.icd9_code = "2538" AND prescriptions.route = "NEB"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
How many countries does honoree Roberto de Vicenzo represent?
CREATE TABLE table_19860 ( "Year" real, "Player" text, "Country" text, "Score" text, "Margin of victory" text, "Winners share ( $ )" real, "Honoree(s)" text )
SELECT COUNT("Country") FROM table_19860 WHERE "Honoree(s)" = 'Roberto De Vicenzo'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 3328, 41, 96, 476, 2741, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 10628, 651, 8512, 21680, 953, 834, 24151, 3328, 549, 17444, 427, 96, 566, 106, 127, 15, 15, 599, 7, 61, 121, 3274, 3, 31, 24372, 49, 235, 374, 8236, 20547, 31, 1, -100, -100, -100, -100, -10...
Find the capacity and gender type of the dorm whose name has substring Donor .
CREATE TABLE has_amenity ( dormid number, amenid number ) CREATE TABLE lives_in ( stuid number, dormid number, room_number number ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CRE...
SELECT student_capacity, gender FROM dorm WHERE dorm_name LIKE '%Donor%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 65, 834, 9, 904, 485, 41, 103, 52, 6983, 381, 6, 183, 35, 23, 26, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1342, 834, 77, 41, 21341, 23, 26, 381, 6, 103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1236, 834, 4010, 9, 6726, 6, 7285, 21680, 103, 52, 51, 549, 17444, 427, 103, 52, 51, 834, 4350, 8729, 9914, 3, 31, 1454, 13843, 127, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the winner with the loser being russia-2?
CREATE TABLE table_32853 ( "Date" real, "Sport" text, "Winner" text, "Score" text, "Loser" text )
SELECT "Winner" FROM table_32853 WHERE "Loser" = 'russia-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 28070, 4867, 41, 96, 308, 342, 121, 490, 6, 96, 17682, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 49, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 28070, 4867, 549, 17444, 427, 96, 434, 32, 7, 49, 121, 3274, 3, 31, 26165, 4949, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the result of the Top 3 episode?
CREATE TABLE table_12310814_1 (result VARCHAR, episode VARCHAR)
SELECT result FROM table_12310814_1 WHERE episode = "Top 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 14574, 16169, 2534, 834, 536, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 5640, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 2224, 220, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14574, 16169, 2534, 834, 536, 549, 17444, 427, 5640, 3274, 96, 22481, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was tony parker (guard) born?
CREATE TABLE table_name_31 ( year_born INTEGER, position VARCHAR, player VARCHAR )
SELECT MAX(year_born) FROM table_name_31 WHERE position = "guard" AND player = "tony parker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 215, 834, 7473, 3, 21342, 17966, 6, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 12, 29, 63, 2447,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 834, 7473, 61, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1102, 3274, 96, 11010, 121, 3430, 1959, 3274, 96, 17, 106, 63, 2447, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many hispanic or latino-puerto rican patients have warf5 drug code?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "HISPANIC/LATINO - PUERTO RICAN" AND prescriptions.formulary_drug_cd = "WARF5"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
which city did she play her last game ?
CREATE TABLE table_204_553 ( id number, "outcome" text, "no." number, "date" text, "tournament" text, "surface" text, "partner" text, "opponents in the final" text, "score in the final" text )
SELECT "tournament" FROM table_204_553 ORDER BY "date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3769, 519, 41, 3, 23, 26, 381, 6, 96, 670, 287, 15, 121, 1499, 6, 96, 29, 32, 535, 381, 6, 96, 5522, 121, 1499, 6, 96, 17, 1211, 20205, 17, 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, 17, 1211, 20205, 17, 121, 21680, 953, 834, 26363, 834, 3769, 519, 4674, 11300, 272, 476, 96, 5522, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the year with percentage of 9.66%
CREATE TABLE table_68080 ( "Year" real, "Office" text, "Candidate" text, "Popular Votes" real, "Percentage" text )
SELECT "Year" FROM table_68080 WHERE "Percentage" = '9.66%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2079, 2079, 41, 96, 476, 2741, 121, 490, 6, 96, 22098, 121, 1499, 6, 96, 14050, 12416, 342, 121, 1499, 6, 96, 27773, 4885, 3152, 1422, 121, 490, 6, 96, 12988, 3728, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 948, 2079, 2079, 549, 17444, 427, 96, 12988, 3728, 545, 121, 3274, 3, 31, 8797, 3539, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When was the runner-up Jane Geddes?
CREATE TABLE table_45171 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner-up" text )
SELECT "Year" FROM table_45171 WHERE "Runner-up" = 'jane geddes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 2517, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 121, 1499, 6, 96, 23572,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 2128, 2517, 536, 549, 17444, 427, 96, 23572, 18, 413, 121, 3274, 3, 31, 7066, 15, 3, 5402, 1395, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the remarks for 8 October 2008?
CREATE TABLE table_2015453_1 ( remarks VARCHAR, date VARCHAR )
SELECT remarks FROM table_2015453_1 WHERE date = "8 October 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 8651, 2128, 519, 834, 536, 41, 21029, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 21029, 21, 505, 1797, 2628, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 21029, 21680, 953, 834, 8651, 2128, 519, 834, 536, 549, 17444, 427, 833, 3274, 96, 927, 1797, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Find the number of students in total.
CREATE TABLE STUDENT ( Id VARCHAR )
SELECT COUNT(*) FROM STUDENT
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5097, 10161, 6431, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 381, 13, 481, 16, 792, 5, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 5097, 10161, 6431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of points that driver fernando alonso has in the season he had 20 races?
CREATE TABLE table_name_72 (points INTEGER, races VARCHAR, driver VARCHAR)
SELECT SUM(points) FROM table_name_72 WHERE races = 20 AND driver = "fernando alonso"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2700, 7, 3, 21342, 17966, 6, 10879, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 979, 24, 2535,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 10879, 3274, 460, 3430, 2535, 3274, 96, 8377, 232, 32, 3, 9, 14061, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Home for away of hispano?
CREATE TABLE table_name_4 ( home VARCHAR, away VARCHAR )
SELECT home FROM table_name_4 WHERE away = "hispano"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 234, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 1210, 21, 550, 13, 112, 2837, 32, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 550, 3274, 96, 10193, 2837, 32, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which title has tracks smaller than 7 with translation of an island?
CREATE TABLE table_name_67 (title VARCHAR, track VARCHAR, translation VARCHAR)
SELECT title FROM table_name_67 WHERE track < 7 AND translation = "an island"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 21869, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 6, 7314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2233, 65, 6542, 2755, 145, 489, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1463, 3, 2, 489, 3430, 7314, 3274, 96, 152, 3368, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the 125cc winner with circuit of estoril
CREATE TABLE table_name_2 (circuit VARCHAR)
SELECT 125 AS cc_winner FROM table_name_2 WHERE circuit = "estoril"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 15357, 21560, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 10124, 75, 75, 4668, 28, 4558, 13, 259, 127, 173, 1, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 10124, 6157, 3, 75, 75, 834, 3757, 687, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 4558, 3274, 96, 222, 127, 173, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the result when Dundee were the Opponent at Venue A on 6 September 1986?
CREATE TABLE table_name_9 ( result VARCHAR, date VARCHAR, opponent VARCHAR, venue VARCHAR )
SELECT result FROM table_name_9 WHERE opponent = "dundee" AND venue = "a" AND date = "6 september 1986"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 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, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 15264, 3274, 96, 26, 1106, 15, 15, 121, 3430, 5669, 3274, 96, 9, 121, 3430, 833, 3274, 96, 948, 16022, 18247, 12698, 121, 1, -100, -100, -100, -100, -100, -100...
What season did the Rangers win?
CREATE TABLE table_48206 ( "Season" text, "Winner" text, "Score" text, "Runner-up" text, "Venue" text )
SELECT "Season" FROM table_48206 WHERE "Winner" = 'rangers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 24643, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 23572, 18, 413, 121, 1499, 6, 96, 553, 35, 76, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 3707, 24643, 549, 17444, 427, 96, 18455, 687, 121, 3274, 3, 31, 6287, 277, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, show me about the distribution of founder and the amount of founder , and group by attribute founder in a bar chart, rank by the bar in ascending please.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT Founder, COUNT(Founder) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder ORDER BY Founder
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 19145, 6, 2847, 17161, 599, 19145, 61, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 3, 19145,...
Name the howard bake when bush had 66%
CREATE TABLE table_name_64 (howard_baker VARCHAR, george_h_w_bush VARCHAR)
SELECT howard_baker FROM table_name_64 WHERE george_h_w_bush = "66%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 4067, 986, 834, 19272, 49, 584, 4280, 28027, 6, 873, 1677, 15, 834, 107, 834, 210, 834, 3465, 107, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 149, 986, 834, 19272, 49, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 873, 1677, 15, 834, 107, 834, 210, 834, 3465, 107, 3274, 96, 3539, 1454, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
during which period did albert baning play?
CREATE TABLE table_24565004_3 ( period VARCHAR, name VARCHAR )
SELECT period FROM table_24565004_3 WHERE name = "Albert Baning"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4834, 2560, 591, 834, 519, 41, 1059, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 383, 84, 1059, 410, 491, 7041, 4514, 53, 577, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1059, 21680, 953, 834, 2266, 4834, 2560, 591, 834, 519, 549, 17444, 427, 564, 3274, 96, 25691, 49, 17, 5185, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE EPISODE NUMBER THAT HAS 28 DVD?
CREATE TABLE table_48190 ( "Release Title" text, "Series" text, "No. of DVDs" text, "No. of Blu-ray Discs" text, "Release Date" text, "Episode No." text, "Region No." real, "Released by" text )
SELECT "Episode No." FROM table_48190 WHERE "No. of DVDs" = '28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 11776, 41, 96, 1649, 40, 14608, 11029, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 4168, 5, 13, 5677, 7, 121, 1499, 6, 96, 4168, 5, 13, 10689, 18, 2866, 3, 1568...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 427, 102, 159, 32, 221, 465, 535, 21680, 953, 834, 3707, 11776, 549, 17444, 427, 96, 4168, 5, 13, 5677, 7, 121, 3274, 3, 31, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who are the rowers with the time of 5:54.57?
CREATE TABLE table_65543 ( "Rank" real, "Rowers" text, "Country" text, "Time" text, "Notes" text )
SELECT "Rowers" FROM table_65543 WHERE "Time" = '5:54.57'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 5062, 519, 41, 96, 22557, 121, 490, 6, 96, 448, 2381, 277, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 10358, 15, 7, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 2381, 277, 121, 21680, 953, 834, 4122, 5062, 519, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 755, 10, 5062, 5, 3436, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the date when the Twins had a record of 44-37?
CREATE TABLE table_name_93 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_93 WHERE record = "44-37"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 116, 8, 13058, 7, 141, 3, 9, 1368, 13, 8537,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4271, 549, 17444, 427, 1368, 3274, 96, 3628, 18, 4118, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which network broadcasted the cup after 2011?
CREATE TABLE table_8585 ( "Year" real, "Network" text, "Play-by-play" text, "Color commentator" text, "Sideline reporters" text, "Pregame host" text, "Pregame analysts" text )
SELECT "Network" FROM table_8585 WHERE "Year" > '2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4433, 4433, 41, 96, 476, 2741, 121, 490, 6, 96, 9688, 1981, 121, 1499, 6, 96, 15800, 18, 969, 18, 4895, 121, 1499, 6, 96, 3881, 322, 1670, 1016, 121, 1499, 6, 96, 134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9688, 1981, 121, 21680, 953, 834, 4433, 4433, 549, 17444, 427, 96, 476, 2741, 121, 2490, 3, 31, 13907, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the winning driver when rd. is 3?
CREATE TABLE table_19850806_3 ( winning_driver VARCHAR, rd VARCHAR )
SELECT winning_driver FROM table_19850806_3 WHERE rd = "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 17246, 2079, 948, 834, 519, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 3, 52, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 3447, 2535,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 13739, 52, 21680, 953, 834, 2294, 17246, 2079, 948, 834, 519, 549, 17444, 427, 3, 52, 26, 3274, 96, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the catalog number for october 6, 1988
CREATE TABLE table_27303975_2 (catalog_number VARCHAR, release_date VARCHAR)
SELECT catalog_number FROM table_27303975_2 WHERE release_date = "October 6, 1988"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 1458, 3288, 3072, 834, 357, 41, 2138, 9, 2152, 834, 5525, 1152, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1017...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10173, 834, 5525, 1152, 21680, 953, 834, 2555, 1458, 3288, 3072, 834, 357, 549, 17444, 427, 1576, 834, 5522, 3274, 96, 28680, 8580, 10414, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the percentage in 1980 in Brooklyn?
CREATE TABLE table_name_70 (borough VARCHAR)
SELECT MIN(1980) FROM table_name_70 WHERE borough = "brooklyn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 12823, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 5294, 16, 6694, 16, 12805, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 2294, 2079, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 3, 12823, 3274, 96, 14370, 120, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many grandmasters does bulgaria have listed ?
CREATE TABLE table_203_663 ( id number, "country" text, "zone" text, "national federation" text, "#gm" number, "#fide" number, "national championship" text )
SELECT "#gm" FROM table_203_663 WHERE "country" = 'bulgaria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 3539, 519, 41, 3, 23, 26, 381, 6, 96, 17529, 121, 1499, 6, 96, 9431, 121, 1499, 6, 96, 16557, 3, 16812, 257, 121, 1499, 6, 96, 4663, 122, 51, 121, 381, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 4663, 122, 51, 121, 21680, 953, 834, 23330, 834, 3539, 519, 549, 17444, 427, 96, 17529, 121, 3274, 3, 31, 6724, 122, 6286, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name of the minister from the party of minister for community safety and legal affairs?
CREATE TABLE table_name_45 (name VARCHAR, party VARCHAR)
SELECT name FROM table_name_45 WHERE party = "minister for community safety and legal affairs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 4350, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 6323, 45, 8, 1088, 13, 6323, 21, 573, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1088, 3274, 96, 17791, 21, 573, 1455, 11, 1281, 12748, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many values for decile occur in Mount Roskill with Monte Cecilia school with a roll greater than 170?
CREATE TABLE table_name_33 (decile VARCHAR, roll VARCHAR, area VARCHAR, name VARCHAR)
SELECT COUNT(decile) FROM table_name_33 WHERE area = "mount roskill" AND name = "monte cecilia school" AND roll > 170
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 24223, 109, 584, 4280, 28027, 6, 3812, 584, 4280, 28027, 6, 616, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 24223, 109, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 616, 3274, 96, 11231, 3, 1859, 10824, 121, 3430, 564, 3274, 96, 4662, 15, 197, 13067, 9, 496, 121, 3430, 3812, 2490, 209, 2518, 1,...
For those employees who do not work in departments with managers that have ids between 100 and 200, find first_name and commission_pct , and visualize them by a bar chart, and I want to list from high to low by the X.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), ...
SELECT FIRST_NAME, COMMISSION_PCT FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 4...
What year had 6.62 m in the notes?
CREATE TABLE table_36821 ( "Year" real, "Competition" text, "Venue" text, "Position" text, "Notes" text )
SELECT "Year" FROM table_36821 WHERE "Notes" = '6.62 m'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3651, 2658, 41, 96, 476, 2741, 121, 490, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 10358, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 519, 3651, 2658, 549, 17444, 427, 96, 10358, 15, 7, 121, 3274, 3, 31, 28833, 357, 3, 51, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many patients are single and lab tested for potassium whole blood?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.marital_status = "SINGLE" AND lab.label = "Potassium, Whole Blood"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many entries for start of stage occur in the year 2006?
CREATE TABLE table_275506_1 (start_of_stage VARCHAR, year VARCHAR)
SELECT COUNT(start_of_stage) FROM table_275506_1 WHERE year = "2006"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3769, 5176, 834, 536, 41, 10208, 834, 858, 834, 10705, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 10066, 21, 456, 13, 1726...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 10208, 834, 858, 834, 10705, 61, 21680, 953, 834, 2555, 3769, 5176, 834, 536, 549, 17444, 427, 215, 3274, 96, 21196, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
provide the number of patients categorized under hematology lab test who were diagnosed with hip pressure ulcer.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Pressure ulcer, hip" AND lab."CATEGORY" = "Hematology"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
Which Points have a Performer of se n monaghan and a Draw smaller than 7?
CREATE TABLE table_41323 ( "Draw" real, "Song" text, "Performer" text, "Points" real, "Rank" text )
SELECT MIN("Points") FROM table_41323 WHERE "Performer" = 'seán monaghan' AND "Draw" < '7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2368, 2773, 41, 96, 308, 10936, 121, 490, 6, 96, 134, 2444, 121, 1499, 6, 96, 12988, 2032, 49, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 22557, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 22512, 7, 8512, 21680, 953, 834, 591, 2368, 2773, 549, 17444, 427, 96, 12988, 2032, 49, 121, 3274, 3, 31, 7, 15, 12916, 1911, 9, 22637, 31, 3430, 96, 308, 10936, 121, 3, 2, 3, 31, 940, 31, ...
What is the position of the player with a Pick # of 108?
CREATE TABLE table_name_18 (position VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_18 WHERE pick__number = "108"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 4718, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1102, 13, 8, 1959, 28, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1432, 834, 834, 5525, 1152, 3274, 96, 16169, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which city lives most of staffs? List the city name and number of staffs.
CREATE TABLE Addresses ( city VARCHAR, address_id VARCHAR ) CREATE TABLE Staff ( staff_address_id VARCHAR )
SELECT T1.city, COUNT(*) FROM Addresses AS T1 JOIN Staff AS T2 ON T1.address_id = T2.staff_address_id GROUP BY T1.city ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13246, 15, 7, 41, 690, 584, 4280, 28027, 6, 1115, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 10071, 41, 871, 834, 9, 26, 12039, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 6726, 6, 2847, 17161, 599, 1935, 61, 21680, 13246, 15, 7, 6157, 332, 536, 3, 15355, 3162, 10071, 6157, 332, 357, 9191, 332, 5411, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 26416, 834, 9, 26, 12039, 83...
On what date is the winning team Abt Sportsline and pole position Mattias Ekström in the Circuit Ricardo Tormo , Valencia?
CREATE TABLE table_26267607_2 (date VARCHAR, circuit VARCHAR, winning_team VARCHAR, pole_position VARCHAR)
SELECT date FROM table_26267607_2 WHERE winning_team = "Abt Sportsline" AND pole_position = "Mattias Ekström" AND circuit = "circuit Ricardo Tormo , Valencia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2688, 3959, 4560, 834, 357, 41, 5522, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 6, 3447, 834, 11650, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2688, 2688, 3959, 4560, 834, 357, 549, 17444, 427, 3447, 834, 11650, 3274, 96, 8952, 17, 5716, 747, 121, 3430, 11148, 834, 4718, 3274, 96, 329, 15817, 9, 7, 262, 157, 30476, 121, 3430, 4558, 32...
How many attended the game with an opponent of bye?
CREATE TABLE table_77445 ( "Game" text, "Date" text, "Opponent" text, "Result" text, "Dolphins' points" text, "Opponents' Points" text, "Record" text, "Streak" text, "Attendance" text )
SELECT "Attendance" FROM table_77445 WHERE "Opponent" = 'bye'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 591, 2128, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 308, 23589, 77, 7, 31, 979, 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, 188, 17, 324, 26, 663, 121, 21680, 953, 834, 4013, 591, 2128, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 969, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many papers in ACL 2016 ?
CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE field ( fieldid int ) CREATE TABLE paperdataset ( ...
SELECT DISTINCT COUNT(DISTINCT paper.paperid) FROM paper, venue WHERE paper.year = 2016 AND venue.venueid = paper.venueid AND venue.venuename = 'ACL'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 6, 5669, 4350, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11858, 41, 1040, 23, 26, 16, 17, 6, 2291, 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, 3, 15438, 25424, 6227, 2847, 17161, 599, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 61, 21680, 1040, 6, 5669, 549, 17444, 427, 1040, 5, 1201, 3274, 1421, 3430, 5669, 5, 15098, 23, 26, 3274, 1040, 5, 15098, 23, 26, ...
Who is the opponent for the winner outcome on a hard surface on August 27, 2011?
CREATE TABLE table_66780 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Opponent" FROM table_66780 WHERE "Outcome" = 'winner' AND "Surface" = 'hard' AND "Date" = 'august 27, 2011'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 940, 2079, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 3539, 940, 2079, 549, 17444, 427, 96, 15767, 287, 15, 121, 3274, 3, 31, 3757, 687, 31, 3430, 96, 134, 450, 4861, 121, 3274, 3, 31, 5651, 31, 3430, 96, 308, 342, 121, 327...
WHAT IS THE OPPONENT WITH A SCORE OF 72-63?
CREATE TABLE table_76968 ( "Date" text, "Opponent" text, "Score" text, "Result" text, "Record" text )
SELECT "Opponent" FROM table_76968 WHERE "Score" = '72-63'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 3951, 3651, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 940, 3951, 3651, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 5865, 18, 3891, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Group by services attribute in station table and compute the total number of services with a bar chart, order by the services in ascending.
CREATE TABLE station ( id int, network_name text, services text, local_authority text ) CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE train ( id int, train...
SELECT services, COUNT(services) FROM station GROUP BY services ORDER BY services
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 3, 23, 26, 16, 17, 6, 1229, 834, 4350, 1499, 6, 364, 1499, 6, 415, 834, 17415, 485, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5547, 834, 26809, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 364, 6, 2847, 17161, 599, 5114, 7, 61, 21680, 2478, 350, 4630, 6880, 272, 476, 364, 4674, 11300, 272, 476, 364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the season record when the team played against Milwaukee?
CREATE TABLE table_29751 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Record" FROM table_29751 WHERE "Team" = 'Milwaukee'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 3072, 536, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 7621, 121, 21680, 953, 834, 3166, 3072, 536, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 329, 173, 210, 402, 1050, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who directed and produced 176452?
CREATE TABLE table_28783 ( "No." real, "Title" text, "Directed by" text, "Written by" text, "Patient Portrayer" text, "Original air date" text, "Production code" real )
SELECT "Directed by" FROM table_28783 WHERE "Production code" = '176452'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3940, 519, 41, 96, 4168, 535, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, 24965, 324, 57, 121, 1499, 6, 96, 345, 9, 15058, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23620, 15, 26, 57, 121, 21680, 953, 834, 2577, 3940, 519, 549, 17444, 427, 96, 3174, 8291, 1081, 121, 3274, 3, 31, 26782, 2128, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the number of the grid for mika häkkinen and more than 45 laps?
CREATE TABLE table_name_65 (grid VARCHAR, driver VARCHAR, laps VARCHAR)
SELECT COUNT(grid) FROM table_name_65 WHERE driver = "mika häkkinen" AND laps > 45
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 3496, 26, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 381, 13, 8, 8634, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 2535, 3274, 96, 20068, 9, 3, 10926, 157, 2917, 35, 121, 3430, 14941, 7, 2490, 3479, 1, -100, -100, -100, -100, -100, -100, -100, -10...
Show the attendances of the performances at location 'TD Garden' or 'Bell Centre
CREATE TABLE member ( member_id text, name text, nationality text, role text ) CREATE TABLE member_attendance ( member_id number, performance_id number, num_of_pieces number ) CREATE TABLE performance ( performance_id number, date text, host text, location text, attenda...
SELECT attendance FROM performance WHERE location = "TD Garden" OR location = "Bell Centre"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 1144, 834, 23, 26, 1499, 6, 564, 1499, 6, 1157, 485, 1499, 6, 1075, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 15116, 663, 41, 1144, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11364, 21680, 821, 549, 17444, 427, 1128, 3274, 96, 10494, 5072, 121, 4674, 1128, 3274, 96, 2703, 195, 2969, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, find name and the average of manufacturer , and group by attribute name, and visualize them by a bar chart, I want to sort by the X-axis from low to high.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 7296, 76, 8717, 450, 49, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272,...
What is the smallest round with a Grand Prix of indian gp?
CREATE TABLE table_14345 ( "Round" real, "Race Title" text, "Grand Prix" text, "Circuit" text, "Date" text )
SELECT MIN("Round") FROM table_14345 WHERE "Grand Prix" = 'indian gp'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 2128, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 448, 3302, 11029, 121, 1499, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 448, 32, 1106, 8512, 21680, 953, 834, 25133, 2128, 549, 17444, 427, 96, 4744, 727, 12942, 121, 3274, 3, 31, 77, 8603, 3, 122, 102, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Date has a label of alfa records?
CREATE TABLE table_70691 ( "Region" text, "Date" text, "Label" text, "Format" text, "Catalog" text )
SELECT "Date" FROM table_70691 WHERE "Label" = 'alfa records'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 3951, 536, 41, 96, 17748, 23, 106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 434, 10333, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 18610, 9, 2152, 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, 308, 342, 121, 21680, 953, 834, 2518, 3951, 536, 549, 17444, 427, 96, 434, 10333, 121, 3274, 3, 31, 138, 89, 9, 3187, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which player is from 2012 and North Carolina?
CREATE TABLE table_32208 ( "Player" text, "Nationality" text, "Position" text, "From" text, "School/Country" text )
SELECT "Player" FROM table_32208 WHERE "From" = '2012' AND "School/Country" = 'north carolina'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 23946, 41, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 22674, 121, 1499, 6, 96, 29364, 87, 10628, 651, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 2668, 23946, 549, 17444, 427, 96, 22674, 121, 3274, 3, 31, 12172, 31, 3430, 96, 29364, 87, 10628, 651, 121, 3274, 3, 31, 29, 127, 189, 443, 12057, 9, 31, 1, -100, -100, -100, ...
For each branch id, what are the names of the branches that were registered after 2015 Visualize by bar chart, and I want to order by the the total number in desc.
CREATE TABLE membership_register_branch ( Member_ID int, Branch_ID text, Register_Year text ) CREATE TABLE branch ( Branch_ID int, Name text, Open_year text, Address_road text, City text, membership_amount text ) CREATE TABLE purchase ( Member_ID int, Branch_ID text, Ye...
SELECT Name, COUNT(*) FROM membership_register_branch AS T1 JOIN branch AS T2 ON T1.Branch_ID = T2.Branch_ID WHERE T1.Register_Year > 2015 GROUP BY T2.Branch_ID ORDER BY COUNT(*) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4757, 834, 22149, 834, 1939, 5457, 41, 8541, 834, 4309, 16, 17, 6, 14009, 834, 4309, 1499, 6, 12306, 834, 476, 2741, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 4757, 834, 22149, 834, 1939, 5457, 6157, 332, 536, 3, 15355, 3162, 6421, 6157, 332, 357, 9191, 332, 5411, 18304, 5457, 834, 4309, 3274, 332, 4416, 18304, 5457, 834, 4309, 54...
Name the total number of points for for played
CREATE TABLE table_27293285_4 (points_for VARCHAR)
SELECT COUNT(points_for) FROM table_27293285_4 WHERE "played" = "played"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3166, 2668, 4433, 834, 591, 41, 2700, 7, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 979, 21, 21, 1944, 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, 2847, 17161, 599, 2700, 7, 834, 1161, 61, 21680, 953, 834, 2555, 3166, 2668, 4433, 834, 591, 549, 17444, 427, 96, 4895, 15, 26, 121, 3274, 96, 4895, 15, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Can you tell me the Record that has the Game of 19?
CREATE TABLE table_name_72 (record VARCHAR, game VARCHAR)
SELECT record FROM table_name_72 WHERE game = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 60, 7621, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 817, 140, 8, 11392, 24, 65, 8, 4435, 13, 957, 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, 1368, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 467, 3274, 957, 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,...
how many patients whose discharge location is dead/expired and age is less than 61?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DEAD/EXPIRED" AND demographic.age < "61"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 26, 159, 7993, 834, 14836, 3274, 96, 308, 19552, 87, 427, 4, 4111, 13729, 121, 3430, 14798, 5, 5...
Name the outgoing manager for 10 june 2009
CREATE TABLE table_2722 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text )
SELECT COUNT("Outgoing manager") FROM table_2722 WHERE "Date of vacancy" = '10 June 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 2884, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 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, 2847, 17161, 599, 121, 15767, 9545, 2743, 8512, 21680, 953, 834, 2555, 2884, 549, 17444, 427, 96, 308, 342, 13, 3, 29685, 121, 3274, 3, 31, 1714, 1515, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the name , and group by attribute name.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 2...
how many patients whose age is less than 24 and drug route is id?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "24" AND prescriptions.route = "ID"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Which club, had a home ground of n/a?
CREATE TABLE table_name_95 (club VARCHAR, home_ground VARCHAR)
SELECT club FROM table_name_95 WHERE home_ground = "n/a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 13442, 584, 4280, 28027, 6, 234, 834, 9232, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1886, 6, 141, 3, 9, 234, 1591, 13, 3, 29, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1886, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 234, 834, 9232, 3274, 96, 29, 87, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What type of move was Elding from ENG?
CREATE TABLE table_48065 ( "Name" text, "Country" text, "Type" text, "Moving from" text, "Transfer window" text, "Ends" text, "Transfer fee" text )
SELECT "Type" FROM table_48065 WHERE "Country" = 'eng' AND "Name" = 'elding'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20579, 4122, 41, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 329, 32, 3745, 45, 121, 1499, 6, 96, 18474, 1010, 2034, 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, 25160, 121, 21680, 953, 834, 20579, 4122, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 4606, 31, 3430, 96, 23954, 121, 3274, 3, 31, 8804, 53, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which co-singers appear in the movie Pyaasa?
CREATE TABLE table_2528382_2 ( Co VARCHAR, singers VARCHAR, movie_album VARCHAR )
SELECT Co - singers FROM table_2528382_2 WHERE movie_album = "Pyaasa"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2577, 3747, 357, 834, 357, 41, 638, 584, 4280, 28027, 6, 7634, 7, 584, 4280, 28027, 6, 1974, 834, 23703, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 638, 3, 18, 7634, 7, 21680, 953, 834, 1828, 2577, 3747, 357, 834, 357, 549, 17444, 427, 1974, 834, 23703, 3274, 96, 345, 63, 9, 9, 7, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the GDP at constant prices for a current account balance of 12.8?
CREATE TABLE table_30133_1 (gdp_at_constant_prices__thb_trillions_ VARCHAR, current_account_balance__percent_of_gdp_ VARCHAR)
SELECT gdp_at_constant_prices__thb_trillions_ FROM table_30133_1 WHERE current_account_balance__percent_of_gdp_ = "12.8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 22974, 834, 536, 41, 122, 26, 102, 834, 144, 834, 8056, 3672, 834, 2246, 2319, 834, 834, 189, 115, 834, 17, 52, 14916, 7, 834, 584, 4280, 28027, 6, 750, 834, 9, 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, 3, 122, 26, 102, 834, 144, 834, 8056, 3672, 834, 2246, 2319, 834, 834, 189, 115, 834, 17, 52, 14916, 7, 834, 21680, 953, 834, 1458, 22974, 834, 536, 549, 17444, 427, 750, 834, 9, 75, 13362, 834, 3849, 663, 834, ...
What are all the policy types of the customer named 'Dayana Robel'?
CREATE TABLE claims ( claim_id number, fnol_id number, effective_date time ) CREATE TABLE services ( service_id number, service_name text ) CREATE TABLE customers_policies ( customer_id number, policy_id number, date_opened time, date_closed time ) CREATE TABLE settlements ( s...
SELECT DISTINCT t3.policy_type_code FROM customers AS t1 JOIN customers_policies AS t2 ON t1.customer_id = t2.customer_id JOIN available_policies AS t3 ON t2.policy_id = t3.policy_id WHERE t1.customer_name = "Dayana Robel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3213, 41, 1988, 834, 23, 26, 381, 6, 3, 89, 29, 32, 40, 834, 23, 26, 381, 6, 1231, 834, 5522, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 364, 41, 313, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 3, 17, 5787, 3233, 17686, 834, 6137, 834, 4978, 21680, 722, 6157, 3, 17, 536, 3, 15355, 3162, 722, 834, 3003, 6267, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 25697, 49, 834, 23, 26, 3274, 3,...
How man teams had a total weight of 57.5?
CREATE TABLE table_2581397_3 ( group VARCHAR, weight__kg_ VARCHAR )
SELECT COUNT(group) FROM table_2581397_3 WHERE weight__kg_ = "57.5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3449, 2368, 4327, 834, 519, 41, 563, 584, 4280, 28027, 6, 1293, 834, 834, 8711, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 388, 2323, 141, 3, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 10739, 61, 21680, 953, 834, 357, 3449, 2368, 4327, 834, 519, 549, 17444, 427, 1293, 834, 834, 8711, 834, 3274, 96, 3436, 5, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which year did Ray Crawford the Kurtis Kraft 500g chassis?
CREATE TABLE table_name_70 (year VARCHAR, chassis VARCHAR)
SELECT year FROM table_name_70 WHERE chassis = "kurtis kraft 500g"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1201, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 215, 410, 8279, 28777, 8, 8333, 17, 159, 10756, 2899, 122, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 22836, 3274, 96, 10923, 17, 159, 3, 11326, 2899, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is XIII Season, when VIII Season is 4 780 743 (2 november 2008)?
CREATE TABLE table_name_82 ( xiii_season VARCHAR, viii_season VARCHAR )
SELECT xiii_season FROM table_name_82 WHERE viii_season = "4 780 743 (2 november 2008)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 3, 226, 23, 23, 23, 834, 9476, 584, 4280, 28027, 6, 3, 14553, 23, 834, 9476, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 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, 3, 226, 23, 23, 23, 834, 9476, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 3, 14553, 23, 834, 9476, 3274, 96, 591, 489, 2079, 489, 4906, 4743, 3, 5326, 18247, 2628, 61, 121, 1, -100, -100, -100, -100, -100,...
What was the score in the episode with john barrowman and vic reeves on sean's team?
CREATE TABLE table_23292220_4 ( scores VARCHAR, seans_team VARCHAR )
SELECT scores FROM table_23292220_4 WHERE seans_team = "John Barrowman and Vic Reeves"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 3166, 2884, 1755, 834, 591, 41, 7586, 584, 4280, 28027, 6, 142, 3247, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 16, 8, 564...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7586, 21680, 953, 834, 2773, 3166, 2884, 1755, 834, 591, 549, 17444, 427, 142, 3247, 834, 11650, 3274, 96, 18300, 272, 6770, 348, 11, 12060, 419, 15, 162, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who was the winner when the result was 56-0 before 1935?
CREATE TABLE table_48655 ( "Year" real, "Date" text, "Winner" text, "Result" text, "Loser" text, "Location" text )
SELECT "Winner" FROM table_48655 WHERE "Year" < '1935' AND "Result" = '56-0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3840, 3769, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 7, 49, 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, 18455, 687, 121, 21680, 953, 834, 591, 3840, 3769, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 2294, 2469, 31, 3430, 96, 20119, 121, 3274, 3, 31, 755, 28625, 31, 1, -100, -100, -100, -100, -100, -100, ...
How many players were drafted from laval?
CREATE TABLE table_23584 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT COUNT("CFL Team") FROM table_23584 WHERE "College" = 'Laval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 4608, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 10765, 2271, 8512, 21680, 953, 834, 25174, 4608, 549, 17444, 427, 96, 9939, 7883, 121, 3274, 3, 31, 3612, 2165, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the affiliation for towson, md?
CREATE TABLE table_name_37 (affiliation VARCHAR, location VARCHAR)
SELECT affiliation FROM table_name_37 WHERE location = "towson, md"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 4127, 173, 23, 257, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 24405, 21, 12, 210, 739, 6, 3, 51, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 24405, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 1128, 3274, 96, 17, 2381, 739, 6, 3, 51, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What year was Leon Blevins picked?
CREATE TABLE table_33743 ( "Name" text, "Round" text, "Overall Pick" text, "Year" real, "Team" text )
SELECT SUM("Year") FROM table_33743 WHERE "Name" = 'leon blevins'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4201, 4581, 519, 41, 96, 23954, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 23847, 1748, 8356, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 18699, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 121, 476, 2741, 8512, 21680, 953, 834, 4201, 4581, 519, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 109, 106, 3, 2296, 2494, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Nationality's time is 2:07.64?
CREATE TABLE table_name_98 ( nationality VARCHAR, time VARCHAR )
SELECT nationality FROM table_name_98 WHERE time = "2:07.64"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 1157, 485, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 868, 485, 31, 7, 97, 19, 204, 10, 14681, 4389, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1157, 485, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 97, 3274, 96, 357, 10, 14681, 4389, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What circuit was after round 2 in Victoria?
CREATE TABLE table_38318 ( "Round" real, "Circuit" text, "State/Territory" text, "Date" text, "Winning driver" text )
SELECT "Circuit" FROM table_38318 WHERE "Round" > '2' AND "State/Territory" = 'victoria'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 519, 2606, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 134, 4748, 87, 382, 21301, 10972, 121, 1499, 6, 96, 308, 342, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 23, 52, 21560, 121, 21680, 953, 834, 3747, 519, 2606, 549, 17444, 427, 96, 448, 32, 1106, 121, 2490, 3, 31, 357, 31, 3430, 96, 134, 4748, 87, 382, 21301, 10972, 121, 3274, 3, 31, 7287, 3600, 9, 31, 1, ...
Name the manner of departure for luis enrique
CREATE TABLE table_3824 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text, "Position in table" text )
SELECT "Manner of departure" FROM table_3824 WHERE "Outgoing manager" = 'Luis Enrique'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 2266, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 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, 7296, 687, 13, 12028, 121, 21680, 953, 834, 3747, 2266, 549, 17444, 427, 96, 15767, 9545, 2743, 121, 3274, 3, 31, 434, 76, 159, 695, 8673, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Away with a Ground that is humber college lakeshore?
CREATE TABLE table_75859 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text )
SELECT "Away" FROM table_75859 WHERE "Ground" = 'humber college lakeshore'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 927, 3390, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 517, 77...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1343, 121, 21680, 953, 834, 3072, 927, 3390, 549, 17444, 427, 96, 517, 7775, 121, 3274, 3, 31, 4884, 1152, 1900, 6957, 13303, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who constructed juan manuel fangio's car with over 76 laps and a grid under 10?
CREATE TABLE table_name_47 (constructor VARCHAR, driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT constructor FROM table_name_47 WHERE grid < 10 AND laps > 76 AND driver = "juan manuel fangio"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 15982, 5317, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 26...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 8634, 3, 2, 335, 3430, 14941, 7, 2490, 3, 3959, 3430, 2535, 3274, 96, 2047, 152, 19901, 1819, 10253, 121, 1, -100, -100, -100, -100, -100, -100, -100, -1...
what are the main indstries and total market value for each industry?
CREATE TABLE gas_station ( Station_ID int, Open_Year int, Location text, Manager_Name text, Vice_Manager_Name text, Representative_Name text ) CREATE TABLE company ( Company_ID int, Rank int, Company text, Headquarters text, Main_Industry text, Sales_billion real, Pr...
SELECT Main_Industry, SUM(Market_Value) FROM company GROUP BY Main_Industry
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1807, 834, 6682, 41, 5939, 834, 4309, 16, 17, 6, 2384, 834, 476, 2741, 16, 17, 6, 10450, 1499, 6, 3440, 834, 23954, 1499, 6, 8236, 834, 27272, 834, 23954, 1499, 6, 13517, 834, 23954,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5140, 834, 1570, 8655, 8224, 6, 180, 6122, 599, 22572, 834, 18392, 76, 15, 61, 21680, 349, 350, 4630, 6880, 272, 476, 5140, 834, 1570, 8655, 8224, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who directed the movie when John Wayne played the role of John Travers?
CREATE TABLE table_name_54 (director VARCHAR, role VARCHAR)
SELECT director FROM table_name_54 WHERE role = "john travers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 25982, 584, 4280, 28027, 6, 1075, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 8, 1974, 116, 1079, 14914, 1944, 8, 1075, 13, 1079, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2090, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 1075, 3274, 96, 27341, 5187, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the result for game 5?
CREATE TABLE table_name_65 ( result VARCHAR, game VARCHAR )
SELECT result FROM table_name_65 WHERE game = "game 5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 741, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 21, 467, 305, 58, 1, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 467, 3274, 96, 7261, 3, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average fee for a CSU campus in the year of 1996?
CREATE TABLE discipline_enrollments ( campus number, discipline number, year number, undergraduate number, graduate number ) CREATE TABLE enrollments ( campus number, year number, totalenrollment_ay number, fte_ay number ) CREATE TABLE degrees ( year number, campus number, ...
SELECT AVG(campusfee) FROM csu_fees WHERE year = 1996
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7998, 834, 35, 4046, 4128, 41, 4730, 381, 6, 7998, 381, 6, 215, 381, 6, 12260, 381, 6, 5213, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 17938, 7, 41, 4730, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25532, 89, 15, 15, 61, 21680, 3, 75, 7, 76, 834, 89, 15, 15, 7, 549, 17444, 427, 215, 3274, 6911, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the area is 66.34, what is the minimum (2010 census) population?
CREATE TABLE table_232458_1 ( population__2010_census_ INTEGER, area__km²_ VARCHAR )
SELECT MIN(population__2010_census_) FROM table_232458_1 WHERE area__km²_ = "66.34"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2266, 3449, 834, 536, 41, 2074, 834, 834, 14926, 834, 75, 35, 7, 302, 834, 3, 21342, 17966, 6, 616, 834, 834, 5848, 357, 834, 584, 4280, 28027, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 9791, 7830, 834, 834, 14926, 834, 75, 35, 7, 302, 834, 61, 21680, 953, 834, 2773, 2266, 3449, 834, 536, 549, 17444, 427, 616, 834, 834, 5848, 357, 834, 3274, 96, 3539, 5, 3710, 121, 1, -100, -100, ...
who is the constructor when the tyre is d, the engine is talbot 23cv 4.5 l6, the chassis is talbot-lago t26c and the entrant is ecurie belge?
CREATE TABLE table_name_75 (constructor VARCHAR, entrant VARCHAR, chassis VARCHAR, tyre VARCHAR, engine VARCHAR)
SELECT constructor FROM table_name_75 WHERE tyre = "d" AND engine = "talbot 23cv 4.5 l6" AND chassis = "talbot-lago t26c" AND entrant = "ecurie belge"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 15982, 5317, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 3, 17, 63, 60, 584, 4280, 28027, 6, 1948, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 3, 17, 63, 60, 3274, 96, 26, 121, 3430, 1948, 3274, 96, 1947, 4045, 1902, 75, 208, 3, 12451, 3, 40, 948, 121, 3430, 22836, 3274, 96, 1947, 4045, 18, ...
What was the lowest round number at the UFC 16 event with a record of 19-1-1?
CREATE TABLE table_name_64 ( round INTEGER, event VARCHAR, record VARCHAR )
SELECT MIN(round) FROM table_name_64 WHERE event = "ufc 16" AND record = "19-1-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 1751, 3, 21342, 17966, 6, 605, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 7402, 1751, 381, 44, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7775, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 605, 3274, 96, 76, 89, 75, 898, 121, 3430, 1368, 3274, 96, 2294, 2292, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the names of all physicians and their primary affiliated departments' names.
CREATE TABLE nurse ( employeeid number, name text, position text, registered boolean, ssn number ) CREATE TABLE appointment ( appointmentid number, patient number, prepnurse number, physician number, start time, end time, examinationroom text ) CREATE TABLE undergoes ( ...
SELECT T1.name, T3.name FROM physician AS T1 JOIN affiliated_with AS T2 ON T1.employeeid = T2.physician JOIN department AS T3 ON T2.department = T3.departmentid WHERE T2.primaryaffiliation = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10444, 41, 3490, 23, 26, 381, 6, 564, 1499, 6, 1102, 1499, 6, 3366, 3, 12840, 109, 152, 6, 3, 7, 7, 29, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4141, 41,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 4350, 6, 332, 5787, 4350, 21680, 10027, 6157, 332, 536, 3, 15355, 3162, 18273, 834, 4065, 6157, 332, 357, 9191, 332, 5411, 15, 51, 7379, 63, 15, 15, 23, 26, 3274, 332, 4416, 6941, 7, 1294, 152, 3, 15355...
If the country is fenghuang how many provinces are there?
CREATE TABLE table_152834_2 (province VARCHAR, county VARCHAR)
SELECT COUNT(province) FROM table_152834_2 WHERE county = "Fenghuang"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2577, 3710, 834, 357, 41, 1409, 2494, 565, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 684, 19, 3, 89, 4606, 107, 76, 1468...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 1409, 2494, 565, 61, 21680, 953, 834, 1808, 2577, 3710, 834, 357, 549, 17444, 427, 5435, 3274, 96, 371, 4606, 107, 76, 1468, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the type of Guangjia?
CREATE TABLE table_62903 ( "Name (pinyin)" text, "Name (Wade Giles)" text, "Characters" text, "Type" text, "Construction" text )
SELECT "Type" FROM table_62903 WHERE "Name (pinyin)" = 'guangjia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 2394, 519, 41, 96, 23954, 41, 3180, 63, 77, 61, 121, 1499, 6, 96, 23954, 41, 518, 9, 221, 3156, 965, 61, 121, 1499, 6, 96, 18947, 2708, 277, 121, 1499, 6, 96, 251...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 25160, 121, 21680, 953, 834, 4056, 2394, 519, 549, 17444, 427, 96, 23954, 41, 3180, 63, 77, 61, 121, 3274, 3, 31, 1744, 1468, 354, 23, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...