NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
give me the number of patients whose admission year is less than 2139 and lab test name is urea nitrogen, urine?
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.admityear < "2139" AND lab.label = "Urea Nitrogen, Urine"
[ 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,...
Name the location for yellow jackets
CREATE TABLE table_28253870_1 ( location VARCHAR, team_nickname VARCHAR )
SELECT location FROM table_28253870_1 WHERE team_nickname = "Yellow Jackets"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 1828, 3747, 2518, 834, 536, 41, 1128, 584, 4280, 28027, 6, 372, 834, 11191, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1128, 21, 4459, 8094,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 2577, 1828, 3747, 2518, 834, 536, 549, 17444, 427, 372, 834, 11191, 4350, 3274, 96, 476, 7126, 210, 24412, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the number of spring enrollment for sioux falls seminary
CREATE TABLE table_2076557_2 ( enrollment__spring_2012_ VARCHAR, school VARCHAR )
SELECT COUNT(enrollment__spring_2012_) FROM table_2076557_2 WHERE school = "Sioux Falls Seminary"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4122, 3436, 834, 357, 41, 17938, 834, 834, 14662, 834, 12172, 834, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 35, 4046, 297, 834, 834, 14662, 834, 12172, 834, 61, 21680, 953, 834, 26426, 4122, 3436, 834, 357, 549, 17444, 427, 496, 3274, 96, 134, 23, 32, 3090, 8491, 12930, 63, 121, 1, -100, -100, -100, -100...
Which player has a total of more than 290 and +4 to par.
CREATE TABLE table_name_29 (player VARCHAR, total VARCHAR, to_par VARCHAR)
SELECT player FROM table_name_29 WHERE total > 290 AND to_par = "+4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 20846, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 12, 834, 1893, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 65, 3, 9, 792, 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, 1959, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 792, 2490, 3, 23838, 3430, 12, 834, 1893, 3274, 96, 1220, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the pick for the game at the College of Kentucky with the team Washington Capitols?
CREATE TABLE table_name_56 (pick VARCHAR, college VARCHAR, team VARCHAR)
SELECT pick FROM table_name_56 WHERE college = "kentucky" AND team = "washington capitols"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 17967, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1432, 21, 8, 467, 44, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1432, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 1900, 3274, 96, 2217, 17, 4636, 63, 121, 3430, 372, 3274, 96, 14710, 6029, 23491, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Points have a Draw of 2?
CREATE TABLE table_name_46 (points INTEGER, draw VARCHAR)
SELECT AVG(points) FROM table_name_46 WHERE draw = 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 2700, 7, 3, 21342, 17966, 6, 3314, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 4564, 7, 43, 3, 9, 19183, 13, 204, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 3314, 3274, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
when chiji is revised hepburn what are all the english
CREATE TABLE table_26263954_1 ( english VARCHAR, revised_hepburn VARCHAR )
SELECT english FROM table_26263954_1 WHERE revised_hepburn = "chiji"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2688, 3288, 5062, 834, 536, 41, 22269, 584, 4280, 28027, 6, 15760, 834, 88, 102, 7223, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 116, 3, 524, 17279, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22269, 21680, 953, 834, 2688, 2688, 3288, 5062, 834, 536, 549, 17444, 427, 15760, 834, 88, 102, 7223, 3274, 96, 524, 17279, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Laps have a Time/Retired of +23.215, and a Grid larger than 11?
CREATE TABLE table_name_41 (laps INTEGER, time_retired VARCHAR, grid VARCHAR)
SELECT MIN(laps) FROM table_name_41 WHERE time_retired = "+23.215" AND grid > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 8478, 7, 3, 21342, 17966, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 325, 102, 7, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 1220, 2773, 5, 2658, 17395, 3430, 8634, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are all the profits elegance (2007) in which mayor is ma. Ester a. Hamor
CREATE TABLE table_73801 ( "City / Municipality" text, "No. of s Barangay" real, "District" real, "Area (km\u00b2)" text, "Population (2010)" real, "Income class (2007)" text, "ZIP code" real, "Mayor" text )
SELECT "Income class (2007)" FROM table_73801 WHERE "Mayor" = 'Ma. Ester A. Hamor'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 2079, 536, 41, 96, 254, 485, 3, 87, 16492, 485, 121, 1499, 6, 96, 4168, 5, 13, 3, 7, 1386, 1468, 9, 63, 121, 490, 6, 96, 308, 23, 20066, 121, 490, 6, 96, 188, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1570, 287, 15, 853, 3, 27964, 121, 21680, 953, 834, 4552, 2079, 536, 549, 17444, 427, 96, 15881, 127, 121, 3274, 3, 31, 329, 9, 5, 2972, 52, 71, 5, 5845, 127, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
What is Action Comics #1's estimated value?
CREATE TABLE table_80249 ( "Character(s)" text, "First Appearance" text, "Cover Date" text, "Publisher" text, "Estimated Value" text )
SELECT "Estimated Value" FROM table_80249 WHERE "First Appearance" = 'action comics #1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2079, 357, 3647, 41, 96, 18947, 2708, 49, 599, 7, 61, 121, 1499, 6, 96, 25171, 2276, 2741, 663, 121, 1499, 6, 96, 254, 1890, 7678, 121, 1499, 6, 96, 31009, 49, 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, 14997, 603, 920, 12419, 121, 21680, 953, 834, 2079, 357, 3647, 549, 17444, 427, 96, 25171, 2276, 2741, 663, 121, 3274, 3, 31, 4787, 7967, 7, 7172, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Total with a Joint Music Award of 1, RTHK of 4, and USCA of 4?
CREATE TABLE table_name_99 (total VARCHAR, usca VARCHAR, joint_music_award VARCHAR, rthk VARCHAR)
SELECT total FROM table_name_99 WHERE joint_music_award = "1" AND rthk = "4" AND usca = "4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 235, 1947, 584, 4280, 28027, 6, 178, 658, 584, 4280, 28027, 6, 4494, 834, 22170, 834, 9, 2239, 584, 4280, 28027, 6, 3, 52, 189, 157, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 792, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 4494, 834, 22170, 834, 9, 2239, 3274, 96, 536, 121, 3430, 3, 52, 189, 157, 3274, 96, 20364, 3430, 178, 658, 3274, 96, 20364, 1, -100, -100, -100, -100, -100, ...
Plot acc_percent by grouped by team name as a bar graph, and could you rank Y-axis in ascending order?
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( Scho...
SELECT Team_Name, ACC_Percent FROM basketball_match ORDER BY ACC_Percent
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2271, 834, 23954, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 12988, 3728, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what year did north carolina institution join the acc?
CREATE TABLE table_28744929_1 (joined_acc INTEGER, institution VARCHAR)
SELECT MAX(joined_acc) FROM table_28744929_1 WHERE institution = "North Carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 4581, 3647, 3166, 834, 536, 41, 1927, 630, 26, 834, 6004, 3, 21342, 17966, 6, 6568, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 215, 410, 3457, 443, 12057...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1927, 630, 26, 834, 6004, 61, 21680, 953, 834, 2577, 4581, 3647, 3166, 834, 536, 549, 17444, 427, 6568, 3274, 96, 22969, 5089, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many different types of transactions are there?
CREATE TABLE financial_transactions ( transaction_id number, previous_transaction_id number, account_id number, card_id number, transaction_type text, transaction_date time, transaction_amount number, transaction_comment text, other_transaction_details text ) CREATE TABLE customers ...
SELECT COUNT(DISTINCT transaction_type) FROM financial_transactions
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 981, 834, 7031, 4787, 7, 41, 5878, 834, 23, 26, 381, 6, 1767, 834, 7031, 4787, 834, 23, 26, 381, 6, 905, 834, 23, 26, 381, 6, 895, 834, 23, 26, 381, 6, 5878, 834, 6137, 1499, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 5878, 834, 6137, 61, 21680, 981, 834, 7031, 4787, 7, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Tell me the team 1 for team 2 being civitavecchiese (latium a)
CREATE TABLE table_name_8 (team_1 VARCHAR, team_2 VARCHAR)
SELECT team_1 FROM table_name_8 WHERE team_2 = "civitavecchiese (latium a)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 11650, 834, 536, 584, 4280, 28027, 6, 372, 834, 357, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 372, 209, 21, 372, 204, 271, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 834, 536, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 372, 834, 357, 3274, 96, 27981, 155, 20686, 9781, 7, 15, 41, 19761, 440, 3, 9, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the first year entered service year ?
CREATE TABLE table_204_816 ( id number, "locomotive" text, "named" text, "serial no" text, "entered service" text, "gauge" text, "livery" text )
SELECT MIN("entered service") FROM table_204_816
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 927, 2938, 41, 3, 23, 26, 381, 6, 96, 5133, 32, 17732, 15, 121, 1499, 6, 96, 4350, 26, 121, 1499, 6, 96, 7, 15, 12042, 150, 121, 1499, 6, 96, 35, 11196, 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, 35, 11196, 313, 8512, 21680, 953, 834, 26363, 834, 927, 2938, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find name of the services that has never been used.
CREATE TABLE services (service_name VARCHAR); CREATE TABLE party_services (service_id VARCHAR); CREATE TABLE services (service_name VARCHAR, service_id VARCHAR)
SELECT service_name FROM services EXCEPT SELECT t1.service_name FROM services AS t1 JOIN party_services AS t2 ON t1.service_id = t2.service_id
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 364, 41, 5114, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 834, 5114, 7, 41, 5114, 834, 23, 26, 584, 4280, 28027, 61, 3, 32102, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 313, 834, 4350, 21680, 364, 262, 4, 30416, 3, 23143, 14196, 3, 17, 5411, 5114, 834, 4350, 21680, 364, 6157, 3, 17, 536, 3, 15355, 3162, 1088, 834, 5114, 7, 6157, 3, 17, 357, 9191, 3, 17, 5411, 5114, 834, 23, 26,...
Who has 5/1 odds?
CREATE TABLE table_68152 ( "Race" text, "Dist (f)" real, "Course" text, "Class" text, "Prize (\u00a3K)" real, "Odds" text, "Runners" real, "Placing" real, "Margin" real, "Time" text, "Jockey" text, "Trainer" text )
SELECT "Jockey" FROM table_68152 WHERE "Odds" = '5/1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 26320, 41, 96, 448, 3302, 121, 1499, 6, 96, 308, 343, 41, 89, 61, 121, 490, 6, 96, 3881, 3589, 15, 121, 1499, 6, 96, 21486, 121, 1499, 6, 96, 7855, 776, 41, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 683, 3961, 15, 63, 121, 21680, 953, 834, 3651, 26320, 549, 17444, 427, 96, 667, 26, 26, 7, 121, 3274, 3, 31, 755, 14785, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the date of the game that was played against the away team of York City?
CREATE TABLE table_name_7 ( attendance VARCHAR, away_team VARCHAR )
SELECT attendance FROM table_name_7 WHERE away_team = "york city"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 11364, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 833, 13, 8, 467, 24, 47, 1944, 581, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 550, 834, 11650, 3274, 96, 63, 127, 157, 690, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the local name given to the city of Canberra?
CREATE TABLE table_1008653_1 (capital___endonym__ VARCHAR, capital___exonym__ VARCHAR)
SELECT capital___endonym__ FROM table_1008653_1 WHERE capital___exonym__ = "Canberra"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2915, 3840, 4867, 834, 536, 41, 4010, 9538, 834, 834, 834, 989, 19140, 834, 834, 584, 4280, 28027, 6, 1784, 834, 834, 834, 994, 19140, 834, 834, 584, 4280, 28027, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1784, 834, 834, 834, 989, 19140, 834, 834, 21680, 953, 834, 2915, 3840, 4867, 834, 536, 549, 17444, 427, 1784, 834, 834, 834, 994, 19140, 834, 834, 3274, 96, 14050, 115, 16841, 121, 1, -100, -100, -100, -100, -100, ...
What is largest total number that was written by Sheri Elwood?
CREATE TABLE table_27155243_4 (total__number INTEGER, written_by VARCHAR)
SELECT MAX(total__number) FROM table_27155243_4 WHERE written_by = "Sheri Elwood"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 20896, 27730, 834, 591, 41, 235, 1947, 834, 834, 5525, 1152, 3, 21342, 17966, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 2015, 792...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 235, 1947, 834, 834, 5525, 1152, 61, 21680, 953, 834, 2555, 20896, 27730, 834, 591, 549, 17444, 427, 1545, 834, 969, 3274, 96, 134, 760, 23, 1289, 2037, 121, 1, -100, -100, -100, -100, -100, -100, -100...
When a school has authority of state and a decile greater than 1, what is the roll number?
CREATE TABLE table_name_66 (roll VARCHAR, authority VARCHAR, decile VARCHAR)
SELECT roll FROM table_name_66 WHERE authority = "state" AND decile > 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 4046, 584, 4280, 28027, 6, 5015, 584, 4280, 28027, 6, 7908, 109, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 3, 9, 496, 65, 5015, 13, 538...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3812, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 5015, 3274, 96, 5540, 121, 3430, 7908, 109, 2490, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the 10:30 feature with Hercule as the 7:30 feature?
CREATE TABLE table_38093 ( "7:00" text, "7:30" text, "8:00" text, "8:30" text, "9:00" text, "9:30" text, "10:00" text, "10:30" text )
SELECT "10:30" FROM table_38093 WHERE "7:30" = 'hercule'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22671, 4271, 41, 96, 18735, 121, 1499, 6, 96, 18078, 121, 1499, 6, 96, 15692, 121, 1499, 6, 96, 927, 10, 1458, 121, 1499, 6, 96, 1298, 10, 1206, 121, 1499, 6, 96, 21150, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1714, 10, 1458, 121, 21680, 953, 834, 22671, 4271, 549, 17444, 427, 96, 18078, 121, 3274, 3, 31, 760, 1497, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which keys (x modes) have a Supplier of wolfking?
CREATE TABLE table_name_55 (keys__x_modes_ VARCHAR, supplier VARCHAR)
SELECT keys__x_modes_ FROM table_name_55 WHERE supplier = "wolfking"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3769, 41, 4397, 7, 834, 834, 226, 834, 14930, 7, 834, 584, 4280, 28027, 6, 8106, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 9060, 41, 226, 12632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9060, 834, 834, 226, 834, 14930, 7, 834, 21680, 953, 834, 4350, 834, 3769, 549, 17444, 427, 8106, 3274, 96, 19747, 1765, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What team was in position OL?
CREATE TABLE table_23572 ( "Pick #" real, "CFL Team" text, "Player" text, "Position" text, "College" text )
SELECT "CFL Team" FROM table_23572 WHERE "Position" = 'OL'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25174, 5865, 41, 96, 345, 3142, 1713, 121, 490, 6, 96, 254, 10765, 2271, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 9939, 7883, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 96, 254, 10765, 2271, 121, 21680, 953, 834, 25174, 5865, 549, 17444, 427, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 5194, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the genitive for the ergative shen?
CREATE TABLE table_46629 ( "Nominative" text, "Ergative" text, "Dative" text, "Genitive" text, "Instrumental" text, "Adverbial" text )
SELECT "Genitive" FROM table_46629 WHERE "Ergative" = 'shen'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3539, 3166, 41, 96, 4168, 1109, 1528, 121, 1499, 6, 96, 10575, 122, 1528, 121, 1499, 6, 96, 308, 1528, 121, 1499, 6, 96, 13714, 23, 3268, 121, 1499, 6, 96, 1570, 615...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13714, 23, 3268, 121, 21680, 953, 834, 591, 3539, 3166, 549, 17444, 427, 96, 10575, 122, 1528, 121, 3274, 3, 31, 7, 3225, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what are the minimum poles?
CREATE TABLE table_26178824_1 (poles INTEGER)
SELECT MIN(poles) FROM table_26178824_1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2517, 4060, 2266, 834, 536, 41, 14332, 7, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 125, 33, 8, 2559, 11148, 7, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 14332, 7, 61, 21680, 953, 834, 2688, 2517, 4060, 2266, 834, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the margin of victory when Mark Calcavecchia was the runner-up?
CREATE TABLE table_68003 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner(s)-up" text )
SELECT "Margin of victory" FROM table_68003 WHERE "Runner(s)-up" = 'mark calcavecchia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 1206, 519, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 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, 7286, 122, 77, 13, 6224, 121, 21680, 953, 834, 3651, 1206, 519, 549, 17444, 427, 96, 23572, 599, 7, 61, 18, 413, 121, 3274, 3, 31, 3920, 3, 10379, 20686, 1436, 9, 31, 1, -100, -100, -100, -100, -100, -100, -...
What is the position when the points 1 is 61?
CREATE TABLE table_46852 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" text )
SELECT SUM("Position") FROM table_46852 WHERE "Points 1" = '61'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 4433, 357, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 32, 7, 4749, 8512, 21680, 953, 834, 4448, 4433, 357, 549, 17444, 427, 96, 22512, 7, 209, 121, 3274, 3, 31, 4241, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the reserved for (SC/ST/None) when number of electorates (2009) is larger than 101,595, and constituency is 49?
CREATE TABLE table_62680 ( "Constituency number" text, "Name" text, "Reserved for ( SC / ST /None)" text, "District" text, "Number of electorates (2009)" real )
SELECT "Reserved for ( SC / ST /None)" FROM table_62680 WHERE "Number of electorates (2009)" > '101,595' AND "Constituency number" = '49'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2688, 2079, 41, 96, 4302, 2248, 17, 76, 4392, 381, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 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, 1649, 3473, 15, 26, 21, 41, 6508, 3, 87, 5097, 3, 87, 567, 782, 61, 121, 21680, 953, 834, 948, 2688, 2079, 549, 17444, 427, 96, 567, 5937, 49, 13, 11924, 127, 6203, 3, 25812, 121, 2490, 3, 31, 19621, 6, 75...
Show the county name and population of all counties with a bar chart.
CREATE TABLE party ( Party_ID int, Year real, Party text, Governor text, Lieutenant_Governor text, Comptroller text, Attorney_General text, US_Senate text ) CREATE TABLE county ( County_Id int, County_name text, Population real, Zip_code text ) CREATE TABLE election ( ...
SELECT County_name, Population FROM county
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1088, 41, 3450, 834, 4309, 16, 17, 6, 2929, 490, 6, 3450, 1499, 6, 10510, 1499, 6, 30943, 834, 27304, 127, 1499, 6, 4961, 17, 4046, 49, 1499, 6, 10154, 834, 20857, 1499, 6, 837, 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, 1334, 834, 4350, 6, 29659, 21680, 5435, 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, -1...
Playing against the Seattle Seahawks in a week after week 1 before 69,149 people what was the result of the game?
CREATE TABLE table_64351 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" text )
SELECT "Result" FROM table_64351 WHERE "Week" > '1' AND "Attendance" = '69,149' AND "Opponent" = 'seattle seahawks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4389, 2469, 536, 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, 20119, 121, 21680, 953, 834, 4389, 2469, 536, 549, 17444, 427, 96, 518, 10266, 121, 2490, 3, 31, 536, 31, 3430, 96, 188, 17, 324, 26, 663, 121, 3274, 3, 31, 3951, 6, 24816, 31, 3430, 96, 667, 102, 9977, 121,...
what is the number of patients whose year of birth is less than 2197 and procedure icd9 code is 3142?
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 procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.dob_year < "2197" AND procedures.icd9_code = "3142"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What is the Score on November 23, 1946 with Washington Capitols Home team?
CREATE TABLE table_45590 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Score" FROM table_45590 WHERE "Home" = 'washington capitols' AND "Date" = 'november 23, 1946'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 755, 2394, 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, 1649, 7621, 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, 9022, 121, 21680, 953, 834, 2128, 755, 2394, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 14710, 6029, 23491, 7, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 5326, 18247, 12992, 25021, 31, 1, -100, -100, -1...
What is the number listed in home games when the team is Seattle Seahawks?
CREATE TABLE table_74333 ( "Team" text, "Stadium" text, "Home Games" real, "Average Attendance" real, "Total Attendance" real, "Capacity Percentage" text )
SELECT "Home Games" FROM table_74333 WHERE "Team" = 'Seattle Seahawks'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 23360, 41, 96, 18699, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19040, 5880, 121, 490, 6, 96, 188, 624, 545, 22497, 663, 121, 490, 6, 96, 3696, 1947, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5880, 121, 21680, 953, 834, 4581, 23360, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 134, 15, 9, 8692, 3319, 14400, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the highest league cup appearances for the player with league cup goals of 0, and FA cup appearances of 2, and 4 league goals?
CREATE TABLE table_name_81 (league_cup_apps INTEGER, league_goals VARCHAR, league_cup_goals VARCHAR, fa_cup_apps VARCHAR)
SELECT MAX(league_cup_apps) FROM table_name_81 WHERE league_cup_goals = 0 AND fa_cup_apps = 2 AND league_goals = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 29512, 834, 4658, 834, 3096, 7, 3, 21342, 17966, 6, 5533, 834, 839, 5405, 584, 4280, 28027, 6, 5533, 834, 4658, 834, 839, 5405, 584, 4280, 28027, 6, 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, 4800, 4, 599, 29512, 834, 4658, 834, 3096, 7, 61, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 5533, 834, 4658, 834, 839, 5405, 3274, 3, 632, 3430, 3, 89, 9, 834, 4658, 834, 3096, 7, 3274, 204, 3430, 5533, ...
At what Site was the Result W13-7?
CREATE TABLE table_46197 ( "Date" text, "Opponent" text, "Site" text, "Result" text, "Attendance" text )
SELECT "Site" FROM table_46197 WHERE "Result" = 'w13-7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 27181, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 26030, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 1499, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 96, 26030, 121, 21680, 953, 834, 4448, 27181, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 210, 2368, 6832, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the position in 1997?
CREATE TABLE table_name_35 ( pos VARCHAR, year VARCHAR )
SELECT pos FROM table_name_35 WHERE year = 1997
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 3, 2748, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 1102, 16, 6622, 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, 3, 2748, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 215, 3274, 6622, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many of the patients admitted to the emergency room were born before the year 1850?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob te...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.dob_year < "1850"
[ 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, 9, 26, 5451, 834, 14836, 3274, 96, 427, 13098, 18464, 17063, 3, 30270, 8502, 12604, 121, 3430, 147...
Boca Raton, Florida had what joined amount?
CREATE TABLE table_1183842_1 (joined VARCHAR, location VARCHAR)
SELECT joined FROM table_1183842_1 WHERE location = "Boca Raton, Florida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 3747, 4165, 834, 536, 41, 1927, 630, 26, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 18372, 9, 6455, 106, 6, 2599, 141, 125, 3311, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3311, 21680, 953, 834, 20056, 3747, 4165, 834, 536, 549, 17444, 427, 1128, 3274, 96, 279, 32, 658, 6455, 106, 6, 2599, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If the track is the Wisconsin State Fair Park Speedway and the winning driver is Wally Dallenbach, what was the location?
CREATE TABLE table_22670216_1 ( location VARCHAR, winning_driver VARCHAR, track VARCHAR )
SELECT location FROM table_22670216_1 WHERE winning_driver = "Wally Dallenbach" AND track = "Wisconsin State Fair Park Speedway"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2688, 2518, 27184, 834, 536, 41, 1128, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 1463, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 156,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 357, 2688, 2518, 27184, 834, 536, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 518, 1427, 878, 195, 35, 6425, 121, 3430, 1463, 3274, 96, 518, 159, 8056, 77, 1015, 4506, 1061, 9913, 1343, 1...
Name the number of reason for change on may 11, 1939
CREATE TABLE table_2160008_4 (reason_for_change VARCHAR, date_successor_seated VARCHAR)
SELECT COUNT(reason_for_change) FROM table_2160008_4 WHERE date_successor_seated = "May 11, 1939"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 6007, 4018, 834, 591, 41, 864, 739, 834, 1161, 834, 13073, 584, 4280, 28027, 6, 833, 834, 7, 17431, 24901, 834, 22933, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 864, 739, 834, 1161, 834, 13073, 61, 21680, 953, 834, 2658, 6007, 4018, 834, 591, 549, 17444, 427, 833, 834, 7, 17431, 24901, 834, 22933, 3274, 96, 15881, 9694, 957, 3288, 121, 1, -100, -100, -100, ...
Which rank has a Total GDP ( bn) of 11.243??
CREATE TABLE table_71621 ( "Rank" text, "Region" text, "Total GDP (\u20ac bn )" text, "% growth" text, "Per capita" text )
SELECT "Rank" FROM table_71621 WHERE "Total GDP (\u20ac bn )" = '€11.243'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2938, 2658, 41, 96, 22557, 121, 1499, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 3696, 1947, 11284, 41, 2, 76, 1755, 9, 75, 3, 115, 29, 3, 61, 121, 1499, 6, 96, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22557, 121, 21680, 953, 834, 940, 2938, 2658, 549, 17444, 427, 96, 3696, 1947, 11284, 41, 2, 76, 1755, 9, 75, 3, 115, 29, 3, 61, 121, 3274, 3, 31, 3378, 10032, 27730, 31, 1, -100, -100, -100, -100, -100, -10...
What were the fewest number of Sri Lankans admitted when more than 4,270 Bangladeshis and more than 4,986 Pakistanis were admitted?
CREATE TABLE table_47311 ( "Year" text, "Indians admitted" real, "Pakistanis admitted" real, "Sri Lankans admitted" real, "Bangladeshis admitted" real, "Nepalis admitted" real )
SELECT MIN("Sri Lankans admitted") FROM table_47311 WHERE "Bangladeshis admitted" > '4,270' AND "Pakistanis admitted" > '4,986'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 519, 2596, 41, 96, 476, 2741, 121, 1499, 6, 96, 22126, 29, 7, 10246, 121, 490, 6, 96, 345, 11259, 5627, 159, 10246, 121, 490, 6, 96, 134, 52, 23, 13877, 29, 7, 10...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 52, 23, 13877, 29, 7, 10246, 8512, 21680, 953, 834, 4177, 519, 2596, 549, 17444, 427, 96, 279, 1468, 14712, 5605, 7, 10246, 121, 2490, 3, 31, 8525, 17485, 31, 3430, 96, 345, 11259, 5627, 1...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the sum of manager_id over the hire_date bin hire_date by time, and could you list by the total number in asc?
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 departments ( DEPARTMENT_ID decimal...
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY SUM(MANAGER_ID)
[ 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, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, ...
For those employees who was hired before 2002-06-21, a bar chart shows the distribution of job_id and the amount of job_id , and group by attribute job_id, display in descending by the bars please.
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decima...
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE HIRE_DATE < '2002-06-21' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 350, 4630, 6880, 272, 476, 446, 10539, 834, ...
Which FCC info has an ERP W of 100 watts?
CREATE TABLE table_name_67 ( fcc_info VARCHAR, erp_w VARCHAR )
SELECT fcc_info FROM table_name_67 WHERE erp_w = "100 watts"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 3, 89, 75, 75, 834, 9583, 584, 4280, 28027, 6, 3, 49, 102, 834, 210, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 377, 2823, 2845, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 89, 75, 75, 834, 9583, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 3, 49, 102, 834, 210, 3274, 96, 2915, 3, 11876, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the director of kon-tiki original title?
CREATE TABLE table_24527 ( "Year (Ceremony)" text, "Film title used in nomination" text, "Original title" text, "Director" text, "Result" text )
SELECT "Director" FROM table_24527 WHERE "Original title" = 'Kon-Tiki'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 2555, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 1499, 6, 96, 371, 173, 51, 2233, 261, 16, 13588, 121, 1499, 6, 96, 667, 3380, 10270, 2233, 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, 23620, 127, 121, 21680, 953, 834, 357, 2128, 2555, 549, 17444, 427, 96, 667, 3380, 10270, 2233, 121, 3274, 3, 31, 18620, 18, 382, 9069, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the reported birth date when the reported age is 110 years, 185 days?
CREATE TABLE table_name_58 (reported_birth_date VARCHAR, reported_age VARCHAR)
SELECT reported_birth_date FROM table_name_58 WHERE reported_age = "110 years, 185 days"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 60, 16262, 834, 20663, 834, 5522, 584, 4280, 28027, 6, 2196, 834, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2196, 3879, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2196, 834, 20663, 834, 5522, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2196, 834, 545, 3274, 96, 19277, 203, 6, 3, 21594, 477, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the lowest capacity when the margin is 03:30?
CREATE TABLE table_name_77 (capacity INTEGER, margin VARCHAR)
SELECT MIN(capacity) FROM table_name_77 WHERE margin = "03:30"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 4010, 9, 6726, 3, 21342, 17966, 6, 6346, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 7402, 2614, 116, 8, 6346, 19, 3, 632, 27...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 4010, 9, 6726, 61, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 6346, 3274, 96, 632, 27881, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many 07 A points for the team with 1.4902 average?
CREATE TABLE table_25887826_17 (avg VARCHAR)
SELECT MAX(07 AS _a_pts) FROM table_25887826_17 WHERE avg = "1.4902"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4060, 3940, 2688, 834, 2517, 41, 9, 208, 122, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 10668, 71, 979, 21, 8, 372, 28, 1300, 3647, 4305, 1348, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4560, 6157, 3, 834, 9, 834, 102, 17, 7, 61, 21680, 953, 834, 1828, 4060, 3940, 2688, 834, 2517, 549, 17444, 427, 3, 9, 208, 122, 3274, 96, 14912, 2394, 357, 121, 1, -100, -100, -100, -100, -100, -1...
What is the qualities of the sign cancer?
CREATE TABLE table_7621 ( "Sign" text, "Element" text, "Qualities" text, "Season: North" text, "Season: South" text )
SELECT "Qualities" FROM table_7621 WHERE "Sign" = 'cancer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 2658, 41, 96, 134, 3191, 121, 1499, 6, 96, 427, 3335, 121, 1499, 6, 96, 5991, 138, 2197, 121, 1499, 6, 96, 134, 15, 9, 739, 10, 1117, 121, 1499, 6, 96, 134, 15, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 5991, 138, 2197, 121, 21680, 953, 834, 3959, 2658, 549, 17444, 427, 96, 134, 3191, 121, 3274, 3, 31, 1608, 2110, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Show all allergy types and the number of allergies in each type.
CREATE TABLE Allergy_type ( allergytype VARCHAR )
SELECT allergytype, COUNT(*) FROM Allergy_type GROUP BY allergytype
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 432, 49, 122, 63, 834, 6137, 41, 23886, 6137, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 66, 23886, 1308, 11, 8, 381, 13, 18500, 16, 284, 686, 5, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 23886, 6137, 6, 2847, 17161, 599, 1935, 61, 21680, 432, 49, 122, 63, 834, 6137, 350, 4630, 6880, 272, 476, 23886, 6137, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
List the name of all projects that are operated longer than the average working hours of all projects.
CREATE TABLE projects ( name VARCHAR, hours INTEGER )
SELECT name FROM projects WHERE hours > (SELECT AVG(hours) FROM projects)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1195, 41, 564, 584, 4280, 28027, 6, 716, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 564, 13, 66, 1195, 24, 33, 7747, 1200, 145, 8, 1348, 464, 716, 13, 66, 1195...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 21680, 1195, 549, 17444, 427, 716, 2490, 41, 23143, 14196, 71, 17217, 599, 5842, 7, 61, 21680, 1195, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many new entries started in the quarter finals?
CREATE TABLE table_18328569_1 (new_entries_this_round VARCHAR, round VARCHAR)
SELECT new_entries_this_round FROM table_18328569_1 WHERE round = "Quarter finals"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 2668, 4433, 3951, 834, 536, 41, 5534, 834, 35, 9000, 834, 8048, 834, 7775, 584, 4280, 28027, 6, 1751, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 126...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 126, 834, 35, 9000, 834, 8048, 834, 7775, 21680, 953, 834, 2606, 2668, 4433, 3951, 834, 536, 549, 17444, 427, 1751, 3274, 96, 5991, 1408, 49, 804, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
For those employees who did not have any job in the past, return a bar chart about the distribution of job_id and the sum of department_id , and group by attribute job_id.
CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,...
SELECT JOB_ID, SUM(DEPARTMENT_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2476, 41, 446, 10539, 834, 4309, 3, 4331, 4059, 599, 16968, 6, 446, 10539, 834, 382, 3177, 3765, 3, 4331, 4059, 599, 2469, 201, 3, 17684, 834, 134, 4090, 24721, 7908, 1982, 599, 11071,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 5596, 19846, 11810, 834, 4309, 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, 21...
Matches W-L of 1-2, and a Team of spain had what seeding?
CREATE TABLE table_name_41 ( seeding VARCHAR, matches_w_l VARCHAR, team VARCHAR )
SELECT seeding FROM table_name_41 WHERE matches_w_l = "1-2" AND team = "spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 6677, 53, 584, 4280, 28027, 6, 6407, 834, 210, 834, 40, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 12296, 15, 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, 0...
[ 3, 23143, 14196, 6677, 53, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 6407, 834, 210, 834, 40, 3274, 96, 9596, 121, 3430, 372, 3274, 96, 14147, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which IATA's ICAO is rjss?
CREATE TABLE table_name_17 ( iata VARCHAR, icao VARCHAR )
SELECT iata FROM table_name_17 WHERE icao = "rjss"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 3, 17221, 584, 4280, 28027, 6, 3, 2617, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 27, 19282, 31, 7, 3, 15038, 667, 19, 3, 52,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 3, 2617, 32, 3274, 96, 52, 354, 7, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the qual when there are 125 laps?
CREATE TABLE table_name_6 ( qual VARCHAR, laps VARCHAR )
SELECT qual FROM table_name_6 WHERE laps = 125
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 3, 11433, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 11433, 116, 132, 33, 3, 10124, 14941, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 11433, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 14941, 7, 3274, 3, 10124, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which Laps have a Time of +23.002, and a Grid smaller than 11?
CREATE TABLE table_name_5 (laps INTEGER, time VARCHAR, grid VARCHAR)
SELECT AVG(laps) FROM table_name_5 WHERE time = "+23.002" AND grid < 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 755, 41, 8478, 7, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 325, 102, 7, 43, 3, 9, 2900, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 71, 17217, 599, 8478, 7, 61, 21680, 953, 834, 4350, 834, 755, 549, 17444, 427, 97, 3274, 96, 1220, 2773, 4200, 357, 121, 3430, 8634, 3, 2, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the score in the match against Sergi Bruguera?
CREATE TABLE table_name_70 ( score VARCHAR, opponent VARCHAR )
SELECT score FROM table_name_70 WHERE opponent = "sergi bruguera"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 2604, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 16, 8, 1588, 581, 27287, 3, 9465, 19645, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 15264, 3274, 96, 7, 49, 122, 23, 3, 9052, 19645, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the name of spain rank greater than 2?
CREATE TABLE table_name_59 ( name VARCHAR, rank VARCHAR, nationality VARCHAR )
SELECT name FROM table_name_59 WHERE rank > 2 AND nationality = "spain"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 564, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 1157, 485, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 564, 13, 4174, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 11003, 2490, 204, 3430, 1157, 485, 3274, 96, 14147, 77, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many different titles does the episode with production code IP02003 have?
CREATE TABLE table_29273115_1 ( title VARCHAR, production_code VARCHAR )
SELECT COUNT(title) FROM table_29273115_1 WHERE production_code = "IP02003"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 2555, 3341, 1808, 834, 536, 41, 2233, 584, 4280, 28027, 6, 999, 834, 4978, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 315, 8342, 405, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 21869, 61, 21680, 953, 834, 3166, 2555, 3341, 1808, 834, 536, 549, 17444, 427, 999, 834, 4978, 3274, 96, 4629, 632, 23948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what are the top five most commonly prescribed drugs until 2101?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtim...
SELECT t1.drugname FROM (SELECT medication.drugname, DENSE_RANK() OVER (ORDER BY COUNT(*) DESC) AS c1 FROM medication WHERE STRFTIME('%y', medication.drugstarttime) <= '2101' GROUP BY medication.drugname) AS t1 WHERE t1.c1 <= 5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5411, 26, 13534, 4350, 21680, 41, 23143, 14196, 7757, 5, 26, 13534, 4350, 6, 3, 22284, 4132, 834, 16375, 439, 9960, 3, 23288, 41, 2990, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 309, 25067, 61, 6157, 3, ...
What is Outcome, when Tournament is "Chiang Mai , Thailand"?
CREATE TABLE table_name_90 (outcome VARCHAR, tournament VARCHAR)
SELECT outcome FROM table_name_90 WHERE tournament = "chiang mai , thailand"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 670, 287, 15, 584, 4280, 28027, 6, 5892, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3387, 287, 15, 6, 116, 20502, 19, 96, 3541, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6138, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 5892, 3274, 96, 1436, 1468, 187, 3, 6, 3, 189, 9, 173, 232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
provide the number of patients whose primary disease is st-segment elevation myocardial infarction\cardiac cath and procedure short title is attach pedicle graft nec?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.diagnosis = "ST-SEGMENT ELEVATION MYOCARDIAL INFARCTION\CARDIAC CATH" AND procedures.short_title = "Attach pedicle graft NEC"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How many elevations are listed for Paratia?
CREATE TABLE table_2251578_4 (elevation__m_ VARCHAR, district VARCHAR)
SELECT COUNT(elevation__m_) FROM table_2251578_4 WHERE district = "Paratia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20489, 1808, 3940, 834, 591, 41, 15, 10912, 257, 834, 834, 51, 834, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 16417, 7, 33, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15, 10912, 257, 834, 834, 51, 834, 61, 21680, 953, 834, 20489, 1808, 3940, 834, 591, 549, 17444, 427, 3939, 3274, 96, 345, 9, 6850, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Chris Gatling 's number?
CREATE TABLE table_72686 ( "Player" text, "No." real, "Nationality" text, "Position" text, "Years in Orlando" text, "School/Club Team" text )
SELECT MAX("No.") FROM table_72686 WHERE "Player" = 'Chris Gatling'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2688, 3840, 41, 96, 15800, 49, 121, 1499, 6, 96, 4168, 535, 490, 6, 96, 24732, 485, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 7, 16, 14374, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4168, 5, 8512, 21680, 953, 834, 940, 2688, 3840, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 3541, 52, 159, 2776, 17, 697, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
HOw many top 5 starts did the team with an average start of 17.7 have?
CREATE TABLE table_22933 ( "Year" real, "Starts" real, "Wins" real, "Top 5" real, "Top 10" real, "Poles" real, "Avg. Start" text, "Avg. Finish" text, "Winnings" text, "Position" text, "Team(s)" text )
SELECT COUNT("Top 5") FROM table_22933 WHERE "Avg. Start" = '17.7'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3166, 4201, 41, 96, 476, 2741, 121, 490, 6, 96, 7681, 17, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6, 96, 22481, 3, 17395, 490, 6, 96, 22481, 335, 121, 490, 6, 96...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22481, 305, 8512, 21680, 953, 834, 357, 3166, 4201, 549, 17444, 427, 96, 188, 208, 122, 5, 3273, 121, 3274, 3, 31, 2517, 5, 940, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Director with a Ceremony of 2001?
CREATE TABLE table_38923 ( "Year (Ceremony)" real, "Original title" text, "English title" text, "Director" text, "Result" text )
SELECT "Director" FROM table_38923 WHERE "Year (Ceremony)" = '2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3914, 2773, 41, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 490, 6, 96, 667, 3380, 10270, 2233, 121, 1499, 6, 96, 26749, 2233, 121, 1499, 6, 96, 23620, 127, 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, 23620, 127, 121, 21680, 953, 834, 519, 3914, 2773, 549, 17444, 427, 96, 476, 2741, 41, 254, 49, 15, 21208, 61, 121, 3274, 3, 31, 23658, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many u.s. viewers (million) have the number 16?
CREATE TABLE table_19229713_6 (us_viewers__million_ VARCHAR, _number VARCHAR)
SELECT us_viewers__million_ FROM table_19229713_6 WHERE _number = 16
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2884, 4327, 2368, 834, 948, 41, 302, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 6, 3, 834, 5525, 1152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 178, 834, 4576, 277, 834, 834, 17030, 834, 21680, 953, 834, 2294, 2884, 4327, 2368, 834, 948, 549, 17444, 427, 3, 834, 5525, 1152, 3274, 898, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the IATA with a City of budapest?
CREATE TABLE table_name_3 ( iata VARCHAR, city VARCHAR )
SELECT iata FROM table_name_3 WHERE city = "budapest"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 3, 17221, 584, 4280, 28027, 6, 690, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 27, 19282, 28, 3, 9, 896, 13, 3, 11073, 9, 102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17221, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 690, 3274, 96, 11073, 9, 102, 222, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Count the number of patients whose ethnicity is White and were given the drug nifedipine cr
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.ethnicity = "WHITE" AND prescriptions.drug = "NIFEdipine CR"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Around what time frame release a Sampling Rate of 12-bit 40khz?
CREATE TABLE table_name_63 ( release_date INTEGER, sampling_rate VARCHAR )
SELECT SUM(release_date) FROM table_name_63 WHERE sampling_rate = "12-bit 40khz"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1576, 834, 5522, 3, 21342, 17966, 6, 17222, 834, 2206, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 16140, 125, 97, 2835, 1576, 3, 9, 3084, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 21019, 834, 5522, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 17222, 834, 2206, 3274, 96, 2122, 18, 2360, 1283, 157, 107, 172, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many defending champs from thailand?
CREATE TABLE table_73147 ( "Tournament" text, "Also currently known as" text, "City" text, "Country" text, "Court surface" text, "Defending champion" text )
SELECT COUNT("Defending champion") FROM table_73147 WHERE "Country" = 'Thailand'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 24719, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 188, 40, 7, 32, 1083, 801, 38, 121, 1499, 6, 96, 254, 485, 121, 1499, 6, 96, 10628, 651, 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, 2847, 17161, 599, 121, 16196, 9303, 6336, 8512, 21680, 953, 834, 4552, 24719, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 8991, 9, 173, 232, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the title of the episode written by David J. Burke?
CREATE TABLE table_name_6 (title VARCHAR, written_by VARCHAR)
SELECT title FROM table_name_6 WHERE written_by = "david j. burke"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 21869, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2233, 13, 8, 5640, 1545, 57, 1955, 446, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1545, 834, 969, 3274, 96, 26, 9, 6961, 3, 354, 5, 7018, 1050, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
list the number of matches played by the teams that got an average of 1.079
CREATE TABLE table_19371 ( "Team" text, "Average" text, "Points" real, "Played" real, "1986-87" text, "1987-88" text, "1988-89" real )
SELECT "1986-87" FROM table_19371 WHERE "Average" = '1.079'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4118, 536, 41, 96, 18699, 121, 1499, 6, 96, 188, 624, 545, 121, 1499, 6, 96, 22512, 7, 121, 490, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 2294, 3840, 18, 4225, 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, 2294, 3840, 18, 4225, 121, 21680, 953, 834, 2294, 4118, 536, 549, 17444, 427, 96, 188, 624, 545, 121, 3274, 3, 31, 12734, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which positions have a lap two time of 22.7290?
CREATE TABLE table_2759 ( "Pos" text, "##" real, "Name" text, "Team" text, "Lap One" text, "Lap Two" text, "Lap Three" text, "Lap Four" text, "Total Time" text, "Avg. Speed" text )
SELECT "Pos" FROM table_2759 WHERE "Lap Two" = '22.7290'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3390, 41, 96, 345, 32, 7, 121, 1499, 6, 96, 30345, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 3612, 102, 555, 121, 1499, 6, 96, 3612, 102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 345, 32, 7, 121, 21680, 953, 834, 2555, 3390, 549, 17444, 427, 96, 3612, 102, 2759, 121, 3274, 3, 31, 357, 21280, 23838, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the episode when the original performaer is diana ross?
CREATE TABLE table_31212 ( "Episode" text, "Theme / Date" text, "Song title" text, "Original performer" text, "Result (Placement)" text )
SELECT "Episode" FROM table_31212 WHERE "Original performer" = 'Diana Ross'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 24837, 41, 96, 427, 102, 159, 32, 221, 121, 1499, 6, 96, 634, 526, 3, 87, 7678, 121, 1499, 6, 96, 134, 2444, 2233, 121, 1499, 6, 96, 667, 3380, 10270, 1912, 49, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 427, 102, 159, 32, 221, 121, 21680, 953, 834, 3341, 24837, 549, 17444, 427, 96, 667, 3380, 10270, 1912, 49, 121, 3274, 3, 31, 308, 13662, 9616, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When was the release that was in SACD (hybrid) format?
CREATE TABLE table_name_27 (date VARCHAR, format VARCHAR)
SELECT date FROM table_name_27 WHERE format = "sacd (hybrid)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 5522, 584, 4280, 28027, 6, 1910, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 366, 47, 8, 1576, 24, 47, 16, 4646, 6931, 41, 107, 63, 2160, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 1910, 3274, 96, 7, 9, 75, 26, 41, 107, 63, 2160, 26, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What visitor has march 26 as the date?
CREATE TABLE table_name_17 (visitor VARCHAR, date VARCHAR)
SELECT visitor FROM table_name_17 WHERE date = "march 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 3466, 155, 127, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7019, 65, 10556, 2208, 38, 8, 833, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 833, 3274, 96, 51, 7064, 2208, 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 rank of the player who got 58179 in yardage?
CREATE TABLE table_18686317_1 (rank VARCHAR, yardage VARCHAR)
SELECT rank FROM table_18686317_1 WHERE yardage = 58179
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3651, 3891, 2517, 834, 536, 41, 6254, 584, 4280, 28027, 6, 6178, 545, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 11003, 13, 8, 1959, 113, 530, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11003, 21680, 953, 834, 2606, 3651, 3891, 2517, 834, 536, 549, 17444, 427, 6178, 545, 3274, 3, 3449, 26593, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose admission type is elective and diagnoses long title is drug induced neutropenia?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic (...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.admission_type = "ELECTIVE" AND diagnoses.long_title = "Drug induced neutropenia"
[ 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 are the names of tourist attractions that can be reached by walk or is at address 660 Shea Crescent?
CREATE TABLE hotels ( hotel_id number, star_rating_code text, pets_allowed_yn text, price_range number, other_hotel_details text ) CREATE TABLE staff ( staff_id number, tourist_attraction_id number, name text, other_details text ) CREATE TABLE features ( feature_id number, ...
SELECT T2.name FROM locations AS T1 JOIN tourist_attractions AS T2 ON T1.location_id = T2.location_id WHERE T1.address = "660 Shea Crescent" OR T2.how_to_get_there = "walk"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5694, 41, 1595, 834, 23, 26, 381, 6, 2213, 834, 52, 1014, 834, 4978, 1499, 6, 8636, 834, 138, 22411, 834, 63, 29, 1499, 6, 594, 834, 5517, 381, 6, 119, 834, 21015, 834, 221, 5756, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 4350, 21680, 3248, 6157, 332, 536, 3, 15355, 3162, 8548, 834, 144, 10559, 7, 6157, 332, 357, 9191, 332, 5411, 14836, 834, 23, 26, 3274, 332, 4416, 14836, 834, 23, 26, 549, 17444, 427, 332, 5411, 9, 26, ...
When belarus is the country what is the hometown?
CREATE TABLE table_1931 ( "Country" text, "Contestant" text, "Age" real, "Height (cm)" real, "Height (ft)" text, "Hometown" text )
SELECT "Hometown" FROM table_1931 WHERE "Country" = 'Belarus'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 3341, 41, 96, 10628, 651, 121, 1499, 6, 96, 4302, 4377, 288, 121, 1499, 6, 96, 188, 397, 121, 490, 6, 96, 3845, 2632, 41, 75, 51, 61, 121, 490, 6, 96, 3845, 2632,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 3540, 121, 21680, 953, 834, 2294, 3341, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 2703, 521, 4502, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who came as a replacement in Sheffield United?
CREATE TABLE table_19359427_6 ( replaced_by VARCHAR, team VARCHAR )
SELECT replaced_by FROM table_19359427_6 WHERE team = "Sheffield United"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 2469, 4240, 2555, 834, 948, 41, 5821, 834, 969, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 764, 38, 3, 9, 3709, 16, 23826...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5821, 834, 969, 21680, 953, 834, 2294, 2469, 4240, 2555, 834, 948, 549, 17444, 427, 372, 3274, 96, 12736, 89, 1846, 907, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which conference had the most bids ?
CREATE TABLE table_203_187 ( id number, "conference" text, "bids" number, "record" text, "win %" number, "quarterfinals" number, "semifinals" number, "final" number, "champions" number )
SELECT "conference" FROM table_203_187 ORDER BY "bids" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 25828, 41, 3, 23, 26, 381, 6, 96, 28496, 121, 1499, 6, 96, 9824, 7, 121, 381, 6, 96, 60, 7621, 121, 1499, 6, 96, 3757, 3, 1454, 121, 381, 6, 96, 19973, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 28496, 121, 21680, 953, 834, 23330, 834, 25828, 4674, 11300, 272, 476, 96, 9824, 7, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which round had Michael Schumacher in the pole position, David Coulthard with the fastest lap, and McLaren - Mercedes as the winning constructor?
CREATE TABLE table_1132600_3 (round VARCHAR, winning_constructor VARCHAR, pole_position VARCHAR, fastest_lap VARCHAR)
SELECT COUNT(round) FROM table_1132600_3 WHERE pole_position = "Michael Schumacher" AND fastest_lap = "David Coulthard" AND winning_constructor = "McLaren - Mercedes"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2668, 6007, 834, 519, 41, 7775, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 6, 11148, 834, 4718, 584, 4280, 28027, 6, 10391, 834, 8478, 584, 4280, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 2596, 2668, 6007, 834, 519, 549, 17444, 427, 11148, 834, 4718, 3274, 96, 329, 362, 9, 15, 40, 6824, 24113, 121, 3430, 10391, 834, 8478, 3274, 96, 308, 9, 6961, 638, 83, ...
Who is the player who went to Stanford?
CREATE TABLE table_name_8 (player VARCHAR, school_club_team VARCHAR)
SELECT player FROM table_name_8 WHERE school_club_team = "stanford"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 20846, 584, 4280, 28027, 6, 496, 834, 13442, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 1959, 113, 877, 12, 19796, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1959, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 496, 834, 13442, 834, 11650, 3274, 96, 5627, 2590, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the number of patients admitted before 2184 who had overdose as their primary disease?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "OVERDOSE" AND demographic.admityear < "2184"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 23288, 308, 22177, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 2...
What is the average public debt % of GDP in 2013 Q1 of the country with a member slate sorted by GDP of Czech Republic and a GDP per capita in PPP US dollars in 2012 greater than 27,191?
CREATE TABLE table_name_7 ( public_debt__percentage_of_gdp__2013_q1_ INTEGER, member_state_sorted_by_gdp VARCHAR, gdp_per_capita_in_ppp_us$__2012_ VARCHAR )
SELECT AVG(public_debt__percentage_of_gdp__2013_q1_) FROM table_name_7 WHERE member_state_sorted_by_gdp = "czech republic" AND gdp_per_capita_in_ppp_us$__2012_ > 27 OFFSET 191
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 452, 834, 221, 115, 17, 834, 834, 883, 3728, 545, 834, 858, 834, 122, 26, 102, 834, 834, 11138, 834, 1824, 536, 834, 3, 21342, 17966, 6, 1144, 834, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15727, 834, 221, 115, 17, 834, 834, 883, 3728, 545, 834, 858, 834, 122, 26, 102, 834, 834, 11138, 834, 1824, 536, 834, 61, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 1144, 834, 5540, 834, 14...
Bar chart x axis duration y axis how many duration, display by the y axis in asc.
CREATE TABLE musical ( Musical_ID int, Name text, Year int, Award text, Category text, Nominee text, Result text ) CREATE TABLE actor ( Actor_ID int, Name text, Musical_ID int, Character text, Duration text, age int )
SELECT Duration, COUNT(Duration) FROM actor GROUP BY Duration ORDER BY COUNT(Duration)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4183, 41, 22307, 834, 4309, 16, 17, 6, 5570, 1499, 6, 2929, 16, 17, 6, 3677, 1499, 6, 17459, 1499, 6, 465, 8695, 15, 1499, 6, 3, 20119, 1499, 3, 61, 3, 32102, 32103, 32102, 205, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20610, 6, 2847, 17161, 599, 12998, 2661, 61, 21680, 7556, 350, 4630, 6880, 272, 476, 20610, 4674, 11300, 272, 476, 2847, 17161, 599, 12998, 2661, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is total population of Saint-Agapit (code 33045)?
CREATE TABLE table_11037 ( "Code" real, "Type" text, "Name" text, "Area (km 2 )" real, "Population" real, "Regional County Municipality" text, "Region" real )
SELECT SUM("Region") FROM table_11037 WHERE "Name" = 'saint-agapit' AND "Code" < '33045'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19277, 4118, 41, 96, 22737, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 188, 864, 41, 5848, 204, 3, 61, 121, 490, 6, 96, 27773, 7830, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 17748, 23, 106, 8512, 21680, 953, 834, 19277, 4118, 549, 17444, 427, 96, 23954, 121, 3274, 3, 31, 7, 9, 77, 17, 18, 4711, 5230, 31, 3430, 96, 22737, 121, 3, 2, 3, 31, 17225, 2128, 31, 1, -...
when the vacator was Henry Latimer (f), what were the causes for modification?
CREATE TABLE table_224840_3 (reason_for_change VARCHAR, vacator VARCHAR)
SELECT reason_for_change FROM table_224840_3 WHERE vacator = "Henry Latimer (F)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 26311, 834, 519, 41, 864, 739, 834, 1161, 834, 13073, 584, 4280, 28027, 6, 3, 8938, 1016, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 116, 8, 3, 8938, 1016, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1053, 834, 1161, 834, 13073, 21680, 953, 834, 24622, 26311, 834, 519, 549, 17444, 427, 3, 8938, 1016, 3274, 96, 566, 35, 651, 325, 715, 52, 41, 371, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give the diagnosis of subject id 64208.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT diagnoses.short_title FROM diagnoses WHERE diagnoses.subject_id = "64208"
[ 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, 18730, 7, 5, 7, 14184, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 7304, 11827, 834, 23, 26, 3274, 96, 4389, 23946, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
tell me the number of patients with abdominal pain primary disease who were hospitalized for more than 16 days.
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 WHERE demographic.diagnosis = "ABDOMINAL PAIN" AND demographic.days_stay > "16"
[ 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, 5359, 27415, 21116, 434, 276, 13570, 121, 3430, 14798, 5, 1135, 7, 834...
What is the grid total associated with a Time/Retired of +33.634, and a Laps smaller than 19?
CREATE TABLE table_71709 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time/Retired" text, "Grid" real )
SELECT MIN("Grid") FROM table_71709 WHERE "Time/Retired" = '+33.634' AND "Laps" < '19'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 940, 2517, 4198, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 87, 1649, 11809, 26, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 13313, 26, 8512, 21680, 953, 834, 940, 2517, 4198, 549, 17444, 427, 96, 13368, 87, 1649, 11809, 26, 121, 3274, 3, 31, 1220, 519, 23074, 3710, 31, 3430, 96, 3612, 102, 7, 121, 3, 2, 3, 31, 229...
What are the names of customers with accounts, and what are the total savings balances for each?
CREATE TABLE accounts ( custid number, name text ) CREATE TABLE checking ( custid number, balance number ) CREATE TABLE savings ( custid number, balance number )
SELECT SUM(T2.balance), T1.name FROM accounts AS T1 JOIN savings AS T2 ON T1.custid = T2.custid GROUP BY T1.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3744, 41, 123, 2248, 26, 381, 6, 564, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6450, 41, 123, 2248, 26, 381, 6, 2109, 381, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 382, 4416, 3849, 663, 201, 332, 5411, 4350, 21680, 3744, 6157, 332, 536, 3, 15355, 3162, 5051, 6157, 332, 357, 9191, 332, 5411, 1071, 2248, 26, 3274, 332, 4416, 1071, 2248, 26, 350, 4630, 6880, 272, ...
What is the relationship between Credits and DNO ?
CREATE TABLE Department ( DNO INTEGER, Division VARCHAR(2), DName VARCHAR(25), Room VARCHAR(5), Building VARCHAR(13), DPhone INTEGER ) CREATE TABLE Enrolled_in ( StuID INTEGER, CID VARCHAR(7), Grade VARCHAR(2) ) CREATE TABLE Course ( CID VARCHAR(7), CName VARCHAR(40), C...
SELECT Credits, DNO FROM Course ORDER BY Credits
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1775, 41, 309, 7400, 3, 21342, 17966, 6, 6022, 584, 4280, 28027, 16426, 6, 309, 23954, 584, 4280, 28027, 599, 1828, 201, 4181, 584, 4280, 28027, 15757, 6, 5450, 584, 4280, 28027, 599, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6529, 7, 6, 309, 7400, 21680, 8670, 4674, 11300, 272, 476, 6529, 7, 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, -1...
Which club has a 2nd round score of 1:0, 3:0?
CREATE TABLE table_6668 ( "Season" text, "Competition" text, "Round" text, "Club" text, "Score" text )
SELECT "Club" FROM table_6668 WHERE "Round" = '2nd round' AND "Score" = '1:0, 3:0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 3651, 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, 134, 9022, 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, 254, 11158, 121, 21680, 953, 834, 3539, 3651, 549, 17444, 427, 96, 448, 32, 1106, 121, 3274, 3, 31, 357, 727, 1751, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 536, 10, 632, 6, 220, 10, 632, 31, 1, -100, -1...