NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Which player was +4 to par and won the Open in 1995?
CREATE TABLE table_name_3 (player VARCHAR, to_par VARCHAR, year_s__won VARCHAR)
SELECT player FROM table_name_3 WHERE to_par = "+4" AND year_s__won = "1995"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 20846, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 6, 215, 834, 7, 834, 834, 210, 106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 40...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 12, 834, 1893, 3274, 96, 1220, 20364, 3430, 215, 834, 7, 834, 834, 210, 106, 3274, 96, 19479, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Year is the highest one that has a Population larger than 13,012, and a Borough of richmondshire?
CREATE TABLE table_39250 ( "Rank" real, "Town" text, "Population" real, "Year" real, "Borough" text, "Definition" text )
SELECT MAX("Year") FROM table_39250 WHERE "Population" > '13,012' AND "Borough" = 'richmondshire'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 11434, 41, 96, 22557, 121, 490, 6, 96, 382, 9197, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 476, 2741, 121, 490, 6, 96, 279, 32, 13245, 121, 1499, 6, 96, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 476, 2741, 8512, 21680, 953, 834, 3288, 11434, 549, 17444, 427, 96, 27773, 7830, 121, 2490, 3, 31, 2368, 6, 632, 2122, 31, 3430, 96, 279, 32, 13245, 121, 3274, 3, 31, 3723, 6764, 5718, 31, 1, ...
What is the count for the Zero Fighter with hours of 2:00?
CREATE TABLE table_35536 ( "Date" text, "ID code of his Zero Fighter" text, "Flight hours" text, "Count" text, "Sub-total" text )
SELECT "Count" FROM table_35536 WHERE "Flight hours" = '2:00'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 755, 3420, 41, 96, 308, 342, 121, 1499, 6, 96, 4309, 1081, 13, 112, 17971, 27894, 121, 1499, 6, 96, 371, 2242, 716, 121, 1499, 6, 96, 10628, 121, 1499, 6, 96, 25252...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10628, 121, 21680, 953, 834, 2469, 755, 3420, 549, 17444, 427, 96, 371, 2242, 716, 121, 3274, 3, 31, 24112, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What channel tv (dt) plays the KPIX station?
CREATE TABLE table_1553485_1 (channel_tv___dt__ VARCHAR, station VARCHAR)
SELECT channel_tv___dt__ FROM table_1553485_1 WHERE station = "KPIX"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20896, 3710, 4433, 834, 536, 41, 19778, 834, 17, 208, 834, 834, 834, 26, 17, 834, 834, 584, 4280, 28027, 6, 2478, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4245, 834, 17, 208, 834, 834, 834, 26, 17, 834, 834, 21680, 953, 834, 20896, 3710, 4433, 834, 536, 549, 17444, 427, 2478, 3274, 96, 439, 4111, 4, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Type of Tunnel is the Downhill Tunnel?
CREATE TABLE table_name_78 ( type VARCHAR, tunnel VARCHAR )
SELECT type FROM table_name_78 WHERE tunnel = "downhill"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 686, 584, 4280, 28027, 6, 11916, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6632, 13, 27990, 19, 8, 7309, 6321, 27990, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 11916, 3274, 96, 3035, 6321, 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 average price of the products for each category?
CREATE TABLE products ( product_category_code VARCHAR, product_price INTEGER )
SELECT AVG(product_price), product_category_code FROM products GROUP BY product_category_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 494, 41, 556, 834, 8367, 839, 651, 834, 4978, 584, 4280, 28027, 6, 556, 834, 102, 4920, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1348, 594, 13, 8, 494, 21...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 15892, 834, 102, 4920, 201, 556, 834, 8367, 839, 651, 834, 4978, 21680, 494, 350, 4630, 6880, 272, 476, 556, 834, 8367, 839, 651, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the games lost when games played was 2, year was earlier than 1999, and points for was 24?
CREATE TABLE table_name_73 (games_lost___tests__ VARCHAR, points_for___tests__ VARCHAR, games_played___tests__ VARCHAR, year_s_ VARCHAR)
SELECT games_lost___tests__ FROM table_name_73 WHERE games_played___tests__ = "2" AND year_s_ < 1999 AND points_for___tests__ = "24"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 7261, 7, 834, 2298, 17, 834, 834, 834, 4377, 7, 834, 834, 584, 4280, 28027, 6, 979, 834, 1161, 834, 834, 834, 4377, 7, 834, 834, 584, 4280, 28027, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1031, 834, 2298, 17, 834, 834, 834, 4377, 7, 834, 834, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 1031, 834, 4895, 15, 26, 834, 834, 834, 4377, 7, 834, 834, 3274, 96, 357, 121, 3430, 215, 834, 7, 834, 3,...
count the number of patients whose death status is 1 and diagnoses long title is other persistent mental disorders due to conditions classified elsewhere?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.expire_flag = "1" AND diagnoses.long_title = "Other persistent mental disorders due to conditions classified elsewhere"
[ 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, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Show the location name and code with the least documents.
CREATE TABLE Ref_locations ( location_name VARCHAR, location_code VARCHAR ) CREATE TABLE Document_locations ( location_code VARCHAR )
SELECT T2.location_name, T1.location_code FROM Document_locations AS T1 JOIN Ref_locations AS T2 ON T1.location_code = T2.location_code GROUP BY T1.location_code ORDER BY COUNT(*) LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 14836, 7, 41, 1128, 834, 4350, 584, 4280, 28027, 6, 1128, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 11167, 834, 14836, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 14836, 834, 4350, 6, 332, 5411, 14836, 834, 4978, 21680, 11167, 834, 14836, 7, 6157, 332, 536, 3, 15355, 3162, 419, 89, 834, 14836, 7, 6157, 332, 357, 9191, 332, 5411, 14836, 834, 4978, 3274, 332, 4416, 1...
Who was the opponent in the game played after Week 4 on October 15, 2000?
CREATE TABLE table_7506 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Location" text, "Record" text, "Attendance" text )
SELECT "Opponent" FROM table_7506 WHERE "Week" > '4' AND "Date" = 'october 15, 2000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9979, 948, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 9979, 948, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 591, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 32, 75, 235, 1152, 10725, 2766, 31, 1, -100, -100, -100, -10...
what is the country when the bie recognised is no and years(s) is 2014?
CREATE TABLE table_name_83 (country VARCHAR, bie_recognised VARCHAR, year_s_ VARCHAR)
SELECT country FROM table_name_83 WHERE bie_recognised = "no" AND year_s_ = "2014"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 17529, 584, 4280, 28027, 6, 3, 4232, 834, 60, 75, 12905, 3843, 584, 4280, 28027, 6, 215, 834, 7, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 3, 4232, 834, 60, 75, 12905, 3843, 3274, 96, 29, 32, 121, 3430, 215, 834, 7, 834, 3274, 96, 10218, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose gender is m and procedure short title is replace small bowel tube?
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 ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.gender = "M" AND procedures.short_title = "Replace small bowel tube"
[ 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, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the number of districts for december 1799
CREATE TABLE table_1275 ( "Con- gress" text, "District" text, "Vacator" text, "Election date" text, "Successor" text, "Took seat" text )
SELECT COUNT("District") FROM table_1275 WHERE "Election date" = 'December 1799'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 3072, 41, 96, 4302, 18, 3, 10292, 121, 1499, 6, 96, 308, 23, 20066, 121, 1499, 6, 96, 25203, 1016, 121, 1499, 6, 96, 427, 12252, 833, 121, 1499, 6, 96, 134, 17431, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 308, 23, 20066, 8512, 21680, 953, 834, 2122, 3072, 549, 17444, 427, 96, 427, 12252, 833, 121, 3274, 3, 31, 29835, 1003, 3264, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the maximum purse prize of the Northeast Delta Dental International Championship?
CREATE TABLE table_20005 ( "Year" real, "Dates" text, "Champion" text, "Country" text, "Score" text, "Tournament location" text, "Purse ($)" real, "Winners share ($)" real )
SELECT MAX("Purse ($)") FROM table_20005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3632, 3076, 41, 96, 476, 2741, 121, 490, 6, 96, 308, 6203, 121, 1499, 6, 96, 254, 1483, 12364, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 345, 3589, 15, 8785, 61, 8512, 21680, 953, 834, 3632, 3076, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
how many had at least 10 goals ?
CREATE TABLE table_203_835 ( id number, "season" text, "club" text, "country" text, "competition" text, "apps." number, "goals" number )
SELECT COUNT(*) FROM table_203_835 WHERE "goals" >= 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 2469, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 13442, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 3096, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 23330, 834, 927, 2469, 549, 17444, 427, 96, 839, 5405, 121, 2490, 2423, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those employees who did not have any job in the past, visualize a bar chart about the distribution of hire_date and the amount of hire_date bin hire_date by weekday, and rank in desc by the how many hire date please.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NA...
SELECT HIRE_DATE, COUNT(HIRE_DATE) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) ORDER BY COUNT(HIRE_DATE) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 2847, 17161, 599, 566, 14132, 834, 308, 6048, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309...
how many patients whose gender is f and diagnoses long title is acute diastolic heart failure?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.gender = "F" AND diagnoses.long_title = "Acute diastolic heart failure"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
what is average age of patients whose primary disease is bowel obstruction and who are aged equal or more than 71 years?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT AVG(demographic.age) FROM demographic WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.age >= "71"
[ 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, 71, 17217, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 279, 15251, 3577, 3, 10539, 13733, 6463, 9562, 121, 3430, 14798, 5, 545, 2490, 2423, 96, 4450, 121, 1, -1...
which player got the most yards ?
CREATE TABLE table_203_8 ( id number, "player" text, "rec." number, "yards" number, "avg." number, "td's" number, "long" number )
SELECT "player" FROM table_203_8 ORDER BY "yards" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 41, 3, 23, 26, 381, 6, 96, 20846, 121, 1499, 6, 96, 60, 75, 535, 381, 6, 96, 6636, 7, 121, 381, 6, 96, 9, 208, 122, 535, 381, 6, 96, 17, 26, 31, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20846, 121, 21680, 953, 834, 23330, 834, 927, 4674, 11300, 272, 476, 96, 6636, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what club is listed next to june 4 , 1972 ?
CREATE TABLE table_204_517 ( id number, "name" text, "date of birth" text, "club" text, "division" text, "appointed" text, "time as manager" text )
SELECT "club" FROM table_204_517 WHERE "date of birth" = '4 june 1972'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 755, 2517, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 5522, 13, 3879, 121, 1499, 6, 96, 13442, 121, 1499, 6, 96, 26, 23, 6610, 121, 1499, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13442, 121, 21680, 953, 834, 26363, 834, 755, 2517, 549, 17444, 427, 96, 5522, 13, 3879, 121, 3274, 3, 31, 591, 3, 6959, 15, 16583, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Bar chart x axis country y axis the total number, and sort X-axis in asc order.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, "Home Town" text ) CREATE TABLE perpetrator ( Perpetrator_ID int, People_ID int, Date text, Year real, Location text, Country text, Killed int, Injured int )
SELECT Country, COUNT(*) FROM perpetrator GROUP BY Country ORDER BY Country
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 96, 19040, 4463, 121, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 28998, 127, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6993, 6, 2847, 17161, 599, 1935, 61, 21680, 28998, 127, 350, 4630, 6880, 272, 476, 6993, 4674, 11300, 272, 476, 6993, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the position of the teams before 1973?
CREATE TABLE table_name_23 (pos VARCHAR, year INTEGER)
SELECT pos FROM table_name_23 WHERE year < 1973
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 2748, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 13, 8, 2323, 274, 17107, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2748, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 215, 3, 2, 17107, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the opponent for date of bye and week of 1
CREATE TABLE table_name_39 ( opponent VARCHAR, date VARCHAR, week VARCHAR )
SELECT opponent FROM table_name_39 WHERE date = "bye" AND week = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 15264, 21, 833, 13, 57, 15,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 833, 3274, 96, 969, 15, 121, 3430, 471, 3274, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the first leg result in the round against Norchi Dinamoeli?
CREATE TABLE table_23526 ( "Season" text, "Competition" text, "Round" text, "Opposition" text, "First Leg" text, "Second Leg" text, "Aggregate" text )
SELECT "First Leg" FROM table_23526 WHERE "Opposition" = 'Norchi Dinamoeli'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 2688, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 4718, 121, 1499, 6, 96, 25171, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 25171, 18978, 121, 21680, 953, 834, 25174, 2688, 549, 17444, 427, 96, 667, 102, 4718, 121, 3274, 3, 31, 567, 127, 1436, 3181, 265, 32, 15, 40, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the chassis for team tissot ensign and driver of brett lunger
CREATE TABLE table_name_29 (chassis VARCHAR, entrant VARCHAR, driver VARCHAR)
SELECT chassis FROM table_name_29 WHERE entrant = "team tissot ensign" AND driver = "brett lunger"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 524, 6500, 7, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 22836, 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, 0...
[ 3, 23143, 14196, 22836, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 3, 295, 3569, 3274, 96, 11650, 3, 17, 159, 7, 32, 17, 3, 35, 6732, 121, 3430, 2535, 3274, 96, 1999, 17, 17, 5084, 49, 121, 1, -100, -100, -100, -100, -10...
who took longer to finish , ashley delaney or charles francis ?
CREATE TABLE table_204_29 ( id number, "rank" number, "lane" number, "name" text, "nationality" text, "time" text, "notes" text )
SELECT "name" FROM table_204_29 WHERE "name" IN ('ashley delaney', 'charles francis') ORDER BY "time" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3166, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 8102, 121, 381, 6, 96, 4350, 121, 1499, 6, 96, 16557, 485, 121, 1499, 6, 96, 715, 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, 4350, 121, 21680, 953, 834, 26363, 834, 3166, 549, 17444, 427, 96, 4350, 121, 3388, 41, 31, 3198, 1306, 20, 8102, 63, 31, 6, 3, 31, 4059, 965, 2515, 11389, 7, 31, 61, 4674, 11300, 272, 476, 96, 715, 121, 309...
Which Team has a Location Attendance of fedexforum 11,731?
CREATE TABLE table_name_4 (team VARCHAR, location_attendance VARCHAR)
SELECT team FROM table_name_4 WHERE location_attendance = "fedexforum 11,731"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 11650, 584, 4280, 28027, 6, 1128, 834, 15116, 663, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2271, 65, 3, 9, 10450, 22497, 663, 13, 13126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1128, 834, 15116, 663, 3274, 96, 19565, 994, 24195, 9694, 4552, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which season has the Renova Club?
CREATE TABLE table_44193 ( "Season" text, "Competition" text, "Round" text, "Club" text, "1st Leg" text, "2nd Leg" text )
SELECT "Season" FROM table_44193 WHERE "Club" = 'renova'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3628, 2294, 519, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 254, 11158, 121, 1499, 6, 96, 536, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 3628, 2294, 519, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 60, 14979, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names of journalists and the number of events they reported in a bar chart, and could you display bar in ascending order?
CREATE TABLE journalist ( journalist_ID int, Name text, Nationality text, Age text, Years_working int ) CREATE TABLE news_report ( journalist_ID int, Event_ID int, Work_Type text ) CREATE TABLE event ( Event_ID int, Date text, Venue text, Name text, Event_Attendance...
SELECT T3.Name, COUNT(*) FROM news_report AS T1 JOIN event AS T2 ON T1.Event_ID = T2.Event_ID JOIN journalist AS T3 ON T1.journalist_ID = T3.journalist_ID GROUP BY T3.Name ORDER BY T3.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 9994, 41, 9994, 834, 4309, 16, 17, 6, 5570, 1499, 6, 868, 485, 1499, 6, 7526, 1499, 6, 13825, 834, 9238, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1506, 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, 332, 5787, 23954, 6, 2847, 17161, 599, 1935, 61, 21680, 1506, 834, 60, 1493, 6157, 332, 536, 3, 15355, 3162, 605, 6157, 332, 357, 9191, 332, 5411, 427, 2169, 834, 4309, 3274, 332, 4416, 427, 2169, 834, 4309, 3, 1535...
what is the number of patients whose age is less than 83 and drug route is dialys?
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 prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "83" AND prescriptions.route = "DIALYS"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the last album to win ?
CREATE TABLE table_204_655 ( id number, "year" number, "winner" text, "album" text, "other finalists" text )
SELECT "album" FROM table_204_655 ORDER BY "year" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4122, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 3757, 687, 121, 1499, 6, 96, 23703, 121, 1499, 6, 96, 9269, 3, 28077, 121, 1499, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 23703, 121, 21680, 953, 834, 26363, 834, 4122, 755, 4674, 11300, 272, 476, 96, 1201, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Preston North End has a Blackpool smaller than 0?
CREATE TABLE table_6320 ( "Competition" text, "Played" real, "Blackpool" real, "Draw" real, "Preston North End" real )
SELECT COUNT("Preston North End") FROM table_6320 WHERE "Blackpool" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3891, 1755, 41, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 20096, 13194, 121, 490, 6, 96, 308, 10936, 121, 490, 6, 96, 10572, 4411, 1117, 372...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 10572, 4411, 1117, 3720, 8512, 21680, 953, 834, 3891, 1755, 549, 17444, 427, 96, 20096, 13194, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients in 2100 were prescribed furosemide inj?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE vitalperiodic ( vitalperiodicid nu...
SELECT COUNT(DISTINCT patient.uniquepid) FROM patient WHERE patient.patientunitstayid IN (SELECT medication.patientunitstayid FROM medication WHERE medication.drugname = 'furosemide inj' AND STRFTIME('%y', medication.drugstarttime) = '2100')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 23886, 41, 23886, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1868, 5, 202, 1495, 12417, 61, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 7757, 5, 10061, 15129, 21545, 23, 26, 21680, 7757, 549, ...
When the lead margin was 35, what were the Democrat: Vivian Davis Figures?
CREATE TABLE table_16751596_12 (democrat VARCHAR, lead_margin VARCHAR)
SELECT democrat AS :_vivian_davis_figures FROM table_16751596_12 WHERE lead_margin = 35
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3072, 1808, 4314, 834, 2122, 41, 23319, 584, 4280, 28027, 6, 991, 834, 1635, 122, 77, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 8, 991, 6346, 47, 3097, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 23319, 6157, 3, 10, 834, 7003, 23, 152, 834, 26, 2960, 7, 834, 9178, 15, 7, 21680, 953, 834, 2938, 3072, 1808, 4314, 834, 2122, 549, 17444, 427, 991, 834, 1635, 122, 77, 3274, 3097, 1, -100, -100, -100, -100, ...
What group has a Population of see hoy?
CREATE TABLE table_name_23 ( group VARCHAR, population VARCHAR )
SELECT group FROM table_name_23 WHERE population = "see hoy"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 563, 584, 4280, 28027, 6, 2074, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 563, 65, 3, 9, 29659, 13, 217, 3534, 63, 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, 563, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 2074, 3274, 96, 2338, 3534, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the maximum age of male patients with married marital status?
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 MAX(demographic.age) FROM demographic WHERE demographic.marital_status = "MARRIED" AND demographic.gender = "M"
[ 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, 4800, 4, 599, 1778, 16587, 5, 545, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 1635, 9538, 834, 8547, 302, 3274, 96, 13845, 25858, 308, 121, 3430, 14798, 5, 122, 3868, 3274, 96, 329, 121, 1, -100, -100, -100, -100,...
What is the sum of Points, when Home is 'Pittsburgh', when Date is 'December 21', and when Attendance is greater than 5,307?
CREATE TABLE table_47365 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Attendance" real, "Record" text, "Points" real )
SELECT SUM("Points") FROM table_47365 WHERE "Home" = 'pittsburgh' AND "Date" = 'december 21' AND "Attendance" > '5,307'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 10402, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 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, 180, 6122, 599, 121, 22512, 7, 8512, 21680, 953, 834, 4177, 10402, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 5230, 17, 7289, 107, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 221, 75, 18247, 1401, 31, 3430, 96, ...
What was the record after game 51 on 1/27/1974?
CREATE TABLE table_name_87 (record VARCHAR, game VARCHAR, date VARCHAR)
SELECT record FROM table_name_87 WHERE game > 51 AND date = "1/27/1974"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 60, 7621, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1368, 227, 467, 11696, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 467, 2490, 11696, 3430, 833, 3274, 96, 17637, 940, 13523, 4581, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was there a nomination for Best Actress at the Kids' Choice Awards Argentina?
CREATE TABLE table_name_36 ( year VARCHAR, award VARCHAR, category VARCHAR )
SELECT year FROM table_name_36 WHERE award = "kids' choice awards argentina" AND category = "best actress"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 215, 584, 4280, 28027, 6, 2760, 584, 4280, 28027, 6, 3295, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 47, 132, 3, 9, 13588, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 2760, 3274, 96, 2168, 26, 7, 31, 1160, 6120, 3, 9917, 77, 9, 121, 3430, 3295, 3274, 96, 9606, 15676, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the largest tie when the G.P was more than 5?
CREATE TABLE table_name_56 ( ties INTEGER, gp INTEGER )
SELECT MAX(ties) FROM table_name_56 WHERE gp > 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 3, 3010, 3, 21342, 17966, 6, 3, 122, 102, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2015, 6177, 116, 8, 350, 5, 345, 47, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 3010, 61, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 3, 122, 102, 2490, 305, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the smallest amount of laps that suzuki ran with a grid value of 8?
CREATE TABLE table_name_26 ( laps INTEGER, manufacturer VARCHAR, grid VARCHAR )
SELECT MIN(laps) FROM table_name_26 WHERE manufacturer = "suzuki" AND grid = 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 14941, 7, 3, 21342, 17966, 6, 4818, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 3, 17924, 866, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 4818, 3274, 96, 7, 76, 1000, 2168, 121, 3430, 8634, 3274, 505, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What time slots have a 6.3 rating
CREATE TABLE table_16559 ( "#" real, "Episode" text, "Air Date" text, "Time slot (EST)" text, "Rating" text, "Share" real, "18-49 (Rating/Share)" text, "Viewers (m)" text, "Rank (Overall)" text )
SELECT "Time slot (EST)" FROM table_16559 WHERE "Rating" = '6.3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22823, 3390, 41, 96, 4663, 121, 490, 6, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 20162, 7678, 121, 1499, 6, 96, 13368, 4918, 41, 6038, 61, 121, 1499, 6, 96, 448, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13368, 4918, 41, 6038, 61, 121, 21680, 953, 834, 22823, 3390, 549, 17444, 427, 96, 448, 1014, 121, 3274, 3, 31, 27865, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For all employees who have the letters D or S in their first name, show me about the distribution of hire_date and the sum of salary bin hire_date by time in a bar chart, rank in desc by the Y.
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 countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0...
SELECT HIRE_DATE, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' ORDER BY SUM(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 145...
Give the proportion of what are the last names and ages of the students who are allergic to milk and cat?
CREATE TABLE Has_Allergy ( StuID INTEGER, Allergy VARCHAR(20) ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), ...
SELECT LName, Age FROM Student WHERE StuID IN (SELECT StuID FROM Has_Allergy WHERE Allergy = "Milk" INTERSECT SELECT StuID FROM Has_Allergy WHERE Allergy = "Cat")
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4498, 834, 6838, 49, 122, 63, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 432, 49, 122, 63, 584, 4280, 28027, 599, 1755, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 301, 23954, 6, 7526, 21680, 6341, 549, 17444, 427, 3, 13076, 4309, 3388, 41, 23143, 14196, 3, 13076, 4309, 21680, 4498, 834, 6838, 49, 122, 63, 549, 17444, 427, 432, 49, 122, 63, 3274, 96, 329, 173, 157, 121, 3, 2...
which CFL team has a player called Peter Hogarth?
CREATE TABLE table_name_23 (cfl_team VARCHAR, player VARCHAR)
SELECT cfl_team FROM table_name_23 WHERE player = "peter hogarth"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 75, 89, 40, 834, 11650, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 205, 10765, 372, 65, 3, 9, 1959, 718, 2737,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 75, 89, 40, 834, 11650, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1959, 3274, 96, 4995, 49, 3, 18330, 10702, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Provide the number of patients under the age of 68 whose drug name is syringe (neonatal) *sw*.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.age < "68" AND prescriptions.drug = "Syringe (Neonatal) *SW*"
[ 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, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
what is the fee for ankarag c previous club
CREATE TABLE table_27998152_1 ( fee VARCHAR, previous_club VARCHAR )
SELECT fee FROM table_27998152_1 WHERE previous_club = "Ankaragücü"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3264, 4959, 5373, 834, 536, 41, 2572, 584, 4280, 28027, 6, 1767, 834, 13442, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2572, 21, 46, 1258, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2572, 21680, 953, 834, 2555, 3264, 4959, 5373, 834, 536, 549, 17444, 427, 1767, 834, 13442, 3274, 96, 188, 29, 1258, 6151, 1272, 75, 1272, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many appointments are there?
CREATE TABLE appointment (Id VARCHAR)
SELECT COUNT(*) FROM appointment
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4141, 41, 196, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14936, 33, 132, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 4141, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the result in 2008 under head coach Mike Sherman?
CREATE TABLE table_32714 ( "Team" text, "Bowl" text, "Season coach" text, "Interim head coach" text, "Result" text, "2008 head coach" text )
SELECT "Result" FROM table_32714 WHERE "2008 head coach" = 'mike sherman'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2555, 2534, 41, 96, 18699, 121, 1499, 6, 96, 279, 2381, 40, 121, 1499, 6, 96, 134, 15, 9, 739, 3763, 121, 1499, 6, 96, 17555, 603, 819, 3763, 121, 1499, 6, 96, 201...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 519, 2555, 2534, 549, 17444, 427, 96, 16128, 819, 3763, 121, 3274, 3, 31, 20068, 15, 255, 52, 348, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the total number of years where runner-up and championship is us open
CREATE TABLE table_1547951_3 ( year VARCHAR, outcome VARCHAR, championship VARCHAR )
SELECT COUNT(year) FROM table_1547951_3 WHERE outcome = "Runner-up" AND championship = "US Open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27308, 4440, 5553, 834, 519, 41, 215, 584, 4280, 28027, 6, 6138, 584, 4280, 28027, 6, 10183, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 27308, 4440, 5553, 834, 519, 549, 17444, 427, 6138, 3274, 96, 23572, 18, 413, 121, 3430, 10183, 3274, 96, 3063, 2384, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
Which Score has a January larger than 21, and Points of 63?
CREATE TABLE table_36727 ( "Game" real, "January" real, "Opponent" text, "Score" text, "Record" text, "Points" real )
SELECT "Score" FROM table_36727 WHERE "January" > '21' AND "Points" = '63'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3708, 2555, 41, 96, 23055, 121, 490, 6, 96, 30404, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 22...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 519, 3708, 2555, 549, 17444, 427, 96, 30404, 121, 2490, 3, 31, 2658, 31, 3430, 96, 22512, 7, 121, 3274, 3, 31, 3891, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
count the number of patients whose primary disease is bowel obstruction and age is less than 56?
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 WHERE demographic.diagnosis = "BOWEL OBSTRUCTION" AND demographic.age < "56"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 279, 15251, 3577, 3, 10539, 13733, 6463, 9562, 121, 3430, 14798, 5, 54...
how many 'Party' are in district south carolina 2?
CREATE TABLE table_28864 ( "District" text, "Incumbent" text, "Party" text, "First elected" text, "Result" text, "Candidates" text )
SELECT COUNT("Party") FROM table_28864 WHERE "District" = 'South Carolina 2'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 3840, 591, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 1499, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 13725, 63, 8512, 21680, 953, 834, 2577, 3840, 591, 549, 17444, 427, 96, 308, 23, 20066, 121, 3274, 3, 31, 22081, 5089, 204, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
When 7th is the position and 15 is the race who is the team?
CREATE TABLE table_25352318_1 ( team VARCHAR, races VARCHAR, position VARCHAR )
SELECT team FROM table_25352318_1 WHERE races = 15 AND position = "7th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2469, 2773, 2606, 834, 536, 41, 372, 584, 4280, 28027, 6, 10879, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 489, 189, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 1828, 2469, 2773, 2606, 834, 536, 549, 17444, 427, 10879, 3274, 627, 3430, 1102, 3274, 96, 940, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what's the competition where aggregate is 4 7
CREATE TABLE table_1061075_1 ( competition VARCHAR, aggregate VARCHAR )
SELECT competition FROM table_1061075_1 WHERE aggregate = "4–7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 16431, 1714, 3072, 834, 536, 41, 2259, 584, 4280, 28027, 6, 12955, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 2259, 213, 12955, 19, 314, 489, 1,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2259, 21680, 953, 834, 16431, 1714, 3072, 834, 536, 549, 17444, 427, 12955, 3274, 96, 591, 104, 940, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the score for Billy Andrade?
CREATE TABLE table_8435 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Score" FROM table_8435 WHERE "Player" = 'billy andrade'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4608, 2469, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 4608, 2469, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3727, 120, 11, 15530, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
When the away team's score was 2.10.7 (85), what was the home team's score?
CREATE TABLE table_20756 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Ground" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_20756 WHERE "Away team score" = '2.10.7 (85)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4834, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 517, 7775...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 26426, 4834, 549, 17444, 427, 96, 188, 1343, 372, 2604, 121, 3274, 3, 31, 14489, 22426, 13642, 9120, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is title numer 103's rank for weekly rank sky1?
CREATE TABLE table_3666 ( "#" real, "Title" text, "Timeslot" text, "Air date" text, "Viewers (000s)" real, "Weekly Rank Sky1" real, "Weekly Rank Virgin Media" real )
SELECT "Weekly Rank Sky1" FROM table_3666 WHERE "#" = '103'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 3539, 41, 96, 4663, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 13368, 7, 3171, 121, 1499, 6, 96, 20162, 833, 121, 1499, 6, 96, 15270, 277, 41, 2313, 7, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 10266, 120, 3, 22557, 5643, 536, 121, 21680, 953, 834, 3420, 3539, 549, 17444, 427, 96, 4663, 121, 3274, 3, 31, 17864, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest score that has t10 as the place, with Ireland as the country?
CREATE TABLE table_12218 ( "Place" text, "Player" text, "Country" text, "Score" real, "To par" text )
SELECT MIN("Score") FROM table_12218 WHERE "Place" = 't10' AND "Country" = 'ireland'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 2606, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490, 6, 96, 3696, 260, 121, 1499, 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, 134, 9022, 8512, 21680, 953, 834, 20889, 2606, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 17, 1714, 31, 3430, 96, 10628, 651, 121, 3274, 3, 31, 2060, 40, 232, 31, 1, -100, -100, -100, ...
What is the last name of the first individual contacted from the organization with the maximum UK Vat number across all organizations?
CREATE TABLE party_addresses ( party_id number, address_id number, date_address_from time, address_type_code text, date_address_to time ) CREATE TABLE party_forms ( party_id number, form_id number, date_completion_started time, form_status_code text, date_fully_completed time ) ...
SELECT t3.individual_last_name FROM organizations AS t1 JOIN organization_contact_individuals AS t2 ON t1.organization_id = t2.organization_id JOIN individuals AS t3 ON t2.individual_id = t3.individual_id WHERE t1.uk_vat_number = (SELECT MAX(uk_vat_number) FROM organizations) ORDER BY t2.date_contact_to LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 834, 9, 26, 12039, 15, 7, 41, 1088, 834, 23, 26, 381, 6, 1115, 834, 23, 26, 381, 6, 833, 834, 9, 26, 12039, 834, 7152, 97, 6, 1115, 834, 6137, 834, 4978, 1499, 6, 833, 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, 3, 17, 5787, 17027, 138, 834, 5064, 834, 4350, 21680, 2371, 6157, 3, 17, 536, 3, 15355, 3162, 1470, 834, 27608, 834, 17027, 5405, 6157, 3, 17, 357, 9191, 3, 17, 5411, 17939, 257, 834, 23, 26, 3274, 3, 17, 4416, ...
What was the number of losses when the scored value was 25?
CREATE TABLE table_14871601_2 (losses INTEGER, scored VARCHAR)
SELECT MAX(losses) FROM table_14871601_2 WHERE scored = 25
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4225, 19129, 536, 834, 357, 41, 2298, 2260, 3, 21342, 17966, 6, 5799, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 381, 13, 8467, 116, 8, 5799, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2298, 2260, 61, 21680, 953, 834, 2534, 4225, 19129, 536, 834, 357, 549, 17444, 427, 5799, 3274, 944, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those records from the products and each product's manufacturer, draw a bar chart about the distribution of name and manufacturer , and group by attribute founder, sort from low to high by the x-axis.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT T1.Name, T1.Manufacturer FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY Founder, T1.Name ORDER BY T1.Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 7296, 76, 8717, 450, 49, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272,...
What is the Netflix where Segment D is pressure gauges ?
CREATE TABLE table_19884 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Netflix" FROM table_19884 WHERE "Segment D" = 'Pressure Gauges'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24151, 4608, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 9688, 89, 17591, 121, 1499, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9688, 89, 17591, 121, 21680, 953, 834, 24151, 4608, 549, 17444, 427, 96, 134, 15, 122, 297, 309, 121, 3274, 3, 31, 24313, 1462, 12520, 2897, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the first paper on LSTM written ?
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE dataset ( datasetid int, datasetname varchar ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE paperfield ( fieldid int, paper...
SELECT DISTINCT paper.year FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'LSTM' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid GROUP BY paper.year ORDER BY paper.year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5669, 41, 5669, 23, 26, 16, 17, 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, 15438, 25424, 6227, 1040, 5, 1201, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 7600, 2305, 31, 3430, 1040, 4397, 27111, 5, 4397, 27111, 23, 26...
What Player has a College that is alberta?
CREATE TABLE table_name_56 ( player VARCHAR, college VARCHAR )
SELECT player FROM table_name_56 WHERE college = "alberta"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 1959, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 12387, 65, 3, 9, 1888, 24, 19, 491, 7041, 9, 58, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 1900, 3274, 96, 138, 7041, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
which contestant is the same age as chris hodgson ?
CREATE TABLE table_203_711 ( id number, "name" text, "age" number, "hometown" text, "occupation" text, "culinary p.o.v." text, "eliminated" text )
SELECT "name" FROM table_203_711 WHERE "name" <> 'chris hodgson' AND "age" = (SELECT "age" FROM table_203_711 WHERE "name" = 'chris hodgson')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4450, 536, 41, 3, 23, 26, 381, 6, 96, 4350, 121, 1499, 6, 96, 545, 121, 381, 6, 96, 5515, 3540, 121, 1499, 6, 96, 24911, 121, 1499, 6, 96, 1497, 77, 1208, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4350, 121, 21680, 953, 834, 23330, 834, 4450, 536, 549, 17444, 427, 96, 4350, 121, 3, 2, 3155, 3, 31, 524, 52, 159, 3534, 26, 122, 739, 31, 3430, 96, 545, 121, 3274, 41, 23143, 14196, 96, 545, 121, 21680, 95...
provide the number of patients whose admission type is emergency and diagnoses short title is crnry athrscl natve vssl?
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 diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "EMERGENCY" AND diagnoses.short_title = "Crnry athrscl natve vssl"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What was the session at the circuit of autodrom most?
CREATE TABLE table_8626 ( "Discipline" text, "Championship" text, "Circuit" text, "Session" text, "Cause" text )
SELECT "Session" FROM table_8626 WHERE "Circuit" = 'autodrom most'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3840, 2688, 41, 96, 15683, 23, 10574, 15, 121, 1499, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 134, 15, 7, 1938, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 7, 1938, 121, 21680, 953, 834, 3840, 2688, 549, 17444, 427, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 8010, 26, 3522, 167, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the earliest number in before?
CREATE TABLE table_24108789_4 (before INTEGER)
SELECT MIN(before) FROM table_24108789_4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 1714, 4225, 3914, 834, 591, 41, 26116, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 16454, 381, 16, 274, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 26116, 61, 21680, 953, 834, 2266, 1714, 4225, 3914, 834, 591, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Opponent is on september 9, 2004?
CREATE TABLE table_name_77 (opponent VARCHAR, date VARCHAR)
SELECT opponent FROM table_name_77 WHERE date = "september 9, 2004"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 32, 102, 9977, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4495, 9977, 19, 30, 16022, 18247, 9902, 4406, 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, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 9902, 4406, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many touchdowns did the player with 10 points have?
CREATE TABLE table_28071 ( "Player" text, "Touchdowns" real, "Extra points" real, "Field goals" real, "Points" real )
SELECT MIN("Touchdowns") FROM table_28071 WHERE "Points" = '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17518, 4450, 41, 96, 15800, 49, 121, 1499, 6, 96, 3696, 2295, 3035, 7, 121, 490, 6, 96, 5420, 1313, 979, 121, 490, 6, 96, 3183, 8804, 1766, 121, 490, 6, 96, 22512, 7, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 3696, 2295, 3035, 7, 8512, 21680, 953, 834, 17518, 4450, 549, 17444, 427, 96, 22512, 7, 121, 3274, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the series on may 27?
CREATE TABLE table_name_16 ( series VARCHAR, date VARCHAR )
SELECT series FROM table_name_16 WHERE date = "may 27"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2938, 41, 939, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 939, 30, 164, 2307, 58, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 939, 21680, 953, 834, 4350, 834, 2938, 549, 17444, 427, 833, 3274, 96, 13726, 2307, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who did they play against in a week after 6 and the result was l 30 24?
CREATE TABLE table_32261 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT "Opponent" FROM table_32261 WHERE "Week" > '6' AND "Result" = 'l 30–24'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2668, 357, 4241, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 102, 9977, 121, 21680, 953, 834, 2668, 357, 4241, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 948, 31, 3430, 96, 20119, 121, 3274, 3, 31, 40, 604, 104, 2266, 31, 1, -100, -100, -100, -100, -100, ...
What the [A] that has more than 8.29 as the H2PO 4 and 1.30 10 8 as the PO4 3?
CREATE TABLE table_13628 ( "[A] (mol/L)" text, "[H 3 PO 4 ]/[A] (%)" text, "[H 2 PO 4 \u2212 ]/[A] (%)" real, "[HPO 4 2\u2212 ]/[A] (%)" text, "[PO 4 3\u2212 ]/[A] (%)" text )
SELECT "[A] (mol/L)" FROM table_13628 WHERE "[H 2 PO 4 \u2212 ]/[A] (%)" > '8.29' AND "[PO 4 3\u2212 ]/[A] (%)" = '1.30×10 −8'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2577, 41, 96, 6306, 188, 908, 41, 4641, 87, 434, 61, 121, 1499, 6, 96, 6306, 566, 220, 9915, 314, 3, 908, 87, 6306, 188, 908, 41, 6210, 121, 1499, 6, 96, 6306, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 6306, 188, 908, 41, 4641, 87, 434, 61, 121, 21680, 953, 834, 23459, 2577, 549, 17444, 427, 96, 6306, 566, 204, 9915, 314, 3, 2, 76, 2884, 2122, 3, 908, 87, 6306, 188, 908, 41, 6210, 121, 2490, 3, 31, 927, ...
Who was the winner of the prize z 1,226,711?
CREATE TABLE table_name_39 ( winner VARCHAR, prize VARCHAR )
SELECT winner FROM table_name_39 WHERE prize = "zł 1,226,711"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 4668, 584, 4280, 28027, 6, 6441, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 4668, 13, 8, 6441, 3, 172, 1914, 2884, 11071, 445...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4668, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 6441, 3274, 96, 172, 2, 1914, 2884, 11071, 4450, 536, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the score of the draw in the 2005 FIFA Confederations Cup?
CREATE TABLE table_name_24 ( score VARCHAR, competition VARCHAR, result VARCHAR )
SELECT score FROM table_name_24 WHERE competition = "2005 fifa confederations cup" AND result = "draw"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 2604, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 13, 8, 3314, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 2259, 3274, 96, 22594, 361, 89, 9, 975, 16812, 1628, 4119, 121, 3430, 741, 3274, 96, 19489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What Country's Player scored 71-69-70-71=281?
CREATE TABLE table_43877 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( \u00a3 )" real )
SELECT "Country" FROM table_43877 WHERE "Score" = '71-69-70-71=281'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 27697, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 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, 10628, 651, 121, 21680, 953, 834, 4906, 27697, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 4450, 18, 3951, 18, 2518, 18, 4450, 2423, 2577, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many episodes have the production code 8.04
CREATE TABLE table_2226817_9 (directed_by VARCHAR, production_code VARCHAR)
SELECT COUNT(directed_by) FROM table_2226817_9 WHERE production_code = "8.04"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26144, 3651, 2517, 834, 1298, 41, 22955, 834, 969, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 13562, 43, 8, 999, 1081...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 22955, 834, 969, 61, 21680, 953, 834, 26144, 3651, 2517, 834, 1298, 549, 17444, 427, 999, 834, 4978, 3274, 96, 27376, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many party with district being tennessee 1
CREATE TABLE table_1341865_44 (party VARCHAR, district VARCHAR)
SELECT COUNT(party) FROM table_1341865_44 WHERE district = "Tennessee 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2606, 4122, 834, 3628, 41, 8071, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 1088, 28, 3939, 271, 3, 324, 655, 15, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8071, 61, 21680, 953, 834, 23747, 2606, 4122, 834, 3628, 549, 17444, 427, 3939, 3274, 96, 382, 35, 655, 15, 15, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which committees have delegates from both democratic party and liberal party?
CREATE TABLE party ( party_id number, year number, party text, governor text, lieutenant_governor text, comptroller text, attorney_general text, us_senate text ) CREATE TABLE county ( county_id number, county_name text, population number, zip_code text ) CREATE TABLE el...
SELECT T1.committee FROM election AS T1 JOIN party AS T2 ON T1.party = T2.party_id WHERE T2.party = "Democratic" INTERSECT SELECT T1.committee FROM election AS T1 JOIN party AS T2 ON T1.party = T2.party_id WHERE T2.party = "Liberal"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 41, 1088, 834, 23, 26, 381, 6, 215, 381, 6, 1088, 1499, 6, 13062, 1499, 6, 4618, 324, 288, 834, 122, 1890, 29, 127, 1499, 6, 20248, 4046, 49, 1499, 6, 4917, 834, 27369, 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, 5411, 287, 1538, 17, 15, 15, 21680, 4356, 6157, 332, 536, 3, 15355, 3162, 1088, 6157, 332, 357, 9191, 332, 5411, 8071, 3274, 332, 4416, 8071, 834, 23, 26, 549, 17444, 427, 332, 4416, 8071, 3274, 96, 19679, 447,...
Which college did the player attend that went to Mission Viejo High School?
CREATE TABLE table_307 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text )
SELECT "College" FROM table_307 WHERE "School" = 'Mission Viejo High School'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 940, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9939, 7883, 121, 21680, 953, 834, 1458, 940, 549, 17444, 427, 96, 29364, 121, 3274, 3, 31, 329, 159, 1938, 1813, 15, 1927, 1592, 1121, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
serum triglycerides > 500 mg / dl
CREATE TABLE table_train_159 ( "id" int, "hemoglobin_a1c_hba1c" float, "estimated_glomerular_filtration_rate_egfr" int, "kidney_disease" bool, "serum_triglyceride" int, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_159 WHERE serum_triglyceride > 500
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 27904, 41, 96, 23, 26, 121, 16, 17, 6, 96, 6015, 32, 14063, 77, 834, 9, 536, 75, 834, 107, 115, 9, 536, 75, 121, 3, 12660, 6, 96, 3340, 51, 920, 834, 24422...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27904, 549, 17444, 427, 20725, 834, 17, 3380, 120, 2110, 1599, 2490, 2899, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the away team that played at Corio Oval?
CREATE TABLE table_33049 ( "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_33049 WHERE "Venue" = 'corio oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17225, 3647, 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, 17225, 3647, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5715, 23, 32, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
At what time was the game when they played the White Sox and had a record of 63-70?
CREATE TABLE table_name_81 (time VARCHAR, opponent VARCHAR, record VARCHAR)
SELECT time FROM table_name_81 WHERE opponent = "white sox" AND record = "63-70"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 715, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 486, 125, 97, 47, 8, 467, 116, 79, 194...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 97, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 15264, 3274, 96, 13698, 78, 226, 121, 3430, 1368, 3274, 96, 3891, 18, 2518, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Voltage Center (V) has an Input Clock (MHz) of 25 x 3, and a Part Number of a80486dx4-75?
CREATE TABLE table_name_71 ( voltage_center__v_ VARCHAR, input_clock__mhz_ VARCHAR, part_number VARCHAR )
SELECT voltage_center__v_ FROM table_name_71 WHERE input_clock__mhz_ = "25 x 3" AND part_number = "a80486dx4-75"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4450, 41, 10594, 834, 13866, 834, 834, 208, 834, 584, 4280, 28027, 6, 3785, 834, 17407, 834, 834, 51, 107, 172, 834, 584, 4280, 28027, 6, 294, 834, 5525, 1152, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 10594, 834, 13866, 834, 834, 208, 834, 21680, 953, 834, 4350, 834, 4450, 549, 17444, 427, 3785, 834, 17407, 834, 834, 51, 107, 172, 834, 3274, 96, 1828, 3, 226, 220, 121, 3430, 294, 834, 5525, 1152, 3274, 96, 9, 2...
give me the number of patients whose days of hospital stay is greater than 2 and lab test fluid is cerebrospinal fluid (csf)?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.days_stay > "2" AND lab.fluid = "Cerebrospinal Fluid (CSF)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is team ypiranga-sp's average position when they lost by less than 7?
CREATE TABLE table_name_53 (position INTEGER, team VARCHAR, lost VARCHAR)
SELECT AVG(position) FROM table_name_53 WHERE team = "ypiranga-sp" AND lost < 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 4718, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 1513, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 372, 3, 63, 2388, 1468, 9, 18, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 4718, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 372, 3274, 96, 63, 2388, 1468, 9, 18, 7, 102, 121, 3430, 1513, 3, 2, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What red list is in the artiodactyla order and the cervidae family with a Species Authority of odocoileus virginianus zimmermann, 1780?
CREATE TABLE table_14749 ( "Name" text, "Species Authority" text, "Order" text, "Family" text, "Red List" real )
SELECT "Red List" FROM table_14749 WHERE "Order" = 'artiodactyla' AND "Family" = 'cervidae' AND "Species Authority" = 'odocoileus virginianus zimmermann, 1780'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 3647, 41, 96, 23954, 121, 1499, 6, 96, 7727, 725, 9293, 121, 1499, 6, 96, 7395, 588, 121, 1499, 6, 96, 371, 3690, 120, 121, 1499, 6, 96, 1649, 26, 6792, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 26, 6792, 121, 21680, 953, 834, 24719, 3647, 549, 17444, 427, 96, 7395, 588, 121, 3274, 3, 31, 1408, 23, 32, 26, 2708, 63, 521, 31, 3430, 96, 371, 3690, 120, 121, 3274, 3, 31, 2110, 6961, 9, 15, 31, ...
Who was the home team when the away team was Bristol Rovers?
CREATE TABLE table_name_1 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team FROM table_name_1 WHERE away_team = "bristol rovers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 234, 372, 116, 8, 550, 372, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 550, 834, 11650, 3274, 96, 115, 17149, 40, 3, 8843, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result in 1973 when the surface was clay?
CREATE TABLE table_name_73 (outcome VARCHAR, year VARCHAR, surface VARCHAR)
SELECT outcome FROM table_name_73 WHERE year = 1973 AND surface = "clay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 670, 287, 15, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 16, 17107, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 215, 3274, 17107, 3430, 1774, 3274, 96, 4651, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what was the name of the medicine that patient 016-14568 was prescribed first on the first hospital encounter?
CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE d...
SELECT medication.drugname FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '016-14568' AND NOT patient.hospitaldischargetime IS NULL ORDER BY p...
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7757, 5, 26, 13534, 4350, 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, 21...
steve hosey was picked above or below mo vaughn ?
CREATE TABLE table_203_149 ( id number, "pick" number, "player" text, "team" text, "position" text, "school" text )
SELECT (SELECT "pick" FROM table_203_149 WHERE "player" = 'steve hosey') < (SELECT "pick" FROM table_203_149 WHERE "player" = 'mo vaughn')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 24816, 41, 3, 23, 26, 381, 6, 96, 17967, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 11650, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 6646, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 41, 23143, 14196, 96, 17967, 121, 21680, 953, 834, 23330, 834, 24816, 549, 17444, 427, 96, 20846, 121, 3274, 3, 31, 849, 162, 3, 9672, 63, 31, 61, 3, 2, 41, 23143, 14196, 96, 17967, 121, 21680, 953, 834, 23330, 83...
What is the propulsion when the vessel is marianarray?
CREATE TABLE table_28132970_5 (propulsion VARCHAR, vessel VARCHAR)
SELECT propulsion FROM table_28132970_5 WHERE vessel = "Marianarray"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 2368, 3166, 2518, 834, 755, 41, 1409, 20567, 584, 4280, 28027, 6, 12662, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 813, 20567, 116, 8, 12662, 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, 813, 20567, 21680, 953, 834, 2577, 2368, 3166, 2518, 834, 755, 549, 17444, 427, 12662, 3274, 96, 329, 6855, 10116, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the loss for Boris Picano-Nacci?
CREATE TABLE table_name_94 ( loss VARCHAR, name VARCHAR )
SELECT loss FROM table_name_94 WHERE name = "boris picano-nacci"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4240, 41, 1453, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1453, 21, 7254, 159, 11000, 152, 32, 18, 567, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1453, 21680, 953, 834, 4350, 834, 4240, 549, 17444, 427, 564, 3274, 96, 6693, 159, 6686, 152, 32, 18, 29, 9, 9920, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who were the visitors when the home team were the ny rangers?
CREATE TABLE table_76296 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Decision" text, "Attendance" real, "Record" text )
SELECT "Visitor" FROM table_76296 WHERE "Home" = 'ny rangers'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 357, 4314, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 2962, 18901, 121, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 553, 159, 155, 127, 121, 21680, 953, 834, 3959, 357, 4314, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 29, 63, 620, 52, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many bypass boosters are there on the engine with slit exhaust ports and SPI is yes?
CREATE TABLE table_1522 ( "Engine" text, "Exhaust Ports" text, "Bypass Ports" real, "Bypass Boosters" text, "SPI" text, "Tapered Grind" text, "Number on cyl." text )
SELECT "Bypass Boosters" FROM table_1522 WHERE "SPI" = 'Yes' AND "Exhaust Ports" = 'Slit'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 2884, 41, 96, 31477, 121, 1499, 6, 96, 5420, 2989, 17, 3625, 7, 121, 1499, 6, 96, 279, 63, 3968, 3625, 7, 121, 490, 6, 96, 279, 63, 3968, 3, 16481, 277, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 279, 63, 3968, 3, 16481, 277, 121, 21680, 953, 834, 1808, 2884, 549, 17444, 427, 96, 134, 4111, 121, 3274, 3, 31, 19739, 31, 3430, 96, 5420, 2989, 17, 3625, 7, 121, 3274, 3, 31, 134, 4250, 31, 1, -100, -100,...
how many patients whose admission year is less than 2138 and procedure icd9 code is 966?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text,...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.admityear < "2138" AND procedures.icd9_code = "966"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
how many total games did the chicago bears win in the 1980s ?
CREATE TABLE table_204_855 ( id number, "year" number, "date" text, "winner" text, "result" text, "loser" text, "attendance" number, "location" text )
SELECT COUNT(*) FROM table_204_855 WHERE "winner" = 'chicago bears'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4433, 755, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 381, 6, 96, 5522, 121, 1499, 6, 96, 3757, 687, 121, 1499, 6, 96, 60, 7, 83, 17, 121, 1499, 6, 96, 2298, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 4433, 755, 549, 17444, 427, 96, 3757, 687, 121, 3274, 3, 31, 1436, 658, 839, 4595, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which runner-up player(s) had a margin of 10 strokes?
CREATE TABLE table_32471 ( "Year" real, "Championship" text, "Winning score" text, "Margin" text, "Runner(s)-up" text )
SELECT "Runner(s)-up" FROM table_32471 WHERE "Margin" = '10 strokes'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2266, 4450, 41, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 121, 1499, 6, 96, 23572,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 23572, 599, 7, 61, 18, 413, 121, 21680, 953, 834, 519, 2266, 4450, 549, 17444, 427, 96, 7286, 122, 77, 121, 3274, 3, 31, 1714, 9529, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the nationality of the player who went to college at Mississippi?
CREATE TABLE table_name_74 ( nationality VARCHAR, college_country_team VARCHAR )
SELECT nationality FROM table_name_74 WHERE college_country_team = "mississippi"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4581, 41, 1157, 485, 584, 4280, 28027, 6, 1900, 834, 17529, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1157, 485, 13, 8, 195...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1157, 485, 21680, 953, 834, 4350, 834, 4581, 549, 17444, 427, 1900, 834, 17529, 834, 11650, 3274, 96, 11502, 159, 7, 23, 1572, 23, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...