NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Name the hanja for hangul of
CREATE TABLE table_name_77 ( hanja VARCHAR, hangul VARCHAR )
SELECT hanja FROM table_name_77 WHERE hangul = "주"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4013, 41, 3, 2618, 1191, 584, 4280, 28027, 6, 5168, 83, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 3, 2618, 1191, 21, 5168, 83, 13, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2618, 1191, 21680, 953, 834, 4350, 834, 4013, 549, 17444, 427, 5168, 83, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the date for l 89–92 (ot)
CREATE TABLE table_23284271_11 (date VARCHAR, score VARCHAR)
SELECT date FROM table_23284271_11 WHERE score = "L 89–92 (OT)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 4165, 4450, 834, 2596, 41, 5522, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 833, 21, 3, 40, 3, 3914, 104, 4508, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2773, 2577, 4165, 4450, 834, 2596, 549, 17444, 427, 2604, 3274, 96, 434, 3, 3914, 104, 4508, 41, 6951, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Bronze, when Nation is 'South Africa', and when Total is less than 20?
CREATE TABLE table_name_73 ( bronze INTEGER, nation VARCHAR, total VARCHAR )
SELECT MAX(bronze) FROM table_name_73 WHERE nation = "south africa" AND total < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 13467, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 20841, 6, 116, 110...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 13711, 776, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 2982, 3274, 96, 7, 670, 107, 24040, 121, 3430, 792, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What college did hunter henry go to?
CREATE TABLE table_10728 ( "Player" text, "Position" text, "School" text, "Hometown" text, "College" text )
SELECT "College" FROM table_10728 WHERE "Player" = 'hunter henry'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18057, 2577, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 29364, 121, 1499, 6, 96, 19040, 3540, 121, 1499, 6, 96, 9939, 7883, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9939, 7883, 121, 21680, 953, 834, 18057, 2577, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 107, 5957, 3, 3225, 651, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many winners have st kilda score at 14.11.95?
CREATE TABLE table_74256 ( "Year" real, "Round" real, "Winner" text, "Hawthorn score" text, "St Kilda score" text, "Attendance" real, "Venue" text, "Silk-Miller Medallist" text )
SELECT COUNT("Winner") FROM table_74256 WHERE "St Kilda score" = '14.11.95'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 19337, 41, 96, 476, 2741, 121, 490, 6, 96, 448, 32, 1106, 121, 490, 6, 96, 18455, 687, 121, 1499, 6, 96, 566, 9, 210, 17, 6293, 2604, 121, 1499, 6, 96, 134, 17, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 18455, 687, 8512, 21680, 953, 834, 4581, 19337, 549, 17444, 427, 96, 134, 17, 12672, 26, 9, 2604, 121, 3274, 3, 31, 2534, 5, 10032, 3301, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the total number of McCain vote totals where Obama percentages was 17.34%?
CREATE TABLE table_20684390_1 ( mccain_number VARCHAR, obama_percentage VARCHAR )
SELECT COUNT(mccain_number) FROM table_20684390_1 WHERE obama_percentage = "17.34%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3651, 4906, 2394, 834, 536, 41, 3, 51, 12464, 77, 834, 5525, 1152, 584, 4280, 28027, 6, 3, 32, 115, 265, 9, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 51, 12464, 77, 834, 5525, 1152, 61, 21680, 953, 834, 1755, 3651, 4906, 2394, 834, 536, 549, 17444, 427, 3, 32, 115, 265, 9, 834, 883, 3728, 545, 3274, 96, 536, 27914, 5988, 121, 1, -100, -100, -1...
What are the points against with a points difference?
CREATE TABLE table_name_34 ( points_against VARCHAR, points_difference VARCHAR )
SELECT points_against FROM table_name_34 WHERE points_difference = "points difference"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 979, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 979, 834, 26, 99, 11788, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 979, 581...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 979, 834, 9, 16720, 7, 17, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 979, 834, 26, 99, 11788, 3274, 96, 2700, 7, 1750, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the total number of silver medals won by russia , norway , and sweden combined ?
CREATE TABLE table_204_761 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT SUM("silver") FROM table_204_761 WHERE "nation" IN ('russia', 'norway', 'sweden')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3959, 536, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 173, 624, 8512, 21680, 953, 834, 26363, 834, 3959, 536, 549, 17444, 427, 96, 29, 257, 121, 3388, 41, 31, 26165, 31, 6, 3, 31, 29, 127, 1343, 31, 6, 3, 31, 7, 1123, 537, 31, 61, 1, -10...
Tell me the digital for tuner of thomson dtt75105
CREATE TABLE table_name_91 (digital VARCHAR, tuner VARCHAR)
SELECT digital FROM table_name_91 WHERE tuner = "thomson dtt75105"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 9206, 138, 584, 4280, 28027, 6, 5240, 49, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 1125, 21, 5240, 49, 13, 3, 17, 10207, 739,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1125, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 5240, 49, 3274, 96, 17, 10207, 739, 3, 26, 17, 17, 3072, 12869, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What shows for miles [One Way] when the fans took 340?
CREATE TABLE table_name_89 (one_way VARCHAR, miles_ INTEGER, fans_took VARCHAR)
SELECT AVG(miles_)[one_way] FROM table_name_89 WHERE fans_took = "340"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3914, 41, 782, 834, 1343, 584, 4280, 28027, 6, 2286, 834, 3, 21342, 17966, 6, 2675, 834, 235, 1825, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1267,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 8770, 7, 834, 61, 6306, 782, 834, 1343, 908, 21680, 953, 834, 4350, 834, 3914, 549, 17444, 427, 2675, 834, 235, 1825, 3274, 96, 21129, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many patients whose death status is 0 and year of birth is less than 2167?
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 prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.expire_flag = "0" AND demographic.dob_year < "2167"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 994, 2388, 15, 834, 89, 5430, 3274, 96, 632, 121, 3430, 14798, 5, 26, 32, 115, 834, 1201, 3, 2...
What series episode has stetson hats (part 1) under segment C?
CREATE TABLE table_name_22 ( series_ep VARCHAR, segment_c VARCHAR )
SELECT series_ep FROM table_name_22 WHERE segment_c = "stetson hats (part 1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 939, 834, 15, 102, 584, 4280, 28027, 6, 5508, 834, 75, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 939, 5640, 65, 14099, 739, 3, 547, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 939, 834, 15, 102, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 5508, 834, 75, 3274, 96, 849, 17, 739, 3, 547, 7, 41, 2274, 8925, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average tourism receipts in millions of US dollars in 2011 with less than 1.141 million of 2011 tourist arrivals and more than 1,449 tourism receipts in 2011 US dollars per arrival?
CREATE TABLE table_64548 ( "Country" text, "Tourist arrivals (2011) (Millions)" real, "Tourism receipts (2011) (Millions of US$)" real, "Tourism receipts (2011) (US$ per arrival)" real, "Tourism receipts (2011) (US$ per capita)" real, "Tourism receipts (2003) (as % of GDP)" text, "Tourism re...
SELECT AVG("Tourism receipts (2011) (Millions of US$)") FROM table_64548 WHERE "Tourist arrivals (2011) (Millions)" < '1.141' AND "Tourism receipts (2011) (US$ per arrival)" > '1,449'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 2128, 3707, 41, 96, 10628, 651, 121, 1499, 6, 96, 382, 1211, 343, 6870, 7, 25163, 41, 329, 14916, 7, 61, 121, 490, 6, 96, 3696, 459, 7, 51, 8958, 7, 25163, 41, 329...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 3696, 459, 7, 51, 8958, 7, 25163, 41, 329, 14916, 7, 13, 837, 3229, 61, 8512, 21680, 953, 834, 948, 2128, 3707, 549, 17444, 427, 96, 382, 1211, 343, 6870, 7, 25163, 41, 329, 14916, 7, 61, 12...
Name the number of ends lost for 6 stolen ends
CREATE TABLE table_26745426_2 ( Ends VARCHAR, stolen_ends VARCHAR )
SELECT COUNT(Ends) AS lost FROM table_26745426_2 WHERE stolen_ends = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 4581, 5062, 2688, 834, 357, 41, 3720, 7, 584, 4280, 28027, 6, 14244, 834, 989, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 381, 13, 5542, 1513...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 8532, 26, 7, 61, 6157, 1513, 21680, 953, 834, 2688, 4581, 5062, 2688, 834, 357, 549, 17444, 427, 14244, 834, 989, 7, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
When marshmallow cookies is segment b what episode is it on netflix?
CREATE TABLE table_1195 ( "Series Ep." text, "Episode" real, "Netflix" text, "Segment A" text, "Segment B" text, "Segment C" text, "Segment D" text )
SELECT "Netflix" FROM table_1195 WHERE "Segment B" = 'Marshmallow Cookies'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3301, 41, 96, 12106, 7, 10395, 535, 1499, 6, 96, 427, 102, 159, 32, 221, 121, 490, 6, 96, 9688, 89, 17591, 121, 1499, 6, 96, 134, 15, 122, 297, 71, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9688, 89, 17591, 121, 21680, 953, 834, 2596, 3301, 549, 17444, 427, 96, 134, 15, 122, 297, 272, 121, 3274, 3, 31, 7286, 7, 107, 51, 18912, 15929, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What notes did the creature comforts film have?
CREATE TABLE table_35179 ( "Year" real, "Title" text, "Director" text, "Writer" text, "Notes" text )
SELECT "Notes" FROM table_35179 WHERE "Title" = 'creature comforts'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 26593, 41, 96, 476, 2741, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 24965, 49, 121, 1499, 6, 96, 10358, 15, 7, 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, 0, 0...
[ 3, 23143, 14196, 96, 10358, 15, 7, 121, 21680, 953, 834, 2469, 26593, 549, 17444, 427, 96, 382, 155, 109, 121, 3274, 3, 31, 5045, 9, 2693, 2115, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the number of patients whose diagnoses short title is sed,hyp,anxiolyt dep-con and drug type is additive?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE diagnoses.short_title = "Sed,hyp,anxiolyt dep-con" AND prescriptions.drug_type = "ADDITIVE"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What is the home team's score when richmond is away?
CREATE TABLE table_name_87 (home_team VARCHAR, away_team VARCHAR)
SELECT home_team AS score FROM table_name_87 WHERE away_team = "richmond"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5515, 834, 11650, 584, 4280, 28027, 6, 550, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 234, 372, 31, 7, 2604, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 550, 834, 11650, 3274, 96, 3723, 6764, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Left Office, when Party is 'UDC', and when Took Office is '11 June 2001'?
CREATE TABLE table_47620 ( "Portfolio" text, "Minister" text, "Took office" text, "Left office" text, "Party" text )
SELECT "Left office" FROM table_47620 WHERE "Party" = 'udc' AND "Took office" = '11 june 2001'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 26898, 41, 96, 14714, 8047, 32, 121, 1499, 6, 96, 12858, 5805, 121, 1499, 6, 96, 3696, 1825, 828, 121, 1499, 6, 96, 2796, 89, 17, 828, 121, 1499, 6, 96, 13725, 63, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2796, 89, 17, 828, 121, 21680, 953, 834, 4177, 26898, 549, 17444, 427, 96, 13725, 63, 121, 3274, 3, 31, 76, 26, 75, 31, 3430, 96, 3696, 1825, 828, 121, 3274, 3, 31, 2596, 3, 6959, 15, 4402, 31, 1, -100, -1...
Name the english gloss for naháŋȟčiŋ
CREATE TABLE table_1499791_2 (english_gloss VARCHAR, southern_lakota VARCHAR)
SELECT english_gloss FROM table_1499791_2 WHERE southern_lakota = "naháŋȟčiŋ"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24816, 4327, 4729, 834, 357, 41, 4606, 40, 1273, 834, 9680, 7, 7, 584, 4280, 28027, 6, 7518, 834, 521, 15414, 9, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 834, 9680, 7, 7, 21680, 953, 834, 24816, 4327, 4729, 834, 357, 549, 17444, 427, 7518, 834, 521, 15414, 9, 3274, 96, 8607, 2975, 2, 23, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
how many urban areas have a density below 2,500 ?
CREATE TABLE table_203_74 ( id number, "rank" number, "urban area" text, "population\n(2001 census)" number, "area (km2)" number, "density (people/km2)" number, "major subdivisions" text, "metropolitan area" text )
SELECT COUNT("urban area") FROM table_203_74 WHERE "density (people/km2)" < 2500
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 4581, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 19413, 616, 121, 1499, 6, 96, 9791, 7830, 2, 29, 599, 23658, 23087, 61, 121, 381, 6, 96, 498, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 19413, 616, 8512, 21680, 953, 834, 23330, 834, 4581, 549, 17444, 427, 96, 537, 7, 485, 41, 16588, 87, 5848, 7318, 121, 3, 2, 204, 2560, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which start has 32 as the finish and laps more than 6?
CREATE TABLE table_67139 ( "Year" text, "Start" text, "Qual" text, "Rank" text, "Finish" text, "Laps" real )
SELECT "Start" FROM table_67139 WHERE "Finish" = '32' AND "Laps" > '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 24090, 41, 96, 476, 2741, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 5991, 138, 121, 1499, 6, 96, 22557, 121, 1499, 6, 96, 371, 77, 1273, 121, 1499, 6, 96, 361...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7681, 17, 121, 21680, 953, 834, 3708, 24090, 549, 17444, 427, 96, 371, 77, 1273, 121, 3274, 3, 31, 2668, 31, 3430, 96, 3612, 102, 7, 121, 2490, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
What was the result of events held at Nor Elverum, prior to 2010?
CREATE TABLE table_name_22 ( result VARCHAR, year VARCHAR, venue VARCHAR )
SELECT result FROM table_name_22 WHERE year < 2010 AND venue = "nor elverum"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 741, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 984, 1213, 44, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 215, 3, 2, 2735, 3430, 5669, 3274, 96, 29, 127, 3, 15, 40, 624, 440, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which venue was number 9 for 2004?
CREATE TABLE table_name_45 ( venue VARCHAR, position_in_2004 VARCHAR )
SELECT venue FROM table_name_45 WHERE position_in_2004 = "9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 5669, 584, 4280, 28027, 6, 1102, 834, 77, 834, 21653, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 47, 381, 668, 21, 4406, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 1102, 834, 77, 834, 21653, 3274, 96, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHich Proto-Polynesian has a Number of five?
CREATE TABLE table_name_69 (proto_polynesian VARCHAR, number VARCHAR)
SELECT proto_polynesian FROM table_name_69 WHERE number = "five"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3951, 41, 1409, 235, 834, 3233, 63, 29, 15, 10488, 584, 4280, 28027, 6, 381, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3, 15313, 362, 749, 235, 18, 89...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 23844, 834, 3233, 63, 29, 15, 10488, 21680, 953, 834, 4350, 834, 3951, 549, 17444, 427, 381, 3274, 96, 16443, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of wins with a 0 F.L., 0 poles, a position of 7th, and 35 points?
CREATE TABLE table_76663 ( "Season" text, "Series" text, "Team Name" text, "Races" text, "Wins" text, "Poles" text, "F.L." text, "Podiums" text, "Points" text, "Position" text )
SELECT "Wins" FROM table_76663 WHERE "F.L." = '0' AND "Poles" = '0' AND "Position" = '7th' AND "Points" = '35'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3959, 3539, 519, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 5570, 121, 1499, 6, 96, 448, 9, 2319, 121, 1499, 6, 96, 18455, 7, 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, 18455, 7, 121, 21680, 953, 834, 3959, 3539, 519, 549, 17444, 427, 96, 371, 5, 434, 535, 3274, 3, 31, 632, 31, 3430, 96, 8931, 15, 7, 121, 3274, 3, 31, 632, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 3...
How many pages were in the book by Stefano D'Arrigo?
CREATE TABLE table_name_39 ( page_count VARCHAR, author VARCHAR )
SELECT page_count FROM table_name_39 WHERE author = "stefano d'arrigo"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 543, 834, 13362, 584, 4280, 28027, 6, 2291, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1688, 130, 16, 8, 484, 57, 14189, 32, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 543, 834, 13362, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 2291, 3274, 96, 7, 24018, 32, 3, 26, 31, 10269, 839, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the Attendance on Week 9?
CREATE TABLE table_46134 ( "Week" real, "Date" text, "Opponent" text, "Result" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_46134 WHERE "Week" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 23747, 41, 96, 518, 10266, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4448, 23747, 549, 17444, 427, 96, 518, 10266, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the opponent at the week 6 game?
CREATE TABLE table_name_52 (opponent VARCHAR, week VARCHAR)
SELECT opponent FROM table_name_52 WHERE week = 6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 32, 102, 9977, 584, 4280, 28027, 6, 471, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 44, 8, 471, 431, 467, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 471, 3274, 431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the acreage of the Maghereen in the civil parish of Macroom?
CREATE TABLE table_30120761_1 ( area__acres__ VARCHAR, civil_parish VARCHAR, townland VARCHAR )
SELECT COUNT(area__acres__) FROM table_30120761_1 WHERE civil_parish = "Macroom" AND townland = "Maghereen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25626, 26426, 4241, 834, 536, 41, 616, 834, 834, 10610, 7, 834, 834, 584, 4280, 28027, 6, 3095, 834, 1893, 1273, 584, 4280, 28027, 6, 1511, 40, 232, 584, 4280, 28027, 3, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 498, 834, 834, 10610, 7, 834, 834, 61, 21680, 953, 834, 25626, 26426, 4241, 834, 536, 549, 17444, 427, 3095, 834, 1893, 1273, 3274, 96, 17772, 3082, 121, 3430, 1511, 40, 232, 3274, 96, 22909, 88, 6...
What is the result of the ajc craven plate (wfa) race?
CREATE TABLE table_name_88 (result VARCHAR, race VARCHAR)
SELECT result FROM table_name_88 WHERE race = "ajc craven plate (wfa)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 60, 7, 83, 17, 584, 4280, 28027, 6, 1964, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 741, 13, 8, 3, 9, 354, 75, 27825, 29, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1964, 3274, 96, 9, 354, 75, 27825, 29, 3829, 41, 210, 89, 9, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the whole of Drawn that has a Lost of 4?
CREATE TABLE table_name_33 ( drawn INTEGER, lost VARCHAR )
SELECT SUM(drawn) FROM table_name_33 WHERE lost = 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 6796, 3, 21342, 17966, 6, 1513, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 829, 13, 19183, 29, 24, 65, 3, 9, 19576, 13, 314,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 19489, 29, 61, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 1513, 3274, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was France's highest score when the venue was Bokskogens?
CREATE TABLE table_71267 ( "Year" real, "Venue" text, "Winner" text, "Country" text, "Score" real )
SELECT MAX("Score") FROM table_71267 WHERE "Country" = 'france' AND "Venue" = 'bokskogens'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4450, 357, 3708, 41, 96, 476, 2741, 121, 490, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 134, 9022, 8512, 21680, 953, 834, 4450, 357, 3708, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 89, 5219, 31, 3430, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 22483, 17869, 729, 7, 31, 1, ...
who directed the episode james clavell wrote?
CREATE TABLE table_2626495_1 (directed_by VARCHAR, written_by VARCHAR)
SELECT directed_by FROM table_2626495_1 WHERE written_by = "James Clavell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 26755, 3301, 834, 536, 41, 22955, 834, 969, 584, 4280, 28027, 6, 1545, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 113, 6640, 8, 5640, 7620, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6640, 834, 969, 21680, 953, 834, 2688, 26755, 3301, 834, 536, 549, 17444, 427, 1545, 834, 969, 3274, 96, 683, 9, 2687, 7781, 162, 195, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many Laps have a Grid larger than 9, and a Time/Retired of +32.354?
CREATE TABLE table_name_87 ( laps VARCHAR, grid VARCHAR, time_retired VARCHAR )
SELECT COUNT(laps) FROM table_name_87 WHERE grid > 9 AND time_retired = "+32.354"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 14941, 7, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 325, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 8478, 7, 61, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 8634, 2490, 668, 3430, 97, 834, 10682, 1271, 3274, 96, 1220, 2668, 5, 2469, 20364, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
What's the 2009 of the Australian Open having a 1R in 2011?
CREATE TABLE table_name_56 ( tournament VARCHAR )
SELECT 2009 FROM table_name_56 WHERE 2011 = "1r" AND tournament = "australian open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 2464, 13, 8, 3746, 2384, 578, 3, 9, 209, 448, 16, 2722, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2464, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2722, 3274, 96, 536, 52, 121, 3430, 5892, 3274, 96, 402, 3109, 9928, 539, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who was the first elected for the republican party?
CREATE TABLE table_name_82 ( first_elected VARCHAR, party VARCHAR )
SELECT first_elected FROM table_name_82 WHERE party = "republican"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 166, 834, 19971, 584, 4280, 28027, 6, 1088, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 166, 8160, 21, 8, 20237, 152, 1088, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 166, 834, 19971, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1088, 3274, 96, 60, 15727, 152, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which club has 1 cap?
CREATE TABLE table_53814 ( "Player" text, "Position" text, "Date of Birth (Age)" text, "Caps" real, "Club/province" text )
SELECT "Club/province" FROM table_53814 WHERE "Caps" = '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 3747, 2534, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 308, 342, 13, 26337, 41, 188, 397, 61, 121, 1499, 6, 96, 19566, 7, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 254, 11158, 87, 1409, 2494, 565, 121, 21680, 953, 834, 755, 3747, 2534, 549, 17444, 427, 96, 19566, 7, 121, 3274, 3, 31, 536, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the record for November 26, with the decision made by Prusek?
CREATE TABLE table_name_44 (record VARCHAR, decision VARCHAR, date VARCHAR)
SELECT record FROM table_name_44 WHERE decision = "prusek" AND date = "november 26"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 60, 7621, 584, 4280, 28027, 6, 1357, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1368, 21, 1671, 13597, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1368, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 1357, 3274, 96, 12129, 7, 15, 157, 121, 3430, 833, 3274, 96, 5326, 18247, 2208, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Year saw the Production of Wicked at the Helpmann Awards Award ceremony?
CREATE TABLE table_name_13 (year VARCHAR, production VARCHAR, award_ceremony VARCHAR)
SELECT year FROM table_name_13 WHERE production = "wicked" AND award_ceremony = "helpmann awards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2368, 41, 1201, 584, 4280, 28027, 6, 999, 584, 4280, 28027, 6, 2760, 834, 2110, 15, 21208, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 2929, 1509, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 4350, 834, 2368, 549, 17444, 427, 999, 3274, 96, 5981, 15, 26, 121, 3430, 2760, 834, 2110, 15, 21208, 3274, 96, 15061, 2434, 6120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which original operator is in the 25nc class?
CREATE TABLE table_name_65 ( original_operator VARCHAR, class VARCHAR )
SELECT original_operator FROM table_name_65 WHERE class = "25nc"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 926, 834, 32, 883, 1016, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 926, 7221, 19, 16, 8, 944, 29, 75, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 32, 883, 1016, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 853, 3274, 96, 1828, 29, 75, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the result of Bridgeview, Illinois?
CREATE TABLE table_name_33 ( result VARCHAR, venue VARCHAR )
SELECT result FROM table_name_33 WHERE venue = "bridgeview, illinois"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4201, 41, 741, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 741, 13, 6132, 4576, 6, 7659, 58, 1, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 4201, 549, 17444, 427, 5669, 3274, 96, 9818, 4576, 6, 3, 1092, 77, 32, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
When ellery and frankie are the couple what is the highest total?
CREATE TABLE table_23248 ( "Rank" real, "Couple" text, "Judges" real, "Public" real, "Total" real, "Vote percentage" text, "Result" text )
SELECT MAX("Total") FROM table_23248 WHERE "Couple" = 'Ellery and Frankie'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23188, 3707, 41, 96, 22557, 121, 490, 6, 96, 3881, 413, 109, 121, 1499, 6, 96, 683, 13164, 7, 121, 490, 6, 96, 30931, 121, 490, 6, 96, 3696, 1947, 121, 490, 6, 96, 553,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 3696, 1947, 8512, 21680, 953, 834, 23188, 3707, 549, 17444, 427, 96, 3881, 413, 109, 121, 3274, 3, 31, 427, 195, 4203, 11, 4937, 23, 15, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What percentage of hispanics are there when the free/reduced lunch percentage is 81.4?
CREATE TABLE table_14754471_1 (hispanic___percentage_ VARCHAR, free_reduced_lunch___percentage_ VARCHAR)
SELECT hispanic___percentage_ FROM table_14754471_1 WHERE free_reduced_lunch___percentage_ = "81.4"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 3072, 3628, 4450, 834, 536, 41, 10193, 2837, 447, 834, 834, 834, 883, 3728, 545, 834, 584, 4280, 28027, 6, 339, 834, 60, 12160, 26, 834, 40, 202, 524, 834, 834, 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, 112, 2837, 447, 834, 834, 834, 883, 3728, 545, 834, 21680, 953, 834, 2534, 3072, 3628, 4450, 834, 536, 549, 17444, 427, 339, 834, 60, 12160, 26, 834, 40, 202, 524, 834, 834, 834, 883, 3728, 545, 834, 3274, 96, 495...
What is the s B share for the shareholder that has 2.55 percent of votes?
CREATE TABLE table_73213 ( "Shareholder" text, "s A share" real, "s B share" real, "Percent of capital" text, "Percent of votes" text )
SELECT MAX("s B share") FROM table_73213 WHERE "Percent of votes" = '2.55'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4552, 357, 2368, 41, 96, 24501, 5235, 121, 1499, 6, 96, 7, 71, 698, 121, 490, 6, 96, 7, 272, 698, 121, 490, 6, 96, 12988, 3728, 13, 1784, 121, 1499, 6, 96, 12988, 3728,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 7, 272, 698, 8512, 21680, 953, 834, 4552, 357, 2368, 549, 17444, 427, 96, 12988, 3728, 13, 11839, 121, 3274, 3, 31, 15967, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the smallest number of assists for Ben Duggan with less than 7 points?
CREATE TABLE table_name_17 ( assists INTEGER, name VARCHAR, points VARCHAR )
SELECT MIN(assists) FROM table_name_17 WHERE name = "ben duggan" AND points < 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 13041, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 17924, 381, 13, 13041,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6500, 7, 17, 7, 61, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 564, 3274, 96, 115, 35, 146, 122, 2565, 121, 3430, 979, 3, 2, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the number of patients whose age is less than 56 and admission year is less than 2111?
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.age < "56" AND demographic.admityear < "2111"
[ 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, 545, 3, 2, 96, 4834, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, 96, 357, 15866, 121, 1, -100,...
who got the third position when laranja kyoto got the second position?
CREATE TABLE table_24513 ( "Regional" text, "Champions" text, "Runners-up" text, "Third place" text, "Fourth place" text )
SELECT "Third place" FROM table_24513 WHERE "Runners-up" = 'Laranja Kyoto'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2128, 2368, 41, 96, 17748, 6318, 121, 1499, 6, 96, 3541, 4624, 2865, 121, 1499, 6, 96, 23572, 7, 18, 413, 121, 1499, 6, 96, 382, 9288, 26, 286, 121, 1499, 6, 96, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 9288, 26, 286, 121, 21680, 953, 834, 357, 2128, 2368, 549, 17444, 427, 96, 23572, 7, 18, 413, 121, 3274, 3, 31, 3612, 2002, 1191, 31329, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What series has 1935-07-13 as the release date?
CREATE TABLE table_66388 ( "Title" text, "Series" text, "Director" text, "Production Num." text, "Release date" text )
SELECT "Series" FROM table_66388 WHERE "Release date" = '1935-07-13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3539, 519, 4060, 41, 96, 382, 155, 109, 121, 1499, 6, 96, 12106, 7, 121, 1499, 6, 96, 23620, 127, 121, 1499, 6, 96, 3174, 8291, 1174, 51, 535, 1499, 6, 96, 1649, 40, 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, 12106, 7, 121, 21680, 953, 834, 3539, 519, 4060, 549, 17444, 427, 96, 1649, 40, 14608, 833, 121, 3274, 3, 31, 2294, 2469, 18, 4560, 13056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many solar eclipse during June 10-11 and march 27-29 is 149?
CREATE TABLE table_25287007_2 (june_10_11 VARCHAR, march_27_29 VARCHAR)
SELECT june_10_11 FROM table_25287007_2 WHERE march_27_29 = "149"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2577, 9295, 940, 834, 357, 41, 6959, 15, 834, 1714, 834, 2596, 584, 4280, 28027, 6, 10556, 834, 2555, 834, 3166, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 6959, 15, 834, 1714, 834, 2596, 21680, 953, 834, 1828, 2577, 9295, 940, 834, 357, 549, 17444, 427, 10556, 834, 2555, 834, 3166, 3274, 96, 24816, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
serum creatinine consistently > 1.6 mg / dl;
CREATE TABLE table_train_242 ( "id" int, "macroalbuminuria" bool, "hyperlipidemia" bool, "fasting_serum_triglycerides" int, "fasting_ldl_cholesterol" int, "panel_reactive_antibodies" int, "serum_creatinine" float, "albumin" float, "body_mass_index_bmi" float, "fasting_serum_chole...
SELECT * FROM table_train_242 WHERE serum_creatinine > 1.6
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 2266, 357, 41, 96, 23, 26, 121, 16, 17, 6, 96, 51, 9, 2771, 23703, 77, 459, 9, 121, 3, 12840, 40, 6, 96, 13397, 49, 19437, 11658, 121, 3, 12840, 40, 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, 1429, 21680, 953, 834, 9719, 834, 2266, 357, 549, 17444, 427, 20725, 834, 5045, 144, 77, 630, 2490, 3, 15062, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For those records from the products and each product's manufacturer, give me the comparison about the average of code over the name , and group by attribute name, order from high to low by the names.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T1.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T1.Name ORDER BY T1.Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 2...
what is the winter olympics year when the fis nordic world ski championships is 1976?
CREATE TABLE table_48210 ( "Winner" text, "Country" text, "Winter Olympics" real, "FIS Nordic World Ski Championships" text, "Holmenkollen" text )
SELECT "Winter Olympics" FROM table_48210 WHERE "FIS Nordic World Ski Championships" = '1976'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 15239, 41, 96, 18455, 687, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 518, 3870, 17793, 121, 490, 6, 96, 4936, 134, 24207, 1150, 7409, 7666, 7, 121, 1499, 6, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 518, 3870, 17793, 121, 21680, 953, 834, 3707, 15239, 549, 17444, 427, 96, 4936, 134, 24207, 1150, 7409, 7666, 7, 121, 3274, 3, 31, 2294, 3959, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the total number of votes McCain had in Webster?
CREATE TABLE table_20722805_1 (mccain_number INTEGER, parish VARCHAR)
SELECT MAX(mccain_number) FROM table_20722805_1 WHERE parish = "Webster"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 5865, 2577, 3076, 834, 536, 41, 51, 12464, 77, 834, 5525, 1152, 3, 21342, 17966, 6, 14961, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 51, 12464, 77, 834, 5525, 1152, 61, 21680, 953, 834, 1755, 5865, 2577, 3076, 834, 536, 549, 17444, 427, 14961, 3274, 96, 15805, 1370, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose drug name is bisoprolol fumarate?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "bisoprolol fumarate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
What is the school code of the accounting department?
CREATE TABLE professor ( emp_num number, dept_code text, prof_office text, prof_extension text, prof_high_degree text ) CREATE TABLE department ( dept_code text, dept_name text, school_code text, emp_num number, dept_address text, dept_extension text ) CREATE TABLE enroll (...
SELECT school_code FROM department WHERE dept_name = "Accounting"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5812, 41, 8943, 834, 5525, 381, 6, 20, 102, 17, 834, 4978, 1499, 6, 7108, 834, 19632, 1499, 6, 7108, 834, 994, 13177, 1499, 6, 7108, 834, 6739, 834, 19706, 1499, 3, 61, 3, 32102, 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, 496, 834, 4978, 21680, 3066, 549, 17444, 427, 20, 102, 17, 834, 4350, 3274, 96, 31963, 53, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What country got accolades in 2002?
CREATE TABLE table_name_46 (country VARCHAR, year VARCHAR)
SELECT country FROM table_name_46 WHERE year = 2002
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 17529, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 684, 530, 30022, 7, 16, 4407, 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, 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, 684, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 215, 3274, 4407, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
How many rounds did Virginia have?
CREATE TABLE table_20860739_1 ( round VARCHAR, college VARCHAR )
SELECT round FROM table_20860739_1 WHERE college = "Virginia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3840, 4560, 3288, 834, 536, 41, 1751, 584, 4280, 28027, 6, 1900, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 14419, 410, 5382, 43, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1751, 21680, 953, 834, 1755, 3840, 4560, 3288, 834, 536, 549, 17444, 427, 1900, 3274, 96, 21031, 122, 77, 23, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Score, when High Points is 'Luis Scola (18)', and when High Rebounds is 'Luis Scola (11)'?
CREATE TABLE table_49214 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Score" FROM table_49214 WHERE "High points" = 'luis scola (18)' AND "High rebounds" = 'luis scola (11)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 27357, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3647, 27357, 549, 17444, 427, 96, 21417, 979, 121, 3274, 3, 31, 2878, 7, 3, 7, 12600, 9323, 61, 31, 3430, 96, 21417, 3, 23768, 121, 3274, 3, 31, 2878, 7, 3, 7, 12600, 4077, ...
What set 2 has 15:33 as the time?
CREATE TABLE table_7540 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text, "Report" text )
SELECT "Set 2" FROM table_7540 WHERE "Time" = '15:33'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2445, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 17175, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17175, 204, 121, 21680, 953, 834, 3072, 2445, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 1808, 10, 4201, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who sang for the movie Amar Deep?
CREATE TABLE table_2528382_5 ( singer VARCHAR, movie_album VARCHAR )
SELECT singer FROM table_2528382_5 WHERE movie_album = "Amar Deep"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 2577, 3747, 357, 834, 755, 41, 7634, 584, 4280, 28027, 6, 1974, 834, 23703, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 9965, 21, 8, 1974, 71, 1635, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7634, 21680, 953, 834, 1828, 2577, 3747, 357, 834, 755, 549, 17444, 427, 1974, 834, 23703, 3274, 96, 188, 1635, 9509, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Tell me the highest launced for trn
CREATE TABLE table_name_1 ( launched INTEGER, name VARCHAR )
SELECT MAX(launched) FROM table_name_1 WHERE name = "trn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 536, 41, 3759, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 2030, 50, 202, 565, 26, 21, 3, 17, 52, 29, 1, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27493, 15, 26, 61, 21680, 953, 834, 4350, 834, 536, 549, 17444, 427, 564, 3274, 96, 17, 52, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Please show the themes of competitions with host cities having populations larger than 1000.
CREATE TABLE city (City_ID VARCHAR, Population INTEGER); CREATE TABLE farm_competition (Theme VARCHAR, Host_city_ID VARCHAR)
SELECT T2.Theme FROM city AS T1 JOIN farm_competition AS T2 ON T1.City_ID = T2.Host_city_ID WHERE T1.Population > 1000
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 690, 41, 254, 485, 834, 4309, 584, 4280, 28027, 6, 29659, 3, 21342, 17966, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3797, 834, 287, 4995, 4749, 41, 634, 526, 584, 4280,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 634, 526, 21680, 690, 6157, 332, 536, 3, 15355, 3162, 3797, 834, 287, 4995, 4749, 6157, 332, 357, 9191, 332, 5411, 254, 485, 834, 4309, 3274, 332, 4416, 566, 3481, 834, 6726, 834, 4309, 549, 17444, 427, 3...
what's current club with height being 2.09
CREATE TABLE table_12962773_1 ( current_club VARCHAR, height VARCHAR )
SELECT current_club FROM table_12962773_1 WHERE height = "2.09"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 4314, 2555, 4552, 834, 536, 41, 750, 834, 13442, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 750, 1886, 28, 3902, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 750, 834, 13442, 21680, 953, 834, 2122, 4314, 2555, 4552, 834, 536, 549, 17444, 427, 3902, 3274, 96, 4416, 4198, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the first_name by a bar chart, and list in desc by the X.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal...
SELECT FIRST_NAME, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY FIRST_NAME DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, ...
Give the list of patients with an abnormal lab test status who had a magnesium lab test.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) ...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE lab.flag = "abnormal" AND lab.label = "Magnesium"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Who was South Melbourne's away team opponents?
CREATE TABLE table_name_70 (away_team VARCHAR, home_team VARCHAR)
SELECT away_team FROM table_name_70 WHERE home_team = "south melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 8006, 834, 11650, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 1013, 9396, 31, 7, 550, 372, 16383...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 550, 834, 11650, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 234, 834, 11650, 3274, 96, 7, 670, 107, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
List the names of departments where some physicians are primarily affiliated with.
CREATE TABLE affiliated_with (department VARCHAR); CREATE TABLE department (name VARCHAR, departmentid VARCHAR)
SELECT DISTINCT T2.name FROM affiliated_with AS T1 JOIN department AS T2 ON T1.department = T2.departmentid WHERE PrimaryAffiliation = 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18273, 834, 4065, 41, 221, 2274, 297, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 4350, 584, 4280, 28027, 6, 3066, 23, 26, 584, 4280, 28027, 61...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 332, 4416, 4350, 21680, 18273, 834, 4065, 6157, 332, 536, 3, 15355, 3162, 3066, 6157, 332, 357, 9191, 332, 5411, 221, 2274, 297, 3274, 332, 4416, 221, 2274, 297, 23, 26, 549, 17444, 427, 14542, ...
What stadium was the game held in when the final score was 17-31?
CREATE TABLE table_name_88 ( stadium VARCHAR, final_score VARCHAR )
SELECT stadium FROM table_name_88 WHERE final_score = "17-31"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 14939, 584, 4280, 28027, 6, 804, 834, 7, 9022, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 14939, 47, 8, 467, 1213, 16, 116, 8, 804, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14939, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 804, 834, 7, 9022, 3274, 96, 2517, 18, 3341, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the diameter in km of the feature with a longitude of 40.2E?
CREATE TABLE table_16799784_8 (diameter__km_ VARCHAR, longitude VARCHAR)
SELECT diameter__km_ FROM table_16799784_8 WHERE longitude = "40.2E"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 4440, 21441, 591, 834, 927, 41, 26, 23, 9, 4401, 834, 834, 5848, 834, 584, 4280, 28027, 6, 307, 20341, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 9260, 834, 834, 5848, 834, 21680, 953, 834, 2938, 4440, 21441, 591, 834, 927, 549, 17444, 427, 307, 20341, 3274, 96, 591, 18189, 427, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is 1984, when 1979 is '1R'?
CREATE TABLE table_43504 ( "Tournament" text, "1978" text, "1979" text, "1980" text, "1982" text, "1983" text, "1984" text, "1985" text, "1986" text, "1987" text, "1988" text, "1989" text, "1990" text, "1991" text, "1992" text, "Career SR" text )
SELECT "1984" FROM table_43504 WHERE "1979" = '1r'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 1752, 591, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 2294, 3940, 121, 1499, 6, 96, 2294, 4440, 121, 1499, 6, 96, 2294, 2079, 121, 1499, 6, 96, 2294, 4613, 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, 24151, 20364, 21680, 953, 834, 4906, 1752, 591, 549, 17444, 427, 96, 2294, 4440, 121, 3274, 3, 31, 536, 52, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Position has a League from of western hockey league, and a Team from of everett silvertips?
CREATE TABLE table_name_90 (position VARCHAR, league_from VARCHAR, team_from VARCHAR)
SELECT position FROM table_name_90 WHERE league_from = "western hockey league" AND team_from = "everett silvertips"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 4718, 584, 4280, 28027, 6, 5533, 834, 7152, 584, 4280, 28027, 6, 372, 834, 7152, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 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, 1102, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 5533, 834, 7152, 3274, 96, 24411, 16528, 5533, 121, 3430, 372, 834, 7152, 3274, 96, 3258, 15, 17, 17, 4294, 11537, 7, 121, 1, -100, -100, -100, -100, -100, -1...
How many victors where there in the War of 1730 1736 , first stage?
CREATE TABLE table_27063 ( "Name of the war" text, "Ottoman sultan" text, "Persian shah" text, "Treaty at the end of the war" text, "Victor" text )
SELECT COUNT("Victor") FROM table_27063 WHERE "Name of the war" = 'War of 1730–1736 , first stage'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 17485, 3891, 41, 96, 23954, 13, 8, 615, 121, 1499, 6, 96, 667, 17, 235, 348, 3, 7, 83, 17, 152, 121, 1499, 6, 96, 12988, 10488, 6660, 9, 107, 121, 1499, 6, 96, 382, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 553, 23, 5317, 8512, 21680, 953, 834, 17485, 3891, 549, 17444, 427, 96, 23954, 13, 8, 615, 121, 3274, 3, 31, 21032, 13, 1003, 1458, 104, 2517, 3420, 3, 6, 166, 1726, 31, 1, -100, -100, -100,...
Which country placed t5?
CREATE TABLE table_name_6 (country VARCHAR, place VARCHAR)
SELECT country FROM table_name_6 WHERE place = "t5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 17529, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 2681, 3, 17, 755, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 286, 3274, 96, 17, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who had a time of 56.07?
CREATE TABLE table_68611 ( "Rank" real, "Lane" real, "Name" text, "Nationality" text, "Time" real )
SELECT "Name" FROM table_68611 WHERE "Time" = '56.07'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4241, 536, 41, 96, 22557, 121, 490, 6, 96, 434, 152, 15, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 13368, 121, 490, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 23954, 121, 21680, 953, 834, 3651, 4241, 536, 549, 17444, 427, 96, 13368, 121, 3274, 3, 31, 4834, 5, 4560, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
find out the time of admission and procedure icd9 code of patient with patient id 4589.
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT demographic.admittime, procedures.icd9_code FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.subject_id = "4589"
[ 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, 14798, 5, 20466, 17, 715, 6, 4293, 5, 447, 26, 1298, 834, 4978, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444, 427, 14798,...
Name the total number directed by for uk viewers being 6.86
CREATE TABLE table_18012738_1 (directed_by VARCHAR, uk_viewers__million_ VARCHAR)
SELECT COUNT(directed_by) FROM table_18012738_1 WHERE uk_viewers__million_ = "6.86"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20829, 22367, 3747, 834, 536, 41, 22955, 834, 969, 584, 4280, 28027, 6, 3, 1598, 834, 4576, 277, 834, 834, 17030, 834, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 22955, 834, 969, 61, 21680, 953, 834, 20829, 22367, 3747, 834, 536, 549, 17444, 427, 3, 1598, 834, 4576, 277, 834, 834, 17030, 834, 3274, 96, 948, 5, 3840, 121, 1, -100, -100, -100, -100, -100, -10...
give me the number of patients whose drug name is morphine sulfate?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE prescriptions.drug = "Morphine Sulfate"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 18730, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
When cary middlecoff is the winner how many pars are there?
CREATE TABLE table_2417741_1 ( par VARCHAR, winner VARCHAR )
SELECT COUNT(par) FROM table_2417741_1 WHERE winner = "Cary Middlecoff"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 26793, 4853, 834, 536, 41, 260, 584, 4280, 28027, 6, 4668, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 443, 63, 2214, 75, 1647, 19, 8, 4668, 149, 186...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1893, 61, 21680, 953, 834, 2266, 26793, 4853, 834, 536, 549, 17444, 427, 4668, 3274, 96, 254, 1208, 4551, 75, 1647, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many years were recorded when world ranking was 21st?
CREATE TABLE table_19948664_2 ( index__year_ VARCHAR, world_ranking__1_ VARCHAR )
SELECT COUNT(index__year_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 41, 5538, 834, 834, 1201, 834, 584, 4280, 28027, 6, 296, 834, 6254, 53, 834, 834, 536, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 18288, 834, 834, 1201, 834, 61, 21680, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 549, 17444, 427, 296, 834, 6254, 53, 834, 834, 536, 834, 3274, 96, 2658, 7, 17, 121, 1, -100, -100, -100, -100, ...
What is the nickname of Columbia University?
CREATE TABLE table_49963 ( "Institution" text, "Location" text, "Nickname" text, "Enrollment" text, "Established" real )
SELECT "Nickname" FROM table_49963 WHERE "Institution" = 'columbia university'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3264, 3891, 41, 96, 1570, 17448, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 567, 3142, 4350, 121, 1499, 6, 96, 8532, 4046, 297, 121, 1499, 6, 96, 14997, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 567, 3142, 4350, 121, 21680, 953, 834, 591, 3264, 3891, 549, 17444, 427, 96, 1570, 17448, 121, 3274, 3, 31, 3297, 5937, 23, 9, 3819, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Rick Plant was the man of the match in what competition?
CREATE TABLE table_49588 ( "Date" text, "Opponent" text, "Venue" text, "Result" text, "Attendance" real, "Competition" text, "Man of the Match" text )
SELECT "Competition" FROM table_49588 WHERE "Man of the Match" = 'rick plant'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3301, 4060, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 188, 17, 324, 26, 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, 5890, 4995, 4749, 121, 21680, 953, 834, 591, 3301, 4060, 549, 17444, 427, 96, 7296, 13, 8, 12296, 121, 3274, 3, 31, 5206, 1475, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What points has points for as points for?
CREATE TABLE table_name_25 (points VARCHAR, points_for VARCHAR)
SELECT points FROM table_name_25 WHERE points_for = "points for"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1828, 41, 2700, 7, 584, 4280, 28027, 6, 979, 834, 1161, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 979, 65, 979, 21, 38, 979, 21, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 1828, 549, 17444, 427, 979, 834, 1161, 3274, 96, 2700, 7, 21, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the Home team score when the crowd was larger than 12,240 and Carlton was the away team?
CREATE TABLE table_55963 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Home team score" FROM table_55963 WHERE "Crowd" > '12,240' AND "Away team" = 'carlton'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4314, 519, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 372, 2604, 121, 21680, 953, 834, 3769, 4314, 519, 549, 17444, 427, 96, 254, 3623, 26, 121, 2490, 3, 31, 2122, 6, 11944, 31, 3430, 96, 188, 1343, 372, 121, 3274, 3, 31, 1720, 7377, 31, 1, -100, -100, -...
What was Barreto's song choice where the original artist was Patricia Marx?
CREATE TABLE table_27614571_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_27614571_1 WHERE original_artist = "Patricia Marx"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4241, 2128, 4450, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 926, 834, 1408, 343, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 1386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 834, 3995, 867, 21680, 953, 834, 2555, 4241, 2128, 4450, 834, 536, 549, 17444, 427, 926, 834, 1408, 343, 3274, 96, 20742, 4915, 23024, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
in which season did gunter thiebaut score the most goals ?
CREATE TABLE table_203_835 ( id number, "season" text, "club" text, "country" text, "competition" text, "apps." number, "goals" number )
SELECT "season" FROM table_203_835 ORDER BY "goals" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 927, 2469, 41, 3, 23, 26, 381, 6, 96, 9476, 121, 1499, 6, 96, 13442, 121, 1499, 6, 96, 17529, 121, 1499, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 3096, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 9476, 121, 21680, 953, 834, 23330, 834, 927, 2469, 4674, 11300, 272, 476, 96, 839, 5405, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
A bar chart about how many students live in each city?, I want to rank by the x axis in asc.
CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Allergy_Type ( Allergy VARCHAR(20), AllergyType VARCHAR(20) ) CREATE TABLE Has_Allergy ( StuID INTEGE...
SELECT city_code, COUNT(*) FROM Student GROUP BY city_code ORDER BY city_code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 3, 21342, 17966, 6, 301, 23954, 584, 4280, 28027, 599, 2122, 201, 377, 4350, 584, 4280, 28027, 599, 2122, 201, 7526, 3, 21342, 17966, 6, 679, 226, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 834, 4978, 6, 2847, 17161, 599, 1935, 61, 21680, 6341, 350, 4630, 6880, 272, 476, 690, 834, 4978, 4674, 11300, 272, 476, 690, 834, 4978, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total attendance of the match with a 1:2 score?
CREATE TABLE table_name_92 ( attendance VARCHAR, score VARCHAR )
SELECT COUNT(attendance) FROM table_name_92 WHERE score = "1:2"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 11364, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 11364, 13, 8, 1588, 28, 3, 9, 30651, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 2604, 3274, 96, 536, 10, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the Category before 1995?
CREATE TABLE table_name_19 ( category VARCHAR, year INTEGER )
SELECT category FROM table_name_19 WHERE year < 1995
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2294, 41, 3295, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 17459, 274, 7273, 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, 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, 3295, 21680, 953, 834, 4350, 834, 2294, 549, 17444, 427, 215, 3, 2, 7273, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is procedure short title of procedure icd9 code 540?
CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) C...
SELECT procedures.short_title FROM procedures WHERE procedures.icd9_code = "540"
[ 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, 4293, 5, 7, 14184, 834, 21869, 21680, 4293, 549, 17444, 427, 4293, 5, 447, 26, 1298, 834, 4978, 3274, 96, 25379, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show me a bar chart for what are the ids and trade names of the medicine that can interact with at least 3 enzymes?, list by the X-axis from high to low.
CREATE TABLE medicine ( id int, name text, Trade_Name text, FDA_approved text ) CREATE TABLE enzyme ( id int, name text, Location text, Product text, Chromosome text, OMIM int, Porphyria text ) CREATE TABLE medicine_enzyme_interaction ( enzyme_id int, medicine_id in...
SELECT Trade_Name, id FROM medicine AS T1 JOIN medicine_enzyme_interaction AS T2 ON T2.medicine_id = T1.id ORDER BY Trade_Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4404, 41, 3, 23, 26, 16, 17, 6, 564, 1499, 6, 6550, 834, 23954, 1499, 6, 13648, 834, 24496, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 15735, 41, 3, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 6550, 834, 23954, 6, 3, 23, 26, 21680, 4404, 6157, 332, 536, 3, 15355, 3162, 4404, 834, 35, 4164, 526, 834, 3870, 4787, 6157, 332, 357, 9191, 332, 4416, 29368, 834, 23, 26, 3274, 332, 5411, 23, 26, 4674, 11300, 27...
For those products with a price between 60 and 120, draw a scatter chart about the correlation between code and price , and group by attribute name.
CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL ) CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER )
SELECT Code, Price FROM Products WHERE Price BETWEEN 60 AND 120 GROUP BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15248, 7, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 3642, 19973, 584, 4280, 28027, 599, 25502, 201, 3, 19145, 584, 4280, 28027, 599, 25502, 201, 19764, 17833...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3636, 6, 5312, 21680, 7554, 549, 17444, 427, 5312, 272, 7969, 518, 23394, 1640, 3430, 5864, 350, 4630, 6880, 272, 476, 5570, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
order all gas station locations by the opening year.
CREATE TABLE station_company ( station_id number, company_id number, rank_of_the_year number ) CREATE TABLE company ( company_id number, rank number, company text, headquarters text, main_industry text, sales_billion number, profits_billion number, assets_billion number, ...
SELECT location FROM gas_station ORDER BY open_year
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2478, 834, 29179, 41, 2478, 834, 23, 26, 381, 6, 349, 834, 23, 26, 381, 6, 11003, 834, 858, 834, 532, 834, 1201, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 34...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1807, 834, 6682, 4674, 11300, 272, 476, 539, 834, 1201, 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, -10...
When was the microprocessor with 1.65 1.7 v, a mult of 4.5 , and a slot 1 socket released?
CREATE TABLE table_name_43 ( release_date VARCHAR, socket VARCHAR, voltage VARCHAR, mult VARCHAR )
SELECT release_date FROM table_name_43 WHERE voltage = "1.65–1.7 v" AND mult = "4.5×" AND socket = "slot 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 1576, 834, 5522, 584, 4280, 28027, 6, 16197, 584, 4280, 28027, 6, 10594, 584, 4280, 28027, 6, 980, 584, 4280, 28027, 3, 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, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1576, 834, 5522, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 10594, 3274, 96, 15062, 755, 104, 18596, 3, 208, 121, 3430, 980, 3274, 96, 12451, 2, 121, 3430, 16197, 3274, 96, 7, 3171, 209, 121, 1, -100, -100, ...
Who had high assists in game number 9?
CREATE TABLE table_3841 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "High assists" FROM table_3841 WHERE "Game" = '9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 4853, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, 3, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 21417, 13041, 121, 21680, 953, 834, 3747, 4853, 549, 17444, 427, 96, 23055, 121, 3274, 3, 31, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the lowest population of the county with an area (km ) of 565.39 and a population density less than 23.54?
CREATE TABLE table_6292 ( "County" text, "Area (acres)" text, "Area (km\u00b2)" real, "Population" real, "Population Density (per km 2 )" real )
SELECT MIN("Population") FROM table_6292 WHERE "Area (km\u00b2)" = '565.39' AND "Population Density (per km 2 )" < '23.54'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 4508, 41, 96, 10628, 63, 121, 1499, 6, 96, 188, 864, 41, 10610, 7, 61, 121, 1499, 6, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 490, 6, 96, 27773, 7830,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 27773, 7830, 8512, 21680, 953, 834, 4056, 4508, 549, 17444, 427, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 3274, 3, 31, 4834, 9125, 3288, 31, 3430, 96, 27773, 7830, 3128, 7, 485, 41,...
For all employees who have the letters D or S in their first name, return a bar chart about the distribution of job_id and the sum of manager_id , and group by attribute job_id.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), ...
SELECT JOB_ID, SUM(MANAGER_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 3...
what is the road numbers when the class is z-7?
CREATE TABLE table_name_66 ( road_numbers VARCHAR, class VARCHAR )
SELECT road_numbers FROM table_name_66 WHERE class = "z-7"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 1373, 834, 5525, 1152, 7, 584, 4280, 28027, 6, 853, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 1373, 2302, 116, 8, 853, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1373, 834, 5525, 1152, 7, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 853, 3274, 96, 172, 6832, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Tell me the shigella and yscn
CREATE TABLE table_name_15 ( shigella VARCHAR, yersinia VARCHAR )
SELECT shigella FROM table_name_15 WHERE yersinia = "yscn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1808, 41, 3, 5605, 122, 5303, 584, 4280, 28027, 6, 3, 63, 277, 77, 23, 9, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 8779, 140, 8, 3, 5605, 122, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 5605, 122, 5303, 21680, 953, 834, 4350, 834, 1808, 549, 17444, 427, 3, 63, 277, 77, 23, 9, 3274, 96, 63, 7, 75, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Year has a Nominee of stephen sondheim, and a Category of the best original score?
CREATE TABLE table_12681 ( "Year" real, "Award Ceremony" text, "Category" text, "Nominee" text, "Result" text )
SELECT "Year" FROM table_12681 WHERE "Nominee" = 'stephen sondheim' AND "Category" = 'best original score'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 21976, 4959, 41, 96, 476, 2741, 121, 490, 6, 96, 188, 2239, 31188, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 4168, 8695, 15, 121, 1499, 6, 96, 20119, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 21976, 4959, 549, 17444, 427, 96, 4168, 8695, 15, 121, 3274, 3, 31, 849, 19017, 520, 26, 3254, 31, 3430, 96, 18610, 6066, 651, 121, 3274, 3, 31, 9606, 926, 2604, 31, 1, -100, ...