NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and code , and group by attribute founder, and display in desc by the X-axis.
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 T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name DESC
[ 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, 332, 5411, 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, 3, 19145, 6,...
WHAT TOWN IS WEST BROOK SENIOR HIGH SCHOOL FROM?
CREATE TABLE table_11677100_11 (hometown VARCHAR, school VARCHAR)
SELECT hometown FROM table_11677100_11 WHERE school = "West Brook Senior High school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 4013, 2915, 834, 2596, 41, 5515, 3540, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 3001, 21170, 6827, 549, 6038, 272, 4630, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22295, 21680, 953, 834, 20159, 4013, 2915, 834, 2596, 549, 17444, 427, 496, 3274, 96, 19069, 9083, 5523, 1592, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give the discharge time and procedure name for subject id 9258.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.dischtime, procedures.long_title FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "9258"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 2499, 715, 6, 4293, 5, 2961, 834, 21869, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798, 5, 7304,...
What was time/retired with less than 67 laps and 6 points?
CREATE TABLE table_name_28 (time_retired VARCHAR, laps VARCHAR, points VARCHAR)
SELECT time_retired FROM table_name_28 WHERE laps < 67 AND points = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 715, 834, 10682, 1271, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 97, 87, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 97, 834, 10682, 1271, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 14941, 7, 3, 2, 3, 3708, 3430, 979, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
PER is the IATA for which city?
CREATE TABLE table_14403 ( "City" text, "Province/Region" text, "Country" text, "IATA" text, "ICAO" text, "Airport" text )
SELECT "City" FROM table_14403 WHERE "IATA" = 'per'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20885, 4928, 41, 96, 254, 485, 121, 1499, 6, 96, 3174, 2494, 565, 87, 17748, 23, 106, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 196, 19282, 121, 1499, 6, 96, 15038,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 485, 121, 21680, 953, 834, 20885, 4928, 549, 17444, 427, 96, 196, 19282, 121, 3274, 3, 31, 883, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose diagnoses short title is routine circumcision and drug route is ng?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Routine circumcision" AND prescriptions.route = "NG"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
which player has the highest number of career home runs ?
CREATE TABLE table_203_611 ( id number, "player" text, "hr" number, "date reached 500 hr" text, "team" text, "seasons played" text )
SELECT "player" FROM table_203_611 ORDER BY "hr" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4241, 536, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 107, 52, 121, 381, 6, 96, 5522, 3495, 2899, 3, 107, 52, 121, 1499, 6, 96, 11650, 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, 20846, 121, 21680, 953, 834, 23330, 834, 4241, 536, 4674, 11300, 272, 476, 96, 107, 52, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which Score has a High assists of whalen (5)?
CREATE TABLE table_name_40 (score VARCHAR, high_assists VARCHAR)
SELECT score FROM table_name_40 WHERE high_assists = "whalen (5)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 7, 9022, 584, 4280, 28027, 6, 306, 834, 6500, 7, 17, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, 1592, 13041, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 306, 834, 6500, 7, 17, 7, 3274, 96, 210, 3828, 35, 3, 15757, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Return a histogram on what is average age of male for different job title?, sort bar in asc order.
CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT )
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job ORDER BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 17701, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1565, 3, 4331, 4059, 599, 1755, 201, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 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, 613, 6, 71, 17217, 599, 545, 61, 21680, 5780, 549, 17444, 427, 7285, 3274, 3, 31, 13513, 31, 350, 4630, 6880, 272, 476, 613, 4674, 11300, 272, 476, 613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Birthplace's Real Name is Charles 'Chuck' Connors?
CREATE TABLE table_name_86 (birthplace VARCHAR, real_name VARCHAR)
SELECT birthplace FROM table_name_86 WHERE real_name = "charles 'chuck' connors"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 20663, 4687, 584, 4280, 28027, 6, 490, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 26337, 4687, 31, 7, 2977, 5570, 19, 5417, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3879, 4687, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 490, 834, 4350, 3274, 96, 4059, 965, 3, 31, 24238, 31, 975, 29, 127, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many position does Jim Farmer play in?
CREATE TABLE table_11545282_6 ( position VARCHAR, player VARCHAR )
SELECT COUNT(position) FROM table_11545282_6 WHERE player = "Jim Farmer"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15660, 2128, 2577, 357, 834, 948, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1102, 405, 6006, 4990, 49, 577, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4718, 61, 21680, 953, 834, 15660, 2128, 2577, 357, 834, 948, 549, 17444, 427, 1959, 3274, 96, 683, 603, 4990, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What model engine has a lotus 16 chassis?
CREATE TABLE table_69723 ( "Year" real, "Entrant" text, "Chassis" text, "Engine" text, "Points" real )
SELECT "Engine" FROM table_69723 WHERE "Chassis" = 'lotus 16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 940, 2773, 41, 96, 476, 2741, 121, 490, 6, 96, 16924, 3569, 121, 1499, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 22512, 7, 121, 490, 3, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 31477, 121, 21680, 953, 834, 3951, 940, 2773, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 3171, 302, 898, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the score where the total points was 50?
CREATE TABLE table_name_34 (score VARCHAR, total_points VARCHAR)
SELECT score FROM table_name_34 WHERE total_points = 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 7, 9022, 584, 4280, 28027, 6, 792, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 213, 8, 792, 979, 47, 943, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 792, 834, 2700, 7, 3274, 943, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
In what Wicket in the City of Eastbourne with a Score of less than 368?
CREATE TABLE table_name_60 ( wicket VARCHAR, score VARCHAR, city VARCHAR )
SELECT wicket FROM table_name_60 WHERE score < 368 AND city = "eastbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 29719, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 86, 125, 18602, 15, 17, 16, 8, 896,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 29719, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 2604, 3, 2, 220, 3651, 3430, 690, 3274, 96, 11535, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average Apps for the team Kairat with level larger than 1?
CREATE TABLE table_43035 ( "Season" text, "Team" text, "Country" text, "League" text, "Level" real, "Apps" real, "Goals" real )
SELECT AVG("Apps") FROM table_43035 WHERE "Team" = 'kairat' AND "Level" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 2469, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 2796, 9, 5398, 121, 1499, 6, 96, 25465, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 9648, 7, 8512, 21680, 953, 834, 25449, 2469, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 1258, 23, 1795, 31, 3430, 96, 25465, 121, 2490, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100...
Show the date of the tallest perpetrator.
CREATE TABLE perpetrator (Date VARCHAR, People_ID VARCHAR); CREATE TABLE people (People_ID VARCHAR, Height VARCHAR)
SELECT T2.Date FROM people AS T1 JOIN perpetrator AS T2 ON T1.People_ID = T2.People_ID ORDER BY T1.Height DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 28998, 127, 41, 308, 342, 584, 4280, 28027, 6, 2449, 834, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 24337, 834, 4309, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 332, 4416, 308, 342, 21680, 151, 6157, 332, 536, 3, 15355, 3162, 28998, 127, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, 3274, 332, 4416, 24337, 834, 4309, 4674, 11300, 272, 476, 332, 5411, 3845, 2632, 309, 250...
Name the 2006 with 2003 of a and 2012 of a
CREATE TABLE table_name_1 ( Id VARCHAR )
SELECT 2006 FROM table_name_1 WHERE 2003 = "a" AND 2012 = "a"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3581, 28, 3888, 13, 3, 9, 11, 1673, 13, 3, 9, 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, 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, 3581, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 3888, 3274, 96, 9, 121, 3430, 1673, 3274, 96, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many winners from vietnam
CREATE TABLE table_12303563_2 ( winners VARCHAR, nation VARCHAR )
SELECT winners FROM table_12303563_2 WHERE nation = "Vietnam"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 1458, 2469, 3891, 834, 357, 41, 8969, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 8969, 45, 2240, 17, 13363, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 8969, 21680, 953, 834, 2122, 1458, 2469, 3891, 834, 357, 549, 17444, 427, 2982, 3274, 96, 553, 23, 15, 17, 13363, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show me a scatter plot for the relationship between average and minimum age of captains in each class.
CREATE TABLE Ship ( Ship_ID int, Name text, Type text, Built_Year real, Class text, Flag text ) CREATE TABLE captain ( Captain_ID int, Name text, Ship_ID int, age text, Class text, Rank text )
SELECT AVG(age), MIN(age) FROM captain GROUP BY Class
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15508, 41, 15508, 834, 4309, 16, 17, 6, 5570, 1499, 6, 6632, 1499, 6, 14862, 834, 476, 2741, 490, 6, 4501, 1499, 6, 17016, 1499, 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, 71, 17217, 599, 545, 201, 3, 17684, 599, 545, 61, 21680, 14268, 350, 4630, 6880, 272, 476, 4501, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees whose first name is ending with the letter m, compute their average salary for visualizing a bar chart, and I want to list in descending by the y-axis please.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT FIRST_NAME, AVG(SALARY) FROM employees WHERE FIRST_NAME LIKE '%m' GROUP BY FIRST_NAME ORDER BY AVG(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 51, 31, 350, 4630, 6880, 272, 476, 30085, 834, 567, 17683, 4674, 11300, ...
Who is the Opponent in the final of the match played on Clay Surface with a Score in the final of 4–6, 3–6?
CREATE TABLE table_name_9 (opponent_in_the_final VARCHAR, surface VARCHAR, score_in_the_final VARCHAR)
SELECT opponent_in_the_final FROM table_name_9 WHERE surface = "clay" AND score_in_the_final = "4–6, 3–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1298, 41, 32, 102, 9977, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15264, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 1298, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 2604, 834, 77, 834, 532, 834, 12406, 3274, 96, 591, 104, 11071, 220, 104, 948, 121, 1, ...
give the number of patients under the age of 56 whose drug name is insulin human regular.
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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "56" AND prescriptions.drug = "Insulin Human Regular"
[ 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...
What is the highest Lane, when Mark is 46.65, and when React is greater than 0.251?
CREATE TABLE table_name_44 (lane INTEGER, mark VARCHAR, react VARCHAR)
SELECT MAX(lane) FROM table_name_44 WHERE mark = "46.65" AND react > 0.251
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 8102, 3, 21342, 17966, 6, 3946, 584, 4280, 28027, 6, 8922, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 11834, 6, 116, 2185, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8102, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 3946, 3274, 96, 4448, 5, 4122, 121, 3430, 8922, 2490, 3, 18189, 5553, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the mascot at Borden?
CREATE TABLE table_name_48 ( mascot VARCHAR, school VARCHAR )
SELECT mascot FROM table_name_48 WHERE school = "borden"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 3, 2754, 4310, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 2754, 4310, 44, 21572, 35, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2754, 4310, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 496, 3274, 96, 6693, 537, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the color of the background of the white border and sign of information?
CREATE TABLE table_name_25 (background_colour VARCHAR, border VARCHAR, type_of_sign VARCHAR)
SELECT background_colour FROM table_name_25 WHERE border = "white" AND type_of_sign = "information"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 1549, 9232, 834, 24814, 584, 4280, 28027, 6, 4947, 584, 4280, 28027, 6, 686, 834, 858, 834, 6732, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 36...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2458, 834, 24814, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 4947, 3274, 96, 13698, 121, 3430, 686, 834, 858, 834, 6732, 3274, 96, 6391, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For those records from the products and each product's manufacturer, a bar chart shows the distribution of headquarter and the sum of price , and group by attribute headquarter, and I want to list in desc by the x axis.
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 Headquarter, SUM(Price) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Headquarter ORDER BY Headquarter DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3642, 19973, 6, 180, 6122, 599, 345, 4920, 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, 3642...
What is the venue of the game that was played on 23 October 1966?
CREATE TABLE table_name_41 (venue VARCHAR, date VARCHAR)
SELECT venue FROM table_name_41 WHERE date = "23 october 1966"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 15098, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5669, 13, 8, 467, 24, 47, 1944, 30, 1902, 1797, 20658...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 833, 3274, 96, 2773, 3, 32, 75, 235, 1152, 20658, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Binibining Pilipinas-International has a Year larger than 1990, and a Binibining Pilipinas-Universe of maria lourdes gonzalez?
CREATE TABLE table_name_7 (binibining_pilipinas_international VARCHAR, year VARCHAR, binibining_pilipinas_universe VARCHAR)
SELECT binibining_pilipinas_international FROM table_name_7 WHERE year > 1990 AND binibining_pilipinas_universe = "maria lourdes gonzalez"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 4517, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2701, 23, 4517, 53, 834, 102, 173, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 27817, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 215, 2490, 5541, 3430, 2701, 23, 4517, 53, 834, 102, 173, 23, 3180, 9, 7, 834, 7846, 15, 3274, 96,...
For each film, return the number of cinemas showing that fim in a bar chart, and I want to order by the the number of title in asc.
CREATE TABLE schedule ( Cinema_ID int, Film_ID int, Date text, Show_times_per_day int, Price float ) CREATE TABLE film ( Film_ID int, Rank_in_series int, Number_in_season int, Title text, Directed_by text, Original_air_date text, Production_code text ) CREATE TABLE cinema ( Cinema_ID int, Name text, Openning_year int, Capacity int, Location text )
SELECT Title, COUNT(Title) FROM schedule AS T1 JOIN film AS T2 ON T1.Film_ID = T2.Film_ID JOIN cinema AS T3 ON T1.Cinema_ID = T3.Cinema_ID GROUP BY Title ORDER BY COUNT(Title)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2023, 41, 17544, 834, 4309, 16, 17, 6, 3417, 834, 4309, 16, 17, 6, 7678, 1499, 6, 3111, 834, 715, 7, 834, 883, 834, 1135, 16, 17, 6, 5312, 3, 12660, 3, 61, 3, 32102, 32103, 32102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11029, 6, 2847, 17161, 599, 382, 155, 109, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 814, 6157, 332, 357, 9191, 332, 5411, 371, 173, 51, 834, 4309, 3274, 332, 4416, 371, 173, 51, 834, 4309, 3, 15355, 3162, ...
What is friday day six when monday day two is isnin?
CREATE TABLE table_17792 ( "Day (see Irregularities )" text, "Sunday Day One" text, "Monday Day Two" text, "Tuesday Day Three" text, "Wednesday Day Four" text, "Thursday Day Five" text, "Friday Day Six" text, "Saturday Day Seven" text )
SELECT "Friday Day Six" FROM table_17792 WHERE "Monday Day Two" = 'Isnin'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26793, 4508, 41, 96, 16803, 41, 2338, 27, 52, 60, 122, 4885, 2197, 3, 61, 121, 1499, 6, 96, 134, 202, 1135, 1430, 555, 121, 1499, 6, 96, 9168, 1135, 1430, 2759, 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, 31157, 1430, 7643, 121, 21680, 953, 834, 26793, 4508, 549, 17444, 427, 96, 9168, 1135, 1430, 2759, 121, 3274, 3, 31, 196, 7, 29, 77, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the goal difference where the goals against is less than 54, goals for is greater than 51 and points 1 is 63?
CREATE TABLE table_48007 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT "Goal Difference" FROM table_48007 WHERE "Goals Against" < '54' AND "Goals For" > '51' AND "Points 1" = '63'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20579, 4560, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6221, 138, 27187, 121, 21680, 953, 834, 20579, 4560, 549, 17444, 427, 96, 6221, 5405, 3, 20749, 121, 3, 2, 3, 31, 5062, 31, 3430, 96, 6221, 5405, 242, 121, 2490, 3, 31, 5553, 31, 3430, 96, 22512, 7, 209, 121...
Which Nominee has a Vote to Save of 1.98%?
CREATE TABLE table_name_36 ( nominee VARCHAR, vote_to_save VARCHAR )
SELECT nominee FROM table_name_36 WHERE vote_to_save = "1.98%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 21077, 584, 4280, 28027, 6, 2902, 834, 235, 834, 7, 9, 162, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 465, 8695, 15, 65, 3, 9, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 21077, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2902, 834, 235, 834, 7, 9, 162, 3274, 96, 22493, 5953, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record in the 2 round fight that ended by submission (injury)?
CREATE TABLE table_name_70 (record VARCHAR, round VARCHAR, method VARCHAR)
SELECT record FROM table_name_70 WHERE round = "2" AND method = "submission (injury)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 60, 7621, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 6, 1573, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 16, 8, 204, 1751...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1751, 3274, 96, 357, 121, 3430, 1573, 3274, 96, 7304, 5451, 41, 77, 10609, 63, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which network has bob costas as the studio host and darren pang as the ice level reporters?
CREATE TABLE table_22485543_1 (network VARCHAR, studio_host VARCHAR, ice_level_reporters VARCHAR)
SELECT network FROM table_22485543_1 WHERE studio_host = "Bob Costas" AND ice_level_reporters = "Darren Pang"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3707, 3769, 4906, 834, 536, 41, 1582, 1981, 584, 4280, 28027, 6, 3100, 834, 12675, 584, 4280, 28027, 6, 3, 867, 834, 4563, 834, 60, 1493, 277, 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, 1229, 21680, 953, 834, 2884, 3707, 3769, 4906, 834, 536, 549, 17444, 427, 3100, 834, 12675, 3274, 96, 279, 32, 115, 11229, 7, 121, 3430, 3, 867, 834, 4563, 834, 60, 1493, 277, 3274, 96, 29367, 276, 1468, 121, 1, -...
What is Honda's highest grid with a time of +1:38.407?
CREATE TABLE table_name_61 (grid INTEGER, manufacturer VARCHAR, time VARCHAR)
SELECT MAX(grid) FROM table_name_61 WHERE manufacturer = "honda" AND time = "+1:38.407"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 3496, 26, 3, 21342, 17966, 6, 4818, 584, 4280, 28027, 6, 97, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 12886, 31, 7, 2030, 8634, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 4818, 3274, 96, 31782, 121, 3430, 97, 3274, 96, 18446, 10, 3747, 5, 2445, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the lunar landing site for 19 november 1969
CREATE TABLE table_1558077_8 (lunar_landing_site VARCHAR, lunar_landing_date VARCHAR)
SELECT lunar_landing_site FROM table_1558077_8 WHERE lunar_landing_date = "19 November 1969"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 2079, 4013, 834, 927, 41, 40, 202, 291, 834, 40, 232, 53, 834, 3585, 584, 4280, 28027, 6, 19920, 834, 40, 232, 53, 834, 5522, 584, 4280, 28027, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 19920, 834, 40, 232, 53, 834, 3585, 21680, 953, 834, 20896, 2079, 4013, 834, 927, 549, 17444, 427, 19920, 834, 40, 232, 53, 834, 5522, 3274, 96, 2294, 1671, 17185, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
Find the number of rooms with more than 50 capacity for each building.
CREATE TABLE classroom ( building VARCHAR, capacity INTEGER )
SELECT COUNT(*), building FROM classroom WHERE capacity > 50 GROUP BY building
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4858, 41, 740, 584, 4280, 28027, 6, 2614, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2588, 8, 381, 13, 2801, 28, 72, 145, 943, 2614, 21, 284, 740, 5, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 201, 740, 21680, 4858, 549, 17444, 427, 2614, 2490, 943, 350, 4630, 6880, 272, 476, 740, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record when the score was l 84 96 (ot)?
CREATE TABLE table_29846 ( "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_29846 WHERE "Score" = 'L 84–96 (OT)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 4448, 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, 357, 3916, 4448, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 434, 3, 4608, 104, 4314, 41, 6951, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who is the opponent on November 1?
CREATE TABLE table_name_38 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_38 WHERE date = "november 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 15264, 30, 1671, 209, 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, 15264, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 833, 3274, 96, 5326, 18247, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what date was the record 21-26?
CREATE TABLE table_name_79 ( date VARCHAR, record VARCHAR )
SELECT date FROM table_name_79 WHERE record = "21-26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 833, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 833, 47, 8, 1368, 1401, 18, 2688, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 1368, 3274, 96, 2658, 18, 2688, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Where was the tournament won by Hale Irwin (19)?
CREATE TABLE table_name_93 (location VARCHAR, winner VARCHAR)
SELECT location FROM table_name_93 WHERE winner = "hale irwin (19)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 14836, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 5892, 751, 57, 5648, 15, 27, 52, 3757, 2863, 61, 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, 1128, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 4668, 3274, 96, 3828, 15, 3, 23, 52, 3757, 2863, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the record when the high rebounds was from Nick Collison (11)?
CREATE TABLE table_11964154_11 ( record VARCHAR, high_rebounds VARCHAR )
SELECT record FROM table_11964154_11 WHERE high_rebounds = "Nick Collison (11)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19993, 4389, 27308, 834, 2596, 41, 1368, 584, 4280, 28027, 6, 306, 834, 23768, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 116, 8, 306, 3, 237...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 19993, 4389, 27308, 834, 2596, 549, 17444, 427, 306, 834, 23768, 3274, 96, 567, 3142, 9919, 23, 739, 4077, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the lowest ends won when w is 8?
CREATE TABLE table_26209210_2 (Ends INTEGER, w VARCHAR)
SELECT MIN(Ends) AS won FROM table_26209210_2 WHERE w = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 1755, 4508, 1714, 834, 357, 41, 8532, 26, 7, 3, 21342, 17966, 6, 3, 210, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 5542, 751, 116, 3, 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, 3, 17684, 599, 8532, 26, 7, 61, 6157, 751, 21680, 953, 834, 2688, 1755, 4508, 1714, 834, 357, 549, 17444, 427, 3, 210, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How much money has Candidate Dennis Kucinich spent?
CREATE TABLE table_name_43 ( money_spent VARCHAR, _3q VARCHAR, candidate VARCHAR )
SELECT money_spent, _3q FROM table_name_43 WHERE candidate = "dennis kucinich"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 540, 834, 7, 102, 295, 584, 4280, 28027, 6, 3, 834, 519, 1824, 584, 4280, 28027, 6, 4775, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 540, 834, 7, 102, 295, 6, 3, 834, 519, 1824, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 4775, 3274, 96, 537, 29, 159, 3, 2729, 20694, 524, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the result of the game after week 3 against the New York Giants?
CREATE TABLE table_name_94 ( result VARCHAR, week VARCHAR, opponent VARCHAR )
SELECT result FROM table_name_94 WHERE week > 3 AND opponent = "new york giants"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 741, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 8, 467, 227, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 471, 2490, 220, 3430, 15264, 3274, 96, 5534, 25453, 6079, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
On 27 January 1968 who was the Home Team when the Away team was Carlisle United?
CREATE TABLE table_7963 ( "Tie no" text, "Home team" text, "Score" text, "Away team" text, "Date" text )
SELECT "Home team" FROM table_7963 WHERE "Date" = '27 january 1968' AND "Away team" = 'carlisle united'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4440, 3891, 41, 96, 382, 23, 15, 150, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 372, 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, 19040, 372, 121, 21680, 953, 834, 4440, 3891, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 2555, 3, 7066, 76, 1208, 16506, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 1720, 40, 159, 109, 18279, 31, 1...
What is the station type for the branding ABS-CBN TV-32 Tagaytay?
CREATE TABLE table_2610582_2 ( station_type VARCHAR, branding VARCHAR )
SELECT station_type FROM table_2610582_2 WHERE branding = "ABS-CBN TV-32 Tagaytay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 12869, 4613, 834, 357, 41, 2478, 834, 6137, 584, 4280, 28027, 6, 14282, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2478, 686, 21, 8, 14282, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2478, 834, 6137, 21680, 953, 834, 2688, 12869, 4613, 834, 357, 549, 17444, 427, 14282, 3274, 96, 5359, 134, 18, 254, 19174, 1424, 18, 2668, 3284, 9, 63, 17, 9, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which candidate lost the election that 770,046 people voted in?
CREATE TABLE table_58016 ( "Election" real, "Candidate" text, "Number of votes" text, "Share of votes" text, "Outcome of election" text )
SELECT "Candidate" FROM table_58016 WHERE "Outcome of election" = 'lost' AND "Number of votes" = '770,046'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2079, 2938, 41, 96, 427, 12252, 121, 490, 6, 96, 14050, 12416, 342, 121, 1499, 6, 96, 567, 5937, 49, 13, 11839, 121, 1499, 6, 96, 24501, 13, 11839, 121, 1499, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 342, 121, 21680, 953, 834, 755, 2079, 2938, 549, 17444, 427, 96, 15767, 287, 15, 13, 4356, 121, 3274, 3, 31, 2298, 17, 31, 3430, 96, 567, 5937, 49, 13, 11839, 121, 3274, 3, 31, 26920, 6, 632, 4...
Who is the color commentator for ESPN from 1990 to 1992?
CREATE TABLE table_name_70 (color_commentator_s_ VARCHAR, network VARCHAR)
SELECT color_commentator_s_ FROM table_name_70 WHERE network = "espn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 9910, 834, 287, 297, 1016, 834, 7, 834, 584, 4280, 28027, 6, 1229, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 945, 1670, 1016, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 945, 834, 287, 297, 1016, 834, 7, 834, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 1229, 3274, 96, 15, 7, 102, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the hometown of number 40?
CREATE TABLE table_name_44 ( hometown VARCHAR, number VARCHAR )
SELECT hometown FROM table_name_44 WHERE number = 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 22295, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 22295, 13, 381, 1283, 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, 22295, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 381, 3274, 1283, 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...
what was the name of the last person to accomplish this up to date ?
CREATE TABLE table_203_549 ( id number, "player" text, "team" text, "date" text, "opponent" text, "venue" text )
SELECT "player" FROM table_203_549 ORDER BY "date" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 755, 3647, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 5522, 121, 1499, 6, 96, 32, 102, 9977, 121, 1499, 6, 96, 15098, 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, 20846, 121, 21680, 953, 834, 23330, 834, 755, 3647, 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, -100, -100, ...
What was the highest crowd size at Windy Hill?
CREATE TABLE table_4845 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT MAX("Crowd") FROM table_4845 WHERE "Venue" = 'windy hill'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 2128, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 3707, 2128, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5165, 63, 9956, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the year from 1892-93 that has the 1890s to the 1940s?
CREATE TABLE table_75722 ( "1890s" text, "1890\u201391" text, "1891\u201392" text, "1892\u201393" text, "1893\u201394" text )
SELECT "1892\u201393" FROM table_75722 WHERE "1890s" = '1940s'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 5865, 357, 41, 96, 2606, 2394, 7, 121, 1499, 6, 96, 2606, 2394, 2, 76, 11138, 4729, 121, 1499, 6, 96, 2606, 4729, 2, 76, 11138, 4508, 121, 1499, 6, 96, 2606, 4508, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2606, 4508, 2, 76, 11138, 4271, 121, 21680, 953, 834, 3072, 5865, 357, 549, 17444, 427, 96, 2606, 2394, 7, 121, 3274, 3, 31, 2294, 2445, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of patients whose diagnoses short title is hemochromatos-rbc trans and drug type is base?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Hemochromatos-rbc trans" AND prescriptions.drug_type = "BASE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the name of the activity that has the most faculty members involved in?
CREATE TABLE Faculty_participates_in (actID VARCHAR); CREATE TABLE Activity (activity_name VARCHAR, actID VARCHAR)
SELECT T1.activity_name FROM Activity AS T1 JOIN Faculty_participates_in AS T2 ON T1.actID = T2.actID GROUP BY T1.actID ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 16896, 834, 2274, 23, 3389, 6203, 834, 77, 41, 2708, 4309, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 22536, 41, 21661, 834, 4350, 584, 4280, 28027, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 21661, 834, 4350, 21680, 22536, 6157, 332, 536, 3, 15355, 3162, 16896, 834, 2274, 23, 3389, 6203, 834, 77, 6157, 332, 357, 9191, 332, 5411, 2708, 4309, 3274, 332, 4416, 2708, 4309, 350, 4630, 6880, 272, 476...
Bar chart x axis nationality y axis mean meter 100, I want to order from high to low by the Y-axis.
CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text )
SELECT Nationality, AVG(meter_100) FROM swimmer GROUP BY Nationality ORDER BY AVG(meter_100) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 27424, 41, 4699, 16, 17, 6, 564, 1499, 6, 868, 485, 1499, 6, 3, 4401, 834, 2915, 490, 6, 3, 4401, 834, 3632, 1499, 6, 3, 4401, 834, 5426, 1499, 6, 3, 4401, 834, 5548, 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, 868, 485, 6, 71, 17217, 599, 4401, 834, 2915, 61, 21680, 27424, 350, 4630, 6880, 272, 476, 868, 485, 4674, 11300, 272, 476, 71, 17217, 599, 4401, 834, 2915, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -10...
Name the number of vocalists for which one ~ is it?
CREATE TABLE table_2144389_8 ( vocalist VARCHAR, japanese_translation VARCHAR )
SELECT COUNT(vocalist) FROM table_2144389_8 WHERE japanese_translation = "Which One ~ Is It?"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 4906, 3914, 834, 927, 41, 6721, 343, 584, 4280, 28027, 6, 2662, 2837, 15, 7, 15, 834, 7031, 6105, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6117, 9, 3350, 61, 21680, 953, 834, 27357, 4906, 3914, 834, 927, 549, 17444, 427, 2662, 2837, 15, 7, 15, 834, 7031, 6105, 3274, 96, 518, 107, 362, 555, 3, 2, 27, 7, 94, 4609, 1, -100, -100, -10...
Which home team has the Brunswick Street Oval venue?
CREATE TABLE table_name_8 (home_team VARCHAR, venue VARCHAR)
SELECT home_team FROM table_name_8 WHERE venue = "brunswick street oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 234, 372, 65, 8, 29980, 1887, 411, 2165, 5669, 58,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 5669, 3274, 96, 9052, 29, 7, 5981, 2815, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the outcome for the India Open?
CREATE TABLE table_name_34 (outcome VARCHAR, venue VARCHAR)
SELECT outcome FROM table_name_34 WHERE venue = "india open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 670, 287, 15, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 6138, 21, 8, 1547, 2384, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 5669, 3274, 96, 8482, 9, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many new points were earned by rk 26?
CREATE TABLE table_27615896_18 ( new_points VARCHAR, rk VARCHAR )
SELECT new_points FROM table_27615896_18 WHERE rk = 26
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4241, 3449, 4314, 834, 2606, 41, 126, 834, 2700, 7, 584, 4280, 28027, 6, 3, 52, 157, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 126, 979, 130, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 126, 834, 2700, 7, 21680, 953, 834, 2555, 4241, 3449, 4314, 834, 2606, 549, 17444, 427, 3, 52, 157, 3274, 2208, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which college did kevin landolt attend?
CREATE TABLE table_name_10 ( college VARCHAR, name VARCHAR )
SELECT college FROM table_name_10 WHERE name = "kevin landolt"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 1900, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1900, 410, 3, 1050, 2494, 1322, 32, 40, 17, 2467, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1900, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 564, 3274, 96, 1050, 2494, 1322, 32, 40, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Give me the comparison about meter_100 over the meter_300 by a bar chart, could you display in desc by the y-axis?
CREATE TABLE event ( ID int, Name text, Stadium_ID int, Year text ) CREATE TABLE stadium ( ID int, name text, Capacity int, City text, Country text, Opening_year int ) CREATE TABLE record ( ID int, Result text, Swimmer_ID int, Event_ID int ) CREATE TABLE swimmer ( ID int, name text, Nationality text, meter_100 real, meter_200 text, meter_300 text, meter_400 text, meter_500 text, meter_600 text, meter_700 text, Time text )
SELECT meter_300, meter_100 FROM swimmer ORDER BY meter_100 DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 605, 41, 4699, 16, 17, 6, 5570, 1499, 6, 12750, 834, 4309, 16, 17, 6, 2929, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 4699, 16, 17, 6, 564, 1499,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 4401, 834, 5426, 6, 3, 4401, 834, 2915, 21680, 27424, 4674, 11300, 272, 476, 3, 4401, 834, 2915, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average react of the athlete with a time less than 22.29 and a rank greater than 1?
CREATE TABLE table_name_11 (react INTEGER, time VARCHAR, rank VARCHAR)
SELECT AVG(react) FROM table_name_11 WHERE time < 22.29 AND rank > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 60, 2708, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 8922, 13, 8, 17893...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 60, 2708, 61, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 97, 3, 2, 1630, 5, 3166, 3430, 11003, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many goals that were scored had a place of more than 5, a lost of 11, and goals conceded of less than 45?
CREATE TABLE table_name_7 (goals_scored VARCHAR, goals_conceded VARCHAR, place VARCHAR, lost VARCHAR)
SELECT COUNT(goals_scored) FROM table_name_7 WHERE place > 5 AND lost = 11 AND goals_conceded < 45
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 839, 5405, 834, 3523, 1271, 584, 4280, 28027, 6, 1766, 834, 11620, 221, 26, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1513, 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, 2847, 17161, 599, 839, 5405, 834, 3523, 1271, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 286, 2490, 305, 3430, 1513, 3274, 850, 3430, 1766, 834, 11620, 221, 26, 3, 2, 3479, 1, -100, -100, -100, -100, -100...
Name the result for 2000 afc asian cup qualification
CREATE TABLE table_name_14 ( result VARCHAR, competition VARCHAR )
SELECT result FROM table_name_14 WHERE competition = "2000 afc asian cup qualification"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 741, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 741, 21, 2766, 3, 9, 89, 75, 3, 9, 10488, 4119, 1551...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 2259, 3274, 96, 13527, 3, 9, 89, 75, 3, 9, 10488, 4119, 15513, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
count the number of patients whose diagnoses short title is ac/chr syst/dia hrt fail and drug route is id?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Ac/chr syst/dia hrt fail" AND prescriptions.route = "ID"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
How many instructors are in each department? Show me a bar chart.
CREATE TABLE student ( ID varchar(5), name varchar(20), dept_name varchar(20), tot_cred numeric(3,0) ) CREATE TABLE takes ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), grade varchar(2) ) CREATE TABLE prereq ( course_id varchar(8), prereq_id varchar(8) ) CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0) ) CREATE TABLE section ( course_id varchar(8), sec_id varchar(8), semester varchar(6), year numeric(4,0), building varchar(15), room_number varchar(7), time_slot_id varchar(4) ) CREATE TABLE time_slot ( time_slot_id varchar(4), day varchar(1), start_hr numeric(2), start_min numeric(2), end_hr numeric(2), end_min numeric(2) ) CREATE TABLE classroom ( building varchar(15), room_number varchar(7), capacity numeric(4,0) ) CREATE TABLE advisor ( s_ID varchar(5), i_ID varchar(5) ) CREATE TABLE course ( course_id varchar(8), title varchar(50), dept_name varchar(20), credits numeric(2,0) )
SELECT T1.dept_name, COUNT(DISTINCT T3.ID) FROM department AS T1 JOIN student AS T2 ON T1.dept_name = T2.dept_name JOIN instructor AS T3 ON T1.dept_name = T3.dept_name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 12, 17, 834, 17216, 206, 17552, 599, 6355, 632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26, 6707, 834, 4350, 6, 2847, 17161, 599, 15438, 25424, 6227, 332, 5787, 4309, 61, 21680, 3066, 6157, 332, 536, 3, 15355, 3162, 1236, 6157, 332, 357, 9191, 332, 5411, 26, 6707, 834, 4350, 3274, 332, 4416, ...
What Country's Player scored 71-69-70-71=281?
CREATE TABLE table_name_21 ( country VARCHAR, score VARCHAR )
SELECT country FROM table_name_21 WHERE score = 71 - 69 - 70 - 71 = 281
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6993, 31, 7, 12387, 5799, 3, 4450, 18, 3951, 18, 2518, 18,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 2604, 3274, 3, 4450, 3, 18, 3, 3951, 3, 18, 2861, 3, 18, 3, 4450, 3274, 204, 4959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose insurance is medicare and admission year is less than 2187?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.insurance = "Medicare" AND demographic.admityear < "2187"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 15789, 355, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2658, 4225, 121, 1,...
Who served as an advisor for students who have treasurer votes in the spring election cycle?
CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE voting_record ( stuid number, registration_date text, election_cycle text, president_vote number, vice_president_vote number, secretary_vote number, treasurer_vote number, class_president_vote number, class_senator_vote number )
SELECT DISTINCT T1.advisor FROM student AS T1 JOIN voting_record AS T2 ON T1.stuid = T2.treasurer_vote WHERE T2.election_cycle = "Spring"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6, 3, 40, 4350, 1499, 6, 3, 89, 4350, 1499, 6, 1246, 381, 6, 3, 7, 994, 1499, 6, 779, 381, 6, 8815, 381, 6, 690, 834, 4978, 1499, 3, 61, 3, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 5411, 9, 26, 24680, 21680, 1236, 6157, 332, 536, 3, 15355, 3162, 10601, 834, 60, 7621, 6157, 332, 357, 9191, 332, 5411, 7, 17, 76, 23, 26, 3274, 332, 4416, 929, 9, 3042, 49, 834, 1621, ...
What is the total number of Area (km²), when Population (2007) is 6,176?
CREATE TABLE table_name_13 (area__km²_ VARCHAR, population__2007_ VARCHAR)
SELECT COUNT(area__km²_) FROM table_name_13 WHERE population__2007_ = 6 OFFSET 176
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 498, 834, 834, 5848, 357, 834, 584, 4280, 28027, 6, 2074, 834, 834, 20615, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 498, 834, 834, 5848, 357, 834, 61, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 2074, 834, 834, 20615, 834, 3274, 431, 3, 15316, 20788, 3, 26782, 1, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, find name and code , and group by attribute name, and visualize them by a bar chart.
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 T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name, T1.Name
[ 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, 332, 5411, 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, 5411, 2...
What was the Pick Number when the position was wide receiver, the college was Southern Miss with an overall less than 186?
CREATE TABLE table_6626 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT AVG("Pick #") FROM table_6626 WHERE "Position" = 'wide receiver' AND "College" = 'southern miss' AND "Overall" < '186'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 2688, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 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, 71, 17217, 599, 121, 345, 3142, 1713, 8512, 21680, 953, 834, 3539, 2688, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 6728, 11487, 31, 3430, 96, 9939, 7883, 121, 3274, 3, 31, 7, 670, 760, 29, 3041, 3...
Which website was started in 2008?
CREATE TABLE table_name_25 (website VARCHAR, year_started VARCHAR)
SELECT website FROM table_name_25 WHERE year_started = 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 8398, 3585, 584, 4280, 28027, 6, 215, 834, 3624, 1054, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 475, 47, 708, 16, 2628, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 475, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 215, 834, 3624, 1054, 3274, 2628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the visitor for detroit on february 24
CREATE TABLE table_name_55 ( visitor VARCHAR, home VARCHAR, date VARCHAR )
SELECT visitor FROM table_name_55 WHERE home = "detroit" AND date = "february 24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 7019, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 7019, 21, 3, 26, 15252, 155,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7019, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 234, 3274, 96, 26, 15252, 155, 121, 3430, 833, 3274, 96, 89, 15, 9052, 1208, 997, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What points have 1 for drawn, and 16 as a try bonus?
CREATE TABLE table_37173 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Tries for" text, "Tries against" text, "Try bonus" text, "Losing bonus" text, "Points" text )
SELECT "Points for" FROM table_37173 WHERE "Drawn" = '1' AND "Try bonus" = '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4118, 2517, 519, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 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, 22512, 7, 21, 121, 21680, 953, 834, 4118, 2517, 519, 549, 17444, 427, 96, 308, 10936, 29, 121, 3274, 3, 31, 536, 31, 3430, 96, 382, 651, 4023, 121, 3274, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -10...
What are Tiger Woods' average earnings?
CREATE TABLE table_name_86 (money___ INTEGER, player VARCHAR)
SELECT AVG(money___) AS $__ FROM table_name_86 WHERE player = "tiger woods"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 28442, 834, 834, 834, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 11804, 2985, 7, 31, 1348, 8783, 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, 71, 17217, 599, 28442, 834, 834, 834, 61, 6157, 1514, 834, 834, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 1959, 3274, 96, 17, 4424, 1679, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Race 1 result of Round 2?
CREATE TABLE table_14864 ( "Round" text, "Track" text, "Race 1" text, "Race 2" text, "Race 3" text )
SELECT "Race 1" FROM table_14864 WHERE "Round" = 'round 2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 4389, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 382, 16729, 121, 1499, 6, 96, 448, 3302, 209, 121, 1499, 6, 96, 448, 3302, 204, 121, 1499, 6, 96, 448, 3302, 220, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3302, 209, 121, 21680, 953, 834, 24748, 4389, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 7775, 204, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Can you tell me the sum of Score that has the Place of t5, and the Country of united states, and the Player of jeff maggert?
CREATE TABLE table_name_27 (score INTEGER, player VARCHAR, place VARCHAR, country VARCHAR)
SELECT SUM(score) FROM table_name_27 WHERE place = "t5" AND country = "united states" AND player = "jeff maggert"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 7, 9022, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 1072, 25, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 7, 9022, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 286, 3274, 96, 17, 17395, 3430, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 1924, 89, 89, 954, 6938, 17, 121, 1, ...
stage 2 hypertension ( resting blood pressure > 160 systolic or > 100 diastolic )
CREATE TABLE table_dev_8 ( "id" int, "systolic_blood_pressure_sbp" int, "heart_disease" bool, "diastolic_blood_pressure_dbp" int, "coronary_artery_disease_cad" bool, "triglyceride_tg" float, "hypertension" bool, "NOUSE" float )
SELECT * FROM table_dev_8 WHERE hypertension = 1 OR systolic_blood_pressure_sbp > 160 OR diastolic_blood_pressure_dbp > 100
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 927, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 121, 16, 17, 6, 96, 88, 1408, 834, 26, 159, 14608, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 927, 549, 17444, 427, 6676, 13177, 3274, 209, 4674, 3, 7, 63, 7, 235, 2176, 834, 27798, 834, 26866, 834, 7, 115, 102, 2490, 11321, 4674, 1227, 9, 7, 235, 2176, 834, 27798, 834, 26...
For those records from the products and each product's manufacturer, find founder and the average of revenue , and group by attribute founder, and visualize them by a bar chart.
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, AVG(Revenue) FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP 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, 71, 17217, 599, 1649, 15098, 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, ...
Which Winner has a Winter Olympics of 1968?
CREATE TABLE table_45912 ( "Winner" text, "Country" text, "Winter Olympics" text, "FIS Nordic World Ski Championships" text, "Holmenkollen" text )
SELECT "Winner" FROM table_45912 WHERE "Winter Olympics" = '1968'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 4729, 357, 41, 96, 18455, 687, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 518, 3870, 17793, 121, 1499, 6, 96, 4936, 134, 24207, 1150, 7409, 7666, 7, 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, 18455, 687, 121, 21680, 953, 834, 2128, 4729, 357, 549, 17444, 427, 96, 518, 3870, 17793, 121, 3274, 3, 31, 2294, 3651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the population of durham parish?
CREATE TABLE table_name_73 (population VARCHAR, official_name VARCHAR)
SELECT COUNT(population) FROM table_name_73 WHERE official_name = "durham"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 9791, 7830, 584, 4280, 28027, 6, 2314, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2074, 13, 11184, 1483, 14961, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 9791, 7830, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 2314, 834, 4350, 3274, 96, 13629, 1483, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the points for when the played is 22 and tries against is 68?
CREATE TABLE table_12828723_4 ( points_for VARCHAR, played VARCHAR, tries_against VARCHAR )
SELECT points_for FROM table_12828723_4 WHERE played = "22" AND tries_against = "68"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4613, 4225, 2773, 834, 591, 41, 979, 834, 1161, 584, 4280, 28027, 6, 1944, 584, 4280, 28027, 6, 3, 9000, 834, 9, 16720, 7, 17, 584, 4280, 28027, 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, 979, 834, 1161, 21680, 953, 834, 2122, 4613, 4225, 2773, 834, 591, 549, 17444, 427, 1944, 3274, 96, 2884, 121, 3430, 3, 9000, 834, 9, 16720, 7, 17, 3274, 96, 3651, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
Name the average is 1991-92 is 39
CREATE TABLE table_1558 ( "Team" text, "Average" text, "Points" real, "Played" real, "1991-92" text, "1992-93" text, "1993-94" real )
SELECT "Average" FROM table_1558 WHERE "1991-92" = '39'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 3449, 41, 96, 18699, 121, 1499, 6, 96, 188, 624, 545, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 2294, 4729, 18, 4508, 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, 188, 624, 545, 121, 21680, 953, 834, 1808, 3449, 549, 17444, 427, 96, 2294, 4729, 18, 4508, 121, 3274, 3, 31, 3288, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
WHAT IS THE TO PAR FOR GEOFF OGILVY WITH A PLACE OF T3?
CREATE TABLE table_name_94 (to_par VARCHAR, place VARCHAR, player VARCHAR)
SELECT to_par FROM table_name_94 WHERE place = "t3" AND player = "geoff ogilvy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 235, 834, 1893, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 3001, 17917, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 3430, 1959, 3274, 96, 397, 1647, 3, 32, 122, 173, 208, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For all employees who have the letters D or S in their first name, visualize a bar chart about the distribution of job_id and the average of department_id , and group by attribute job_id, order the average of department id in ascending order.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT JOB_ID, AVG(DEPARTMENT_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY AVG(DEPARTMENT_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 5596, 19846, 11810, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, ...
at most what number in the series was the episode 'chet episode'?
CREATE TABLE table_74227 ( "Series no." real, "Season no." real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Production code" real, "U.S. viewers (millions)" text )
SELECT MAX("Series no.") FROM table_74227 WHERE "Title" = 'Chet Episode'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 357, 2555, 41, 96, 12106, 7, 150, 535, 490, 6, 96, 134, 15, 9, 739, 150, 535, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 12106, 7, 150, 5, 8512, 21680, 953, 834, 4581, 357, 2555, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 254, 88, 17, 16112, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is every value for rebounds when steals is 19?
CREATE TABLE table_25352324_5 (rebounds VARCHAR, steals VARCHAR)
SELECT rebounds FROM table_25352324_5 WHERE steals = 19
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2469, 2773, 2266, 834, 755, 41, 23768, 584, 4280, 28027, 6, 11332, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 334, 701, 21, 3, 23768, 116, 11332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23768, 21680, 953, 834, 1828, 2469, 2773, 2266, 834, 755, 549, 17444, 427, 11332, 7, 3274, 957, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Ben Crenshaw has what To par?
CREATE TABLE table_name_18 ( to_par VARCHAR, player VARCHAR )
SELECT to_par FROM table_name_18 WHERE player = "ben crenshaw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 12, 834, 1893, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2798, 5895, 29, 15622, 65, 125, 304, 260, 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, 12, 834, 1893, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 1959, 3274, 96, 115, 35, 3935, 29, 15622, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the record at the game that had an attendance over 27,623 and a score of 0 7?
CREATE TABLE table_70531 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Time" text, "Att." real, "Record" text )
SELECT "Record" FROM table_70531 WHERE "Att." > '27,623' AND "Score" = '0–7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 755, 3341, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 13368, 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, 1649, 7621, 121, 21680, 953, 834, 2518, 755, 3341, 549, 17444, 427, 96, 188, 17, 17, 535, 2490, 3, 31, 2555, 6, 4056, 519, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 632, 104, 940, 31, 1, -100, -100, -100, ...
Name the total number of games for lost being 41
CREATE TABLE table_27397 ( "Season" text, "Games" real, "Won" real, "Lost" real, "Tied" real, "Points" real, "Goals for" real, "Goals against" real, "Standing" text )
SELECT COUNT("Games") FROM table_27397 WHERE "Lost" = '41'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 519, 4327, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 23055, 7, 121, 490, 6, 96, 518, 106, 121, 490, 6, 96, 434, 3481, 121, 490, 6, 96, 382, 5973, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 23055, 7, 8512, 21680, 953, 834, 2555, 519, 4327, 549, 17444, 427, 96, 434, 3481, 121, 3274, 3, 31, 4853, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the venue for north melbourne
CREATE TABLE table_name_85 ( venue VARCHAR, away_team VARCHAR )
SELECT venue FROM table_name_85 WHERE away_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 5669, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 5669, 21, 3457, 3, 2341, 26255, 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, 5669, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 550, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the attendance of week 8?
CREATE TABLE table_name_23 (attendance VARCHAR, week VARCHAR)
SELECT COUNT(attendance) FROM table_name_23 WHERE week = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 15116, 663, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11364, 13, 471, 505, 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, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 471, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Result, when Date is 2003?
CREATE TABLE table_name_80 ( result VARCHAR, date VARCHAR )
SELECT result FROM table_name_80 WHERE date = "2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2079, 41, 741, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3, 20119, 6, 116, 7678, 19, 3888, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2079, 549, 17444, 427, 833, 3274, 96, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are patient 033-2671's gender?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time )
SELECT DISTINCT patient.gender FROM patient WHERE patient.uniquepid = '033-2671'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 98...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1868, 5, 122, 3868, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 4928, 21160, 3708, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what had a score like roberto devicenzo
CREATE TABLE table_name_97 (score VARCHAR, player VARCHAR)
SELECT score FROM table_name_97 WHERE player = "roberto devicenzo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 7, 9022, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 141, 3, 9, 2604, 114, 3, 5840, 49, 235, 1407, 20547, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 1959, 3274, 96, 5840, 49, 235, 1407, 20547, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which race had a finish of 1st at Saratoga Race Course?
CREATE TABLE table_name_60 ( race VARCHAR, finish VARCHAR, track VARCHAR )
SELECT race FROM table_name_60 WHERE finish = "1st" AND track = "saratoga race course"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3328, 41, 1964, 584, 4280, 28027, 6, 1992, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1964, 141, 3, 9, 1992, 13, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1964, 21680, 953, 834, 4350, 834, 3328, 549, 17444, 427, 1992, 3274, 96, 536, 7, 17, 121, 3430, 1463, 3274, 96, 7, 9, 1795, 19914, 1964, 503, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What engine had a JBW chassis in 1960?
CREATE TABLE table_name_49 ( engine VARCHAR, chassis VARCHAR, year VARCHAR )
SELECT engine FROM table_name_49 WHERE chassis = "jbw" AND year = 1960
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 1948, 584, 4280, 28027, 6, 22836, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1948, 141, 3, 9, 446, 279, 518...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1948, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 22836, 3274, 96, 354, 115, 210, 121, 3430, 215, 3274, 8754, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many leage apperances for the player with one FA cup, and a FLT Apps of 0 (1)?
CREATE TABLE table_name_61 (league_apps VARCHAR, fa_cup_apps VARCHAR, flt_apps VARCHAR)
SELECT league_apps FROM table_name_61 WHERE fa_cup_apps = "1" AND flt_apps = "0 (1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 29512, 834, 3096, 7, 584, 4280, 28027, 6, 3, 89, 9, 834, 4658, 834, 3096, 7, 584, 4280, 28027, 6, 3, 89, 40, 17, 834, 3096, 7, 584, 4280, 28027, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5533, 834, 3096, 7, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3, 89, 9, 834, 4658, 834, 3096, 7, 3274, 96, 536, 121, 3430, 3, 89, 40, 17, 834, 3096, 7, 3274, 96, 632, 5637, 121, 1, -100, -100, -100, -...