NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
count the number of patients whose gender is f and primary disease is coronary artery disease\coronary artery bypass graft; myomectomy/sda?
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 demographic ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.gender = "F" AND demographic.diagnosis = "CORONARY ARTERY DISEASE\CORONARY ARTERY BYPASS GRAFT; MYOMECTOMY/SDA"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 122, 3868, 3274, 96, 371, 121, 3430, 14798, 5, 25930, 4844, 159, 3274, 96, 5911, 13044, 24721, 111...
What is total number of show times per dat for each cinema?
CREATE TABLE film ( film_id number, rank_in_series number, number_in_season number, title text, directed_by text, original_air_date text, production_code text ) CREATE TABLE schedule ( cinema_id number, film_id number, date text, show_times_per_day number, price number )...
SELECT T2.name, SUM(T1.show_times_per_day) FROM schedule AS T1 JOIN cinema AS T2 ON T1.cinema_id = T2.cinema_id GROUP BY T1.cinema_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 814, 834, 23, 26, 381, 6, 11003, 834, 77, 834, 10833, 7, 381, 6, 381, 834, 77, 834, 9476, 381, 6, 2233, 1499, 6, 6640, 834, 969, 1499, 6, 926, 834, 2256, 834, 5522, 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, 332, 4416, 4350, 6, 180, 6122, 599, 382, 5411, 10049, 834, 715, 7, 834, 883, 834, 1135, 61, 21680, 2023, 6157, 332, 536, 3, 15355, 3162, 10276, 6157, 332, 357, 9191, 332, 5411, 14760, 51, 9, 834, 23, 26, 3274, 332...
Which Payment has a Type of text, and a Release date of 26 september, 2003?
CREATE TABLE table_name_12 ( payment VARCHAR, type VARCHAR, release_date VARCHAR )
SELECT payment FROM table_name_12 WHERE type = "text" AND release_date = "26 september, 2003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2122, 41, 1942, 584, 4280, 28027, 6, 686, 584, 4280, 28027, 6, 1576, 834, 5522, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 12248, 65, 3, 9, 66...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1942, 21680, 953, 834, 4350, 834, 2122, 549, 17444, 427, 686, 3274, 96, 6327, 121, 3430, 1576, 834, 5522, 3274, 96, 2688, 16022, 18247, 6, 3888, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Who was the away team when the home team scored 10.12 (72)?
CREATE TABLE table_33310 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team" FROM table_33310 WHERE "Home team score" = '10.12 (72)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23360, 1714, 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, 96, 188, 1343, 372, 121, 21680, 953, 834, 23360, 1714, 549, 17444, 427, 96, 19040, 372, 2604, 121, 3274, 3, 31, 22567, 357, 13649, 7318, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total attendance on April 25?
CREATE TABLE table_name_28 (attendance VARCHAR, date VARCHAR)
SELECT COUNT(attendance) FROM table_name_28 WHERE date = "april 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11364, 30, 1186, 944, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 833, 3274, 96, 9, 2246, 40, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
In the Year 1939, what was the Finish when Al was the League?
CREATE TABLE table_name_88 (finish VARCHAR, league VARCHAR, year VARCHAR)
SELECT finish FROM table_name_88 WHERE league = "al" AND year = 1939
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 25535, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 8, 2929, 957, 3288, 6, 125, 47, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1992, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 5533, 3274, 96, 138, 121, 3430, 215, 3274, 957, 3288, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the total years with more than 1 points?
CREATE TABLE table_name_2 ( year INTEGER, points INTEGER )
SELECT SUM(year) FROM table_name_2 WHERE points > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 357, 41, 215, 3, 21342, 17966, 6, 979, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 203, 28, 72, 145, 209, 979, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 1201, 61, 21680, 953, 834, 4350, 834, 357, 549, 17444, 427, 979, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many silver medals were won in 1938?
CREATE TABLE table_name_42 (silver VARCHAR, year VARCHAR)
SELECT silver FROM table_name_42 WHERE year = "1938"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 7, 173, 624, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4294, 9365, 7, 130, 751, 16, 25745, 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, 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, 4294, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 215, 3274, 96, 2294, 3747, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the London Marathon held?
CREATE TABLE table_name_19 ( venue VARCHAR, event VARCHAR, competition VARCHAR )
SELECT venue FROM table_name_19 WHERE event = "marathon" AND competition = "london marathon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 5669, 584, 4280, 28027, 6, 605, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 1524, 19012, 1213, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 605, 3274, 96, 1635, 24718, 121, 3430, 2259, 3274, 96, 40, 106, 2029, 17625, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is diagnoses long title and procedure long title of subject id 83678?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT diagnoses.long_title, procedures.long_title FROM diagnoses INNER JOIN procedures ON diagnoses.hadm_id = procedures.hadm_id WHERE diagnoses.subject_id = "83678"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 2961, 834, 21869, 6, 4293, 5, 2961, 834, 21869, 21680, 18730, 7, 3388, 18206, 3, 15355, 3162, 4293, 9191, 18730, 7, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 1...
how many drugs were prescribed to patient 035-10830 until 2104?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE treatment ( treatmentid number...
SELECT COUNT(*) FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '035-10830')) AND STRFTIME('%y', medication.drugstarttime) <= '2104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3734, ...
how many bubbles with category being input
CREATE TABLE table_1507852_5 (bubbles VARCHAR, category VARCHAR)
SELECT COUNT(bubbles) FROM table_1507852_5 WHERE category = "Input"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 3940, 5373, 834, 755, 41, 3007, 7310, 7, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 11144, 7, 28, 3295, 271, 3785, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 3007, 7310, 7, 61, 21680, 953, 834, 12278, 3940, 5373, 834, 755, 549, 17444, 427, 3295, 3274, 96, 1570, 2562, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When 3 is the number what is the highest total?
CREATE TABLE table_24781886_3 ( total INTEGER, _number VARCHAR )
SELECT MAX(total) FROM table_24781886_3 WHERE _number = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3940, 2606, 3840, 834, 519, 41, 792, 3, 21342, 17966, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 220, 19, 8, 381, 125, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 235, 1947, 61, 21680, 953, 834, 2266, 3940, 2606, 3840, 834, 519, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the name and count of each product in all orders.
CREATE TABLE orders (order_id VARCHAR); CREATE TABLE products (product_name VARCHAR, product_id VARCHAR); CREATE TABLE order_items (order_id VARCHAR, product_id VARCHAR)
SELECT T3.product_name, COUNT(*) FROM orders AS T1 JOIN order_items AS T2 JOIN products AS T3 ON T1.order_id = T2.order_id AND T2.product_id = T3.product_id GROUP BY T3.product_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5022, 41, 9397, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 15892, 834, 4350, 584, 4280, 28027, 6, 556, 834, 23, 26, 584, 4280, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5787, 15892, 834, 4350, 6, 2847, 17161, 599, 1935, 61, 21680, 5022, 6157, 332, 536, 3, 15355, 3162, 455, 834, 23, 3524, 7, 6157, 332, 357, 3, 15355, 3162, 494, 6157, 332, 519, 9191, 332, 5411, 9397, 834, 23, ...
What is the date of appointment when the date of vacancy is 24 november 2010?
CREATE TABLE table_29716 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Table" text, "Incoming manager" text, "Date of appointment" text )
SELECT "Date of appointment" FROM table_29716 WHERE "Date of vacancy" = '24 November 2010'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 2938, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 13, 4141, 121, 21680, 953, 834, 357, 4327, 2938, 549, 17444, 427, 96, 308, 342, 13, 3, 29685, 121, 3274, 3, 31, 2266, 1671, 2735, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
calculate the maximum age of medicaid patients who belong to hispanic or latino ethnic background.
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions...
SELECT MAX(demographic.age) FROM demographic WHERE demographic.insurance = "Medicaid" AND demographic.ethnicity = "HISPANIC OR LATINO"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 29441, 3274, 96, 15789, 6146, 121, 3430, 14798, 5, 15, 189, 2532, 485, 3274, 96, 7094, 21215, 18830, 4674, 301, 21580, 7400, 121, 1, -1...
What is the last season?
CREATE TABLE table_2140071_5 ( season INTEGER )
SELECT MAX(season) FROM table_2140071_5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 5548, 4450, 834, 755, 41, 774, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 336, 774, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9476, 61, 21680, 953, 834, 2658, 5548, 4450, 834, 755, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the diagnosis short title and long title of subject id 17570?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id t...
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.subject_id = "17570"
[ 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, 18730, 7, 5, 7, 14184, 834, 21869, 6, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 2517, 28363, 121, 1, -100, -100, -100, -100, -100, -100, -100...
how much is the cost of protein c?
CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( ...
SELECT DISTINCT cost.cost FROM cost WHERE cost.eventtype = 'lab' AND cost.eventid IN (SELECT lab.labid FROM lab WHERE lab.labname = 'protein c')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 2672, 4350, 1499, 6, 23886, 4350, 1499, 6, 23886, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 583, 5, 11290, 21680, 583, 549, 17444, 427, 583, 5, 15, 2169, 6137, 3274, 3, 31, 9339, 31, 3430, 583, 5, 15, 2169, 23, 26, 3388, 41, 23143, 14196, 7690, 5, 521, 9824, 21680, 7690, 549, 17444...
Which Venue has a Gross Revenue (2012) of $179,712?
CREATE TABLE table_68533 ( "Venue" text, "City" text, "Tickets Sold / Available" text, "Gross Revenue (1979)" text, "Gross Revenue (2012)" text )
SELECT "Venue" FROM table_68533 WHERE "Gross Revenue (2012)" = '$179,712'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4867, 519, 41, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 15569, 7, 5175, 26, 3, 87, 8144, 121, 1499, 6, 96, 517, 1859, 7, 19764, 2863, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 35, 76, 15, 121, 21680, 953, 834, 3651, 4867, 519, 549, 17444, 427, 96, 517, 1859, 7, 19764, 24705, 121, 3274, 3, 31, 3229, 26593, 6, 4450, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the zone of the game played against Estonia?
CREATE TABLE table_name_64 ( zone VARCHAR, against VARCHAR )
SELECT zone FROM table_name_64 WHERE against = "estonia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 2901, 584, 4280, 28027, 6, 581, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2901, 13, 8, 467, 1944, 581, 26047, 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, 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, 2901, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 581, 3274, 96, 222, 8008, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score for the player who won $3,600?
CREATE TABLE table_name_40 ( score VARCHAR, money___$__ VARCHAR )
SELECT score FROM table_name_40 WHERE money___$__ = "3,600"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 2604, 584, 4280, 28027, 6, 540, 834, 834, 834, 3229, 834, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 21, 8, 1959, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2604, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 540, 834, 834, 834, 3229, 834, 834, 3274, 96, 6355, 6007, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Get the list of patients who are younger than 45 years that have had blood lab test done.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "45" AND lab.fluid = "Blood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Show the membership level with most number of members.
CREATE TABLE branch ( branch_id number, name text, open_year text, address_road text, city text, membership_amount text ) CREATE TABLE purchase ( member_id number, branch_id text, year text, total_pounds number ) CREATE TABLE membership_register_branch ( member_id number, ...
SELECT level FROM member GROUP BY level ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6421, 41, 6421, 834, 23, 26, 381, 6, 564, 1499, 6, 539, 834, 1201, 1499, 6, 1115, 834, 8635, 1499, 6, 690, 1499, 6, 4757, 834, 9, 11231, 1499, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 593, 21680, 1144, 350, 4630, 6880, 272, 476, 593, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what are the event details of the services that have the type code 'Marriage', and count them by a pie chart
CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Participants ( Participant_ID...
SELECT Event_Details, COUNT(Event_Details) FROM Events AS T1 JOIN Services AS T2 ON T1.Service_ID = T2.Service_ID WHERE T2.Service_Type_Code = 'Marriage' GROUP BY Event_Details
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1799, 41, 1387, 834, 4309, 3, 21342, 17966, 6, 1387, 834, 25160, 834, 22737, 3, 28027, 599, 1808, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 19204, 834, 77, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 8042, 834, 2962, 5756, 7, 6, 2847, 17161, 599, 427, 2169, 834, 2962, 5756, 7, 61, 21680, 11137, 6157, 332, 536, 3, 15355, 3162, 1799, 6157, 332, 357, 9191, 332, 5411, 15260, 834, 4309, 3274, 332, 4416, 15260, 834, 4...
What is the lowest round for an offensive guard when the overall is smaller than 150?
CREATE TABLE table_4308 ( "Round" real, "Overall" real, "Player" text, "Position" text, "College" text )
SELECT MIN("Round") FROM table_4308 WHERE "Overall" < '150' AND "Position" = 'offensive guard'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 4018, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, 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, 3, 17684, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 4906, 4018, 549, 17444, 427, 96, 23847, 1748, 121, 3, 2, 3, 31, 12278, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 858, 23039, 15, 4879, 31, 1, -...
Plot the number of name by grouped by name as a bar graph, could you list Y in ascending order?
CREATE TABLE station ( Station_ID int, Name text, Annual_entry_exit real, Annual_interchanges real, Total_Passengers real, Location text, Main_Services text, Number_of_Platforms int ) CREATE TABLE train_station ( Train_ID int, Station_ID int ) CREATE TABLE train ( Train_ID ...
SELECT Name, COUNT(Name) FROM train GROUP BY Name ORDER BY COUNT(Name)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 5939, 834, 4309, 16, 17, 6, 5570, 1499, 6, 7389, 834, 295, 651, 834, 994, 155, 490, 6, 7389, 834, 3870, 13073, 7, 490, 6, 9273, 834, 20192, 4606, 277, 490, 6, 10450, 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, 5570, 6, 2847, 17161, 599, 23954, 61, 21680, 2412, 350, 4630, 6880, 272, 476, 5570, 4674, 11300, 272, 476, 2847, 17161, 599, 23954, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the party for the pennsylvania 25
CREATE TABLE table_1342013_37 ( party VARCHAR, district VARCHAR )
SELECT party FROM table_1342013_37 WHERE district = "Pennsylvania 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 11138, 834, 4118, 41, 1088, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1088, 21, 8, 4550, 29, 7, 63, 40, 16658, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 23747, 11138, 834, 4118, 549, 17444, 427, 3939, 3274, 96, 345, 35, 29, 7, 63, 40, 16658, 9, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What Score in the final has a Surface of hard, a Championship of washington, d.c. , u.s., and an Opponent in the final of ivan lendl?
CREATE TABLE table_name_44 ( score_in_the_final VARCHAR, opponent_in_the_final VARCHAR, surface VARCHAR, championship VARCHAR )
SELECT score_in_the_final FROM table_name_44 WHERE surface = "hard" AND championship = "washington, d.c. , u.s." AND opponent_in_the_final = "ivan lendl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 2604, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 15264, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 10183, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2604, 834, 77, 834, 532, 834, 12406, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1774, 3274, 96, 5651, 121, 3430, 10183, 3274, 96, 14710, 6029, 6, 3, 26, 5, 75, 5, 3, 6, 3, 76, 5, 7, 535, 3430, 15264, 8...
what is the constituency when the rank is less than 5 and the result is con hold?
CREATE TABLE table_name_64 ( constituency VARCHAR, rank VARCHAR, result VARCHAR )
SELECT constituency FROM table_name_64 WHERE rank < 5 AND result = "con hold"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 6439, 4392, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 6439, 4392, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6439, 4392, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 11003, 3, 2, 305, 3430, 741, 3274, 96, 1018, 1520, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which total number of Crowd has a Home team of melbourne?
CREATE TABLE table_name_79 ( crowd VARCHAR, home_team VARCHAR )
SELECT COUNT(crowd) FROM table_name_79 WHERE home_team = "melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4440, 41, 4374, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 792, 381, 13, 15343, 26, 65, 3, 9, 1210, 372,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4440, 549, 17444, 427, 234, 834, 11650, 3274, 96, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When Kerry is at 36.7%, what is the total number of others?
CREATE TABLE table_14396 ( "County" text, "Kerry%" text, "Kerry#" real, "Bush%" text, "Bush#" real, "Others%" text, "Others#" real )
SELECT COUNT("Others#") FROM table_14396 WHERE "Kerry%" = '36.7%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25133, 4314, 41, 96, 10628, 63, 121, 1499, 6, 96, 439, 49, 651, 1454, 121, 1499, 6, 96, 439, 49, 651, 4663, 121, 490, 6, 96, 279, 8489, 1454, 121, 1499, 6, 96, 279, 848...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 667, 189, 277, 4663, 8512, 21680, 953, 834, 25133, 4314, 549, 17444, 427, 96, 439, 49, 651, 1454, 121, 3274, 3, 31, 3420, 5, 6170, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the lowest version with a code of u+1034a that began after 2001.
CREATE TABLE table_50667 ( "Character" text, "Code" text, "Name" text, "Version" real, "Year" real )
SELECT MIN("Version") FROM table_50667 WHERE "Code" = 'u+1034a' AND "Year" > '2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 3539, 940, 41, 96, 18947, 2708, 49, 121, 1499, 6, 96, 22737, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 5000, 1938, 121, 490, 6, 96, 476, 2741, 121, 490, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 5000, 1938, 8512, 21680, 953, 834, 1752, 3539, 940, 549, 17444, 427, 96, 22737, 121, 3274, 3, 31, 76, 1220, 1714, 3710, 9, 31, 3430, 96, 476, 2741, 121, 2490, 3, 31, 23658, 31, 1, -100, -100, ...
How many wins for bikes with under 54 points, team yamaha, a 250cc bike, and before 1977?
CREATE TABLE table_54611 ( "Year" real, "Class" text, "Team" text, "Points" real, "Wins" real )
SELECT COUNT("Wins") FROM table_54611 WHERE "Points" < '54' AND "Team" = 'yamaha' AND "Class" = '250cc' AND "Year" < '1977'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4448, 2596, 41, 96, 476, 2741, 121, 490, 6, 96, 21486, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 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, 121, 18455, 7, 8512, 21680, 953, 834, 755, 4448, 2596, 549, 17444, 427, 96, 22512, 7, 121, 3, 2, 3, 31, 5062, 31, 3430, 96, 18699, 121, 3274, 3, 31, 22990, 1024, 31, 3430, 96, 21486, 121, 3274, ...
Tell me the partner for opponents of anamika bhargava sylvia krywacz
CREATE TABLE table_name_15 ( partner VARCHAR, opponents_in_the_final VARCHAR )
SELECT partner FROM table_name_15 WHERE opponents_in_the_final = "anamika bhargava sylvia krywacz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 2397, 584, 4280, 28027, 6, 16383, 834, 77, 834, 532, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2397, 21, 16383, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2397, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 16383, 834, 77, 834, 532, 834, 12406, 3274, 96, 152, 265, 5561, 3, 115, 3272, 122, 8644, 3, 7, 63, 40, 5907, 3, 157, 651, 210, 9, 75, 172, 121, 1, -100, ...
When did jo o souza play?
CREATE TABLE table_35495 ( "Date" text, "Tournament" text, "Surface" text, "Opponen" text, "Score" text )
SELECT "Date" FROM table_35495 WHERE "Opponen" = 'joão souza'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 591, 3301, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 1572, 106, 35, 121, 1499, 6, 96, 134...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 2469, 591, 3301, 549, 17444, 427, 96, 667, 1572, 106, 35, 121, 3274, 3, 31, 1927, 2, 32, 78, 14070, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the sum of the b score when the a score is 6.6 and the total is 15.6?
CREATE TABLE table_name_37 (b_score INTEGER, a_score VARCHAR, total VARCHAR)
SELECT SUM(b_score) FROM table_name_37 WHERE a_score = 6.6 AND total = 15.6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4118, 41, 115, 834, 7, 9022, 3, 21342, 17966, 6, 3, 9, 834, 7, 9022, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 115, 834, 7, 9022, 61, 21680, 953, 834, 4350, 834, 4118, 549, 17444, 427, 3, 9, 834, 7, 9022, 3274, 3, 28833, 3430, 792, 3274, 209, 25134, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the average decile of Ruapehu college, which has a state authority?
CREATE TABLE table_name_64 (decile INTEGER, authority VARCHAR, name VARCHAR)
SELECT AVG(decile) FROM table_name_64 WHERE authority = "state" AND name = "ruapehu college"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 24223, 109, 3, 21342, 17966, 6, 5015, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 7908, 109, 13, 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, 71, 17217, 599, 24223, 109, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 5015, 3274, 96, 5540, 121, 3430, 564, 3274, 96, 52, 76, 9, 855, 107, 76, 1900, 121, 1, -100, -100, -100, -100, -100, -100, -100, -...
which person set at least 2 world records ?
CREATE TABLE table_203_102 ( id number, "event" text, "performance" text, "athlete" text, "nation" text, "place" text, "date" text )
SELECT "athlete" FROM table_203_102 GROUP BY "athlete" HAVING COUNT(*) >= 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 14388, 41, 3, 23, 26, 381, 6, 96, 15, 2169, 121, 1499, 6, 96, 18558, 121, 1499, 6, 96, 26170, 15, 121, 1499, 6, 96, 29, 257, 121, 1499, 6, 96, 4687, 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, 26170, 15, 121, 21680, 953, 834, 23330, 834, 14388, 350, 4630, 6880, 272, 476, 96, 26170, 15, 121, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 2423, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the relationship between Team_ID and ACC_Percent , and group by attribute All_Road?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT Team_ID, ACC_Percent FROM basketball_match GROUP BY All_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 4309, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many silver metals are possessed by countries with 2 gold medals?
CREATE TABLE table_name_97 ( silver VARCHAR, gold VARCHAR )
SELECT COUNT(silver) FROM table_name_97 WHERE gold = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 4294, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4294, 1946, 7, 33, 3, 27345, 57, 1440, 28, 204, 2045...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 2045, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the score of Colorado when they were a visitor and had a Smith decision?
CREATE TABLE table_name_32 ( score VARCHAR, decision VARCHAR, visitor VARCHAR )
SELECT score FROM table_name_32 WHERE decision = "smith" AND visitor = "colorado"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2668, 41, 2604, 584, 4280, 28027, 6, 1357, 584, 4280, 28027, 6, 7019, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2604, 13, 6144, 116, 79...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2668, 549, 17444, 427, 1357, 3274, 96, 16331, 121, 3430, 7019, 3274, 96, 8135, 19042, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE YEAR'S TALLEST VALUE WITH FLOORS LESS THAN 24, AND 05.0 210 north charles street?
CREATE TABLE table_61420 ( "Name" text, "Street address" text, "Years as tallest" text, "Height ft ( m )" text, "Floors" real )
SELECT "Years as tallest" FROM table_61420 WHERE "Floors" < '24' AND "Street address" = '05.0 210 north charles street'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4241, 21899, 41, 96, 23954, 121, 1499, 6, 96, 11500, 15, 15, 17, 1115, 121, 1499, 6, 96, 476, 2741, 7, 38, 5065, 222, 121, 1499, 6, 96, 3845, 2632, 3, 89, 17, 41, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 7, 38, 5065, 222, 121, 21680, 953, 834, 4241, 21899, 549, 17444, 427, 96, 11251, 127, 7, 121, 3, 2, 3, 31, 2266, 31, 3430, 96, 11500, 15, 15, 17, 1115, 121, 3274, 3, 31, 632, 20734, 3, 15239, 34...
What manufacturer made class b-2?
CREATE TABLE table_8809 ( "Class" text, "Wheel arrangement" text, "Fleet number(s)" text, "Manufacturer" text, "Year made" text, "Quantity made" text, "Quantity preserved" text )
SELECT "Manufacturer" FROM table_8809 WHERE "Class" = 'b-2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4060, 4198, 41, 96, 21486, 121, 1499, 6, 96, 518, 88, 15, 40, 8641, 121, 1499, 6, 96, 371, 109, 15, 17, 381, 599, 7, 61, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 7296, 76, 8717, 450, 49, 121, 21680, 953, 834, 4060, 4198, 549, 17444, 427, 96, 21486, 121, 3274, 3, 31, 115, 4949, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest laps of the year when the rank was 14?
CREATE TABLE table_name_73 ( laps INTEGER, rank VARCHAR )
SELECT MAX(laps) FROM table_name_73 WHERE rank = "14"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 14941, 7, 3, 21342, 17966, 6, 11003, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 14941, 7, 13, 8, 215, 116, 8, 11003, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 11003, 3274, 96, 2534, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
A bar chart shows the distribution of meter_500 and ID , and could you order y axis in descending order please?
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 event ( ID int, Name text, Stadium_ID int, Year text ) CREATE...
SELECT meter_500, ID FROM swimmer ORDER BY ID 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, 3, 4401, 834, 2560, 6, 4699, 21680, 27424, 4674, 11300, 272, 476, 4699, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many points has a draw greater than 3 and 3rd place?
CREATE TABLE table_name_24 ( points VARCHAR, draw VARCHAR, place VARCHAR )
SELECT points FROM table_name_24 WHERE draw > 3 AND place = 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 979, 584, 4280, 28027, 6, 3314, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 979, 65, 3, 9, 3314, 2123, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 3314, 2490, 220, 3430, 286, 3274, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Format of the Frequency CJBX-FM?
CREATE TABLE table_8647 ( "Frequency" text, "Call sign" text, "Branding" text, "Format" text, "Owner" text )
SELECT "Format" FROM table_8647 WHERE "Call sign" = 'cjbx-fm'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3840, 4177, 41, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 254, 1748, 1320, 121, 1499, 6, 96, 18304, 727, 53, 121, 1499, 6, 96, 3809, 3357, 121, 1499, 6, 96, 667, 210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3809, 3357, 121, 21680, 953, 834, 3840, 4177, 549, 17444, 427, 96, 254, 1748, 1320, 121, 3274, 3, 31, 75, 354, 115, 226, 18, 89, 51, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
In the episode where segment a is microphones, what is segment d?
CREATE TABLE table_15187735_11 (segment_d VARCHAR, segment_a VARCHAR)
SELECT segment_d FROM table_15187735_11 WHERE segment_a = "Microphones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 2596, 41, 7, 15, 122, 297, 834, 26, 584, 4280, 28027, 6, 5508, 834, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 86, 8, 5640, 213, 5508,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5508, 834, 26, 21680, 953, 834, 26578, 27697, 2469, 834, 2596, 549, 17444, 427, 5508, 834, 9, 3274, 96, 329, 23, 2771, 6399, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
provide the number of patients whose ethnicity is asian and drug type is additive?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) C...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "ASIAN" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Show a bar graph, the data is those times of trains that run through stations for the local authority Chiltern, and the Y axis is the total number of different times.
CREATE TABLE weekly_weather ( station_id int, day_of_week text, high_temperature int, low_temperature int, precipitation real, wind_speed_mph int ) CREATE TABLE train ( id int, train_number int, name text, origin text, destination text, time text, interval text ) CR...
SELECT time, COUNT(time) FROM station AS t1 JOIN route AS t2 ON t1.id = t2.station_id JOIN train AS t3 ON t2.train_id = t3.id WHERE t1.local_authority = "Chiltern" GROUP BY time
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5547, 834, 26809, 41, 2478, 834, 23, 26, 16, 17, 6, 239, 834, 858, 834, 8041, 1499, 6, 306, 834, 21010, 15, 16, 17, 6, 731, 834, 21010, 15, 16, 17, 6, 19742, 257, 490, 6, 2943, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 97, 6, 2847, 17161, 599, 715, 61, 21680, 2478, 6157, 3, 17, 536, 3, 15355, 3162, 2981, 6157, 3, 17, 357, 9191, 3, 17, 5411, 23, 26, 3274, 3, 17, 4416, 6682, 834, 23, 26, 3, 15355, 3162, 2412, 6157, 3, 17, 519,...
For all employees who have the letters D or S in their first name, give me the trend about commission_pct over hire_date , and I want to rank x axis from low to high order.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,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 jobs ( JOB_ID varchar(10), JOB_...
SELECT HIRE_DATE, COMMISSION_PCT FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY HIRE_DATE
[ 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, 454, 14132, 834, 308, 6048, 6, 3, 6657, 329, 16994, 9215, 834, 4051, 382, 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, 31...
which patients have seroma complicating a procedure diagnoses?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE diagnoses.short_title = "Seroma complicting proc"
[ 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, 5...
What was the date of game 21?
CREATE TABLE table_21464 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Date" FROM table_21464 WHERE "Game" = '21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27357, 4389, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 27357, 4389, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 2658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the average crowd size when the away team was South Melbourne?
CREATE TABLE table_32691 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT AVG("Crowd") FROM table_32691 WHERE "Away team" = 'south melbourne'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 3951, 536, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 2668, 3951, 536, 549, 17444, 427, 96, 188, 1343, 372, 121, 3274, 3, 31, 7, 670, 107, 3, 2341, 26255, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Place of the Player with a Score of 69-72-72=213?
CREATE TABLE table_name_63 (place VARCHAR, score VARCHAR)
SELECT place FROM table_name_63 WHERE score = 69 - 72 - 72 = 213
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 4687, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 13, 8, 12387, 28, 3, 9, 17763, 13, 3, 3951, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 2604, 3274, 3, 3951, 3, 18, 9455, 3, 18, 9455, 3274, 204, 2368, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who won on the week of August 10?
CREATE TABLE table_48555 ( "Tournament" text, "Surface" text, "Week" text, "Winner and score" text, "Finalist" text, "Semifinalists" text )
SELECT "Winner and score" FROM table_48555 WHERE "Week" = 'august 10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 28803, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 18455, 687, 11, 2604, 121, 1499, 6, 96, 371, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11, 2604, 121, 21680, 953, 834, 3707, 28803, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 402, 17198, 335, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the rating of the episode with 13.47 million viewers and overall rank larger than 6?
CREATE TABLE table_57929 ( "Episode" text, "Air Date" text, "Rating" real, "Share" real, "Rating/Share 18\u201349" text, "Viewers (m)" real, "Timeslot Rank" real, "Night Rank" text, "Overall Rank" real )
SELECT SUM("Rating") FROM table_57929 WHERE "Viewers (m)" = '13.47' AND "Overall Rank" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4440, 3166, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 20162, 7678, 121, 1499, 6, 96, 448, 1014, 121, 490, 6, 96, 24501, 121, 490, 6, 96, 448, 1014, 87, 245...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 448, 1014, 8512, 21680, 953, 834, 755, 4440, 3166, 549, 17444, 427, 96, 15270, 277, 41, 51, 61, 121, 3274, 3, 31, 2368, 5, 4177, 31, 3430, 96, 23847, 1748, 3, 22557, 121, 2490, 3, 31, 948, 3...
Name the Report with Winning constructor of maserati, and a Name of monza grand prix?
CREATE TABLE table_name_28 ( report VARCHAR, winning_constructor VARCHAR, name VARCHAR )
SELECT report FROM table_name_28 WHERE winning_constructor = "maserati" AND name = "monza grand prix"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 934, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3750, 28, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 934, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 2754, 15, 6850, 121, 3430, 564, 3274, 96, 2157, 1629, 1907, 3407, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the edition after 2003 when the Third was Tikveš and Sileks was the runner-up?
CREATE TABLE table_name_64 (edition INTEGER, runner_up VARCHAR, year VARCHAR, third VARCHAR)
SELECT MIN(edition) FROM table_name_64 WHERE year > 2003 AND third = "tikveš" AND runner_up = "sileks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 15, 10569, 3, 21342, 17966, 6, 3, 10806, 834, 413, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1025, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 15, 10569, 61, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 215, 2490, 3888, 3430, 1025, 3274, 96, 4414, 162, 2, 121, 3430, 3, 10806, 834, 413, 3274, 96, 7, 173, 16789, 121, 1, -100, -100, -10...
Name the number of leaders for % of popular vote being 11.05%
CREATE TABLE table_19283982_4 (leader VARCHAR, _percentage_of_popular_vote VARCHAR)
SELECT COUNT(leader) FROM table_19283982_4 WHERE _percentage_of_popular_vote = "11.05%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2577, 3288, 4613, 834, 591, 41, 22900, 584, 4280, 28027, 6, 3, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 584, 4280, 28027, 61, 3, 32102, 32103, 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, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 22900, 61, 21680, 953, 834, 2294, 2577, 3288, 4613, 834, 591, 549, 17444, 427, 3, 834, 883, 3728, 545, 834, 858, 834, 27302, 834, 1621, 17, 15, 3274, 96, 10032, 632, 2712, 121, 1, -100, -100, -100,...
find the name of all departments that do actually have one or more employees assigned to them.
CREATE TABLE departments ( department_name VARCHAR, department_id VARCHAR ) CREATE TABLE employees ( department_id VARCHAR )
SELECT DISTINCT T2.department_name FROM employees AS T1 JOIN departments AS T2 ON T1.department_id = T2.department_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3066, 834, 4350, 584, 4280, 28027, 6, 3066, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 3066, 834, 23, 26, 584, 42...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4416, 221, 2274, 297, 834, 4350, 21680, 1652, 6157, 332, 536, 3, 15355, 3162, 10521, 6157, 332, 357, 9191, 332, 5411, 221, 2274, 297, 834, 23, 26, 3274, 332, 4416, 221, 2274, 297, 834, 23...
What was the date for no. 7?
CREATE TABLE table_247955_2 ( date VARCHAR, no VARCHAR )
SELECT date FROM table_247955_2 WHERE no = 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4440, 3769, 834, 357, 41, 833, 584, 4280, 28027, 6, 150, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 21, 150, 5, 489, 58, 1, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2266, 4440, 3769, 834, 357, 549, 17444, 427, 150, 3274, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When the venue was punt road oval, what was the Home teams score?
CREATE TABLE table_10948 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_10948 WHERE "Venue" = 'punt road oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17304, 3707, 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, 96, 19040, 372, 2604, 121, 21680, 953, 834, 17304, 3707, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 6225, 17, 1373, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many riders do not have points ?
CREATE TABLE table_204_114 ( id number, "pos" text, "rider" text, "manufacturer" text, "time/retired" text, "grid" number, "points" number )
SELECT COUNT("rider") FROM table_204_114 WHERE "points" IS NULL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 18959, 41, 3, 23, 26, 381, 6, 96, 2748, 121, 1499, 6, 96, 4055, 49, 121, 1499, 6, 96, 348, 76, 8717, 450, 49, 121, 1499, 6, 96, 715, 87, 10682, 1271, 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, 2847, 17161, 599, 121, 4055, 49, 8512, 21680, 953, 834, 26363, 834, 18959, 549, 17444, 427, 96, 2700, 7, 121, 6827, 13046, 10376, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE DATE WITH AN AWAY TEAM OF BURTON ALBION?
CREATE TABLE table_name_15 ( date VARCHAR, away_team VARCHAR )
SELECT date FROM table_name_15 WHERE away_team = "burton albion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 833, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 21665, 6827, 1853, 309, 6048, 11951, 3, 5033, 71, 1715...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3007, 17330, 7046, 23, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who was game number 8 played against?
CREATE TABLE table_19778010_5 (opponent VARCHAR, game VARCHAR)
SELECT opponent FROM table_19778010_5 WHERE game = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4013, 2079, 1714, 834, 755, 41, 32, 102, 9977, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 467, 381, 505, 1944, 581, 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, 15264, 21680, 953, 834, 2294, 4013, 2079, 1714, 834, 755, 549, 17444, 427, 467, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Motor that has a Focuses bigger than 62, and a Participant of rebaque?
CREATE TABLE table_name_73 ( engine VARCHAR, points VARCHAR, entrant VARCHAR )
SELECT engine FROM table_name_73 WHERE points > 62 AND entrant = "rebaque"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 1948, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 5083, 24, 65, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1948, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 979, 2490, 3, 4056, 3430, 3, 295, 3569, 3274, 96, 60, 115, 9, 835, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Where did the Bruins play Iowa State?
CREATE TABLE table_name_58 ( location VARCHAR, opponent VARCHAR )
SELECT location FROM table_name_58 WHERE opponent = "iowa state"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 1128, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 8, 272, 23162, 577, 12034, 1015, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 15264, 3274, 96, 23, 2381, 9, 538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Frequency MHz smaller than 95.3, and a Call sign of k234ag is what class?
CREATE TABLE table_name_69 ( class VARCHAR, frequency_mhz VARCHAR, call_sign VARCHAR )
SELECT class FROM table_name_69 WHERE frequency_mhz < 95.3 AND call_sign = "k234ag"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 853, 584, 4280, 28027, 6, 7321, 834, 51, 107, 172, 584, 4280, 28027, 6, 580, 834, 6732, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5532, 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, 853, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 7321, 834, 51, 107, 172, 3, 2, 668, 26627, 3430, 580, 834, 6732, 3274, 96, 157, 357, 3710, 9, 122, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the TV time for Chicago's road game against Phoenix on June 18?
CREATE TABLE table_name_66 ( tv_time VARCHAR, road_team VARCHAR, date VARCHAR )
SELECT tv_time FROM table_name_66 WHERE road_team = "phoenix" AND date = "june 18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3, 17, 208, 834, 715, 584, 4280, 28027, 6, 1373, 834, 11650, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 834, 715, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 1373, 834, 11650, 3274, 96, 9553, 35, 2407, 121, 3430, 833, 3274, 96, 6959, 15, 507, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was Holly Scouler's total votes
CREATE TABLE table_name_62 ( total_votes VARCHAR, members VARCHAR )
SELECT total_votes FROM table_name_62 WHERE members = "holly scouler"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 792, 834, 1621, 1422, 584, 4280, 28027, 6, 724, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 24205, 10711, 83, 49, 31, 7, 792, 1183...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 792, 834, 1621, 1422, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 724, 3274, 96, 2831, 120, 3, 3523, 83, 49, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
baseline hgb < 11.7 g / dl in female , or < 13 g / dl in male ; lymphopenia ( < 1000 lymphocytes / mcl ) or leukopenia ( < 3000 total leukocytes / mcl ) , or an absolute cd4 count < 500 , or platelets < 150000
CREATE TABLE table_dev_30 ( "id" int, "gender" string, "leukopenia" int, "cd4_count" int, "stroke" bool, "platelets" int, "hematocrit_hct" float, "fasting_triglycerides" int, "coronary_stenosis" int, "hyperlipidemia" bool, "lymphopenia" int, "fasting_ldl_cholesterol" int,...
SELECT * FROM table_dev_30 WHERE (baseline_hemoglobin_hgb < 11.7 AND gender = 'female') OR (baseline_hemoglobin_hgb < 13 AND gender = 'male') OR lymphopenia < 1000 OR leukopenia < 3000 OR cd4_count < 500 OR platelets < 150000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9776, 834, 1458, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 109, 1598, 8751, 23, 9, 121, 16, 17, 6, 96, 75, 26, 591, 834, 13362, 121, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9776, 834, 1458, 549, 17444, 427, 41, 10925, 747, 834, 6015, 32, 14063, 77, 834, 107, 122, 115, 3, 2, 209, 18596, 3430, 7285, 3274, 3, 31, 89, 15, 13513, 31, 61, 4674, 41, 10925, 747, 834, ...
How many total players came from the school/club team of De La Salle?
CREATE TABLE table_name_62 (number VARCHAR, school_club_team VARCHAR)
SELECT COUNT(number) FROM table_name_62 WHERE school_club_team = "de la salle"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 5525, 1152, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 792, 1508, 764, 45, 8, 496, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 221, 50, 4762, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Lane has a Country of united states, and a Time smaller than 22.01, and a Reaction Time smaller than 0.193?
CREATE TABLE table_13694 ( "Lane" real, "Name" text, "Country" text, "Reaction Time" real, "Time" real )
SELECT MIN("Lane") FROM table_13694 WHERE "Country" = 'united states' AND "Time" < '22.01' AND "Reaction Time" < '0.193'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 4240, 41, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 1649, 4787, 2900, 121, 490, 6, 96, 13368, 121, 490, 3, 61, 3,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 434, 152, 15, 8512, 21680, 953, 834, 23459, 4240, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 15129, 15, 26, 2315, 31, 3430, 96, 13368, 121, 3, 2, 3, 31, 2884, 5, 4542, 31, 3430, 96, ...
How many times were the 2010 candidates Judson hill (r) unopposed?
CREATE TABLE table_28668 ( "District" real, "Incumbent" text, "Party" text, "Elected" text, "Status" text, "2010 Candidates" text )
SELECT COUNT("Elected") FROM table_28668 WHERE "2010 Candidates" = 'Judson Hill (R) unopposed'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3840, 3651, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 21543, 15, 26, 121, 1499, 6, 96, 134, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 21543, 15, 26, 8512, 21680, 953, 834, 357, 3840, 3651, 549, 17444, 427, 96, 14926, 20763, 121, 3274, 3, 31, 683, 76, 26, 739, 3588, 41, 448, 61, 73, 28236, 3843, 31, 1, -100, -100, -100, -10...
give me the number of patients whose ethnicity is american indian/alaska native and diagnoses icd9 code is 70704?
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 diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND diagnoses.icd9_code = "70704"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Which Post Town has a Dialcode of 020 and is located in Hook?
CREATE TABLE table_53503 ( "Location" text, "Londonborough" text, "Post town" text, "Postcodedistrict" text, "Dialcode" text )
SELECT "Post town" FROM table_53503 WHERE "Dialcode" = '020' AND "Location" = 'hook'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4867, 1752, 519, 41, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 29712, 12823, 121, 1499, 6, 96, 22507, 1511, 121, 1499, 6, 96, 22507, 4978, 26, 23, 20066, 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, 22507, 1511, 121, 21680, 953, 834, 4867, 1752, 519, 549, 17444, 427, 96, 23770, 40, 4978, 121, 3274, 3, 31, 632, 1755, 31, 3430, 96, 434, 32, 75, 257, 121, 3274, 3, 31, 20978, 31, 1, -100, -100, -100, -100, ...
What is the fewest amendments sponsored associated with 150 bills originally cosponsored and over 247 bills cosponsored?
CREATE TABLE table_name_52 (all_amendments_sponsored INTEGER, bills_originally_cosponsored VARCHAR, all_bills_cosponsored VARCHAR)
SELECT MIN(all_amendments_sponsored) FROM table_name_52 WHERE bills_originally_cosponsored = 150 AND all_bills_cosponsored > 247
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 1748, 834, 265, 989, 4128, 834, 27959, 3, 21342, 17966, 6, 7200, 834, 21878, 120, 834, 509, 27959, 584, 4280, 28027, 6, 66, 834, 3727, 40, 7, 834, 509,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 1748, 834, 265, 989, 4128, 834, 27959, 61, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 7200, 834, 21878, 120, 834, 509, 27959, 3274, 4261, 3430, 66, 834, 3727, 40, 7, 834, 509, 27959, 2490, 204...
Show each author and the number of workshops they submitted to. Show bar chart.
CREATE TABLE submission ( Submission_ID int, Scores real, Author text, College text ) CREATE TABLE workshop ( Workshop_ID int, Date text, Venue text, Name text ) CREATE TABLE Acceptance ( Submission_ID int, Workshop_ID int, Result text )
SELECT Author, COUNT(DISTINCT T1.Workshop_ID) FROM Acceptance AS T1 JOIN submission AS T2 ON T1.Submission_ID = T2.Submission_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8121, 41, 29779, 834, 4309, 16, 17, 6, 17763, 7, 490, 6, 10236, 1499, 6, 1888, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4786, 41, 9644, 834, 4309, 16, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10236, 6, 2847, 17161, 599, 15438, 25424, 6227, 332, 5411, 12492, 6921, 834, 4309, 61, 21680, 20592, 663, 6157, 332, 536, 3, 15355, 3162, 8121, 6157, 332, 357, 9191, 332, 5411, 25252, 5451, 834, 4309, 3274, 332, 4416, ...
how many patients on government insurance had atrial cardioversion?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.insurance = "Government" AND procedures.short_title = "Atrial cardioversion"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who had an evening gown score of 9.78?
CREATE TABLE table_11690135_1 (interview VARCHAR, evening_gown VARCHAR)
SELECT interview FROM table_11690135_1 WHERE evening_gown = "9.78"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 2394, 536, 2469, 834, 536, 41, 3870, 4576, 584, 4280, 28027, 6, 2272, 834, 122, 9197, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 141, 46, 2272, 19879, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2772, 21680, 953, 834, 20159, 2394, 536, 2469, 834, 536, 549, 17444, 427, 2272, 834, 122, 9197, 3274, 96, 8797, 3940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
severe burns ( total surface area burned > 30 % ) .
CREATE TABLE table_train_70 ( "id" int, "pregnancy_or_lactation" bool, "white_blood_cell_count_wbc" int, "systolic_blood_pressure_sbp" int, "mean_arterial_pressure_map" int, "temperature" float, "oliguria" bool, "surgery" bool, "heart_rate" int, "systemic_inflammatory_response" b...
SELECT * FROM table_train_70 WHERE burn_injury > 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2518, 41, 96, 23, 26, 121, 16, 17, 6, 96, 2026, 11260, 11298, 834, 127, 834, 9700, 6821, 121, 3, 12840, 40, 6, 96, 13698, 834, 27798, 834, 8725, 834, 13362, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 2518, 549, 17444, 427, 5958, 834, 77, 10609, 63, 2490, 604, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Host of the Show with a Market of New York?
CREATE TABLE table_name_78 (host_s_ VARCHAR, market VARCHAR)
SELECT host_s_ FROM table_name_78 WHERE market = "new york"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 12675, 834, 7, 834, 584, 4280, 28027, 6, 512, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1546, 7, 17, 13, 8, 3111, 28, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2290, 834, 7, 834, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 512, 3274, 96, 5534, 25453, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Old Galician for cantaste in Portuguese?
CREATE TABLE table_26614365_1 ( old_galician__13th_15th_c_ VARCHAR, portuguese VARCHAR )
SELECT old_galician__13th_15th_c_ FROM table_26614365_1 WHERE portuguese = "cantaste"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3539, 2534, 10402, 834, 536, 41, 625, 834, 6191, 1294, 152, 834, 834, 2368, 189, 834, 1808, 189, 834, 75, 834, 584, 4280, 28027, 6, 2147, 76, 15991, 15, 584, 4280, 280...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 625, 834, 6191, 1294, 152, 834, 834, 2368, 189, 834, 1808, 189, 834, 75, 834, 21680, 953, 834, 357, 3539, 2534, 10402, 834, 536, 549, 17444, 427, 2147, 76, 15991, 15, 3274, 96, 1608, 17, 8323, 121, 1, -100, -100, ...
Which women's doubles has Howard Bach Tony Gunawan as Men's doubles and Taufik Hidayat as Men's Singles?
CREATE TABLE table_55651 ( "Year" real, "Men's singles" text, "Women's singles" text, "Men's doubles" text, "Women's doubles" text, "Mixed doubles" text )
SELECT "Women's doubles" FROM table_55651 WHERE "Men's doubles" = 'howard bach tony gunawan' AND "Men's singles" = 'taufik hidayat'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4122, 536, 41, 96, 476, 2741, 121, 490, 6, 96, 329, 35, 31, 7, 712, 7, 121, 1499, 6, 96, 518, 32, 904, 31, 7, 712, 7, 121, 1499, 6, 96, 329, 35, 31, 7, 1486, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 32, 904, 31, 7, 1486, 7, 121, 21680, 953, 834, 3769, 4122, 536, 549, 17444, 427, 96, 329, 35, 31, 7, 1486, 7, 121, 3274, 3, 31, 4067, 986, 3, 6425, 12, 29, 63, 4740, 9, 3877, 31, 3430, 96, 329, 35, ...
What tonnage was built in 2007?
CREATE TABLE table_12261 ( "Built" real, "Ship" text, "Operator" text, "Tonnage" text, "Flag" text )
SELECT "Tonnage" FROM table_12261 WHERE "Built" = '2007'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 4241, 41, 96, 7793, 173, 17, 121, 490, 6, 96, 134, 10462, 121, 1499, 6, 96, 667, 883, 1016, 121, 1499, 6, 96, 382, 106, 9761, 121, 1499, 6, 96, 371, 5430, 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, 0, 0...
[ 3, 23143, 14196, 96, 382, 106, 9761, 121, 21680, 953, 834, 20889, 4241, 549, 17444, 427, 96, 7793, 173, 17, 121, 3274, 3, 31, 20615, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of wines with price higher than 100, sorted by year, group by grape and show by bar chart.
CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT ) CREATE TABLE appellations ( No...
SELECT Year, COUNT(Year) FROM wine WHERE Price > 100 GROUP BY Grape ORDER BY Year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2013, 41, 465, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 9426, 651, 3, 3463, 4, 382, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5570, 3, 3463, 4, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2929, 6, 2847, 17161, 599, 476, 2741, 61, 21680, 2013, 549, 17444, 427, 5312, 2490, 910, 350, 4630, 6880, 272, 476, 29083, 4674, 11300, 272, 476, 2929, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the total number of rank where viewers is 9.38?
CREATE TABLE table_20261 ( "#" real, "Episode" text, "Rating" text, "Share" real, "Rating/Share (18-49)" text, "Viewers (millions)" text, "Rank (Timeslot)" text, "Rank (Night)" text, "Rank (Week)" text )
SELECT COUNT("Rank (Timeslot)") FROM table_20261 WHERE "Viewers (millions)" = '9.38'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 4241, 41, 96, 4663, 121, 490, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 448, 1014, 121, 1499, 6, 96, 24501, 121, 490, 6, 96, 448, 1014, 87, 24501, 9323, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 41, 13368, 7, 3171, 61, 8512, 21680, 953, 834, 19818, 4241, 549, 17444, 427, 96, 15270, 277, 41, 17030, 7, 61, 121, 3274, 3, 31, 8797, 3747, 31, 1, -100, -100, -100, -100, -100, -100, ...
What is the Traditional when the Pinyin is h d ng q ?
CREATE TABLE table_47014 ( "English Name" text, "Simplified" text, "Traditional" text, "Pinyin" text, "Area" text, "Population" real, "Density" text )
SELECT "Traditional" FROM table_47014 WHERE "Pinyin" = 'hédōng qū'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27760, 2534, 41, 96, 26749, 5570, 121, 1499, 6, 96, 134, 10296, 3676, 121, 1499, 6, 96, 9402, 10569, 138, 121, 1499, 6, 96, 345, 77, 63, 77, 121, 1499, 6, 96, 188, 864, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9402, 10569, 138, 121, 21680, 953, 834, 27760, 2534, 549, 17444, 427, 96, 345, 77, 63, 77, 121, 3274, 3, 31, 107, 154, 26, 2, 1725, 3, 1824, 2, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many subsidiaries of company F M Media Limited?
CREATE TABLE table_1756264_2 (subsidiaries VARCHAR, company_name VARCHAR)
SELECT subsidiaries FROM table_1756264_2 WHERE company_name = "F M MEDIA LIMITED"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4834, 26755, 834, 357, 41, 7304, 7, 24594, 2593, 584, 4280, 28027, 6, 349, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 28382, 13, 349, 377...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 28382, 21680, 953, 834, 2517, 4834, 26755, 834, 357, 549, 17444, 427, 349, 834, 4350, 3274, 96, 371, 283, 3, 30296, 31351, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the total number of Matches, when Clubs is 588 406?
CREATE TABLE table_40198 ( "Round" text, "Date" text, "Matches" real, "Clubs" text, "Prize money" text )
SELECT COUNT("Matches") FROM table_40198 WHERE "Clubs" = '588 → 406'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 24151, 41, 96, 448, 32, 1106, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 329, 144, 2951, 121, 490, 6, 96, 254, 11158, 7, 121, 1499, 6, 96, 7855, 776, 540, 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, 2847, 17161, 599, 121, 329, 144, 2951, 8512, 21680, 953, 834, 2445, 24151, 549, 17444, 427, 96, 254, 11158, 7, 121, 3274, 3, 31, 755, 4060, 3, 2, 1283, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients of black /african american ethnicity had elective type of admission ?
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 ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_type = "ELECTIVE" AND demographic.ethnicity = "BLACK/AFRICAN AMERICAN"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 6137, 3274, 96, 3577, 14196, 8087, 121, 3430, 14798, 5, 15, 189, 2532, 485, 32...
What year was Zona Sur nominated?
CREATE TABLE table_name_69 (year__ceremony_ VARCHAR, original_title VARCHAR)
SELECT year__ceremony_ FROM table_name_69 WHERE original_title = "zona sur"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 1201, 834, 834, 2110, 15, 21208, 834, 584, 4280, 28027, 6, 926, 834, 21869, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 1027, 106,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 834, 834, 2110, 15, 21208, 834, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 926, 834, 21869, 3274, 96, 8892, 9, 244, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average longitude of stations that never had bike availability more than 10?
CREATE TABLE station ( long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER ) CREATE TABLE status ( long INTEGER, id VARCHAR, station_id VARCHAR, bikes_available INTEGER )
SELECT AVG(long) FROM station WHERE NOT id IN (SELECT station_id FROM status GROUP BY station_id HAVING MAX(bikes_available) > 10)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 41, 307, 3, 21342, 17966, 6, 3, 23, 26, 584, 4280, 28027, 6, 2478, 834, 23, 26, 584, 4280, 28027, 6, 13490, 834, 28843, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 2961, 61, 21680, 2478, 549, 17444, 427, 4486, 3, 23, 26, 3388, 41, 23143, 14196, 2478, 834, 23, 26, 21680, 2637, 350, 4630, 6880, 272, 476, 2478, 834, 23, 26, 454, 6968, 2365, 4800, 4, 599, 15214, ...
give me the number of patients whose ethnicity is american indian/alaska native and drug name is d12.5w?
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, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE" AND prescriptions.drug = "D12.5W"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
How many holes did Mike Reid from United States have?
CREATE TABLE table_name_75 ( hole VARCHAR, country VARCHAR, player VARCHAR )
SELECT hole FROM table_name_75 WHERE country = "united states" AND player = "mike reid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3072, 41, 6356, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8034, 410, 4794, 25219, 45, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6356, 21680, 953, 834, 4350, 834, 3072, 549, 17444, 427, 684, 3274, 96, 15129, 15, 26, 2315, 121, 3430, 1959, 3274, 96, 20068, 15, 3, 60, 23, 26, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the first episode with a netflix episode code of s02e20?
CREATE TABLE table_15187735_4 ( episode INTEGER, netflix VARCHAR )
SELECT MIN(episode) FROM table_15187735_4 WHERE netflix = "S02E20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26578, 27697, 2469, 834, 591, 41, 5640, 3, 21342, 17966, 6, 3134, 89, 17591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 166, 5640, 28, 3, 9, 3134, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 102, 159, 32, 221, 61, 21680, 953, 834, 26578, 27697, 2469, 834, 591, 549, 17444, 427, 3134, 89, 17591, 3274, 96, 134, 4305, 427, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the Hometown of the person with a height of 5'8'?
CREATE TABLE table_40178 ( "Name" text, "Pos." text, "Height" text, "Weight" real, "Year" text, "Hometown (Previous school)" text )
SELECT "Hometown (Previous school)" FROM table_40178 WHERE "Height" = '5''8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20016, 3940, 41, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 535, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 1326, 2632, 121, 490, 6, 96, 476, 2741, 121, 1499, 6, 96, 1904...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 3540, 41, 10572, 19117, 496, 61, 121, 21680, 953, 834, 20016, 3940, 549, 17444, 427, 96, 3845, 2632, 121, 3274, 3, 31, 755, 31, 31, 927, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the weight of the jockey at Sandown Park?
CREATE TABLE table_24850630_4 (weight VARCHAR, venue VARCHAR)
SELECT weight FROM table_24850630_4 WHERE venue = "Sandown Park"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 17246, 26106, 834, 591, 41, 9378, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1293, 13, 8, 8624, 4397, 44, 1051, 3035, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1293, 21680, 953, 834, 2266, 17246, 26106, 834, 591, 549, 17444, 427, 5669, 3274, 96, 134, 152, 3035, 1061, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...