NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
Who was the opponent when there was 81 rushing yards?
CREATE TABLE table_26108103_2 ( opponent VARCHAR, rushing_yards VARCHAR )
SELECT opponent FROM table_26108103_2 WHERE rushing_yards = 81
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 16169, 17864, 834, 357, 41, 15264, 584, 4280, 28027, 6, 3, 15842, 834, 6636, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 116, 132, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15264, 21680, 953, 834, 2688, 16169, 17864, 834, 357, 549, 17444, 427, 3, 15842, 834, 6636, 7, 3274, 3, 4959, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which championship had a final score of 6 4, 2 6, 6 4, 7 6(3)?
CREATE TABLE table_26209 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Partner" text, "Opponents in the final" text, "Score in the final" text )
SELECT "Championship" FROM table_26209 WHERE "Score in the final" = '6–4, 2–6, 6–4, 7–6(3)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 357, 4198, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 476, 2741, 121, 490, 6, 96, 254, 1483, 12364, 2009, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 13725, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1483, 12364, 2009, 121, 21680, 953, 834, 2688, 357, 4198, 549, 17444, 427, 96, 134, 9022, 16, 8, 804, 121, 3274, 3, 31, 948, 104, 8525, 204, 104, 11071, 431, 104, 8525, 489, 104, 948, 17867, 31, 1, -100, ...
Club aik had over 9 small silver medals and more than 8 bronze medals, how many total points did they have?
CREATE TABLE table_name_78 (points INTEGER, bronze VARCHAR, small_silver VARCHAR, club VARCHAR)
SELECT AVG(points) FROM table_name_78 WHERE small_silver > 9 AND club = "aik" AND bronze > 8
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 2700, 7, 3, 21342, 17966, 6, 13467, 584, 4280, 28027, 6, 422, 834, 7, 173, 624, 584, 4280, 28027, 6, 1886, 584, 4280, 28027, 61, 3, 32102, 32103, 32101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2700, 7, 61, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 422, 834, 7, 173, 624, 2490, 668, 3430, 1886, 3274, 96, 9, 23, 157, 121, 3430, 13467, 2490, 505, 1, -100, -100, -100, -100, -100, -10...
Find all actors who were born in ' New York City ' in 1984
CREATE TABLE classification ( id int, msid int, gid int ) CREATE TABLE made_by ( id int, msid int, pid int ) CREATE TABLE directed_by ( id int, msid int, did int ) CREATE TABLE copyright ( id int, msid int, cid int ) CREATE TABLE writer ( wid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE tags ( id int, msid int, kid int ) CREATE TABLE genre ( gid int, genre text ) CREATE TABLE written_by ( id int, msid int, wid int ) CREATE TABLE actor ( aid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE producer ( pid int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE director ( did int, gender text, name text, nationality text, birth_city text, birth_year int ) CREATE TABLE cast ( id int, msid int, aid int, role text ) CREATE TABLE movie ( mid int, title text, release_year int, title_aka text, budget text ) CREATE TABLE company ( id int, name text, country_code varchar ) CREATE TABLE keyword ( id int, keyword text ) CREATE TABLE tv_series ( sid int, title text, release_year int, num_of_seasons int, num_of_episodes int, title_aka text, budget text )
SELECT name FROM actor WHERE birth_city = 'New York City' AND birth_year = 1984
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 13774, 41, 3, 23, 26, 16, 17, 6, 3, 51, 7, 23, 26, 16, 17, 6, 3, 122, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 263, 834, 969, 41, 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, 564, 21680, 7556, 549, 17444, 427, 3879, 834, 6726, 3274, 3, 31, 6861, 1060, 896, 31, 3430, 3879, 834, 1201, 3274, 13480, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What number is the Canadian Grand Prix on the list?
CREATE TABLE table_16639 ( "Rd." real, "Grand Prix" text, "Pole Position" text, "Fastest Lap" text, "Winning Driver" text, "Constructor" text, "Report" text )
SELECT "Rd." FROM table_16639 WHERE "Grand Prix" = 'Canadian Grand Prix'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26811, 3288, 41, 96, 448, 26, 535, 490, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 8931, 15, 14258, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 121, 1499, 6, 96, 518, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 448, 26, 535, 21680, 953, 834, 26811, 3288, 549, 17444, 427, 96, 4744, 727, 12942, 121, 3274, 3, 31, 14050, 9, 8603, 2698, 12942, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
If the height is 185cm and the home team is Heaton Mersey, what is the date of birth?
CREATE TABLE table_22344463_2 (date_of_birth VARCHAR, height VARCHAR, home_team VARCHAR)
SELECT date_of_birth FROM table_22344463_2 WHERE height = "185cm" AND home_team = "Heaton Mersey"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 3710, 3628, 3891, 834, 357, 41, 5522, 834, 858, 834, 20663, 584, 4280, 28027, 6, 3902, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 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, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 833, 834, 858, 834, 20663, 21680, 953, 834, 2884, 3710, 3628, 3891, 834, 357, 549, 17444, 427, 3902, 3274, 96, 21594, 75, 51, 121, 3430, 234, 834, 11650, 3274, 96, 3845, 144, 106, 4039, 7, 15, 63, 121, 1, -100, -1...
how many time is the final record is 9 16 5?
CREATE TABLE table_26967 ( "Season" real, "Regular Season" text, "Playoffs" text, "U.S. Open Cup" text, "CONCACAF" text, "Final Record" text )
SELECT COUNT("Season") FROM table_26967 WHERE "Final Record" = '9–16–5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3951, 3708, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 17748, 4885, 7960, 121, 1499, 6, 96, 15800, 1647, 7, 121, 1499, 6, 96, 1265, 5, 134, 5, 2384, 3802, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 134, 15, 9, 739, 8512, 21680, 953, 834, 357, 3951, 3708, 549, 17444, 427, 96, 371, 10270, 11392, 121, 3274, 3, 31, 1298, 104, 2938, 104, 755, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
Which home had a record of 2-4?
CREATE TABLE table_13205 ( "Date" text, "Visitor" text, "Score" text, "Home" text, "Record" text )
SELECT "Home" FROM table_13205 WHERE "Record" = '2-4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 23201, 41, 96, 308, 342, 121, 1499, 6, 96, 553, 159, 155, 127, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 19040, 121, 21680, 953, 834, 2368, 23201, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 21432, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the rank of a result with a population of 99,962 in 2000?
CREATE TABLE table_69215 ( "Rank (CSA)" text, "State(s)" text, "2007 Estimate" text, "2000 Population" text, "Percent Change (1990\u20132000)" text )
SELECT "Rank (CSA)" FROM table_69215 WHERE "2000 Population" = '99,962'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 357, 1808, 41, 96, 22557, 41, 24135, 61, 121, 1499, 6, 96, 134, 4748, 599, 7, 61, 121, 1499, 6, 96, 20615, 23621, 15, 121, 1499, 6, 96, 13527, 29659, 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, 22557, 41, 24135, 61, 121, 21680, 953, 834, 3951, 357, 1808, 549, 17444, 427, 96, 13527, 29659, 121, 3274, 3, 31, 3264, 6, 4314, 357, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what was the score in the loss to tapani (0-1)?
CREATE TABLE table_name_39 ( score VARCHAR, loss VARCHAR )
SELECT score FROM table_name_39 WHERE loss = "tapani (0-1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 2604, 584, 4280, 28027, 6, 1453, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 47, 8, 2604, 16, 8, 1453, 12, 5011, 2738, 17482, 18, 6982...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 1453, 3274, 96, 8873, 2738, 17482, 18, 6982, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many reserves were established on 19740329 29.03.1974?
CREATE TABLE table_28236 ( "NSG Nr." real, "Name of the nature reserve" text, "District / Town" text, "Area (ha)" text, "Date established" text )
SELECT COUNT("NSG Nr.") FROM table_28236 WHERE "Date established" = '19740329 29.03.1974'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 357, 3420, 41, 96, 7369, 517, 16750, 535, 490, 6, 96, 23954, 13, 8, 1405, 7866, 121, 1499, 6, 96, 308, 23, 20066, 3, 87, 4463, 121, 1499, 6, 96, 188, 864, 41, 102...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 7369, 517, 16750, 5, 8512, 21680, 953, 834, 2577, 357, 3420, 549, 17444, 427, 96, 308, 342, 2127, 121, 3274, 3, 31, 2294, 4581, 4928, 3166, 2838, 5, 13267, 2294, 4581, 31, 1, -100, -100, -100,...
What round did the match at the Golden Trophy 1999 event end?
CREATE TABLE table_name_44 ( round INTEGER, event VARCHAR )
SELECT SUM(round) FROM table_name_44 WHERE event = "golden trophy 1999"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 1751, 3, 21342, 17966, 6, 605, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1751, 410, 8, 1588, 44, 8, 7100, 26912, 5247, 605, 414, 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, 180, 6122, 599, 7775, 61, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 605, 3274, 96, 14910, 35, 23921, 5247, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many words are there in rusyn for the bulgarian word (kupuva)?
CREATE TABLE table_28136_15 ( rusyn VARCHAR, bulgarian VARCHAR )
SELECT COUNT(rusyn) FROM table_28136_15 WHERE bulgarian = "купува (kupuva)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2577, 23459, 834, 1808, 41, 3, 4502, 63, 29, 584, 4280, 28027, 6, 25876, 6855, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1234, 33, 132, 16, 3, 4502,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2847, 17161, 599, 4502, 63, 29, 61, 21680, 953, 834, 2577, 23459, 834, 1808, 549, 17444, 427, 25876, 6855, 3274, 96, 25644, 2, 3700, 16624, 41, 2729, 4987, 900, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the cornerback from 1997?
CREATE TABLE table_name_42 (player_name VARCHAR, position VARCHAR, year VARCHAR)
SELECT player_name FROM table_name_42 WHERE position = "cornerback" AND year = 1997
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4165, 41, 20846, 834, 4350, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 275...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1959, 834, 4350, 21680, 953, 834, 4350, 834, 4165, 549, 17444, 427, 1102, 3274, 96, 13165, 49, 1549, 121, 3430, 215, 3274, 6622, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the set 5 if the Date is jun 7, and a Set 4 is 21-25?
CREATE TABLE table_name_65 ( set_5 VARCHAR, date VARCHAR, set_4 VARCHAR )
SELECT set_5 FROM table_name_65 WHERE date = "jun 7" AND set_4 = "21-25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 356, 834, 755, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 356, 834, 591, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 356, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 356, 834, 755, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 833, 3274, 96, 6959, 489, 121, 3430, 356, 834, 591, 3274, 96, 2658, 14855, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the earliest year that Yvette Alexander took office and was up for reelection after 2016?
CREATE TABLE table_name_70 (took_office INTEGER, name VARCHAR, up_for_reelection VARCHAR)
SELECT MIN(took_office) FROM table_name_70 WHERE name = "yvette alexander" AND up_for_reelection > 2016
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 235, 1825, 834, 19632, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 95, 834, 1161, 834, 60, 15, 12252, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 235, 1825, 834, 19632, 61, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 564, 3274, 96, 63, 19828, 1240, 226, 11849, 121, 3430, 95, 834, 1161, 834, 60, 15, 12252, 2490, 1421, 1, -100, -100, -100,...
What is the compression ratio for the 302-2v Windsor v8 engine?
CREATE TABLE table_name_41 ( compression_ratio VARCHAR, engine VARCHAR )
SELECT compression_ratio FROM table_name_41 WHERE engine = "302-2v windsor v8"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4853, 41, 16685, 834, 6850, 32, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16685, 5688, 21, 8, 604, 22451, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 16685, 834, 6850, 32, 21680, 953, 834, 4350, 834, 4853, 549, 17444, 427, 1948, 3274, 96, 1458, 22451, 208, 13551, 127, 3, 208, 927, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is result of the game at Arrowhead Stadium where the loser was the Kansas City Chiefs?
CREATE TABLE table_name_23 ( result VARCHAR, location VARCHAR, loser VARCHAR )
SELECT result FROM table_name_23 WHERE location = "arrowhead stadium" AND loser = "kansas city chiefs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 741, 584, 4280, 28027, 6, 1128, 584, 4280, 28027, 6, 2615, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 741, 13, 8, 467, 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, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 741, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 1128, 3274, 96, 6770, 3313, 14939, 121, 3430, 2615, 52, 3274, 96, 3304, 7, 9, 7, 690, 5752, 7, 121, 1, -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, visualize a bar chart about the distribution of hire_date and the sum of manager_id bin hire_date by time, could you rank by the total number of manager id from high to low?
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,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 regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) )
SELECT HIRE_DATE, SUM(MANAGER_ID) FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SUM(MANAGER_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 180, 6122, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549...
did the pune strykers or the karnataka lions have the highest win percentage ?
CREATE TABLE table_204_334 ( id number, "opposition" text, "matches" number, "won" number, "drawn" number, "lost" number, "for" number, "against" number, "win%" text )
SELECT "opposition" FROM table_204_334 WHERE "opposition" IN ('pune strykers', 'karnataka lions') ORDER BY "win%" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 519, 3710, 41, 3, 23, 26, 381, 6, 96, 29585, 121, 1499, 6, 96, 19515, 15, 7, 121, 381, 6, 96, 210, 106, 121, 381, 6, 96, 19489, 29, 121, 381, 6, 96, 2298,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29585, 121, 21680, 953, 834, 26363, 834, 519, 3710, 549, 17444, 427, 96, 29585, 121, 3388, 41, 31, 6225, 15, 3, 7, 8224, 11758, 31, 6, 3, 31, 4031, 29, 144, 5667, 3, 7325, 7, 31, 61, 4674, 11300, 272, 476, ...
Which team has Peak Fitness as the primary sponsor?
CREATE TABLE table_name_87 ( team VARCHAR, primary_sponsor_s_ VARCHAR )
SELECT team FROM table_name_87 WHERE primary_sponsor_s_ = "peak fitness"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 372, 584, 4280, 28027, 6, 2329, 834, 7, 5041, 7, 127, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 372, 65, 18996, 12117,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 372, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 2329, 834, 7, 5041, 7, 127, 834, 7, 834, 3274, 96, 14661, 4639, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Which spine has 12 issues?
CREATE TABLE table_38310 ( "Start month" text, "End month" text, "Cover" text, "Spine" text, "Indicia" text, "Masthead" text, "Number of issues" real )
SELECT "Spine" FROM table_38310 WHERE "Number of issues" = '12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3747, 19947, 41, 96, 7681, 17, 847, 121, 1499, 6, 96, 8532, 26, 847, 121, 1499, 6, 96, 254, 1890, 121, 1499, 6, 96, 134, 3180, 15, 121, 1499, 6, 96, 1570, 26, 1294, 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, 134, 3180, 15, 121, 21680, 953, 834, 3747, 19947, 549, 17444, 427, 96, 567, 5937, 49, 13, 807, 121, 3274, 3, 31, 2122, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who constructed olivier panis' car that retired after +1 lap?
CREATE TABLE table_name_4 ( constructor VARCHAR, time_retired VARCHAR, driver VARCHAR )
SELECT constructor FROM table_name_4 WHERE time_retired = "+1 lap" AND driver = "olivier panis"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 6774, 127, 584, 4280, 28027, 6, 97, 834, 10682, 1271, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 8520, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6774, 127, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 97, 834, 10682, 1271, 3274, 96, 18446, 14941, 121, 3430, 2535, 3274, 96, 4172, 5144, 2131, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Orbital period of 89 to 128 min has what specific orbital energy?
CREATE TABLE table_name_73 (specific_orbital_energy VARCHAR, orbital_period VARCHAR)
SELECT specific_orbital_energy FROM table_name_73 WHERE orbital_period = "89 to 128 min"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 9500, 834, 127, 2360, 138, 834, 24310, 584, 4280, 28027, 6, 15607, 138, 834, 4267, 32, 26, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 955, 2360...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 806, 834, 127, 2360, 138, 834, 24310, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 15607, 138, 834, 4267, 32, 26, 3274, 96, 3914, 12, 209, 2577, 3519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the howard bake when bush had 66%
CREATE TABLE table_39290 ( "Date" text, "Jurisdiction" text, "Ronald Reagan" text, "George H. W. Bush" text, "John B. Anderson" text, "Howard Baker" text, "John Connally" text, "Phil Crane" text, "Bob Dole" text )
SELECT "Howard Baker" FROM table_39290 WHERE "George H. W. Bush" = '66%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 23838, 41, 96, 308, 342, 121, 1499, 6, 96, 683, 459, 7, 12472, 121, 1499, 6, 96, 448, 9533, 26, 28088, 121, 1499, 6, 96, 31317, 454, 5, 549, 5, 8905, 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, 7825, 986, 10731, 121, 21680, 953, 834, 3288, 23838, 549, 17444, 427, 96, 31317, 454, 5, 549, 5, 8905, 121, 3274, 3, 31, 3539, 1454, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the total number of total for rank of 7 and bronze less than 1
CREATE TABLE table_name_68 ( total VARCHAR, rank VARCHAR, bronze VARCHAR )
SELECT COUNT(total) FROM table_name_68 WHERE rank = "7" AND bronze < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 792, 584, 4280, 28027, 6, 11003, 584, 4280, 28027, 6, 13467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 792, 381, 13, 792, 21, 11...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 11003, 3274, 96, 940, 121, 3430, 13467, 3, 2, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
WHAT IS THE PLAYER WITH A TO PAR OF E, AND SCORE OF 68-72=140?
CREATE TABLE table_45470 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Player" FROM table_45470 WHERE "To par" = 'e' AND "Score" = '68-72=140'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 27760, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 15800, 49, 121, 21680, 953, 834, 2128, 27760, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 15, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 3651, 18, 5865, 2423, 22012, 31, 1, -100, -100, -100, -100, -100, ...
During the competition at Port Elizabeth, where the opponent was Australia, what were the bowling figures?
CREATE TABLE table_name_43 ( bowling_figures_wickets_runs__overs_ VARCHAR, venue VARCHAR, versus VARCHAR )
SELECT bowling_figures_wickets_runs__overs_ FROM table_name_43 WHERE venue = "port elizabeth" AND versus = "australia"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 3047, 53, 834, 9178, 15, 7, 834, 5981, 15, 17, 7, 834, 4312, 7, 834, 834, 1890, 7, 834, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 6, 3, 8911, 58...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3047, 53, 834, 9178, 15, 7, 834, 5981, 15, 17, 7, 834, 4312, 7, 834, 834, 1890, 7, 834, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 5669, 3274, 96, 1493, 3, 15, 13287, 9, 346, 189, 121, 3430, 3, 8911, 3...
Who is the second member more recently than 1790 when John Williams is the first member?
CREATE TABLE table_name_10 ( second_member VARCHAR, year VARCHAR, first_member VARCHAR )
SELECT second_member FROM table_name_10 WHERE year > 1790 AND first_member = "john williams"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 511, 834, 12066, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 166, 834, 12066, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 511, 834, 12066, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 215, 2490, 1003, 2394, 3430, 166, 834, 12066, 3274, 96, 27341, 56, 23, 265, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
have a body mass index ( bmi ) > 45 kg / m2
CREATE TABLE table_train_277 ( "id" int, "gender" string, "cholesterol" float, "blood_platelet_counts" int, "creatinine_clearance_cl" float, "estimated_glomerular_filtration_rate_egfr" int, "severe_dyslipidemia" bool, "fasting_triglyceride" int, "body_mass_index_bmi" float, "triglyceride_tg" float, "NOUSE" float )
SELECT * FROM table_train_277 WHERE body_mass_index_bmi > 45
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 357, 4013, 41, 96, 23, 26, 121, 16, 17, 6, 96, 122, 3868, 121, 6108, 6, 96, 14297, 2613, 3491, 121, 3, 12660, 6, 96, 27798, 834, 17628, 1655, 834, 13362, 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, 1429, 21680, 953, 834, 9719, 834, 357, 4013, 549, 17444, 427, 643, 834, 2754, 7, 834, 18288, 834, 115, 51, 23, 2490, 3479, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees whose salary is in the range of 8000 and 12000 and commission is not null or department number does not equal to 40, give me the comparison about the average of manager_id over the hire_date bin hire_date by weekday by a bar chart, and could you sort by the Y-axis in ascending?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) )
SELECT HIRE_DATE, AVG(MANAGER_ID) FROM employees WHERE SALARY BETWEEN 8000 AND 12000 AND COMMISSION_PCT <> "null" OR DEPARTMENT_ID <> 40 ORDER BY AVG(MANAGER_ID)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 454, 14132, 834, 308, 6048, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 180, 4090, 24721, 272, 7969, 518, 23394, 3, 25129, 3430, 586, 2313, 3430, 3, 6657, 329, 16994, 9215, 834, ...
Name the most performances for geoffrey fitton
CREATE TABLE table_name_43 (performances INTEGER, role VARCHAR)
SELECT MAX(performances) FROM table_name_43 WHERE role = "geoffrey fitton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 18558, 7, 3, 21342, 17966, 6, 1075, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 7357, 21, 873, 15007, 63, 1400, 17, 106, 1, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 18558, 7, 61, 21680, 953, 834, 4350, 834, 4906, 549, 17444, 427, 1075, 3274, 96, 397, 15007, 63, 1400, 17, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Name the least transfers out when transfers is 21
CREATE TABLE table_17650725_1 (transfers_out INTEGER, total_transfers VARCHAR)
SELECT MIN(transfers_out) FROM table_17650725_1 WHERE total_transfers = 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 15348, 940, 1828, 834, 536, 41, 7031, 1010, 7, 834, 670, 3, 21342, 17966, 6, 792, 834, 7031, 1010, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 70...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 7031, 1010, 7, 834, 670, 61, 21680, 953, 834, 2517, 15348, 940, 1828, 834, 536, 549, 17444, 427, 792, 834, 7031, 1010, 7, 3274, 1401, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What team is from Lake Oval?
CREATE TABLE table_name_93 ( home_team VARCHAR, venue VARCHAR )
SELECT home_team FROM table_name_93 WHERE venue = "lake oval"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4271, 41, 234, 834, 11650, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 372, 19, 45, 2154, 411, 2165, 58, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 21680, 953, 834, 4350, 834, 4271, 549, 17444, 427, 5669, 3274, 96, 16948, 17986, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the id, the account name, and other account details for all accounts by the customer with first name 'Meaghan'.
CREATE TABLE Accounts (account_id VARCHAR, date_account_opened VARCHAR, account_name VARCHAR, other_account_details VARCHAR, customer_id VARCHAR); CREATE TABLE Customers (customer_id VARCHAR, customer_first_name VARCHAR)
SELECT T1.account_id, T1.date_account_opened, T1.account_name, T1.other_account_details FROM Accounts AS T1 JOIN Customers AS T2 ON T1.customer_id = T2.customer_id WHERE T2.customer_first_name = 'Meaghan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6288, 7, 41, 9, 75, 13362, 834, 23, 26, 584, 4280, 28027, 6, 833, 834, 9, 75, 13362, 834, 26940, 584, 4280, 28027, 6, 905, 834, 4350, 584, 4280, 28027, 6, 119, 834, 9, 75, 13362, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 9, 75, 13362, 834, 23, 26, 6, 332, 5411, 5522, 834, 9, 75, 13362, 834, 26940, 6, 332, 5411, 9, 75, 13362, 834, 4350, 6, 332, 5411, 9269, 834, 9, 75, 13362, 834, 221, 5756, 7, 21680, 6288, 7, 6157, 3...
Show sum of budget in each year and bin creation time by year in a line chart, sort by the x-axis from high to low.
CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real ) CREATE TABLE head ( head_ID int, name text, born_state text, age real )
SELECT Creation, SUM(Budget_in_Billions) FROM department ORDER BY Creation DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 3066, 834, 4309, 16, 17, 6, 819, 834, 4309, 16, 17, 6, 7234, 834, 2708, 53, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3066, 41, 1775, 834, 4309, 16...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 24589, 6, 180, 6122, 599, 279, 13164, 17, 834, 77, 834, 279, 14916, 7, 61, 21680, 3066, 4674, 11300, 272, 476, 24589, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the grade studying in room 105.
CREATE TABLE list ( lastname text, firstname text, grade number, classroom number ) CREATE TABLE teachers ( lastname text, firstname text, classroom number )
SELECT DISTINCT grade FROM list WHERE classroom = 105
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 570, 41, 336, 4350, 1499, 6, 166, 4350, 1499, 6, 2769, 381, 6, 4858, 381, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 3081, 41, 336, 4350, 1499, 6, 166, 4350, 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, 0...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 2769, 21680, 570, 549, 17444, 427, 4858, 3274, 3, 12869, 1, -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 4:00 pm, when 12:30 pm is 'Sunset Beach'?
CREATE TABLE table_13126 ( "7:30 am" text, "8:00 am" text, "9:00 am" text, "11:00 am" text, "noon" text, "12:30 pm" text, "1:00 pm" text, "1:30 pm" text, "2:00 pm" text, "3:30 pm" text, "4:00 pm" text, "4:30 pm" text, "5:00 pm" text, "6:30 pm" text )
SELECT "4:00 pm" FROM table_13126 WHERE "12:30 pm" = 'sunset beach'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 21976, 41, 96, 18078, 183, 121, 1499, 6, 96, 15692, 183, 121, 1499, 6, 96, 1298, 10, 1206, 183, 121, 1499, 6, 96, 536, 24294, 183, 121, 1499, 6, 96, 29, 32, 106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 591, 10, 1206, 6366, 121, 21680, 953, 834, 2368, 21976, 549, 17444, 427, 96, 536, 21876, 6366, 121, 3274, 3, 31, 7, 202, 2244, 2608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which driver drove car McLaren M23 at the Snetterton Circuit?
CREATE TABLE table_name_66 ( winning_driver VARCHAR, winning_car VARCHAR, circuit VARCHAR )
SELECT winning_driver FROM table_name_66 WHERE winning_car = "mclaren m23" AND circuit = "snetterton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3539, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 3447, 834, 1720, 584, 4280, 28027, 6, 4558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 2535...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 3539, 549, 17444, 427, 3447, 834, 1720, 3274, 96, 51, 23982, 35, 3, 51, 2773, 121, 3430, 4558, 3274, 96, 7, 10544, 24471, 121, 1, -100, -100, -100, -100, -100, -100,...
What was spent per voter when total amount spent was 210,280,000?
CREATE TABLE table_22097588_9 ( spent_per_voter___php__ VARCHAR, amount_spent___php__ VARCHAR )
SELECT spent_per_voter___php__ FROM table_22097588_9 WHERE amount_spent___php__ = "210,280,000"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2884, 4198, 3072, 4060, 834, 1298, 41, 1869, 834, 883, 834, 1621, 449, 834, 834, 834, 12786, 834, 834, 584, 4280, 28027, 6, 866, 834, 7, 102, 295, 834, 834, 834, 12786, 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, 1869, 834, 883, 834, 1621, 449, 834, 834, 834, 12786, 834, 834, 21680, 953, 834, 2884, 4198, 3072, 4060, 834, 1298, 549, 17444, 427, 866, 834, 7, 102, 295, 834, 834, 834, 12786, 834, 834, 3274, 96, 15239, 6, 357, ...
how many battles resulted between 3,000 and 4,200 estimated americans killed ?
CREATE TABLE table_202_102 ( id number, "battle, siege, or offensive" text, "conflict" text, "dates" text, "estimated number of americans killed" text )
SELECT COUNT("battle, siege, or offensive") FROM table_202_102 WHERE "estimated number of americans killed" > 3000 AND "estimated number of americans killed" < 4200
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 834, 14388, 41, 3, 23, 26, 381, 6, 96, 115, 9, 8692, 6, 680, 397, 6, 42, 12130, 121, 1499, 6, 96, 9707, 2176, 17, 121, 1499, 6, 96, 5522, 7, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 115, 9, 8692, 6, 680, 397, 6, 42, 12130, 8512, 21680, 953, 834, 19818, 834, 14388, 549, 17444, 427, 96, 3340, 51, 920, 381, 13, 10211, 7, 4792, 121, 2490, 220, 2313, 3430, 96, 3340, 51, 920,...
What is the finish of Mclaren chassis?
CREATE TABLE table_68549 ( "Year" real, "Chassis" text, "Engine" text, "Start" text, "Finish" text, "Entrant" text )
SELECT "Finish" FROM table_68549 WHERE "Chassis" = 'mclaren'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 755, 3647, 41, 96, 476, 2741, 121, 490, 6, 96, 3541, 6500, 7, 121, 1499, 6, 96, 31477, 121, 1499, 6, 96, 7681, 17, 121, 1499, 6, 96, 371, 77, 1273, 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, 371, 77, 1273, 121, 21680, 953, 834, 3651, 755, 3647, 549, 17444, 427, 96, 3541, 6500, 7, 121, 3274, 3, 31, 51, 23982, 35, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What are the maximum, minimum and average home games each stadium held?
CREATE TABLE stadium ( home_games INTEGER )
SELECT MAX(home_games), MIN(home_games), AVG(home_games) FROM stadium
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14939, 41, 234, 834, 7261, 7, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 2411, 6, 2559, 11, 1348, 234, 1031, 284, 14939, 1213, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 5515, 834, 7261, 7, 201, 3, 17684, 599, 5515, 834, 7261, 7, 201, 71, 17217, 599, 5515, 834, 7261, 7, 61, 21680, 14939, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Bar chart x axis competition y axis the total number, could you order by the Y from low to high?
CREATE TABLE match ( Match_ID int, Date text, Venue text, Score text, Result text, Competition text ) CREATE TABLE hosting_city ( Year int, Match_ID int, Host_City text ) CREATE TABLE city ( City_ID int, City text, Hanzi text, Hanyu_Pinyin text, Regional_Population int, GDP real ) CREATE TABLE temperature ( City_ID int, Jan real, Feb real, Mar real, Apr real, Jun real, Jul real, Aug real, Sep real, Oct real, Nov real, Dec real )
SELECT Competition, COUNT(*) FROM match GROUP BY Competition ORDER BY COUNT(*)
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1588, 41, 12296, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 17763, 1499, 6, 3, 20119, 1499, 6, 15571, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 4434...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 15571, 6, 2847, 17161, 599, 1935, 61, 21680, 1588, 350, 4630, 6880, 272, 476, 15571, 4674, 11300, 272, 476, 2847, 17161, 599, 1935, 61, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the value for model if processor is Kentsfield and brand name is Xeon?
CREATE TABLE table_2467150_2 (model__list_ VARCHAR, processor VARCHAR, brand_name VARCHAR)
SELECT model__list_ FROM table_2467150_2 WHERE processor = "Kentsfield" AND brand_name = "Xeon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 3708, 12278, 834, 357, 41, 21770, 834, 834, 3350, 834, 584, 4280, 28027, 6, 7502, 584, 4280, 28027, 6, 1056, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 825, 834, 834, 3350, 834, 21680, 953, 834, 2266, 3708, 12278, 834, 357, 549, 17444, 427, 7502, 3274, 96, 439, 295, 7, 1846, 121, 3430, 1056, 834, 4350, 3274, 96, 4, 15, 106, 121, 1, -100, -100, -100, -100, -100, -...
How many winners were there in the Georgia 1 district?
CREATE TABLE table_1342315_10 (first_elected VARCHAR, district VARCHAR)
SELECT COUNT(first_elected) FROM table_1342315_10 WHERE district = "Georgia 1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23747, 2773, 1808, 834, 1714, 41, 14672, 834, 19971, 584, 4280, 28027, 6, 3939, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 8969, 130, 132, 16, 8, 5664, 20...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14672, 834, 19971, 61, 21680, 953, 834, 23747, 2773, 1808, 834, 1714, 549, 17444, 427, 3939, 3274, 96, 517, 15, 1677, 23, 9, 209, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the location for illinois
CREATE TABLE table_1672976_7 (location VARCHAR, big_ten_team VARCHAR)
SELECT location FROM table_1672976_7 WHERE big_ten_team = "Illinois"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27650, 3166, 3959, 834, 940, 41, 14836, 584, 4280, 28027, 6, 600, 834, 324, 834, 11650, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1128, 21, 3, 1092, 77, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 27650, 3166, 3959, 834, 940, 549, 17444, 427, 600, 834, 324, 834, 11650, 3274, 96, 196, 195, 77, 32, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the unique block codes that have available rooms?
CREATE TABLE room (blockcode VARCHAR, unavailable VARCHAR)
SELECT DISTINCT blockcode FROM room WHERE unavailable = 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 562, 41, 10734, 4978, 584, 4280, 28027, 6, 24948, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 775, 2463, 5633, 24, 43, 347, 2801, 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, 3, 15438, 25424, 6227, 2463, 4978, 21680, 562, 549, 17444, 427, 24948, 3274, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
in 2104, patient 006-50368 was diagnosed for the first time with what?
CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT diagnosis.diagnosisname FROM diagnosis WHERE diagnosis.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '006-50368')) AND STRFTIME('%y', diagnosis.diagnosistime) = '2104' ORDER BY diagnosis.diagnosistime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1868, 41, 775, 12417, 1499, 6, 1868, 15878, 3734, 21545, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7285, 1499, 6, 1246, 1499, 6, 11655, 485, 1499, 6, 2833, 23, 26, 381, 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, 8209, 5, 25930, 4844, 159, 4350, 21680, 8209, 549, 17444, 427, 8209, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061, 15878, 3...
find the number of patients diagnosed for enthesopathy of hip whose lab test fluid is joint fluid.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE diagnoses.short_title = "Enthesopathy of hip" AND lab.fluid = "Joint Fluid"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 3...
What's the name of the episode seen by 9.63 millions of people in the US, whose director is Laura Innes?
CREATE TABLE table_23799653_1 (title VARCHAR, directed_by VARCHAR, us_viewers__millions_ VARCHAR)
SELECT title FROM table_23799653_1 WHERE directed_by = "Laura Innes" AND us_viewers__millions_ = "9.63"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 4440, 4314, 4867, 834, 536, 41, 21869, 584, 4280, 28027, 6, 6640, 834, 969, 584, 4280, 28027, 6, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 584, 4280, 28027, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 21680, 953, 834, 2773, 4440, 4314, 4867, 834, 536, 549, 17444, 427, 6640, 834, 969, 3274, 96, 3612, 2414, 86, 1496, 121, 3430, 178, 834, 4576, 277, 834, 834, 17030, 7, 834, 3274, 96, 8797, 3891, 121, 1, -100, ...
What was Olga Govortsova's score when she played on a clay surface on 19 May 2008?
CREATE TABLE table_name_11 (score VARCHAR, surface VARCHAR, date VARCHAR)
SELECT score FROM table_name_11 WHERE surface = "clay" AND date = "19 may 2008"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 7, 9022, 584, 4280, 28027, 6, 1774, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 5424, 122, 9, 17416, 127, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 1774, 3274, 96, 4651, 63, 121, 3430, 833, 3274, 96, 2294, 164, 2628, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Position has an Against of 5, and a Drawn larger than 0?
CREATE TABLE table_name_35 ( position INTEGER, against VARCHAR, drawn VARCHAR )
SELECT SUM(position) FROM table_name_35 WHERE against = 5 AND drawn > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 1102, 3, 21342, 17966, 6, 581, 584, 4280, 28027, 6, 6796, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 14258, 65, 46, 3, 20749, 13, 78...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 4718, 61, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 581, 3274, 305, 3430, 6796, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the name on the Communist ticket with an Office of judge of the court of appeals?
CREATE TABLE table_40326 ( "Office" text, "Republican ticket" text, "Democratic ticket" text, "American Labor ticket" text, "Liberal ticket" text, "Communist ticket" text )
SELECT "Communist ticket" FROM table_40326 WHERE "Office" = 'judge of the court of appeals'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 519, 2688, 41, 96, 22098, 121, 1499, 6, 96, 1649, 15727, 152, 4142, 121, 1499, 6, 96, 19679, 447, 4142, 121, 1499, 6, 96, 8778, 9836, 4142, 121, 1499, 6, 96, 14615, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 10205, 202, 343, 4142, 121, 21680, 953, 834, 2445, 519, 2688, 549, 17444, 427, 96, 22098, 121, 3274, 3, 31, 354, 13164, 13, 8, 1614, 13, 3958, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
How many patients stayed in the hospital for more than 23 days and were given the drug avapro?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN prescriptions ON demographic.hadm_id = prescriptions.hadm_id WHERE demographic.days_stay > "23" AND prescriptions.drug = "Avapro"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7744, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7744, 7, 5, 8399, 51, 834, 23, 26, 549...
Who directed Teenage Mutant Ninja Turtles?
CREATE TABLE table_name_81 ( director VARCHAR, title VARCHAR )
SELECT director FROM table_name_81 WHERE title = "teenage mutant ninja turtles"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 2090, 584, 4280, 28027, 6, 2233, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 6640, 19959, 545, 16601, 288, 12776, 1191, 29909, 7, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2090, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 2233, 3274, 96, 6808, 545, 26569, 3, 29, 77, 1191, 29151, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Position, when Nationality is 'Canada', and when Round is greater than 3?
CREATE TABLE table_49845 ( "Round" real, "Player" text, "Position" text, "Nationality" text, "College/Junior/Club Team (League)" text )
SELECT "Position" FROM table_49845 WHERE "Nationality" = 'canada' AND "Round" > '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3916, 2128, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 9939, 7883, 87, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 591, 3916, 2128, 549, 17444, 427, 96, 24732, 485, 121, 3274, 3, 31, 658, 18089, 31, 3430, 96, 448, 32, 1106, 121, 2490, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100...
What is the sum for the match with a draw less than 0?
CREATE TABLE table_77139 ( "Team" text, "Match" real, "Points" real, "Draw" real, "Lost" real )
SELECT SUM("Match") FROM table_77139 WHERE "Draw" < '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 24090, 41, 96, 18699, 121, 1499, 6, 96, 329, 14547, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 308, 10936, 121, 490, 6, 96, 434, 3481, 121, 490, 3, 61, 3, 32102,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 6122, 599, 121, 329, 14547, 8512, 21680, 953, 834, 4013, 24090, 549, 17444, 427, 96, 308, 10936, 121, 3, 2, 3, 31, 632, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the name, open date, and organizer for all churches.
CREATE TABLE Church (name VARCHAR, open_date VARCHAR, organized_by VARCHAR)
SELECT name, open_date, organized_by FROM Church
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2345, 41, 4350, 584, 4280, 28027, 6, 539, 834, 5522, 584, 4280, 28027, 6, 4997, 834, 969, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 564, 6, 539, 833, 6, 11, 14250...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 564, 6, 539, 834, 5522, 6, 4997, 834, 969, 21680, 2345, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What are McCain's Percent when Obama has 36.47%?
CREATE TABLE table_20688030_1 ( mccain_percentage VARCHAR, obama_percentage VARCHAR )
SELECT mccain_percentage FROM table_20688030_1 WHERE obama_percentage = "36.47%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 3651, 2079, 1458, 834, 536, 41, 3, 51, 12464, 77, 834, 883, 3728, 545, 584, 4280, 28027, 6, 3, 32, 115, 265, 9, 834, 883, 3728, 545, 584, 4280, 28027, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0...
[ 3, 23143, 14196, 3, 51, 12464, 77, 834, 883, 3728, 545, 21680, 953, 834, 1755, 3651, 2079, 1458, 834, 536, 549, 17444, 427, 3, 32, 115, 265, 9, 834, 883, 3728, 545, 3274, 96, 519, 27869, 6170, 121, 1, -100, -100, -100, -100, -100,...
Which Result has a Home team of portland, and a Date of may 31?
CREATE TABLE table_49466 ( "Game" text, "Date" text, "Home team" text, "Result" text, "Road team" text )
SELECT "Result" FROM table_49466 WHERE "Home team" = 'portland' AND "Date" = 'may 31'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3647, 591, 3539, 41, 96, 23055, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 19040, 372, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 448, 32, 9, 26, 372, 121, 1499, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 20119, 121, 21680, 953, 834, 3647, 591, 3539, 549, 17444, 427, 96, 19040, 372, 121, 3274, 3, 31, 1493, 40, 232, 31, 3430, 96, 308, 342, 121, 3274, 3, 31, 13726, 2664, 31, 1, -100, -100, -100, -100, -100, -100,...
give me the number of patients whose discharge location is disc-tran cancer/chldrn h and admission year is less than 2200?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.discharge_location = "DISC-TRAN CANCER/CHLDRN H" AND demographic.admityear < "2200"
[ 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, 26, 159, 7993, 834, 14836, 3274, 96, 15438, 254, 18, 11359, 567, 205, 15083, 448, 87, 8360, 9815, ...
What is the gender and number of days of hospital stay of subject id 990?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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 text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.gender, demographic.days_stay FROM demographic WHERE demographic.subject_id = "990"
[ 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, 14798, 5, 122, 3868, 6, 14798, 5, 1135, 7, 834, 21545, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 26901, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the game 2 sum attendance of the team with a total attendance of 759,997?
CREATE TABLE table_name_67 (game_2 INTEGER, total VARCHAR)
SELECT SUM(game_2) FROM table_name_67 WHERE total = 759 OFFSET 997
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 7261, 834, 357, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 467, 204, 4505, 11364, 13, 8, 372, 28, 3, 9...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 180, 6122, 599, 7261, 834, 7318, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 792, 3274, 489, 3390, 3, 15316, 20788, 668, 4327, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
participant has a mini _ mental state examination score < 21 .
CREATE TABLE table_train_256 ( "id" int, "mini_mental_state_examination_mmse" int, "language" string, "mild_cognitive_impairment" bool, "moca_score" int, "dementia" bool, "body_mass_index_bmi" float, "age" float, "NOUSE" float )
SELECT * FROM table_train_256 WHERE mini_mental_state_examination_mmse < 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 9719, 834, 19337, 41, 96, 23, 26, 121, 16, 17, 6, 96, 7619, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 121, 16, 17, 6, 96, 24925, 121, 6108, 6, 96, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 9719, 834, 19337, 549, 17444, 427, 3016, 834, 13974, 834, 5540, 834, 994, 9, 14484, 834, 635, 7, 15, 3, 2, 1401, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
For all employees who have the letters D or S in their first name, give me the comparison about the amount of job_id over the job_id , and group by attribute job_id, show from high to low by the X-axis please.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) )
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE FIRST_NAME LIKE '%D%' OR FIRST_NAME LIKE '%S%' GROUP BY JOB_ID ORDER BY JOB_ID DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 308, 1454, 31, 4674, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1...
Which venue has h.paul 8/9 goals?
CREATE TABLE table_name_35 (venue VARCHAR, goals VARCHAR)
SELECT venue FROM table_name_35 WHERE goals = "h.paul 8/9"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2469, 41, 15098, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 5669, 65, 3, 107, 5, 102, 9, 83, 505, 87, 1298, 1766, 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, 5669, 21680, 953, 834, 4350, 834, 2469, 549, 17444, 427, 1766, 3274, 96, 107, 5, 102, 9, 83, 505, 87, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who manufactured the vehicle withdrawn after 1932?
CREATE TABLE table_name_24 ( manufacturer VARCHAR, year_withdrawn INTEGER )
SELECT manufacturer FROM table_name_24 WHERE year_withdrawn > 1932
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2266, 41, 4818, 584, 4280, 28027, 6, 215, 834, 28032, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 9554, 8, 1689, 3, 28032, 227, 957, 2668, 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, 4818, 21680, 953, 834, 4350, 834, 2266, 549, 17444, 427, 215, 834, 28032, 2490, 957, 2668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the lowest PCT when Old Dominion is the independent and the years is more than 4?
CREATE TABLE table_10470 ( "Independent" text, "Lost" real, "Tied" real, "Pct." real, "Years" real, "Total Games" real )
SELECT MIN("Pct.") FROM table_10470 WHERE "Independent" = 'old dominion' AND "Years" > '4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15442, 2518, 41, 96, 1570, 17631, 121, 1499, 6, 96, 434, 3481, 121, 490, 6, 96, 382, 5973, 121, 490, 6, 96, 345, 75, 17, 535, 490, 6, 96, 476, 2741, 7, 121, 490, 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, 3, 17684, 599, 121, 345, 75, 17, 5, 8512, 21680, 953, 834, 15442, 2518, 549, 17444, 427, 96, 1570, 17631, 121, 3274, 3, 31, 1490, 10138, 23, 106, 31, 3430, 96, 476, 2741, 7, 121, 2490, 3, 31, 591, 31, 1, -100, ...
Who owns the station with the frequency FM 92.1?
CREATE TABLE table_name_65 (owner VARCHAR, frequency VARCHAR)
SELECT owner FROM table_name_65 WHERE frequency = "fm 92.1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 13238, 584, 4280, 28027, 6, 7321, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 293, 7, 8, 2478, 28, 8, 7321, 13409, 668, 14489, 58, 1, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2527, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 7321, 3274, 96, 89, 51, 668, 14489, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
count the number of patients whose primary disease is mesenteric ischemia and age is less than 51?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "MESENTERIC ISCHEMIA" AND demographic.age < "51"
[ 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, 25930, 4844, 159, 3274, 96, 22759, 6431, 427, 23503, 27, 20557, 25284, 188, 121, 3430, 14798, 5, 5...
what is the minimum total cost of a hospital visit that includes antipyretics - acetaminophen?
CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time )
SELECT MIN(t1.c1) FROM (SELECT SUM(cost.cost) AS c1 FROM cost WHERE cost.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.patientunitstayid IN (SELECT treatment.patientunitstayid FROM treatment WHERE treatment.treatmentname = 'antipyretics - acetaminophen')) GROUP BY cost.patienthealthsystemstayid) AS t1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 50, 9824, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 7690, 4350, 1499, 6, 50, 1999, 7, 83, 17, 381, 6, 50, 1999, 7, 83, 17, 715, 97, 3, 61, 3, 32102, 32103, 32102, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 17, 5411, 75, 6982, 21680, 41, 23143, 14196, 180, 6122, 599, 11290, 5, 11290, 61, 6157, 3, 75, 536, 21680, 583, 549, 17444, 427, 583, 5, 10061, 15878, 3734, 21545, 23, 26, 3388, 41, 23143, 14196, 1868...
Who was the visiting team at the Cavaliers game that had a score of 121–85?
CREATE TABLE table_name_29 (visitor VARCHAR, score VARCHAR)
SELECT visitor FROM table_name_29 WHERE score = "121–85"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3166, 41, 3466, 155, 127, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3644, 372, 44, 8, 17655, 138, 4518, 467, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 7019, 21680, 953, 834, 4350, 834, 3166, 549, 17444, 427, 2604, 3274, 96, 22011, 104, 4433, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Final has a Team of liechtenstein (lie) liechtenstein i?
CREATE TABLE table_77468 ( "Team" text, "Athletes" text, "Run 1" text, "Run 2" text, "Run 3" text, "Run 4" text, "Final" text )
SELECT "Final" FROM table_77468 WHERE "Team" = 'liechtenstein (lie) liechtenstein i'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4013, 591, 3651, 41, 96, 18699, 121, 1499, 6, 96, 188, 189, 109, 1422, 121, 1499, 6, 96, 448, 202, 209, 121, 1499, 6, 96, 448, 202, 204, 121, 1499, 6, 96, 448, 202, 220...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 10270, 121, 21680, 953, 834, 4013, 591, 3651, 549, 17444, 427, 96, 18699, 121, 3274, 3, 31, 1896, 7049, 4008, 41, 1896, 61, 11761, 7049, 4008, 3, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
which fa cups had a total of 565 (7)?
CREATE TABLE table_14962287_1 (fa_cup VARCHAR, total VARCHAR)
SELECT fa_cup FROM table_14962287_1 WHERE total = "565 (7)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2534, 4314, 2884, 4225, 834, 536, 41, 89, 9, 834, 4658, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 3, 89, 9, 12294, 141, 3, 9, 792...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 89, 9, 834, 4658, 21680, 953, 834, 2534, 4314, 2884, 4225, 834, 536, 549, 17444, 427, 792, 3274, 96, 755, 4122, 3, 24358, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the chromosomal location of il-1β?
CREATE TABLE table_29871617_1 (chromosomal_location VARCHAR, name VARCHAR)
SELECT chromosomal_location FROM table_29871617_1 WHERE name = "IL-1β"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 4225, 2938, 2517, 834, 536, 41, 10363, 3972, 32, 1982, 834, 14836, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3, 10363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 10363, 3972, 32, 1982, 834, 14836, 21680, 953, 834, 3166, 4225, 2938, 2517, 834, 536, 549, 17444, 427, 564, 3274, 96, 3502, 2292, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Provide me with the name of all the village (German) that are part of the village (Slovenian) with sele srednji kot.
CREATE TABLE table_10798421_1 (village__german_ VARCHAR, village__slovenian_ VARCHAR)
SELECT village__german_ FROM table_10798421_1 WHERE village__slovenian_ = "Sele Srednji Kot"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 4440, 4608, 2658, 834, 536, 41, 208, 17614, 834, 834, 1304, 348, 834, 584, 4280, 28027, 6, 3309, 834, 834, 7, 5850, 15, 15710, 834, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3309, 834, 834, 1304, 348, 834, 21680, 953, 834, 1714, 4440, 4608, 2658, 834, 536, 549, 17444, 427, 3309, 834, 834, 7, 5850, 15, 15710, 834, 3274, 96, 134, 400, 180, 1271, 21391, 1793, 17, 121, 1, -100, -100, -100, ...
What T9 Player had a Score of 70-74-69-70=283?
CREATE TABLE table_43205 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text, "Money ( $ )" text )
SELECT "Player" FROM table_43205 WHERE "Place" = 't9' AND "Score" = '70-74-69-70=283'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4906, 23201, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4906, 23201, 549, 17444, 427, 96, 345, 11706, 121, 3274, 3, 31, 17, 1298, 31, 3430, 96, 134, 9022, 121, 3274, 3, 31, 2518, 18, 4581, 18, 3951, 18, 2518, 2423, 2577, 519, 31, ...
What is 2005's budget figure?
CREATE TABLE table_name_4 ( budget VARCHAR, year VARCHAR )
SELECT budget FROM table_name_4 WHERE year = 2005
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 1487, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 3105, 31, 7, 1487, 2320, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1487, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 215, 3274, 3105, 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 date of the game held at Lahore?
CREATE TABLE table_name_87 (date VARCHAR, venue VARCHAR)
SELECT date FROM table_name_87 WHERE venue = "lahore"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4225, 41, 5522, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 13, 8, 467, 1213, 44, 325, 107, 127, 15, 58, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 4350, 834, 4225, 549, 17444, 427, 5669, 3274, 96, 521, 107, 127, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
what is the age and date of birth of Paul Edwards?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.age, demographic.dob FROM demographic WHERE demographic.name = "Paul Edwards"
[ 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, 14798, 5, 545, 6, 14798, 5, 26, 32, 115, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 23183, 8200, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Return a scatter chart about the correlation between School_ID and ACC_Percent , and group by attribute All_Road.
CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text ) CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text )
SELECT School_ID, ACC_Percent FROM basketball_match GROUP BY All_Road
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3819, 41, 1121, 834, 4309, 16, 17, 6, 1121, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 71, 89, 8027, 23, 257, 1499, 6, 695, 4046, 297, 490, 6, 7486, 4350, 1499, 6, 14542, 834, 28...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1121, 834, 4309, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 432, 834, 448, 32, 9, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number for the guanay municipality when combaya municipality is 0?
CREATE TABLE table_2509202_2 ( guanay_municipality VARCHAR, combaya_municipality VARCHAR )
SELECT guanay_municipality FROM table_2509202_2 WHERE combaya_municipality = "0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 4198, 19818, 834, 357, 41, 3, 1744, 152, 9, 63, 834, 11760, 3389, 10355, 584, 4280, 28027, 6, 3, 287, 11119, 9, 834, 11760, 3389, 10355, 584, 4280, 28027, 3, 61, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 1744, 152, 9, 63, 834, 11760, 3389, 10355, 21680, 953, 834, 1828, 4198, 19818, 834, 357, 549, 17444, 427, 3, 287, 11119, 9, 834, 11760, 3389, 10355, 3274, 96, 632, 121, 1, -100, -100, -100, -100, -100, -100, -100...
What's the sum of the Area (KM 2) that's got a Population that's smaller than 90?
CREATE TABLE table_name_20 (area__km_2__ VARCHAR, population INTEGER)
SELECT COUNT(area__km_2__) FROM table_name_20 WHERE population < 90
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1755, 41, 498, 834, 834, 5848, 834, 357, 834, 834, 584, 4280, 28027, 6, 2074, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 4505, 13, 8, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 498, 834, 834, 5848, 834, 357, 834, 834, 61, 21680, 953, 834, 4350, 834, 1755, 549, 17444, 427, 2074, 3, 2, 2777, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is patient 013-11660's maximum wbc x 1000 value?
CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE patient ( uniquepid text, patienthealthsystemstayid number, patientunitstayid number, gender text, age text, ethnicity text, hospitalid number, wardid number, admissionheight number, admissionweight number, dischargeweight number, hospitaladmittime time, hospitaladmitsource text, unitadmittime time, unitdischargetime time, hospitaldischargetime time, hospitaldischargestatus text ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time )
SELECT MAX(lab.labresult) FROM lab WHERE lab.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '013-11660')) AND lab.labname = 'wbc x 1000'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8209, 41, 8209, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 8209, 4350, 1499, 6, 8209, 715, 97, 6, 3, 447, 26, 1298, 4978, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 9339, 5, 9339, 60, 7, 83, 17, 61, 21680, 7690, 549, 17444, 427, 7690, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, ...
What is the home ground for the team whose home city is Trondheim with 27 seasons?
CREATE TABLE table_27473 ( "Team" text, "Home city" text, "Home ground" text, "In Toppserien since" real, "First appearance" real, "Seasons" real )
SELECT "Home ground" FROM table_27473 WHERE "Seasons" = '27' AND "Home city" = 'Trondheim'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 4177, 519, 41, 96, 18699, 121, 1499, 6, 96, 19040, 690, 121, 1499, 6, 96, 19040, 1591, 121, 1499, 6, 96, 1570, 2224, 102, 10833, 29, 437, 121, 490, 6, 96, 25171, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 19040, 1591, 121, 21680, 953, 834, 2555, 4177, 519, 549, 17444, 427, 96, 134, 15, 9, 6577, 121, 3274, 3, 31, 2555, 31, 3430, 96, 19040, 690, 121, 3274, 3, 31, 382, 52, 106, 26, 3254, 31, 1, -100, -100, -100,...
What gender has Romanized name and kim yoon-yeong?
CREATE TABLE table_name_14 (gender VARCHAR, romanized_name VARCHAR)
SELECT gender FROM table_name_14 WHERE romanized_name = "kim yoon-yeong"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 122, 3868, 584, 4280, 28027, 6, 3408, 1601, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7285, 65, 3385, 1601, 564, 11, 3, 19754,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7285, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3408, 1601, 834, 4350, 3274, 96, 19754, 3, 63, 32, 106, 18, 63, 15, 2444, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the most vote % with election of 1946
CREATE TABLE table_name_53 ( vote__percentage INTEGER, election VARCHAR )
SELECT MAX(vote__percentage) FROM table_name_53 WHERE election = "1946"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 2902, 834, 834, 883, 3728, 545, 3, 21342, 17966, 6, 4356, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 167, 2902, 3, 1454, 28, 4356...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 4800, 4, 599, 1621, 17, 15, 834, 834, 883, 3728, 545, 61, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 4356, 3274, 96, 2294, 4448, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many patients whose primary disease is ruq pain and lab test category is hematology?
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 lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.diagnosis = "RUQ PAIN" AND lab."CATEGORY" = "Hematology"
[ 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, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
What party was Dewey Short associated with?
CREATE TABLE table_1342198_25 (party VARCHAR, incumbent VARCHAR)
SELECT party FROM table_1342198_25 WHERE incumbent = "Dewey Short"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4165, 24151, 834, 1828, 41, 8071, 584, 4280, 28027, 6, 28406, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1088, 47, 374, 1123, 63, 7110, 1968, 28, 58, 1, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1088, 21680, 953, 834, 2368, 4165, 24151, 834, 1828, 549, 17444, 427, 28406, 3274, 96, 2962, 1123, 63, 7110, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What game did Jets have an attendance of 78,722?
CREATE TABLE table_name_8 ( game_site VARCHAR, attendance VARCHAR )
SELECT game_site FROM table_name_8 WHERE attendance = "78,722"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 467, 834, 3585, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 467, 410, 12434, 7, 43, 46, 11364, 13, 3, 3940,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 467, 834, 3585, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 11364, 3274, 96, 3940, 6, 5865, 357, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the months in the malayalam era for കുംഭം
CREATE TABLE table_169955_1 (months_in_malayalam_era VARCHAR, in_malayalam VARCHAR)
SELECT months_in_malayalam_era FROM table_169955_1 WHERE in_malayalam = "കുംഭം"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2938, 3264, 3769, 834, 536, 41, 7393, 7, 834, 77, 834, 51, 22858, 40, 265, 834, 1498, 584, 4280, 28027, 6, 16, 834, 51, 22858, 40, 265, 584, 4280, 28027, 61, 3, 32102, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0...
[ 3, 23143, 14196, 767, 834, 77, 834, 51, 22858, 40, 265, 834, 1498, 21680, 953, 834, 2938, 3264, 3769, 834, 536, 549, 17444, 427, 16, 834, 51, 22858, 40, 265, 3274, 96, 2, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was the presenter on Friday of the series in which Alice Levine Jamie East presented on Sunday?
CREATE TABLE table_name_34 ( friday VARCHAR, sunday VARCHAR )
SELECT friday FROM table_name_34 WHERE sunday = "alice levine jamie east"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 9030, 1135, 584, 4280, 28027, 6, 1997, 1135, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 915, 49, 30, 1701, 13, 8, 939, 16, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9030, 1135, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 1997, 1135, 3274, 96, 138, 867, 90, 8402, 2662, 2720, 5727, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which model had a wheelbase of 136 inches?
CREATE TABLE table_name_54 ( model VARCHAR, wheelbase_in VARCHAR )
SELECT model FROM table_name_54 WHERE wheelbase_in = "136"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5062, 41, 825, 584, 4280, 28027, 6, 5094, 10925, 834, 77, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 825, 141, 3, 9, 5094, 10925, 13, 3, 23459...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 825, 21680, 953, 834, 4350, 834, 5062, 549, 17444, 427, 5094, 10925, 834, 77, 3274, 96, 23459, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Show the names of members and the locations of colleges they go to in ascending alphabetical order of member names.
CREATE TABLE college ( college_id number, name text, leader_name text, college_location text ) CREATE TABLE member ( member_id number, name text, country text, college_id number ) CREATE TABLE round ( round_id number, member_id number, decoration_theme text, rank_in_round number )
SELECT T2.name, T1.college_location FROM college AS T1 JOIN member AS T2 ON T1.college_id = T2.college_id ORDER BY T2.name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 1900, 834, 23, 26, 381, 6, 564, 1499, 6, 2488, 834, 4350, 1499, 6, 1900, 834, 14836, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 1144, 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, 332, 4416, 4350, 6, 332, 5411, 3297, 7883, 834, 14836, 21680, 1900, 6157, 332, 536, 3, 15355, 3162, 1144, 6157, 332, 357, 9191, 332, 5411, 3297, 7883, 834, 23, 26, 3274, 332, 4416, 3297, 7883, 834, 23, 26, 4674, 113...
A bar chart for returning the number of the dates of birth for entrepreneurs who have either the investor Simon Woodroffe or Peter Jones.
CREATE TABLE people ( People_ID int, Name text, Height real, Weight real, Date_of_Birth text ) CREATE TABLE entrepreneur ( Entrepreneur_ID int, People_ID int, Company text, Money_Requested real, Investor text )
SELECT Date_of_Birth, COUNT(Date_of_Birth) FROM entrepreneur AS T1 JOIN people AS T2 ON T1.People_ID = T2.People_ID WHERE T1.Investor = "Simon Woodroffe" OR T1.Investor = "Peter Jones"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 151, 41, 2449, 834, 4309, 16, 17, 6, 5570, 1499, 6, 24231, 490, 6, 14230, 490, 6, 7678, 834, 858, 834, 279, 23, 52, 189, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 858, 834, 279, 23, 52, 189, 6, 2847, 17161, 599, 308, 342, 834, 858, 834, 279, 23, 52, 189, 61, 21680, 3, 12290, 6157, 332, 536, 3, 15355, 3162, 151, 6157, 332, 357, 9191, 332, 5411, 24337, 834, 4309, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of email and department_id , and order by the bar from low to high please.
CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) 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 locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT EMAIL, DEPARTMENT_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMAIL
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6266, 41, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 11116, 632, 201, 4083, 517, 9215, 834, 567, 17683, 3, 4331, 4059, 599, 1828, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20211, 3502, 6, 3396, 19846, 11810, 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, 283, 15610, 17966,...
Which League that has no playoffs in the Year of 2008 09?
CREATE TABLE table_name_17 ( league VARCHAR, play_off VARCHAR, year VARCHAR )
SELECT league FROM table_name_17 WHERE play_off = "–" AND year = "2008–09"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2517, 41, 5533, 584, 4280, 28027, 6, 577, 834, 1647, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3815, 24, 65, 150, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5533, 21680, 953, 834, 4350, 834, 2517, 549, 17444, 427, 577, 834, 1647, 3274, 96, 104, 121, 3430, 215, 3274, 96, 16128, 104, 4198, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Score has a January larger than 21, and Points of 63?
CREATE TABLE table_name_18 ( score VARCHAR, january VARCHAR, points VARCHAR )
SELECT score FROM table_name_18 WHERE january > 21 AND points = 63
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 2604, 584, 4280, 28027, 6, 3, 7066, 76, 1208, 584, 4280, 28027, 6, 979, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 17763, 65, 3, 9, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2604, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 3, 7066, 76, 1208, 2490, 1401, 3430, 979, 3274, 3, 3891, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the score on April 18?
CREATE TABLE table_69245 ( "Date" text, "Opponent" text, "Score" text, "Loss" text, "Attendance" text, "Record" text )
SELECT "Score" FROM table_69245 WHERE "Date" = 'april 18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3951, 357, 2128, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 434, 32, 7, 7, 121, 1499, 6, 96, 188, 17, 324, 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, 96, 134, 9022, 121, 21680, 953, 834, 3951, 357, 2128, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 9, 2246, 40, 507, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...