NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What Player has a +3 To par?
CREATE TABLE table_8721 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Player" FROM table_8721 WHERE "To par" = '+3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4225, 2658, 41, 96, 345, 11706, 121, 1499, 6, 96, 15800, 49, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 3696, 260, 121, 1499, 3, 61, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 15800, 49, 121, 21680, 953, 834, 4225, 2658, 549, 17444, 427, 96, 3696, 260, 121, 3274, 3, 31, 1220, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Can you tell me what is FCC info for harmony township, new jersey?
CREATE TABLE table_67339 ( "Call sign" text, "Frequency MHz" text, "City of license" text, "ERP W" real, "Class" text, "FCC info" text )
SELECT "FCC info" FROM table_67339 WHERE "City of license" = 'harmony township, new jersey'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3708, 519, 3288, 41, 96, 254, 1748, 1320, 121, 1499, 6, 96, 371, 60, 835, 11298, 3, 20210, 121, 1499, 6, 96, 254, 485, 13, 3344, 121, 1499, 6, 96, 3316, 345, 549, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 371, 2823, 2845, 121, 21680, 953, 834, 3708, 519, 3288, 549, 17444, 427, 96, 254, 485, 13, 3344, 121, 3274, 3, 31, 3272, 21208, 1511, 2009, 6, 126, 13426, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many entries are listed under 'current status' for the WJW-TV ++ Station?
CREATE TABLE table_18788 ( "City of license/Market" text, "Station" text, "Channel TV ( DT )" text, "Years owned" text, "Current Status" text )
SELECT COUNT("Current Status") FROM table_18788 WHERE "Station" = 'WJW-TV ++'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25828, 4060, 41, 96, 254, 485, 13, 3344, 87, 22572, 121, 1499, 6, 96, 134, 6821, 121, 1499, 6, 96, 3541, 4515, 40, 1424, 41, 3, 12111, 3, 61, 121, 1499, 6, 96, 476, 274...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 254, 450, 5320, 19318, 8512, 21680, 953, 834, 25828, 4060, 549, 17444, 427, 96, 134, 6821, 121, 3274, 3, 31, 518, 683, 518, 18, 4562, 3, 16702, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Who was in the 4th district in 1924?
CREATE TABLE table_19158 ( "Year" real, "1st District" text, "2nd District" text, "3rd District" text, "4th District" text, "5th District" text )
SELECT "4th District" FROM table_19158 WHERE "Year" = '1924'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 26556, 41, 96, 476, 2741, 121, 490, 6, 96, 536, 7, 17, 3570, 121, 1499, 6, 96, 357, 727, 3570, 121, 1499, 6, 96, 519, 52, 26, 3570, 121, 1499, 6, 96, 591, 189, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 189, 3570, 121, 21680, 953, 834, 2294, 26556, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 2294, 2266, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest against value for Palmeiras and position less than 4?
CREATE TABLE table_name_86 (against INTEGER, team VARCHAR, position VARCHAR)
SELECT MAX(against) FROM table_name_86 WHERE team = "palmeiras" AND position < 4
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3840, 41, 9, 16720, 7, 17, 3, 21342, 17966, 6, 372, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 581, 701, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 9, 16720, 7, 17, 61, 21680, 953, 834, 4350, 834, 3840, 549, 17444, 427, 372, 3274, 96, 6459, 51, 15809, 7, 121, 3430, 1102, 3, 2, 314, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Overall of 62 is what average round?
CREATE TABLE table_68562 ( "Round" real, "Pick #" real, "Overall" real, "Name" text, "Position" text, "College" text )
SELECT AVG("Round") FROM table_68562 WHERE "Overall" = '62'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 4834, 357, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 345, 32, 7, 4749, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 448, 32, 1106, 8512, 21680, 953, 834, 3651, 4834, 357, 549, 17444, 427, 96, 23847, 1748, 121, 3274, 3, 31, 4056, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What driver has a grid of under 10, and under 70 laps?
CREATE TABLE table_name_84 (driver VARCHAR, grid VARCHAR, laps VARCHAR)
SELECT driver FROM table_name_84 WHERE grid < 10 AND laps < 70
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 13739, 52, 584, 4280, 28027, 6, 8634, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 2535, 65, 3, 9, 8634, 13...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2535, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 8634, 3, 2, 335, 3430, 14941, 7, 3, 2, 2861, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the position earlier than 1907, with a cross-code debut of inaugural rl test v new zealand, and a test debut of inaugural ru test v new zealand?
CREATE TABLE table_name_92 (position VARCHAR, test_debut VARCHAR, year VARCHAR, cross_code_debut VARCHAR)
SELECT position FROM table_name_92 WHERE year < 1907 AND cross_code_debut = "inaugural rl test v new zealand" AND test_debut = "inaugural ru test v new zealand"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 4718, 584, 4280, 28027, 6, 794, 834, 221, 2780, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 2269, 834, 4978, 834, 221, 2780, 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, 1102, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 215, 3, 2, 957, 4560, 3430, 2269, 834, 4978, 834, 221, 2780, 3274, 96, 77, 402, 7840, 138, 3, 52, 40, 794, 3, 208, 126, 3, 776, 138, 232, 121, 3430, 794, ...
Name the surface for 6 0, 6 3
CREATE TABLE table_25158 ( "Outcome" text, "Year" real, "Championship" text, "Surface" text, "Opponent in the final" text, "Score in the final" text )
SELECT "Surface" FROM table_25158 WHERE "Score in the final" = '6–0, 6–3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1828, 26556, 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, 667, 102, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 450, 4861, 121, 21680, 953, 834, 1828, 26556, 549, 17444, 427, 96, 134, 9022, 16, 8, 804, 121, 3274, 3, 31, 948, 104, 632, 6, 431, 104, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Whats the song of name with an original artist Garth Brooks
CREATE TABLE table_21501518_1 (song_choice VARCHAR, original_artist VARCHAR)
SELECT song_choice FROM table_21501518_1 WHERE original_artist = "Garth Brooks"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 12278, 1808, 2606, 834, 536, 41, 7, 2444, 834, 3995, 867, 584, 4280, 28027, 6, 926, 834, 1408, 343, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 7, 8, 232...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2324, 834, 3995, 867, 21680, 953, 834, 357, 12278, 1808, 2606, 834, 536, 549, 17444, 427, 926, 834, 1408, 343, 3274, 96, 21846, 189, 9083, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest Aug 2013 with a Nov 2011 smaller than 968, and a Jul 2012 with 31, and a Jun 2011 larger than 30?
CREATE TABLE table_name_27 (aug_2013 INTEGER, jun_2011 VARCHAR, nov_2011 VARCHAR, jul_2012 VARCHAR)
SELECT MAX(aug_2013) FROM table_name_27 WHERE nov_2011 < 968 AND jul_2012 = 31 AND jun_2011 > 30
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 402, 122, 834, 11138, 3, 21342, 17966, 6, 3, 6959, 834, 13907, 584, 4280, 28027, 6, 3, 5326, 834, 13907, 584, 4280, 28027, 6, 3, 354, 83, 834, 12172, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 402, 122, 834, 11138, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 3, 5326, 834, 13907, 3, 2, 668, 3651, 3430, 3, 354, 83, 834, 12172, 3274, 2664, 3430, 3, 6959, 834, 13907, 2490, 604, 1, ...
What is the type of POR?
CREATE TABLE table_name_10 ( type VARCHAR, nat VARCHAR )
SELECT type FROM table_name_10 WHERE nat = "por"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 686, 584, 4280, 28027, 6, 3, 29, 144, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 686, 13, 276, 2990, 58, 1, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 686, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 3, 29, 144, 3274, 96, 102, 127, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
On what Date was Patty Sheehan Runner(s)-up?
CREATE TABLE table_name_62 ( date VARCHAR, runner_s__up VARCHAR )
SELECT date FROM table_name_62 WHERE runner_s__up = "patty sheehan"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4056, 41, 833, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 7678, 47, 276, 22648, 451,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 4056, 549, 17444, 427, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 102, 22648, 255, 15, 2618, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many Points have a Played larger than 18?
CREATE TABLE table_name_65 ( points VARCHAR, played INTEGER )
SELECT COUNT(points) FROM table_name_65 WHERE played > 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 979, 584, 4280, 28027, 6, 1944, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 4564, 7, 43, 3, 9, 2911, 15, 26, 2186, 145, 507, 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...
[ 3, 23143, 14196, 2847, 17161, 599, 2700, 7, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1944, 2490, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What team has a score of w 110 87 (ot)?
CREATE TABLE table_29891 ( "Game" real, "Date" text, "Team" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location Attendance" text, "Record" text )
SELECT "Team" FROM table_29891 WHERE "Score" = 'W 110–87 (OT)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3916, 4729, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 121, 1499, 6, 96, 21417, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 18699, 121, 21680, 953, 834, 357, 3916, 4729, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 518, 11190, 104, 4225, 41, 6951, 61, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the Name of the dinosaur, whose notes are, 'n ornithischia of uncertain placement'?
CREATE TABLE table_75801 ( "Name" text, "Novelty" text, "Status" text, "Authors" text, "Location" text, "Notes" text )
SELECT "Name" FROM table_75801 WHERE "Notes" = 'n ornithischia of uncertain placement'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3072, 2079, 536, 41, 96, 23954, 121, 1499, 6, 96, 4168, 4911, 17, 63, 121, 1499, 6, 96, 134, 17, 144, 302, 121, 1499, 6, 96, 23602, 127, 7, 121, 1499, 6, 96, 434, 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, 96, 23954, 121, 21680, 953, 834, 3072, 2079, 536, 549, 17444, 427, 96, 10358, 15, 7, 121, 3274, 3, 31, 29, 42, 29, 23, 8048, 1436, 9, 13, 21050, 7907, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the number of patients whose insurance is self pay and with diagnosis icd9 code 430?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( 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 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 WHERE demographic.insurance = "Self Pay" AND diagnoses.icd9_code = "430"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
Show the name, street address, and number of floors for all buildings ordered by the number of floors.
CREATE TABLE building ( name VARCHAR, street_address VARCHAR, floors VARCHAR )
SELECT name, street_address, floors FROM building ORDER BY floors
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 740, 41, 564, 584, 4280, 28027, 6, 2815, 834, 9, 26, 12039, 584, 4280, 28027, 6, 8242, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3111, 8, 564, 6, 2815, 1115, 6, 11, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 6, 2815, 834, 9, 26, 12039, 6, 8242, 21680, 740, 4674, 11300, 272, 476, 8242, 1, -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 average rank of Great Britain when their total is over 4?
CREATE TABLE table_57342 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT AVG("Rank") FROM table_57342 WHERE "Total" > '4' AND "Nation" = 'great britain'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 3710, 357, 41, 96, 22557, 121, 490, 6, 96, 567, 257, 121, 1499, 6, 96, 23576, 121, 490, 6, 96, 134, 173, 624, 121, 490, 6, 96, 22780, 29, 776, 121, 490, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 22557, 8512, 21680, 953, 834, 3436, 3710, 357, 549, 17444, 427, 96, 3696, 1947, 121, 2490, 3, 31, 591, 31, 3430, 96, 567, 257, 121, 3274, 3, 31, 20288, 3, 115, 10694, 77, 31, 1, -100, -100, ...
Return a scatter chart about the correlation between Team_ID and All_Games_Percent , and group by attribute ACC_Regular_Season.
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 Team_ID, All_Games_Percent FROM basketball_match GROUP BY ACC_Regular_Season
[ 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, 2271, 834, 4309, 6, 432, 834, 23055, 7, 834, 12988, 3728, 21680, 8498, 834, 19515, 350, 4630, 6880, 272, 476, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
which country won the most silver medals ?
CREATE TABLE table_203_206 ( id number, "rank" number, "nation" text, "gold" number, "silver" number, "bronze" number, "total" number )
SELECT "nation" FROM table_203_206 ORDER BY "silver" DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 24643, 41, 3, 23, 26, 381, 6, 96, 6254, 121, 381, 6, 96, 29, 257, 121, 1499, 6, 96, 14910, 121, 381, 6, 96, 7, 173, 624, 121, 381, 6, 96, 13711, 776, 121,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 29, 257, 121, 21680, 953, 834, 23330, 834, 24643, 4674, 11300, 272, 476, 96, 7, 173, 624, 121, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the elevation msnm for a population censo 2007(hab) of 77.392*?
CREATE TABLE table_name_59 ( elevation_msnm VARCHAR, population_censo_2007_hab_ VARCHAR )
SELECT elevation_msnm FROM table_name_59 WHERE population_censo_2007_hab_ = "77.392*"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3390, 41, 16417, 834, 51, 7, 29, 51, 584, 4280, 28027, 6, 2074, 834, 75, 35, 7, 32, 834, 20615, 834, 6111, 834, 584, 4280, 28027, 3, 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, 16417, 834, 51, 7, 29, 51, 21680, 953, 834, 4350, 834, 3390, 549, 17444, 427, 2074, 834, 75, 35, 7, 32, 834, 20615, 834, 6111, 834, 3274, 96, 4013, 5, 3288, 357, 1935, 121, 1, -100, -100, -100, -100, -100, -100, ...
what was the first character she played in her first movie ?
CREATE TABLE table_202_74 ( id number, "year" text, "film" text, "role" text, "other notes" text )
SELECT "role" FROM table_202_74 ORDER BY id LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19818, 834, 4581, 41, 3, 23, 26, 381, 6, 96, 1201, 121, 1499, 6, 96, 9988, 121, 1499, 6, 96, 3491, 15, 121, 1499, 6, 96, 9269, 3358, 121, 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, 0, 0, 0...
[ 3, 23143, 14196, 96, 3491, 15, 121, 21680, 953, 834, 19818, 834, 4581, 4674, 11300, 272, 476, 3, 23, 26, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What location is previous to 1994?
CREATE TABLE table_name_56 (location VARCHAR, year INTEGER)
SELECT location FROM table_name_56 WHERE year < 1994
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 14836, 584, 4280, 28027, 6, 215, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 1128, 19, 1767, 12, 7520, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 215, 3, 2, 7520, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Who's the captain of the team whose stadium is Gradski Stadion?
CREATE TABLE table_2800 ( "Club" text, "Location" text, "Manager" text, "Stadium" text, "Capacity" real, "Team captain" text )
SELECT "Team captain" FROM table_2800 WHERE "Stadium" = 'Gradski Stadion'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 6192, 41, 96, 254, 11158, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 27272, 121, 1499, 6, 96, 134, 17, 9, 12925, 121, 1499, 6, 96, 19566, 9, 6726, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18699, 14268, 121, 21680, 953, 834, 357, 6192, 549, 17444, 427, 96, 134, 17, 9, 12925, 121, 3274, 3, 31, 4744, 26, 4009, 30408, 106, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is Thad Jemison's position?
CREATE TABLE table_name_85 ( position VARCHAR, player VARCHAR )
SELECT position FROM table_name_85 WHERE player = "thad jemison"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 1102, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 16118, 26, 446, 12641, 106, 31, 7, 1102, 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, 1102, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 1959, 3274, 96, 17, 8399, 3, 354, 12641, 106, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many picks had a Reg GP that was over 906, when the Pl GP was bigger than 99?
CREATE TABLE table_name_30 ( pick__number VARCHAR, reg_gp VARCHAR, pl_gp VARCHAR )
SELECT COUNT(pick__number) FROM table_name_30 WHERE reg_gp > 906 AND pl_gp > 99
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1458, 41, 1432, 834, 834, 5525, 1152, 584, 4280, 28027, 6, 5925, 834, 122, 102, 584, 4280, 28027, 6, 4752, 834, 122, 102, 584, 4280, 28027, 3, 61, 3, 32102, 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, 2847, 17161, 599, 17967, 834, 834, 5525, 1152, 61, 21680, 953, 834, 4350, 834, 1458, 549, 17444, 427, 5925, 834, 122, 102, 2490, 2777, 948, 3430, 4752, 834, 122, 102, 2490, 12185, 1, -100, -100, -100, -100, -100, -100...
What is Date, when Away is High Park Demons?
CREATE TABLE table_name_43 ( date VARCHAR, away VARCHAR )
SELECT date FROM table_name_43 WHERE away = "high park demons"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4906, 41, 833, 584, 4280, 28027, 6, 550, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 7678, 6, 116, 71, 1343, 19, 1592, 1061, 15782, 29, 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, 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, 4906, 549, 17444, 427, 550, 3274, 96, 6739, 2447, 20, 2157, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What Sweet Sixteen team is in the Colonial conference?
CREATE TABLE table_name_95 ( sweet_sixteen VARCHAR, conference VARCHAR )
SELECT sweet_sixteen FROM table_name_95 WHERE conference = "colonial"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3301, 41, 2093, 834, 7, 2407, 6808, 584, 4280, 28027, 6, 2542, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 11168, 7643, 6808, 372, 19, 16, 8, 30...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2093, 834, 7, 2407, 6808, 21680, 953, 834, 4350, 834, 3301, 549, 17444, 427, 2542, 3274, 96, 8135, 7419, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest population in 2011 for the settlement of ortanovci?
CREATE TABLE table_27909 ( "Settlement" text, "Cyrillic Name Other Names" text, "Type" text, "Population (2011)" real, "Largest ethnic group (2002)" text, "Dominant religion (2002)" text )
SELECT MIN("Population (2011)") FROM table_27909 WHERE "Settlement" = 'Čortanovci'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4440, 4198, 41, 96, 17175, 17, 3335, 121, 1499, 6, 96, 254, 63, 52, 173, 2176, 5570, 2502, 5570, 7, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 27773, 7830, 25163, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 27773, 7830, 25163, 8512, 21680, 953, 834, 357, 4440, 4198, 549, 17444, 427, 96, 17175, 17, 3335, 121, 3274, 3, 31, 2, 127, 17, 9, 5326, 75, 23, 31, 1, -100, -100, -100, -100, -100, -100, -100,...
Which Catalogno was #160 us?
CREATE TABLE table_name_31 (catalogno VARCHAR, remark VARCHAR)
SELECT catalogno FROM table_name_31 WHERE remark = "#160 us"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 2138, 138, 32, 6715, 584, 4280, 28027, 6, 3, 60, 3920, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 22424, 29, 32, 47, 7172, 3328, 178, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 10173, 29, 32, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 3, 60, 3920, 3274, 96, 4663, 19129, 178, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is Away, when Home is Guelph Gargoyles?
CREATE TABLE table_43041 ( "Date" text, "Time" text, "Home" text, "Away" text, "Score" text, "Ground" text )
SELECT "Away" FROM table_43041 WHERE "Home" = 'guelph gargoyles'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25449, 4853, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 517, 7775, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 188, 1343, 121, 21680, 953, 834, 25449, 4853, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 5398, 40, 102, 107, 5260, 839, 63, 965, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
latest deep learning papers
CREATE TABLE cite ( citingpaperid int, citedpaperid int ) CREATE TABLE keyphrase ( keyphraseid int, keyphrasename varchar ) CREATE TABLE paperkeyphrase ( paperid int, keyphraseid int ) CREATE TABLE writes ( paperid int, authorid int ) CREATE TABLE author ( authorid int, authorname varchar ) CREATE TABLE paperfield ( fieldid int, paperid int ) CREATE TABLE journal ( journalid int, journalname varchar ) CREATE TABLE field ( fieldid int ) CREATE TABLE venue ( venueid int, venuename varchar ) CREATE TABLE paperdataset ( paperid int, datasetid int ) CREATE TABLE paper ( paperid int, title varchar, venueid int, year int, numciting int, numcitedby int, journalid int ) CREATE TABLE dataset ( datasetid int, datasetname varchar )
SELECT DISTINCT paper.paperid, paper.year FROM keyphrase, paper, paperkeyphrase WHERE keyphrase.keyphrasename = 'deep learning' AND paperkeyphrase.keyphraseid = keyphrase.keyphraseid AND paper.paperid = paperkeyphrase.paperid ORDER BY paper.year DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 8464, 41, 3, 17994, 19587, 23, 26, 16, 17, 6, 3, 11675, 19587, 23, 26, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 843, 27111, 41, 843, 27111, 23, 26, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 15438, 25424, 6227, 1040, 5, 19587, 23, 26, 6, 1040, 5, 1201, 21680, 843, 27111, 6, 1040, 6, 1040, 4397, 27111, 549, 17444, 427, 843, 27111, 5, 4397, 27111, 4350, 3274, 3, 31, 25221, 1036, 31, 3430, 1040, 4397, ...
Which position's cfl team was the Montreal Alouettes when the pick number was less than 15?
CREATE TABLE table_name_52 (position VARCHAR, cfl_team VARCHAR, pick__number VARCHAR)
SELECT position FROM table_name_52 WHERE cfl_team = "montreal alouettes" AND pick__number < 15
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 4718, 584, 4280, 28027, 6, 3, 75, 89, 40, 834, 11650, 584, 4280, 28027, 6, 1432, 834, 834, 5525, 1152, 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, 1102, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 3, 75, 89, 40, 834, 11650, 3274, 96, 4662, 6644, 491, 24043, 7, 121, 3430, 1432, 834, 834, 5525, 1152, 3, 2, 627, 1, -100, -100, -100, -100, -100, -100, -10...
has patient 022-142620 had any medication until 08/2105?
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 intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime time ) CREATE TABLE microlab ( microlabid number, patientunitstayid number, culturesite text, organism text, culturetakentime time ) CREATE TABLE cost ( costid number, uniquepid text, patienthealthsystemstayid number, eventtype text, eventid number, chargetime time, cost number ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE diagnosis ( diagnosisid number, patientunitstayid number, diagnosisname text, diagnosistime time, icd9code text ) CREATE TABLE treatment ( treatmentid number, patientunitstayid number, treatmentname text, treatmenttime time ) CREATE TABLE vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time )
SELECT COUNT(*) > 0 FROM medication WHERE medication.patientunitstayid IN (SELECT patient.patientunitstayid FROM patient WHERE patient.patienthealthsystemstayid IN (SELECT patient.patienthealthsystemstayid FROM patient WHERE patient.uniquepid = '022-142620')) AND STRFTIME('%y-%m', medication.drugstarttime) <= '2105-08'
[ 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, 2847, 17161, 599, 1935, 61, 2490, 3, 632, 21680, 7757, 549, 17444, 427, 7757, 5, 10061, 15129, 21545, 23, 26, 3388, 41, 23143, 14196, 1868, 5, 10061, 15129, 21545, 23, 26, 21680, 1868, 549, 17444, 427, 1868, 5, 10061,...
What mean total had a league number of 18, Richard Logan as a player, and a play-offs number smaller than 1?
CREATE TABLE table_name_88 ( total INTEGER, play_offs VARCHAR, league VARCHAR, player VARCHAR )
SELECT AVG(total) FROM table_name_88 WHERE league = 18 AND player = "richard logan" AND play_offs < 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 792, 3, 21342, 17966, 6, 577, 834, 1647, 7, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 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, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 5533, 3274, 507, 3430, 1959, 3274, 96, 3723, 986, 4303, 152, 121, 3430, 577, 834, 1647, 7, 3, 2, 209, 1, -100, -100, -100, -100, -1...
What is the Set 5 if Set 2 is 25-20?
CREATE TABLE table_name_44 ( set_5 VARCHAR, set_2 VARCHAR )
SELECT set_5 FROM table_name_44 WHERE set_2 = "25-20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 356, 834, 755, 584, 4280, 28027, 6, 356, 834, 357, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2821, 305, 3, 99, 2821, 204, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 356, 834, 755, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 356, 834, 357, 3274, 96, 1828, 7988, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What format was conductor Erich Leinsdorf's album released on?
CREATE TABLE table_31677 ( "Cellist" text, "Orchestra" text, "Conductor" text, "Record Company" text, "Year of Recording" real, "Format" text )
SELECT "Format" FROM table_31677 WHERE "Conductor" = 'erich leinsdorf'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25946, 4013, 41, 96, 254, 3820, 343, 121, 1499, 6, 96, 7395, 1033, 3109, 121, 1499, 6, 96, 4302, 7472, 127, 121, 1499, 6, 96, 1649, 7621, 1958, 121, 1499, 6, 96, 476, 274...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 3809, 3357, 121, 21680, 953, 834, 25946, 4013, 549, 17444, 427, 96, 4302, 7472, 127, 121, 3274, 3, 31, 49, 362, 90, 77, 7, 8716, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHich Tournament has a Finalist of marat safin (12)?
CREATE TABLE table_name_47 ( tournament VARCHAR, finalist VARCHAR )
SELECT tournament FROM table_name_47 WHERE finalist = "marat safin (12)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 5892, 584, 4280, 28027, 6, 804, 343, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 3, 15313, 362, 20502, 65, 3, 9, 6514, 343, 13, 3157, 144, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 804, 343, 3274, 96, 1635, 144, 3, 7, 9, 89, 77, 16465, 61, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What rounds did RML Racing Silverline and James Nash compete?
CREATE TABLE table_name_28 ( rounds VARCHAR, team VARCHAR, drivers VARCHAR )
SELECT rounds FROM table_name_28 WHERE team = "rml racing silverline" AND drivers = "james nash"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 14419, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 3863, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 14419, 410, 391, 6858, 16046, 56...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14419, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 372, 3274, 96, 52, 51, 40, 8191, 4294, 747, 121, 3430, 3863, 3274, 96, 1191, 2687, 3, 29, 3198, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Please give me a bar chart showing institution types, along with the total enrollment for each type, could you order by the x axis in desc?
CREATE TABLE Institution ( Institution_id text, Institution text, Location text, Founded real, Type text, Enrollment int, Team text, Primary_Conference text, building_id text ) CREATE TABLE protein ( common_name text, protein_name text, divergence_from_human_lineage real, accession_number text, sequence_length real, sequence_identity_to_human_protein text, Institution_id text ) CREATE TABLE building ( building_id text, Name text, Street_address text, Years_as_tallest text, Height_feet int, Floors int )
SELECT Type, SUM(Enrollment) FROM Institution GROUP BY Type ORDER BY Type DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14932, 41, 14932, 834, 23, 26, 1499, 6, 14932, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 6632, 1499, 6, 695, 4046, 297, 16, 17, 6, 2271, 1499, 6, 14542, 834, 4302, 11788, 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, 6632, 6, 180, 6122, 599, 8532, 4046, 297, 61, 21680, 14932, 350, 4630, 6880, 272, 476, 6632, 4674, 11300, 272, 476, 6632, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the highest League Cup with a Player that is steed malbranque?
CREATE TABLE table_43236 ( "Player" text, "Position" text, "Premier League" real, "FA Cup" real, "League Cup" real, "UEFA Cup" real, "Total" real )
SELECT MAX("League Cup") FROM table_43236 WHERE "Player" = 'steed malbranque'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2668, 3420, 41, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 10572, 51, 972, 3815, 121, 490, 6, 96, 4795, 3802, 121, 490, 6, 96, 2796, 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, 4800, 4, 599, 121, 2796, 9, 5398, 3802, 8512, 21680, 953, 834, 591, 2668, 3420, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 849, 15, 26, 1460, 1939, 29, 835, 31, 1, -100, -100, -100, -100, -100, -100, -100, ...
What is the Mintage of the 12.61 g Weight Ruby-Throated Hummingbird?
CREATE TABLE table_name_88 ( mintage VARCHAR, weight VARCHAR, theme VARCHAR )
SELECT COUNT(mintage) FROM table_name_88 WHERE weight = "12.61 g" AND theme = "ruby-throated hummingbird"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4060, 41, 13983, 545, 584, 4280, 28027, 6, 1293, 584, 4280, 28027, 6, 3800, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4765, 6505, 13, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 1109, 6505, 61, 21680, 953, 834, 4350, 834, 4060, 549, 17444, 427, 1293, 3274, 96, 9368, 4241, 3, 122, 121, 3430, 3800, 3274, 96, 14446, 63, 18, 8514, 920, 3, 107, 23434, 9414, 121, 1, -100, -100, ...
Name the deployable military (2011, thousands for gdp nominal for 468539
CREATE TABLE table_1787 ( "Country" text, "Population (2011)" real, "GDP (nominal) (2010, US$ millions)" real, "Military expenditures (2011, US$ millions)" real, "Military expenditures (2011, % of GDP)" text, "Defence expenditures, (2011, per capita)" real, "Deployable military (2011, thousands)" text )
SELECT "Deployable military (2011, thousands)" FROM table_1787 WHERE "GDP (nominal) (2010, US$ millions)" = '468539'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 4225, 41, 96, 10628, 651, 121, 1499, 6, 96, 27773, 7830, 25163, 121, 490, 6, 96, 517, 7410, 41, 3114, 10270, 61, 41, 14926, 6, 837, 3229, 4040, 61, 121, 490, 6, 96,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 2962, 7379, 63, 179, 2716, 41, 13907, 6, 2909, 61, 121, 21680, 953, 834, 2517, 4225, 549, 17444, 427, 96, 517, 7410, 41, 3114, 10270, 61, 41, 14926, 6, 837, 3229, 4040, 61, 121, 3274, 3, 31, 4448, 4433, 3288, ...
What's the Dutch word for Apel?
CREATE TABLE table_name_48 ( dutch VARCHAR, crimean_gothic VARCHAR )
SELECT dutch FROM table_name_48 WHERE crimean_gothic = "apel"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 146, 17, 524, 584, 4280, 28027, 6, 5447, 152, 834, 839, 189, 447, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31, 7, 8, 10098, 1448, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 146, 17, 524, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 5447, 152, 834, 839, 189, 447, 3274, 96, 9, 4343, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the gender and language of the patient david trammell?
CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) 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 procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text )
SELECT demographic.gender, demographic.language FROM demographic WHERE demographic.name = "David Trammell"
[ 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, 14798, 5, 122, 3868, 6, 14798, 5, 24925, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 308, 9, 6961, 3083, 635, 3820, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many events have each participants attended? List the participant id and the number, and group by participants type with a scatter chart.
CREATE TABLE Events ( Event_ID INTEGER, Service_ID INTEGER, Event_Details VARCHAR(255) ) CREATE TABLE Services ( Service_ID INTEGER, Service_Type_Code CHAR(15) ) CREATE TABLE Participants_in_Events ( Event_ID INTEGER, Participant_ID INTEGER ) CREATE TABLE Participants ( Participant_ID INTEGER, Participant_Type_Code CHAR(15), Participant_Details VARCHAR(255) )
SELECT T1.Participant_ID, COUNT(*) FROM Participants AS T1 JOIN Participants_in_Events AS T2 ON T1.Participant_ID = T2.Participant_ID GROUP BY Participant_Type_Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 11137, 41, 8042, 834, 4309, 3, 21342, 17966, 6, 1387, 834, 4309, 3, 21342, 17966, 6, 8042, 834, 2962, 5756, 7, 584, 4280, 28027, 599, 25502, 61, 3, 61, 3, 32102, 32103, 32102, 205, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 13725, 23, 3389, 288, 834, 4309, 6, 2847, 17161, 599, 1935, 61, 21680, 19204, 6157, 332, 536, 3, 15355, 3162, 19204, 834, 77, 834, 427, 2169, 7, 6157, 332, 357, 9191, 332, 5411, 13725, 23, 3389, 288, 834,...
What's the target of the antibody rituximab?
CREATE TABLE table_45021 ( "Antibody" text, "Brand name" text, "Approval date" real, "Type" text, "Target" text )
SELECT "Target" FROM table_45021 WHERE "Antibody" = 'rituximab'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 10593, 2658, 41, 96, 27355, 6965, 121, 1499, 6, 96, 18304, 727, 564, 121, 1499, 6, 96, 9648, 8843, 138, 833, 121, 490, 6, 96, 25160, 121, 1499, 6, 96, 382, 291, 2782, 121...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 382, 291, 2782, 121, 21680, 953, 834, 10593, 2658, 549, 17444, 427, 96, 27355, 6965, 121, 3274, 3, 31, 52, 155, 3090, 603, 9, 115, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is ethnicity of subject name paul edwards?
CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, 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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT demographic.ethnicity FROM demographic WHERE demographic.name = "Paul Edwards"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7690, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 2118, 23, 26, 1499, 6, 5059, 715, 1499, 6, 5692, 1499, 6, 701, 834, 15129, 1499, 6, 3783, 1499, 6, 5798, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 15, 189, 2532, 485, 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, -100, -100, -100...
patients with creatinine clearance < 50 ml / min,
CREATE TABLE table_test_18 ( "id" int, "bleeding" int, "dialysis" bool, "hct" int, "hepatic_disease" bool, "anaemia" bool, "creatinine_clearance_cl" float, "polycytaemia" bool, "thrombocytopenia" float, "kidney_disease" bool, "body_mass_index_bmi" float, "glycosylated_hemoglobin" float, "NOUSE" float )
SELECT * FROM table_test_18 WHERE creatinine_clearance_cl < 50
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4377, 834, 2606, 41, 96, 23, 26, 121, 16, 17, 6, 96, 27779, 53, 121, 16, 17, 6, 96, 26, 23, 9, 21091, 121, 3, 12840, 40, 6, 96, 107, 75, 17, 121, 16, 17, 6, 96, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1429, 21680, 953, 834, 4377, 834, 2606, 549, 17444, 427, 8830, 77, 630, 834, 2482, 9, 5219, 834, 75, 40, 3, 2, 943, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What year was the the youngest nominee a winner?
CREATE TABLE table_78525 ( "Superlative" text, "Actor" text, "Record Set" text, "Year" text, "Notes" text )
SELECT "Year" FROM table_78525 WHERE "Superlative" = 'youngest nominee'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 755, 1828, 41, 96, 23290, 40, 1528, 121, 1499, 6, 96, 188, 5317, 121, 1499, 6, 96, 1649, 7621, 2821, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 10358, 15, 7, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 476, 2741, 121, 21680, 953, 834, 3940, 755, 1828, 549, 17444, 427, 96, 23290, 40, 1528, 121, 3274, 3, 31, 4188, 1725, 222, 21077, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Which season has a Result of 6 9?
CREATE TABLE table_54195 ( "Season" text, "Competition" text, "Round" text, "Opponent" text, "Result" text, "Venue" text )
SELECT "Season" FROM table_54195 WHERE "Result" = '6–9'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 22464, 41, 96, 134, 15, 9, 739, 121, 1499, 6, 96, 5890, 4995, 4749, 121, 1499, 6, 96, 448, 32, 1106, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 9, 739, 121, 21680, 953, 834, 5062, 22464, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 948, 104, 1298, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those records from the products and each product's manufacturer, return a bar chart about the distribution of name and the sum of code , and group by attribute name, and show from low to high by the total number.
CREATE TABLE Products ( Code INTEGER, Name VARCHAR(255), Price DECIMAL, Manufacturer INTEGER ) CREATE TABLE Manufacturers ( Code INTEGER, Name VARCHAR(255), Headquarter VARCHAR(255), Founder VARCHAR(255), Revenue REAL )
SELECT T2.Name, T1.Code FROM Products AS T1 JOIN Manufacturers AS T2 ON T1.Manufacturer = T2.Code GROUP BY T2.Name ORDER BY T1.Code
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7554, 41, 3636, 3, 21342, 17966, 6, 5570, 584, 4280, 28027, 599, 25502, 201, 5312, 3396, 254, 26330, 434, 6, 15248, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 23954, 6, 332, 5411, 22737, 21680, 7554, 6157, 332, 536, 3, 15355, 3162, 15248, 7, 6157, 332, 357, 9191, 332, 5411, 7296, 76, 8717, 450, 49, 3274, 332, 4416, 22737, 350, 4630, 6880, 272, 476, 332, 4416, 2...
Bar graph to show the total number from different party
CREATE TABLE debate ( Debate_ID int, Date text, Venue text, Num_of_Audience int ) CREATE TABLE people ( People_ID int, District text, Name text, Party text, Age int ) CREATE TABLE debate_people ( Debate_ID int, Affirmative int, Negative int, If_Affirmative_Win bool )
SELECT Party, COUNT(*) FROM people GROUP BY Party
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5054, 41, 9794, 342, 834, 4309, 16, 17, 6, 7678, 1499, 6, 29940, 1499, 6, 1174, 51, 834, 858, 834, 188, 5291, 1433, 16, 17, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 170...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3450, 6, 2847, 17161, 599, 1935, 61, 21680, 151, 350, 4630, 6880, 272, 476, 3450, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which address do not have any member with the black membership card?
CREATE TABLE member (address VARCHAR, Membership_card VARCHAR)
SELECT address FROM member EXCEPT SELECT address FROM member WHERE Membership_card = 'Black'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 41, 9, 26, 12039, 584, 4280, 28027, 6, 19428, 834, 6043, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1115, 103, 59, 43, 136, 1144, 28, 8, 1001, 4757, 895, 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, 1115, 21680, 1144, 262, 4, 30416, 3, 23143, 14196, 1115, 21680, 1144, 549, 17444, 427, 19428, 834, 6043, 3274, 3, 31, 20096, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which tournament's 2001 and 2008 were a when 2010 was qf?
CREATE TABLE table_name_4 ( tournament VARCHAR )
SELECT tournament FROM table_name_4 WHERE 2001 = "a" AND 2008 = "a" AND 2010 = "qf"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 5892, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 31, 7, 4402, 11, 2628, 130, 3, 9, 116, 2735, 47, 3, 1824, 89, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5892, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 4402, 3274, 96, 9, 121, 3430, 2628, 3274, 96, 9, 121, 3430, 2735, 3274, 96, 1824, 89, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Names have Deciles larger than 7?
CREATE TABLE table_name_38 (name VARCHAR, decile INTEGER)
SELECT name FROM table_name_38 WHERE decile > 7
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 4350, 584, 4280, 28027, 6, 7908, 109, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 4073, 5570, 7, 43, 14600, 965, 2186, 145, 489, 58, 1, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 7908, 109, 2490, 489, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who is the winning driver of the Oschersleben circuit with Timo Scheider as the pole position?
CREATE TABLE table_74934 ( "Circuit" text, "Date" text, "Pole position" text, "Fastest Lap" text, "Winning driver" text, "Winning team" text, "Winning manufacturer" text )
SELECT "Winning driver" FROM table_74934 WHERE "Pole position" = 'timo scheider' AND "Circuit" = 'oschersleben'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 4271, 591, 41, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 8931, 15, 1102, 121, 1499, 6, 96, 371, 9, 7, 4377, 325, 102, 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, 518, 10503, 2535, 121, 21680, 953, 834, 4581, 4271, 591, 549, 17444, 427, 96, 8931, 15, 1102, 121, 3274, 3, 31, 2998, 32, 3, 10726, 49, 31, 3430, 96, 254, 23, 52, 21560, 121, 3274, 3, 31, 32, 11575, 7, 8766,...
Name the least rank
CREATE TABLE table_27489 ( "Rank" real, "District" text, "Population" real, "Growth Rate" text, "Sex Ratio" real, "Literacy" text, "Density/KM" real )
SELECT MIN("Rank") FROM table_27489
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 591, 3914, 41, 96, 22557, 121, 490, 6, 96, 308, 23, 20066, 121, 1499, 6, 96, 27773, 7830, 121, 490, 6, 96, 517, 3623, 189, 13002, 121, 1499, 6, 96, 134, 994, 6455, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 22557, 8512, 21680, 953, 834, 2555, 591, 3914, 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,...
Create a bar chart showing the number of date claim made across date claim made, rank from high to low by the y-axis.
CREATE TABLE Settlements ( Settlement_ID INTEGER, Claim_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER, Customer_Policy_ID INTEGER ) CREATE TABLE Claims ( Claim_ID INTEGER, Policy_ID INTEGER, Date_Claim_Made DATE, Date_Claim_Settled DATE, Amount_Claimed INTEGER, Amount_Settled INTEGER ) CREATE TABLE Customers ( Customer_ID INTEGER, Customer_Details VARCHAR(255) ) CREATE TABLE Payments ( Payment_ID INTEGER, Settlement_ID INTEGER, Payment_Method_Code VARCHAR(255), Date_Payment_Made DATE, Amount_Payment INTEGER ) CREATE TABLE Customer_Policies ( Policy_ID INTEGER, Customer_ID INTEGER, Policy_Type_Code CHAR(15), Start_Date DATE, End_Date DATE )
SELECT Date_Claim_Made, COUNT(Date_Claim_Made) FROM Settlements ORDER BY COUNT(Date_Claim_Made) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 31044, 7, 41, 31044, 834, 4309, 3, 21342, 17966, 6, 7781, 603, 834, 4309, 3, 21342, 17966, 6, 7678, 834, 254, 521, 603, 834, 329, 9, 221, 309, 6048, 6, 7678, 834, 254, 521, 603, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7678, 834, 254, 521, 603, 834, 329, 9, 221, 6, 2847, 17161, 599, 308, 342, 834, 254, 521, 603, 834, 329, 9, 221, 61, 21680, 31044, 7, 4674, 11300, 272, 476, 2847, 17161, 599, 308, 342, 834, 254, 521, 603, 834, 3...
What's the description of the buttonholer whose singer part number is 121795 kit 121908 buttonholer?
CREATE TABLE table_74301 ( "For shank type" text, "Singer part number" text, "Uses templates?" text, "Description" text, "Storage case" text )
SELECT "Description" FROM table_74301 WHERE "Singer part number" = '121795 kit 121908 buttonholer'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4581, 25626, 41, 96, 3809, 6660, 5979, 686, 121, 1499, 6, 96, 134, 9963, 294, 381, 121, 1499, 6, 96, 1265, 2260, 7405, 4609, 1499, 6, 96, 2962, 11830, 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, 1...
[ 3, 23143, 14196, 96, 2962, 11830, 121, 21680, 953, 834, 4581, 25626, 549, 17444, 427, 96, 134, 9963, 294, 381, 121, 3274, 3, 31, 2122, 2517, 3301, 3650, 586, 2294, 4018, 2218, 2831, 49, 31, 1, -100, -100, -100, -100, -100, -100, -10...
Where did the Jet's play with an attendance of 11,309?
CREATE TABLE table_name_98 (game_site VARCHAR, attendance VARCHAR)
SELECT game_site FROM table_name_98 WHERE attendance = "11,309"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 7261, 834, 3585, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 410, 8, 12434, 31, 7, 577, 28, 46, 11364, 13, 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, 0, 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, 3916, 549, 17444, 427, 11364, 3274, 96, 2596, 6, 1458, 1298, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What was the airdate of 21 series number?
CREATE TABLE table_11630008_3 ( original_air_date VARCHAR, series_no VARCHAR )
SELECT original_air_date FROM table_11630008_3 WHERE series_no = 21
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20159, 5426, 4018, 834, 519, 41, 926, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 939, 834, 29, 32, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 799, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 926, 834, 2256, 834, 5522, 21680, 953, 834, 20159, 5426, 4018, 834, 519, 549, 17444, 427, 939, 834, 29, 32, 3274, 1401, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
When relay is the station type and 5kw is the power kw what is the branding?
CREATE TABLE table_23394920_1 (branding VARCHAR, power_kw VARCHAR, station_type VARCHAR)
SELECT branding FROM table_23394920_1 WHERE power_kw = "5kW" AND station_type = "Relay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20879, 4240, 27749, 834, 536, 41, 12164, 53, 584, 4280, 28027, 6, 579, 834, 157, 210, 584, 4280, 28027, 6, 2478, 834, 6137, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 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, 14282, 21680, 953, 834, 20879, 4240, 27749, 834, 536, 549, 17444, 427, 579, 834, 157, 210, 3274, 96, 755, 21729, 121, 3430, 2478, 834, 6137, 3274, 96, 1649, 5595, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100...
What are the number of the dates in which the mean sea level pressure was between 303 and 31?, display date in asc order.
CREATE TABLE trip ( id INTEGER, duration INTEGER, start_date TEXT, start_station_name TEXT, start_station_id INTEGER, end_date TEXT, end_station_name TEXT, end_station_id INTEGER, bike_id INTEGER, subscription_type TEXT, zip_code INTEGER ) CREATE TABLE station ( id INTEGER, name TEXT, lat NUMERIC, long NUMERIC, dock_count INTEGER, city TEXT, installation_date TEXT ) CREATE TABLE weather ( date TEXT, max_temperature_f INTEGER, mean_temperature_f INTEGER, min_temperature_f INTEGER, max_dew_point_f INTEGER, mean_dew_point_f INTEGER, min_dew_point_f INTEGER, max_humidity INTEGER, mean_humidity INTEGER, min_humidity INTEGER, max_sea_level_pressure_inches NUMERIC, mean_sea_level_pressure_inches NUMERIC, min_sea_level_pressure_inches NUMERIC, max_visibility_miles INTEGER, mean_visibility_miles INTEGER, min_visibility_miles INTEGER, max_wind_Speed_mph INTEGER, mean_wind_speed_mph INTEGER, max_gust_speed_mph INTEGER, precipitation_inches INTEGER, cloud_cover INTEGER, events TEXT, wind_dir_degrees INTEGER, zip_code INTEGER ) CREATE TABLE status ( station_id INTEGER, bikes_available INTEGER, docks_available INTEGER, time TEXT )
SELECT date, COUNT(date) FROM weather WHERE mean_sea_level_pressure_inches BETWEEN 30.3 AND 31 GROUP BY date ORDER BY date
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1469, 41, 3, 23, 26, 3, 21342, 17966, 6, 8659, 3, 21342, 17966, 6, 456, 834, 5522, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 4350, 3, 3463, 4, 382, 6, 456, 834, 6682, 834, 23, 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, 833, 6, 2847, 17161, 599, 5522, 61, 21680, 1969, 549, 17444, 427, 1243, 834, 7, 15, 9, 834, 4563, 834, 26866, 834, 77, 2951, 272, 7969, 518, 23394, 220, 19997, 3430, 2664, 350, 4630, 6880, 272, 476, 833, 4674, 11300...
Which stadium is for football with the China League One?
CREATE TABLE table_name_34 (stadium VARCHAR, sport VARCHAR, league VARCHAR)
SELECT stadium FROM table_name_34 WHERE sport = "football" AND league = "china league one"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3710, 41, 2427, 12925, 584, 4280, 28027, 6, 2600, 584, 4280, 28027, 6, 5533, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 14939, 19, 21, 3370, 28, 8,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 14939, 21680, 953, 834, 4350, 834, 3710, 549, 17444, 427, 2600, 3274, 96, 6259, 3184, 121, 3430, 5533, 3274, 96, 5675, 9, 5533, 80, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
when did patient 025-30850 get admitted to the hospital for the first 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 allergy ( allergyid number, patientunitstayid number, drugname text, allergyname text, allergytime time ) CREATE TABLE lab ( labid number, patientunitstayid number, labname text, labresult number, labresulttime time ) CREATE TABLE medication ( medicationid number, patientunitstayid number, drugname text, dosage text, routeadmin text, drugstarttime time, drugstoptime 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 vitalperiodic ( vitalperiodicid number, patientunitstayid number, temperature number, sao2 number, heartrate number, respiration number, systemicsystolic number, systemicdiastolic number, systemicmean number, observationtime time ) CREATE TABLE intakeoutput ( intakeoutputid number, patientunitstayid number, cellpath text, celllabel text, cellvaluenumeric number, intakeoutputtime time )
SELECT patient.hospitaladmittime FROM patient WHERE patient.uniquepid = '025-30850' ORDER BY patient.hospitaladmittime LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1058, 41, 1058, 23, 26, 381, 6, 1868, 15129, 21545, 23, 26, 381, 6, 1058, 4350, 1499, 6, 1058, 715, 97, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 583, 41, 583, 23...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1868, 5, 31386, 20466, 17, 715, 21680, 1868, 549, 17444, 427, 1868, 5, 202, 1495, 12417, 3274, 3, 31, 632, 1828, 10086, 17246, 31, 4674, 11300, 272, 476, 1868, 5, 31386, 20466, 17, 715, 8729, 12604, 209, 1, -100, -1...
How many fastest laps were there for a rd that equals 10?
CREATE TABLE table_10706879_3 ( fastest_lap VARCHAR, rd VARCHAR )
SELECT COUNT(fastest_lap) FROM table_10706879_3 WHERE rd = 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1714, 2518, 3651, 4440, 834, 519, 41, 10391, 834, 8478, 584, 4280, 28027, 6, 3, 52, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 10391, 14941, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 11584, 222, 834, 8478, 61, 21680, 953, 834, 1714, 2518, 3651, 4440, 834, 519, 549, 17444, 427, 3, 52, 26, 3274, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many years was the position 97th?
CREATE TABLE table_2182562_1 (year VARCHAR, position VARCHAR)
SELECT COUNT(year) FROM table_2182562_1 WHERE position = "97th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2606, 1828, 4056, 834, 536, 41, 1201, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 203, 47, 8, 1102, 3, 4327, 189, 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, 2847, 17161, 599, 1201, 61, 21680, 953, 834, 357, 2606, 1828, 4056, 834, 536, 549, 17444, 427, 1102, 3274, 96, 4327, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the longest carry for kevin clemens with under 31 yards total?
CREATE TABLE table_name_72 (long INTEGER, player VARCHAR, yards VARCHAR)
SELECT MAX(long) FROM table_name_72 WHERE player = "kevin clemens" AND yards < 31
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 2961, 3, 21342, 17966, 6, 1959, 584, 4280, 28027, 6, 6460, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 14783, 2331, 21, 3, 1050, 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, 4800, 4, 599, 2961, 61, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 1959, 3274, 96, 1050, 2494, 3, 2482, 904, 7, 121, 3430, 6460, 3, 2, 2664, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many debut years have Years at club of 1950–1951, and Games larger than 14?
CREATE TABLE table_name_39 (debut_year INTEGER, years_at_club VARCHAR, games VARCHAR)
SELECT SUM(debut_year) FROM table_name_39 WHERE years_at_club = "1950–1951" AND games > 14
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 221, 2780, 834, 1201, 3, 21342, 17966, 6, 203, 834, 144, 834, 13442, 584, 4280, 28027, 6, 1031, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 221, 2780, 834, 1201, 61, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 203, 834, 144, 834, 13442, 3274, 96, 2294, 1752, 104, 2294, 5553, 121, 3430, 1031, 2490, 968, 1, -100, -100, -100, -100, -...
What week number saw a w 31-16 result?
CREATE TABLE table_name_21 (week INTEGER, result VARCHAR)
SELECT MIN(week) FROM table_name_21 WHERE result = "w 31-16"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 8041, 3, 21342, 17966, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 471, 381, 1509, 3, 9, 3, 210, 2664, 10892, 741, 58, 1, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 741, 3274, 96, 210, 2664, 10892, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What position is 1999?
CREATE TABLE table_name_83 (position VARCHAR, year VARCHAR)
SELECT position FROM table_name_83 WHERE year = 1999
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 4718, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 19, 5247, 58, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 215, 3274, 5247, 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 IHSAA class for the school where the mascot is the Rebels?
CREATE TABLE table_13622 ( "School" text, "Location" text, "Mascot" text, "Enrollment" real, "IHSAA Class" text, "# / County" text )
SELECT "IHSAA Class" FROM table_13622 WHERE "Mascot" = 'rebels'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23459, 2884, 41, 96, 29364, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 329, 9, 7, 4310, 121, 1499, 6, 96, 8532, 4046, 297, 121, 490, 6, 96, 196, 4950, 5498, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 196, 4950, 5498, 4501, 121, 21680, 953, 834, 23459, 2884, 549, 17444, 427, 96, 329, 9, 7, 4310, 121, 3274, 3, 31, 60, 2370, 7, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
Who was champion in 2005 where the semi-finalist was #1 in western Carolina?
CREATE TABLE table_name_36 ( champion VARCHAR, year VARCHAR, semi_finalist__number1 VARCHAR )
SELECT champion FROM table_name_36 WHERE year = 2005 AND semi_finalist__number1 = "western carolina"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3420, 41, 6336, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 4772, 834, 12406, 343, 834, 834, 5525, 1152, 536, 584, 4280, 28027, 3, 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, 0, 0, 0...
[ 3, 23143, 14196, 6336, 21680, 953, 834, 4350, 834, 3420, 549, 17444, 427, 215, 3274, 3105, 3430, 4772, 834, 12406, 343, 834, 834, 5525, 1152, 536, 3274, 96, 24411, 443, 12057, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
How much money did Ian Chamings request?
CREATE TABLE table_name_78 ( money_requested__£_ VARCHAR, entrepreneur_s_ VARCHAR )
SELECT money_requested__£_ FROM table_name_78 WHERE entrepreneur_s_ = "ian chamings"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3940, 41, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 584, 4280, 28027, 6, 3, 12290, 834, 7, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 540, 834, 60, 835, 6265, 834, 834, 19853, 834, 21680, 953, 834, 4350, 834, 3940, 549, 17444, 427, 3, 12290, 834, 7, 834, 3274, 96, 23, 152, 3, 17788, 53, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a bar chart about the distribution of ACC_Regular_Season and ACC_Percent , order in asc by the ACC_Regular_Season.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, ACC_Percent FROM basketball_match ORDER BY ACC_Regular_Season
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 8498, 834, 19515, 41, 2271, 834, 4309, 16, 17, 6, 1121, 834, 4309, 16, 17, 6, 2271, 834, 23954, 1499, 6, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1499, 6, 3, 14775, 834, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 6, 3, 14775, 834, 12988, 3728, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 1, -100, -100, -100, -100, -100, -...
How many states that have some college students playing in the mid position but not in the goalie position.
CREATE TABLE tryout ( cName VARCHAR, pPos VARCHAR ) CREATE TABLE college ( state VARCHAR, cName VARCHAR )
SELECT COUNT(*) FROM (SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'mid' EXCEPT SELECT T1.state FROM college AS T1 JOIN tryout AS T2 ON T1.cName = T2.cName WHERE T2.pPos = 'goalie')
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 653, 670, 41, 3, 75, 23954, 584, 4280, 28027, 6, 3, 102, 345, 32, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1900, 41, 538, 584, 4280, 28027, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 1935, 61, 21680, 41, 23143, 14196, 332, 5411, 5540, 21680, 1900, 6157, 332, 536, 3, 15355, 3162, 653, 670, 6157, 332, 357, 9191, 332, 5411, 75, 23954, 3274, 332, 4416, 75, 23954, 549, 17444, 427, 332...
What is the lowest goal difference of club real betis, who has less than 18 wins?
CREATE TABLE table_62140 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT MIN("Goal Difference") FROM table_62140 WHERE "Club" = 'real betis' AND "Wins" < '18'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4056, 22012, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 22512, 7, 121, 490, 6, 96, 18455, 7, 121, 490, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 17684, 599, 121, 6221, 138, 27187, 8512, 21680, 953, 834, 4056, 22012, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 6644, 36, 17, 159, 31, 3430, 96, 18455, 7, 121, 3, 2, 3, 31, 2606, 31, 1, -100, -100, ...
What round was Nick Gillis?
CREATE TABLE table_54740 ( "Round" real, "Overall" real, "Player" text, "Nationality" text, "Club team" text )
SELECT "Round" FROM table_54740 WHERE "Player" = 'nick gillis'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 4177, 2445, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 23847, 1748, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 24732, 485, 121, 1499, 6, 96, 254, 11158, 372, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 448, 32, 1106, 121, 21680, 953, 834, 755, 4177, 2445, 549, 17444, 427, 96, 15800, 49, 121, 3274, 3, 31, 11191, 3, 122, 1092, 159, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Opened has a Category of diesel light rail?
CREATE TABLE table_14002 ( "City" text, "System" text, "Category" text, "Daily ridership" real, "As of" text, "Opened" real, "Stations" text )
SELECT MAX("Opened") FROM table_14002 WHERE "Category" = 'diesel light rail'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22012, 4305, 41, 96, 254, 485, 121, 1499, 6, 96, 14342, 121, 1499, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 308, 9, 9203, 14149, 10462, 121, 490, 6, 96, 188, 7, 13, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 22696, 15, 26, 8512, 21680, 953, 834, 22012, 4305, 549, 17444, 427, 96, 18610, 6066, 651, 121, 3274, 3, 31, 7719, 15, 40, 659, 6579, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Name the location attendance for april 13
CREATE TABLE table_17322817_10 (location_attendance VARCHAR, date VARCHAR)
SELECT location_attendance FROM table_17322817_10 WHERE date = "April 13"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 2668, 2577, 2517, 834, 1714, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 1128, 11364, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1128, 834, 15116, 663, 21680, 953, 834, 2517, 2668, 2577, 2517, 834, 1714, 549, 17444, 427, 833, 3274, 96, 23323, 1179, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the visiting team that had a record of 26-18?
CREATE TABLE table_name_82 (visitor VARCHAR, record VARCHAR)
SELECT visitor FROM table_name_82 WHERE record = "26-18"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 3466, 155, 127, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 3644, 372, 24, 141, 3, 9, 1368, 13, 2208, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7019, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 1368, 3274, 96, 2688, 6996, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What streak start has a total less than 79, 22t as the rank, and tampa bay as the teams?
CREATE TABLE table_name_28 (streak_start VARCHAR, teams VARCHAR, total VARCHAR, rank VARCHAR)
SELECT streak_start FROM table_name_28 WHERE total < 79 AND rank = "22t" AND teams = "tampa bay"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2577, 41, 7, 929, 1639, 834, 10208, 584, 4280, 28027, 6, 2323, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 6, 11003, 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, 18631, 834, 10208, 21680, 953, 834, 4350, 834, 2577, 549, 17444, 427, 792, 3, 2, 3, 4440, 3430, 11003, 3274, 96, 2884, 17, 121, 3430, 2323, 3274, 96, 17, 4624, 9, 10210, 121, 1, -100, -100, -100, -100, -100, -100, ...
What are all the winning records when the result is Scotland won on points table and the Runner-Up result is [[|]] 4 points?
CREATE TABLE table_4048 ( "Year" real, "Host Nation(s)" text, "Final Venue" text, "Winner" text, "Result" text, "Runner-up" text )
SELECT "Winner" FROM table_4048 WHERE "Result" = 'Scotland won on points table' AND "Runner-up" = '[[|]] 4 points'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2445, 3707, 41, 96, 476, 2741, 121, 490, 6, 96, 566, 3481, 11046, 599, 7, 61, 121, 1499, 6, 96, 371, 10270, 29940, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 20119, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 18455, 687, 121, 21680, 953, 834, 2445, 3707, 549, 17444, 427, 96, 20119, 121, 3274, 3, 31, 134, 4310, 40, 232, 751, 30, 979, 953, 31, 3430, 96, 23572, 18, 413, 121, 3274, 3, 31, 6306, 6306, 9175, 908, 908, ...
What percentage of the votes in Copiah did McCain get?
CREATE TABLE table_20799587_1 ( mccain_percentage VARCHAR, county VARCHAR )
SELECT mccain_percentage FROM table_20799587_1 WHERE county = "Copiah"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1755, 4440, 3301, 4225, 834, 536, 41, 3, 51, 12464, 77, 834, 883, 3728, 545, 584, 4280, 28027, 6, 5435, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5294, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 51, 12464, 77, 834, 883, 3728, 545, 21680, 953, 834, 1755, 4440, 3301, 4225, 834, 536, 549, 17444, 427, 5435, 3274, 96, 254, 18916, 107, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
how many patients admitted after year 2146 had ruq pain?
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 diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.admityear < "2146"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 25930, 4844, 159, 3274, 96, 8503, 2247, 276, 13570, 121, 3430, 14798, 5, 20466, 17, 1201, 3, 2, ...
What position did the driver from Audi Sport North America finish in the race after 2008?
CREATE TABLE table_name_52 ( pos VARCHAR, team VARCHAR, year VARCHAR )
SELECT pos FROM table_name_52 WHERE team = "audi sport north america" AND year > 2008
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5373, 41, 3, 2748, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 410, 8, 2535, 45, 9835,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2748, 21680, 953, 834, 4350, 834, 5373, 549, 17444, 427, 372, 3274, 96, 9, 5291, 2600, 3457, 3, 23064, 121, 3430, 215, 2490, 2628, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
If -750m is 46.436, what is the name of the cyclist?
CREATE TABLE table_22839 ( "Rank" real, "Race Number" real, "Name" text, "NOC" text, "- 250m" text, "- 500m" text, "- 750m" text, "- 1,000m" text )
SELECT "Name" FROM table_22839 WHERE "- 750m" = '46.436'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 2577, 3288, 41, 96, 22557, 121, 490, 6, 96, 448, 3302, 7720, 121, 490, 6, 96, 23954, 121, 1499, 6, 96, 7400, 254, 121, 1499, 6, 96, 18, 5986, 51, 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, 23954, 121, 21680, 953, 834, 357, 2577, 3288, 549, 17444, 427, 96, 18, 3, 9979, 51, 121, 3274, 3, 31, 591, 27869, 3420, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is age and date of death of subject id 72353?
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 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 )
SELECT demographic.age, demographic.dod FROM demographic WHERE demographic.subject_id = "72353"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 545, 6, 14798, 5, 26, 32, 26, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 5865, 2469, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total score for the year 2012?
CREATE TABLE table_name_14 (total_score VARCHAR, year VARCHAR)
SELECT total_score FROM table_name_14 WHERE year = 2012
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 235, 1947, 834, 7, 9022, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 2604, 21, 8, 215, 1673, 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, 792, 834, 7, 9022, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 215, 3274, 1673, 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 Location with a Date that is december 10, 1963?
CREATE TABLE table_name_11 (location VARCHAR, date VARCHAR)
SELECT location FROM table_name_11 WHERE date = "december 10, 1963"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2596, 41, 14836, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 28, 3, 9, 7678, 24, 19, 20, 75, 18247, 10372, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 21680, 953, 834, 4350, 834, 2596, 549, 17444, 427, 833, 3274, 96, 221, 75, 18247, 10372, 20613, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the loan club with bbc sport as the start source and ended in 3 February?
CREATE TABLE table_46535 ( "Name" text, "Country" text, "Loan Club" text, "Started" text, "Ended" text, "Start Source" text )
SELECT "Loan Club" FROM table_46535 WHERE "Start Source" = 'bbc sport' AND "Ended" = '3 february'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 4122, 2469, 41, 96, 23954, 121, 1499, 6, 96, 10628, 651, 121, 1499, 6, 96, 434, 32, 152, 1949, 121, 1499, 6, 96, 7681, 1054, 121, 1499, 6, 96, 8532, 221, 26, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 32, 152, 1949, 121, 21680, 953, 834, 591, 4122, 2469, 549, 17444, 427, 96, 7681, 17, 9149, 121, 3274, 3, 31, 115, 115, 75, 2600, 31, 3430, 96, 8532, 221, 26, 121, 3274, 3, 31, 519, 29976, 76, 1208, 31, ...
What is the total medals for nation with more than 0 silvers and more than 0 golds?
CREATE TABLE table_name_97 (total INTEGER, silver VARCHAR, gold VARCHAR)
SELECT AVG(total) FROM table_name_97 WHERE silver > 0 AND gold > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4327, 41, 235, 1947, 3, 21342, 17966, 6, 4294, 584, 4280, 28027, 6, 2045, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 9365, 7, 21, 2982...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4327, 549, 17444, 427, 4294, 2490, 3, 632, 3430, 2045, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which TV network has a country of origin of Iran?
CREATE TABLE table_29799700_2 (tv_network_s_ VARCHAR, country VARCHAR)
SELECT tv_network_s_ FROM table_29799700_2 WHERE country = "Iran"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4327, 3264, 9295, 834, 357, 41, 17, 208, 834, 1582, 1981, 834, 7, 834, 584, 4280, 28027, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 1424, 1229, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17, 208, 834, 1582, 1981, 834, 7, 834, 21680, 953, 834, 357, 4327, 3264, 9295, 834, 357, 549, 17444, 427, 684, 3274, 96, 196, 2002, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which type has turin to monza as a course?
CREATE TABLE table_name_85 (type VARCHAR, course VARCHAR)
SELECT type FROM table_name_85 WHERE course = "turin to monza"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 6137, 584, 4280, 28027, 6, 503, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 686, 65, 3, 4317, 29, 12, 1911, 1629, 38, 3, 9, 503, 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, 686, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 503, 3274, 96, 4317, 29, 12, 1911, 1629, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What score is the team of charlotte?
CREATE TABLE table_name_48 ( score VARCHAR, team VARCHAR )
SELECT score FROM table_name_48 WHERE team = "charlotte"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3707, 41, 2604, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2604, 19, 8, 372, 13, 3, 4059, 21538, 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, 2604, 21680, 953, 834, 4350, 834, 3707, 549, 17444, 427, 372, 3274, 96, 4059, 21538, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is diagnoses short title and diagnoses long title of diagnoses icd9 code 4239?
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 ) 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 )
SELECT diagnoses.short_title, diagnoses.long_title FROM diagnoses WHERE diagnoses.icd9_code = "4239"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 18730, 7, 5, 7, 14184, 834, 21869, 6, 18730, 7, 5, 2961, 834, 21869, 21680, 18730, 7, 549, 17444, 427, 18730, 7, 5, 447, 26, 1298, 834, 4978, 3274, 96, 4165, 3288, 121, 1, -100, -100, -100, -100, -100, -100, -100,...
What is Record, when November is less than 10, and when Game is less than 13?
CREATE TABLE table_8898 ( "Game" real, "November" real, "Opponent" text, "Score" text, "Record" text )
SELECT "Record" FROM table_8898 WHERE "November" < '10' AND "Game" < '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4060, 3916, 41, 96, 23055, 121, 490, 6, 96, 28635, 121, 490, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 1649, 7621, 121, 1499, 3, 61, 3, 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, 96, 1649, 7621, 121, 21680, 953, 834, 4060, 3916, 549, 17444, 427, 96, 28635, 121, 3, 2, 3, 31, 1714, 31, 3430, 96, 23055, 121, 3, 2, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the date for the game where Platense was the home side?
CREATE TABLE table_name_99 (date VARCHAR, home VARCHAR)
SELECT date FROM table_name_99 WHERE home = "platense"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3264, 41, 5522, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 833, 21, 8, 467, 213, 3, 10146, 5167, 47, 8, 234, 59...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 833, 21680, 953, 834, 4350, 834, 3264, 549, 17444, 427, 234, 3274, 96, 17628, 29, 7, 15, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...