NATURAL_LANG
stringlengths
0
446
SCHEMA
stringlengths
27
2.21k
SQL
stringlengths
18
453
input_ids
list
attention_mask
list
labels
list
What is the minimum number of members Europe had at the time Africa had 7375139?
CREATE TABLE table_1914090_2 (europe INTEGER, africa VARCHAR)
SELECT MIN(europe) FROM table_1914090_2 WHERE africa = 7375139
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 22012, 2394, 834, 357, 41, 28188, 3, 21342, 17966, 6, 24040, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2559, 381, 13, 724, 1740, 141, 44, 8, 97...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 28188, 61, 21680, 953, 834, 2294, 22012, 2394, 834, 357, 549, 17444, 427, 24040, 3274, 489, 22954, 24090, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
what is the score where the record is 1-1
CREATE TABLE table_26173058_2 ( ramtha VARCHAR, ahli VARCHAR )
SELECT ramtha FROM table_26173058_2 WHERE ahli = "1-1"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2688, 2517, 1458, 3449, 834, 357, 41, 3, 2375, 189, 9, 584, 4280, 28027, 6, 3, 9, 107, 40, 23, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 2604, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 2375, 189, 9, 21680, 953, 834, 2688, 2517, 1458, 3449, 834, 357, 549, 17444, 427, 3, 9, 107, 40, 23, 3274, 96, 536, 2292, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the name of the home captain when the result was Aus by 229 runs?
CREATE TABLE table_name_83 (home_captain VARCHAR, result VARCHAR)
SELECT home_captain FROM table_name_83 WHERE result = "aus by 229 runs"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 5515, 834, 4010, 17, 9, 77, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 564, 13, 8, 234, 14268, 116, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 4010, 17, 9, 77, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 741, 3274, 96, 2064, 57, 204, 3166, 3154, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the Coefficient of 2 ppt?
CREATE TABLE table_34608 ( "Coefficient" text, "Parts-per example" text, "Uno equiv." text, "Symbol form" text, "Value of quantity" text )
SELECT "Coefficient" FROM table_34608 WHERE "Parts-per example" = '2 ppt'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 4448, 4018, 41, 96, 3881, 16995, 121, 1499, 6, 96, 13725, 7, 18, 883, 677, 121, 1499, 6, 96, 5110, 32, 3, 15, 1169, 208, 535, 1499, 6, 96, 18650, 607, 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, 3881, 16995, 121, 21680, 953, 834, 519, 4448, 4018, 549, 17444, 427, 96, 13725, 7, 18, 883, 677, 121, 3274, 3, 31, 357, 3, 1572, 17, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What mintage earlier than the year 2006 has the butterfly great spangled fritillary.
CREATE TABLE table_10559 ( "Year" real, "Butterfly" text, "Artist" text, "Mintage" real, "Issue Price" text, "Finish" text )
SELECT "Mintage" FROM table_10559 WHERE "Year" < '2006' AND "Butterfly" = 'great spangled fritillary'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12869, 3390, 41, 96, 476, 2741, 121, 490, 6, 96, 279, 5108, 89, 120, 121, 1499, 6, 96, 7754, 343, 121, 1499, 6, 96, 12858, 6505, 121, 490, 6, 96, 196, 7, 7, 76, 15, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 12858, 6505, 121, 21680, 953, 834, 12869, 3390, 549, 17444, 427, 96, 476, 2741, 121, 3, 2, 3, 31, 21196, 31, 3430, 96, 279, 5108, 89, 120, 121, 3274, 3, 31, 20288, 3, 7, 102, 19834, 9030, 17, 1092, 1208, 31,...
What is the total number of Rank for 1996–2007, when there are more than 108 goals?
CREATE TABLE table_name_51 (rank VARCHAR, years VARCHAR, goals VARCHAR)
SELECT COUNT(rank) FROM table_name_51 WHERE years = "1996–2007" AND goals > 108
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5553, 41, 6254, 584, 4280, 28027, 6, 203, 584, 4280, 28027, 6, 1766, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 381, 13, 3, 22557, 21,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 5553, 549, 17444, 427, 203, 3274, 96, 2294, 4314, 104, 20615, 121, 3430, 1766, 2490, 3, 16169, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the average birth rate that has a total fertility rate of na, and a natural growth smaller than 2.5?
CREATE TABLE table_name_14 (births__000s_ INTEGER, total_fertility_rate VARCHAR, natural_growth VARCHAR)
SELECT AVG(births__000s_) FROM table_name_14 WHERE total_fertility_rate = "na" AND natural_growth < 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 20663, 7, 834, 834, 2313, 7, 834, 3, 21342, 17966, 6, 792, 834, 1010, 17, 14277, 834, 2206, 584, 4280, 28027, 6, 793, 834, 24690, 584, 4280, 28027, 61,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 20663, 7, 834, 834, 2313, 7, 834, 61, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 792, 834, 1010, 17, 14277, 834, 2206, 3274, 96, 29, 9, 121, 3430, 793, 834, 24690, 3, 2, 10603, 1, -100, -...
Who is the original artist of ' Preciso Saber Viver'?
CREATE TABLE table_29655 ( "Week #" text, "Theme" text, "Song Choice" text, "Original Artist" text, "Order #" text, "Result" text )
SELECT "Original Artist" FROM table_29655 WHERE "Song Choice" = 'É Preciso Saber Viver'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 4314, 3769, 41, 96, 518, 10266, 1713, 121, 1499, 6, 96, 634, 526, 121, 1499, 6, 96, 134, 2444, 13745, 121, 1499, 6, 96, 667, 3380, 10270, 9152, 121, 1499, 6, 96, 739...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 667, 3380, 10270, 9152, 121, 21680, 953, 834, 357, 4314, 3769, 549, 17444, 427, 96, 134, 2444, 13745, 121, 3274, 3, 31, 6759, 276, 7886, 7, 32, 11315, 49, 1813, 624, 31, 1, -100, -100, -100, -100, -100, -100, ...
Which player is T3?
CREATE TABLE table_name_70 ( player VARCHAR, place VARCHAR )
SELECT player FROM table_name_70 WHERE place = "t3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2518, 41, 1959, 584, 4280, 28027, 6, 286, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1959, 19, 332, 519, 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, 1959, 21680, 953, 834, 4350, 834, 2518, 549, 17444, 427, 286, 3274, 96, 17, 519, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
college attended of previous pick to bob anderegg
CREATE TABLE table_204_93 ( id number, "round" number, "pick" number, "player" text, "position" text, "nationality" text, "team" text, "college" text )
SELECT "college" FROM table_204_93 WHERE "pick" = (SELECT "pick" FROM table_204_93 WHERE "player" = 'bob anderegg') - 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4271, 41, 3, 23, 26, 381, 6, 96, 7775, 121, 381, 6, 96, 17967, 121, 381, 6, 96, 20846, 121, 1499, 6, 96, 4718, 121, 1499, 6, 96, 16557, 485, 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, 3297, 7883, 121, 21680, 953, 834, 26363, 834, 4271, 549, 17444, 427, 96, 17967, 121, 3274, 41, 23143, 14196, 96, 17967, 121, 21680, 953, 834, 26363, 834, 4271, 549, 17444, 427, 96, 20846, 121, 3274, 3, 31, 17396, ...
A bar chart shows the distribution of ACC_Regular_Season and Team_ID , show x axis in descending order.
CREATE TABLE basketball_match ( Team_ID int, School_ID int, Team_Name text, ACC_Regular_Season text, ACC_Percent text, ACC_Home text, ACC_Road text, All_Games text, All_Games_Percent int, All_Home text, All_Road text, All_Neutral text ) CREATE TABLE university ( School_ID int, School text, Location text, Founded real, Affiliation text, Enrollment real, Nickname text, Primary_conference text )
SELECT ACC_Regular_Season, Team_ID FROM basketball_match ORDER BY ACC_Regular_Season DESC
[ 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, 2271, 834, 4309, 21680, 8498, 834, 19515, 4674, 11300, 272, 476, 3, 14775, 834, 17748, 4885, 834, 134, 15, 9, 739, 309, 25067, 1, -100, -100, -100, -100, -100, ...
What date were the runner ups pat hurst juli inkster?
CREATE TABLE table_1121352_2 ( date VARCHAR, runner_s__up VARCHAR )
SELECT date FROM table_1121352_2 WHERE runner_s__up = "Pat Hurst Juli Inkster"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 2658, 2469, 357, 834, 357, 41, 833, 584, 4280, 28027, 6, 3, 10806, 834, 7, 834, 834, 413, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 833, 130, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 833, 21680, 953, 834, 2596, 2658, 2469, 357, 834, 357, 549, 17444, 427, 3, 10806, 834, 7, 834, 834, 413, 3274, 96, 345, 144, 13268, 7, 17, 9983, 86, 157, 1370, 121, 1, -100, -100, -100, -100, -100, -100, -100, -10...
What is listed as the Date made with a Quantity made of 13?
CREATE TABLE table_68987 ( "Class" text, "Type" text, "Fleet numbers" text, "Quantity made" real, "Manufacturer" text, "Date made" text, "Date withdrawn" text )
SELECT "Date made" FROM table_68987 WHERE "Quantity made" = '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3651, 3916, 940, 41, 96, 21486, 121, 1499, 6, 96, 25160, 121, 1499, 6, 96, 371, 109, 15, 17, 2302, 121, 1499, 6, 96, 5991, 288, 485, 263, 121, 490, 6, 96, 7296, 76, 871...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 308, 342, 263, 121, 21680, 953, 834, 3651, 3916, 940, 549, 17444, 427, 96, 5991, 288, 485, 263, 121, 3274, 3, 31, 2368, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What School has an Enrollement smaller than 301?
CREATE TABLE table_name_76 (school VARCHAR, enrollment INTEGER)
SELECT school FROM table_name_76 WHERE enrollment < 301
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 6646, 584, 4280, 28027, 6, 17938, 3, 21342, 17966, 61, 3, 32102, 32103, 32101, 32103, 363, 1121, 65, 46, 695, 4046, 1194, 2755, 145, 3, 25626, 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, 496, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 17938, 3, 2, 3, 25626, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
How many points has more than 15 wins and less than 10 losses?
CREATE TABLE table_14831 ( "Position" real, "Club" text, "Played" real, "Points" text, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT "Points" FROM table_14831 WHERE "Wins" > '15' AND "Losses" < '10'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24748, 3341, 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, 1499, 6, 96, 18455, 7, 121, 490, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22512, 7, 121, 21680, 953, 834, 24748, 3341, 549, 17444, 427, 96, 18455, 7, 121, 2490, 3, 31, 1808, 31, 3430, 96, 434, 13526, 7, 121, 3, 2, 3, 31, 1714, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
Who is the opponent of the game that had a record of 24-26-4?
CREATE TABLE table_5587 ( "Game" real, "February" real, "Opponent" text, "Score" text, "Record" text )
SELECT "Opponent" FROM table_5587 WHERE "Record" = '24-26-4'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 4225, 41, 96, 23055, 121, 490, 6, 96, 31122, 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, 667, 102, 9977, 121, 21680, 953, 834, 3769, 4225, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 2266, 4949, 25618, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
calculate the number of patients who were admitted via emergency hospital room and hospitalized for more than 3 days.
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE diagnoses ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.admission_location = "EMERGENCY ROOM ADMIT" AND demographic.days_stay > "3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 549, 17444, 427, 14798, 5, 9, 26, 5451, 834, 14836, 3274, 96, 427, 13098, 18464, 17063, 3, 30270, 8502, 12604, 121, 3430, 147...
What was the score on the October 28 game?
CREATE TABLE table_23601267_2 ( final_score VARCHAR, date VARCHAR )
SELECT final_score FROM table_23601267_2 WHERE date = "October 28"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 19208, 2122, 3708, 834, 357, 41, 804, 834, 7, 9022, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 2604, 30, 8, 1797, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 804, 834, 7, 9022, 21680, 953, 834, 357, 19208, 2122, 3708, 834, 357, 549, 17444, 427, 833, 3274, 96, 28680, 2059, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Give me the comparison about ACC_Percent over the ACC_Regular_Season , and rank in desc by the X.
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 DESC
[ 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, 309, 25067, 1, -100, -100, -100, -...
get me the number of divorced patients with american indian/alska native ethnic background.
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 prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic WHERE demographic.marital_status = "DIVORCED" AND demographic.ethnicity = "AMERICAN INDIAN/ALASKA NATIVE"
[ 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, 1635, 9538, 834, 8547, 302, 3274, 96, 308, 7589, 2990, 254, 2326, 121, 3430, 14798, 5, 15, 189, ...
What is the average age for a male in each job.
CREATE TABLE PersonFriend ( name varchar(20), friend varchar(20), year INTEGER ) CREATE TABLE Person ( name varchar(20), age INTEGER, city TEXT, gender TEXT, job TEXT )
SELECT job, AVG(age) FROM Person WHERE gender = 'male' GROUP BY job
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 17701, 41, 564, 3, 4331, 4059, 599, 1755, 201, 1565, 3, 4331, 4059, 599, 1755, 201, 215, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 5780, 41, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 613, 6, 71, 17217, 599, 545, 61, 21680, 5780, 549, 17444, 427, 7285, 3274, 3, 31, 13513, 31, 350, 4630, 6880, 272, 476, 613, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the number of types of competition?, I want to display X-axis from high to low order.
CREATE TABLE competition_result ( Competition_ID int, Club_ID_1 int, Club_ID_2 int, Score text ) CREATE TABLE club ( Club_ID int, name text, Region text, Start_year text ) CREATE TABLE club_rank ( Rank real, Club_ID int, Gold real, Silver real, Bronze real, Total real ) CREATE TABLE competition ( Competition_ID int, Year real, Competition_type text, Country text ) CREATE TABLE player ( Player_ID int, name text, Position text, Club_ID int, Apps real, Tries real, Goals text, Points real )
SELECT Competition_type, COUNT(Competition_type) FROM competition GROUP BY Competition_type ORDER BY Competition_type DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2259, 834, 60, 7, 83, 17, 41, 15571, 834, 4309, 16, 17, 6, 1949, 834, 4309, 834, 536, 16, 17, 6, 1949, 834, 4309, 834, 357, 16, 17, 6, 17763, 1499, 3, 61, 3, 32102, 32103, 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, 15571, 834, 6137, 6, 2847, 17161, 599, 5890, 4995, 4749, 834, 6137, 61, 21680, 2259, 350, 4630, 6880, 272, 476, 15571, 834, 6137, 4674, 11300, 272, 476, 15571, 834, 6137, 309, 25067, 1, -100, -100, -100, -100, -100, -...
How many years were recorded when world ranking was 21st?
CREATE TABLE table_19948664_2 (index__year_ VARCHAR, world_ranking__1_ VARCHAR)
SELECT COUNT(index__year_) FROM table_19948664_2 WHERE world_ranking__1_ = "21st"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 41, 18288, 834, 834, 1201, 834, 584, 4280, 28027, 6, 296, 834, 6254, 53, 834, 834, 536, 834, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 18288, 834, 834, 1201, 834, 61, 21680, 953, 834, 2294, 4240, 3840, 4389, 834, 357, 549, 17444, 427, 296, 834, 6254, 53, 834, 834, 536, 834, 3274, 96, 2658, 7, 17, 121, 1, -100, -100, -100, -100, ...
What was the highest attendance for the Hispano team?
CREATE TABLE table_47782 ( "Date" text, "Home" text, "Score" text, "Away" text, "Attendance" real )
SELECT MAX("Attendance") FROM table_47782 WHERE "Home" = 'hispano'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 3940, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 19040, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 188, 1343, 121, 1499, 6, 96, 188, 17, 324, 26, 663, 121, 490,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 188, 17, 324, 26, 663, 8512, 21680, 953, 834, 4177, 3940, 357, 549, 17444, 427, 96, 19040, 121, 3274, 3, 31, 10193, 2837, 32, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many games were played in the season?
CREATE TABLE table_15873014_3 ( game INTEGER )
SELECT MAX(game) FROM table_15873014_3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1808, 4225, 1458, 2534, 834, 519, 41, 467, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1031, 130, 1944, 16, 8, 774, 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, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 7261, 61, 21680, 953, 834, 1808, 4225, 1458, 2534, 834, 519, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
How many figures are provided for December 28 for Rosario?
CREATE TABLE table_31002 ( "Movies" text, "December 25" text, "December 26" text, "December 27" text, "December 28" text, "December 25-28 total" text, "Total 2-week Gross" text )
SELECT COUNT("December 28") FROM table_31002 WHERE "Movies" = 'Rosario'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19947, 4305, 41, 96, 329, 9881, 15, 7, 121, 1499, 6, 96, 29835, 944, 121, 1499, 6, 96, 29835, 2208, 121, 1499, 6, 96, 29835, 2307, 121, 1499, 6, 96, 29835, 2059, 121, 149...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 29835, 2059, 8512, 21680, 953, 834, 19947, 4305, 549, 17444, 427, 96, 329, 9881, 15, 7, 121, 3274, 3, 31, 448, 32, 7, 14414, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Record that has a Home of detroit red wings, and a Score of 1–2 on december 29?
CREATE TABLE table_name_23 (record VARCHAR, date VARCHAR, home VARCHAR, score VARCHAR)
SELECT record FROM table_name_23 WHERE home = "detroit red wings" AND score = "1–2" AND date = "december 29"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 60, 7621, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1368, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 234, 3274, 96, 26, 15252, 155, 1131, 13943, 121, 3430, 2604, 3274, 96, 536, 104, 357, 121, 3430, 833, 3274, 96, 221, 75, 18247, 2838, 121, 1, -100, -100, -100...
Which College had an Overall pick of 171?
CREATE TABLE table_name_53 ( college VARCHAR, overall VARCHAR )
SELECT college FROM table_name_53 WHERE overall = 171
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1900, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1888, 141, 46, 9126, 1432, 13, 1003, 536, 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, 1900, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 1879, 3274, 1003, 536, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many Ranks have ray pickrell as a Rider?
CREATE TABLE table_name_8 ( rank VARCHAR, rider VARCHAR )
SELECT COUNT(rank) FROM table_name_8 WHERE rider = "ray pickrell"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 927, 41, 11003, 584, 4280, 28027, 6, 2564, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 3, 22557, 7, 43, 3, 2866, 1432, 60, 195, 38, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 6254, 61, 21680, 953, 834, 4350, 834, 927, 549, 17444, 427, 2564, 52, 3274, 96, 2866, 1432, 60, 195, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the high rebounds of game 68?
CREATE TABLE table_name_46 (high_rebounds VARCHAR, game VARCHAR)
SELECT high_rebounds FROM table_name_46 WHERE game = 68
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4448, 41, 6739, 834, 23768, 584, 4280, 28027, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 306, 3, 23768, 13, 467, 3, 3651, 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, 306, 834, 23768, 21680, 953, 834, 4350, 834, 4448, 549, 17444, 427, 467, 3274, 3, 3651, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which country has Anselmo Da Silva in lane 2?
CREATE TABLE table_name_64 ( country VARCHAR, lane VARCHAR, name VARCHAR )
SELECT country FROM table_name_64 WHERE lane < 2 AND name = "anselmo da silva"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4389, 41, 684, 584, 4280, 28027, 6, 3, 8102, 584, 4280, 28027, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 65, 71, 27977, 51, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 4389, 549, 17444, 427, 3, 8102, 3, 2, 204, 3430, 564, 3274, 96, 9, 27977, 51, 32, 836, 108, 40, 900, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the 2007-08 result when the event was Colonial Square?
CREATE TABLE table_41246 ( "Event" text, "2006\u201307" text, "2007\u201308" text, "2008\u201309" text, "2009\u201310" text, "2010\u201311" text, "2011\u201312" text, "2012\u201313" text )
SELECT "2007\u201308" FROM table_41246 WHERE "Event" = 'colonial square'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 2122, 4448, 41, 96, 427, 2169, 121, 1499, 6, 96, 21196, 2, 76, 11138, 4560, 121, 1499, 6, 96, 20615, 2, 76, 11138, 4018, 121, 1499, 6, 96, 16128, 2, 76, 11138, 4198,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20615, 2, 76, 11138, 4018, 121, 21680, 953, 834, 591, 2122, 4448, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 8135, 7419, 2812, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
how many local title with televbeingion network being tv nova website
CREATE TABLE table_13779832_1 (local_title VARCHAR, television_network VARCHAR)
SELECT COUNT(local_title) FROM table_13779832_1 WHERE television_network = "TV Nova Website"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2368, 4013, 3916, 2668, 834, 536, 41, 16882, 834, 21869, 584, 4280, 28027, 6, 4390, 834, 1582, 1981, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 149, 186, 415, 2233, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 16882, 834, 21869, 61, 21680, 953, 834, 2368, 4013, 3916, 2668, 834, 536, 549, 17444, 427, 4390, 834, 1582, 1981, 3274, 96, 4562, 17259, 3637, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
When goals against is greater than 60 and losses less than 29, what is the highest played?
CREATE TABLE table_name_6 ( played INTEGER, goals_against VARCHAR, losses VARCHAR )
SELECT MAX(played) FROM table_name_6 WHERE goals_against > 60 AND losses < 29
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 1944, 3, 21342, 17966, 6, 1766, 834, 9, 16720, 7, 17, 584, 4280, 28027, 6, 8467, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 366, 1766, 581,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 1766, 834, 9, 16720, 7, 17, 2490, 1640, 3430, 8467, 3, 2, 2838, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What was the attendance at Brunswick Street Oval?
CREATE TABLE table_54125 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT COUNT("Crowd") FROM table_54125 WHERE "Venue" = 'brunswick street oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 5062, 10124, 41, 96, 19040, 372, 121, 1499, 6, 96, 19040, 372, 2604, 121, 1499, 6, 96, 188, 1343, 372, 121, 1499, 6, 96, 188, 1343, 372, 2604, 121, 1499, 6, 96, 553, 35, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 254, 3623, 26, 8512, 21680, 953, 834, 5062, 10124, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 9052, 29, 7, 5981, 2815, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -1...
Name the candidates in 1964
CREATE TABLE table_18265 ( "District" text, "Incumbent" text, "Party" text, "First elected" real, "Result" text, "Candidates" text )
SELECT "Candidates" FROM table_18265 WHERE "First elected" = '1964'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 357, 4122, 41, 96, 308, 23, 20066, 121, 1499, 6, 96, 1570, 75, 5937, 295, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 25171, 8160, 121, 490, 6, 96, 20119, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 14050, 12416, 6203, 121, 21680, 953, 834, 2606, 357, 4122, 549, 17444, 427, 96, 25171, 8160, 121, 3274, 3, 31, 2294, 4389, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who was hired before 2002-06-21, a scatter chart shows the correlation between salary and manager_id .
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) )
SELECT SALARY, MANAGER_ID FROM employees WHERE HIRE_DATE < '2002-06-21'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 613, 834, 10193, 10972, 41, 262, 5244, 5017, 476, 5080, 834, 4309, 7908, 1982, 599, 11071, 632, 201, 5097, 8241, 834, 308, 6048, 833, 6, 3, 14920, 834, 308, 6048, 833, 6, 446, 10539, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 180, 4090, 24721, 6, 283, 15610, 17966, 834, 4309, 21680, 1652, 549, 17444, 427, 454, 14132, 834, 308, 6048, 3, 2, 3, 31, 24898, 18, 5176, 16539, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the number of tournaments played on grass ?
CREATE TABLE table_203_444 ( id number, "week" number, "start date" text, "type" text, "tournament" text, "surface" text, "town" text, "country" text, "continent" text, "prize money" text )
SELECT COUNT("tournament") FROM table_203_444 WHERE "surface" = 'grass'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 591, 3628, 41, 3, 23, 26, 381, 6, 96, 8041, 121, 381, 6, 96, 10208, 833, 121, 1499, 6, 96, 6137, 121, 1499, 6, 96, 17, 1211, 20205, 17, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 17, 1211, 20205, 17, 8512, 21680, 953, 834, 23330, 834, 591, 3628, 549, 17444, 427, 96, 26899, 121, 3274, 3, 31, 16446, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest ranked player who opposed Westmeath?
CREATE TABLE table_name_3 ( rank INTEGER, opposition VARCHAR )
SELECT MAX(rank) FROM table_name_3 WHERE opposition = "westmeath"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 11003, 3, 21342, 17966, 6, 8263, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 3, 8232, 1959, 113, 8560, 1244, 526, 9, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 8263, 3274, 96, 12425, 526, 9, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Which Venue has a Home team of essendon?
CREATE TABLE table_name_47 ( venue VARCHAR, home_team VARCHAR )
SELECT venue FROM table_name_47 WHERE home_team = "essendon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4177, 41, 5669, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 29940, 65, 3, 9, 1210, 372, 13, 3, 8185, 2029...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5669, 21680, 953, 834, 4350, 834, 4177, 549, 17444, 427, 234, 834, 11650, 3274, 96, 8185, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many male and female assistant professors do we have, display in descending by the X-axis.
CREATE TABLE Participates_in ( stuid INTEGER, actid INTEGER ) CREATE TABLE Student ( StuID INTEGER, LName VARCHAR(12), Fname VARCHAR(12), Age INTEGER, Sex VARCHAR(1), Major INTEGER, Advisor INTEGER, city_code VARCHAR(3) ) CREATE TABLE Faculty_Participates_in ( FacID INTEGER, actid INTEGER ) CREATE TABLE Activity ( actid INTEGER, activity_name varchar(25) ) CREATE TABLE Faculty ( FacID INTEGER, Lname VARCHAR(15), Fname VARCHAR(15), Rank VARCHAR(15), Sex VARCHAR(1), Phone INTEGER, Room VARCHAR(5), Building VARCHAR(13) )
SELECT Sex, COUNT(*) FROM Faculty WHERE Rank = "AsstProf" GROUP BY Sex ORDER BY Sex DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 15077, 6203, 834, 77, 41, 21341, 23, 26, 3, 21342, 17966, 6, 1810, 23, 26, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 6341, 41, 3, 13076, 4309, 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, 679, 226, 6, 2847, 17161, 599, 1935, 61, 21680, 16896, 549, 17444, 427, 3, 22557, 3274, 96, 188, 7, 7, 17, 23057, 121, 350, 4630, 6880, 272, 476, 679, 226, 4674, 11300, 272, 476, 679, 226, 309, 25067, 1, -100, -10...
Who is the lead of the team from Lockerbie?
CREATE TABLE table_name_81 (lead VARCHAR, home VARCHAR)
SELECT lead FROM table_name_81 WHERE home = "lockerbie"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 109, 9, 26, 584, 4280, 28027, 6, 234, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 19, 8, 991, 13, 8, 372, 45, 10039, 49, 4232, 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, 991, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 234, 3274, 96, 4029, 49, 4232, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the lowest played when the position is more than 9?
CREATE TABLE table_name_76 ( played INTEGER, position INTEGER )
SELECT MIN(played) FROM table_name_76 WHERE position > 9
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3959, 41, 1944, 3, 21342, 17966, 6, 1102, 3, 21342, 17966, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 7402, 1944, 116, 8, 1102, 19, 72, 145, 668, 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, 3, 17684, 599, 4895, 15, 26, 61, 21680, 953, 834, 4350, 834, 3959, 549, 17444, 427, 1102, 2490, 668, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For a processor with model number atom e665c and a TDP of 3.6 W, what is the sSpec number?
CREATE TABLE table_21015 ( "Model number" text, "sSpec number" text, "Frequency" text, "GPU frequency" text, "L2 cache" text, "I/O bus" text, "Memory" text, "Voltage" text, "TDP" text, "Socket" text, "Release date" text, "Part number(s)" text, "Release price ( USD )" text )
SELECT "sSpec number" FROM table_21015 WHERE "TDP" = '3.6 W' AND "Model number" = 'Atom E665C'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 15239, 1808, 41, 96, 24663, 381, 121, 1499, 6, 96, 7, 7727, 381, 121, 1499, 6, 96, 371, 60, 835, 11298, 121, 1499, 6, 96, 517, 10744, 7321, 121, 1499, 6, 96, 434, 357, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 7, 7727, 381, 121, 21680, 953, 834, 15239, 1808, 549, 17444, 427, 96, 382, 7410, 121, 3274, 3, 31, 23074, 549, 31, 3430, 96, 24663, 381, 121, 3274, 3, 31, 188, 235, 51, 262, 3539, 755, 254, 31, 1, -100, -100...
Name the english title for zhang yimou
CREATE TABLE table_name_18 (english_title VARCHAR, director VARCHAR)
SELECT english_title FROM table_name_18 WHERE director = "zhang yimou"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2606, 41, 4606, 40, 1273, 834, 21869, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 22269, 2233, 21, 3, 172, 9270, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 22269, 834, 21869, 21680, 953, 834, 4350, 834, 2606, 549, 17444, 427, 2090, 3274, 96, 172, 9270, 3, 63, 603, 1063, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Name the Years as tallest that has Height metres / ft of 01.0 27 / 90?
CREATE TABLE table_name_14 (years_as_tallest VARCHAR, height_metres___ft VARCHAR)
SELECT years_as_tallest FROM table_name_14 WHERE height_metres___ft = "01.0 27 / 90"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2534, 41, 1201, 7, 834, 9, 7, 834, 17, 1748, 222, 584, 4280, 28027, 6, 3902, 834, 22404, 7, 834, 834, 834, 89, 17, 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, 203, 834, 9, 7, 834, 17, 1748, 222, 21680, 953, 834, 4350, 834, 2534, 549, 17444, 427, 3902, 834, 22404, 7, 834, 834, 834, 89, 17, 3274, 96, 10068, 632, 2307, 3, 87, 2777, 121, 1, -100, -100, -100, -100, -100, -...
What venue is the home of the Carlton team?
CREATE TABLE table_name_39 ( venue VARCHAR, home_team VARCHAR )
SELECT venue FROM table_name_39 WHERE home_team = "carlton"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3288, 41, 5669, 584, 4280, 28027, 6, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 5669, 19, 8, 234, 13, 8, 3, 30339, 372, 58, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 5669, 21680, 953, 834, 4350, 834, 3288, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1720, 7377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the location of the tallahassee open, with a Score of 269 ( 19)?
CREATE TABLE table_36072 ( "Date" text, "Tournament" text, "Location" text, "Winner" text, "Score" text, "1st prize ( $ )" text )
SELECT "Location" FROM table_36072 WHERE "Score" = '269 (–19)' AND "Tournament" = 'tallahassee open'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19208, 5865, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 134, 9022, 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, 434, 32, 75, 257, 121, 21680, 953, 834, 19208, 5865, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 357, 3951, 41, 104, 2294, 61, 31, 3430, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 17, 30157, 3974, 15,...
how many patients whose primary disease is ruq pain and admission year is less than 2131?
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 ) 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 WHERE demographic.diagnosis = "RUQ PAIN" AND demographic.admityear < "2131"
[ 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, ...
Who was the winning driver on 30 May?
CREATE TABLE table_name_90 ( winning_driver VARCHAR, date VARCHAR )
SELECT winning_driver FROM table_name_90 WHERE date = "30 may"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2394, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 3447, 2535, 30, 604, 932, 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, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 2394, 549, 17444, 427, 833, 3274, 96, 1458, 164, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the number of points when the played is less than 30?
CREATE TABLE table_47252 ( "Position" real, "Club" text, "Played" real, "Points" real, "Wins" real, "Draws" real, "Losses" real, "Goals for" real, "Goals against" real, "Goal Difference" real )
SELECT COUNT("Points") FROM table_47252 WHERE "Played" < '30'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 1828, 357, 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, 49...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 22512, 7, 8512, 21680, 953, 834, 4177, 1828, 357, 549, 17444, 427, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 1458, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What 2012 has q2 as the 2010, and wimbledon as the tournament?
CREATE TABLE table_name_31 (tournament VARCHAR)
SELECT 2012 FROM table_name_31 WHERE 2010 = "q2" AND tournament = "wimbledon"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 17, 1211, 20205, 17, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1673, 65, 3, 1824, 357, 38, 8, 8693, 11, 11064, 51, 2296, 2029, 38, 8, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1673, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 2735, 3274, 96, 1824, 357, 121, 3430, 5892, 3274, 96, 210, 603, 2296, 2029, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Compare the average of maximum price of wines each year, bin the year into the weekday interval and draw a bar chart, order by the total number in desc.
CREATE TABLE wine ( No INTEGER, Grape TEXT, Winery TEXT, Appelation TEXT, State TEXT, Name TEXT, Year INTEGER, Price INTEGER, Score INTEGER, Cases INTEGER, Drink TEXT ) CREATE TABLE appellations ( No INTEGER, Appelation TEXT, County TEXT, State TEXT, Area TEXT, isAVA TEXT ) CREATE TABLE grapes ( ID INTEGER, Grape TEXT, Color TEXT )
SELECT Year, AVG(MAX(Price)) FROM wine ORDER BY AVG(MAX(Price)) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2013, 41, 465, 3, 21342, 17966, 6, 29083, 3, 3463, 4, 382, 6, 9426, 651, 3, 3463, 4, 382, 6, 3, 27794, 257, 3, 3463, 4, 382, 6, 1015, 3, 3463, 4, 382, 6, 5570, 3, 3463, 4, 38...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2929, 6, 71, 17217, 599, 4148, 4, 599, 345, 4920, 61, 61, 21680, 2013, 4674, 11300, 272, 476, 71, 17217, 599, 4148, 4, 599, 345, 4920, 61, 61, 309, 25067, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the attendance of the Mariners game when they had a record of 56 20?
CREATE TABLE table_name_85 ( attendance VARCHAR, record VARCHAR )
SELECT attendance FROM table_name_85 WHERE record = "56–20"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4433, 41, 11364, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 13, 8, 17154, 277, 467, 116, 79, 141, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4433, 549, 17444, 427, 1368, 3274, 96, 4834, 104, 1755, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the description of the claim status 'Open'.
CREATE TABLE claims_documents ( claim_id number, document_type_code text, created_by_staff_id number, created_date number ) CREATE TABLE claims_processing ( claim_processing_id number, claim_id number, claim_outcome_code text, claim_stage_id number, staff_id number ) CREATE TABLE customers ( customer_id number, customer_details text ) CREATE TABLE claims_processing_stages ( claim_stage_id number, next_claim_stage_id number, claim_status_name text, claim_status_description text ) CREATE TABLE claim_headers ( claim_header_id number, claim_status_code text, claim_type_code text, policy_id number, date_of_claim time, date_of_settlement time, amount_claimed number, amount_piad number ) CREATE TABLE policies ( policy_id number, customer_id number, policy_type_code text, start_date time, end_date time ) CREATE TABLE staff ( staff_id number, staff_details text )
SELECT claim_status_description FROM claims_processing_stages WHERE claim_status_name = "Open"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3213, 834, 28244, 7, 41, 1988, 834, 23, 26, 381, 6, 1708, 834, 6137, 834, 4978, 1499, 6, 990, 834, 969, 834, 26416, 834, 23, 26, 381, 6, 990, 834, 5522, 381, 3, 61, 3, 32102, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 1988, 834, 8547, 302, 834, 221, 11830, 21680, 3213, 834, 15056, 53, 834, 10705, 7, 549, 17444, 427, 1988, 834, 8547, 302, 834, 4350, 3274, 96, 22696, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What country had a 1966-70 rate of -100 and a 1991-95 rate of -7.36%?
CREATE TABLE table_33436 ( "Country Name" text, "1961-65" text, "1966-70" text, "1971-75" text, "1976-80" text, "1981-85" text, "1986-90" text, "1991-95" text, "1996\u20132000" text, "2001-05" text, "2006-10" text )
SELECT "Country Name" FROM table_33436 WHERE "1966-70" = '-100' AND "1991-95" = '-7.36%'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3710, 3420, 41, 96, 10628, 651, 5570, 121, 1499, 6, 96, 26937, 27019, 17395, 1499, 6, 96, 26937, 25302, 632, 121, 1499, 6, 96, 2294, 4450, 18, 3072, 121, 1499, 6, 96, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 5570, 121, 21680, 953, 834, 519, 3710, 3420, 549, 17444, 427, 96, 26937, 25302, 632, 121, 3274, 3, 31, 18, 2915, 31, 3430, 96, 2294, 4729, 18, 3301, 121, 3274, 3, 31, 18, 27914, 6370, 31, 1, -100, ...
The player for which country had a score of 66-72=138?
CREATE TABLE table_78696 ( "Place" text, "Player" text, "Country" text, "Score" text, "To par" text )
SELECT "Country" FROM table_78696 WHERE "Score" = '66-72=138'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3940, 3951, 948, 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, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 3940, 3951, 948, 549, 17444, 427, 96, 134, 9022, 121, 3274, 3, 31, 3539, 18, 5865, 2423, 22744, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Show the description and code of the attraction type most tourist attractions belong to.
CREATE TABLE Ref_Attraction_Types (Attraction_Type_Description VARCHAR, Attraction_Type_Code VARCHAR); CREATE TABLE Tourist_Attractions (Attraction_Type_Code VARCHAR)
SELECT T1.Attraction_Type_Description, T2.Attraction_Type_Code FROM Ref_Attraction_Types AS T1 JOIN Tourist_Attractions AS T2 ON T1.Attraction_Type_Code = T2.Attraction_Type_Code GROUP BY T2.Attraction_Type_Code ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 419, 89, 834, 188, 17, 10559, 834, 25160, 7, 41, 188, 17, 10559, 834, 25160, 834, 2962, 11830, 584, 4280, 28027, 6, 486, 10559, 834, 25160, 834, 22737, 584, 4280, 28027, 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, 332, 5411, 188, 17, 10559, 834, 25160, 834, 2962, 11830, 6, 332, 4416, 188, 17, 10559, 834, 25160, 834, 22737, 21680, 419, 89, 834, 188, 17, 10559, 834, 25160, 7, 6157, 332, 536, 3, 15355, 3162, 21375, 834, 188, 17,...
What country was Brage, built by karljohansverns verft, from?
CREATE TABLE table_65528 ( "Country" text, "Builder" text, "Location" text, "Ship" text, "Class / type" text )
SELECT "Country" FROM table_65528 WHERE "Builder" = 'karljohansverns verft' AND "Ship" = 'brage'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4122, 755, 2577, 41, 96, 10628, 651, 121, 1499, 6, 96, 24752, 49, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 134, 10462, 121, 1499, 6, 96, 21486, 3, 87, 686,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 10628, 651, 121, 21680, 953, 834, 4122, 755, 2577, 549, 17444, 427, 96, 24752, 49, 121, 3274, 3, 31, 4031, 40, 1927, 2618, 7, 624, 29, 7, 548, 89, 17, 31, 3430, 96, 134, 10462, 121, 3274, 3, 31, 115, 4843, ...
what is age and death status of subject name joseph dillman?
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 ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE 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.expire_flag FROM demographic WHERE demographic.name = "Joseph Dillman"
[ 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, 994, 2388, 15, 834, 89, 5430, 21680, 14798, 549, 17444, 427, 14798, 5, 4350, 3274, 96, 683, 32, 7, 15, 102, 107, 309, 1092, 348, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Was the game home or away when the record is 6-12?
CREATE TABLE table_4793 ( "Date" text, "Opponent" text, "Home / Away" text, "Score" text, "High points" text, "High rebounds" text, "High assists" text, "Location/Attendance" text, "Record" text )
SELECT "Home / Away" FROM table_4793 WHERE "Record" = '6-12'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4177, 4271, 41, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 19040, 3, 87, 71, 1343, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 21417, 979, 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, 19040, 3, 87, 71, 1343, 121, 21680, 953, 834, 4177, 4271, 549, 17444, 427, 96, 1649, 7621, 121, 3274, 3, 31, 948, 5947, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name of the target user with the lowest trust score.
CREATE TABLE useracct ( name VARCHAR, u_id VARCHAR ) CREATE TABLE trust ( target_u_id VARCHAR )
SELECT T1.name FROM useracct AS T1 JOIN trust AS T2 ON T1.u_id = T2.target_u_id ORDER BY trust LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 6004, 17, 41, 564, 584, 4280, 28027, 6, 3, 76, 834, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2019, 41, 2387, 834, 76, 834, 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, 332, 5411, 4350, 21680, 1139, 6004, 17, 6157, 332, 536, 3, 15355, 3162, 2019, 6157, 332, 357, 9191, 332, 5411, 76, 834, 23, 26, 3274, 332, 4416, 24315, 834, 76, 834, 23, 26, 4674, 11300, 272, 476, 2019, 8729, 12604,...
What is the Country that has a Player of Scott Hoch?
CREATE TABLE table_name_31 ( country VARCHAR, player VARCHAR )
SELECT country FROM table_name_31 WHERE player = "scott hoch"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3341, 41, 684, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 6993, 24, 65, 3, 9, 12387, 13, 4972, 7341, 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, 684, 21680, 953, 834, 4350, 834, 3341, 549, 17444, 427, 1959, 3274, 96, 7, 10405, 6012, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
For employees with first names that end with the letter m, give me a bar chart to show their total salary, and could you show from high to low by the Y-axis?
CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25), COUNTRY_ID varchar(2) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE employees ( EMPLOYEE_ID decimal(6,0), FIRST_NAME varchar(20), LAST_NAME varchar(25), EMAIL varchar(25), PHONE_NUMBER varchar(20), HIRE_DATE date, JOB_ID varchar(10), SALARY decimal(8,2), COMMISSION_PCT decimal(2,2), MANAGER_ID decimal(6,0), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), REGION_NAME varchar(25) )
SELECT FIRST_NAME, SUM(SALARY) FROM employees WHERE FIRST_NAME LIKE '%m' GROUP BY FIRST_NAME ORDER BY SUM(SALARY) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3248, 41, 301, 5618, 8015, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3, 13733, 26418, 834, 24604, 12200, 134, 3, 4331, 4059, 599, 2445, 201, 3, 16034, 16359, 834, 5911, 5596, 3, 4331...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 30085, 834, 567, 17683, 6, 180, 6122, 599, 134, 4090, 24721, 61, 21680, 1652, 549, 17444, 427, 30085, 834, 567, 17683, 8729, 9914, 3, 31, 1454, 51, 31, 350, 4630, 6880, 272, 476, 30085, 834, 567, 17683, 4674, 11300, ...
What Country Scored 66-69=135?
CREATE TABLE table_name_72 ( country VARCHAR, score VARCHAR )
SELECT country FROM table_name_72 WHERE score = 66 - 69 = 135
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 684, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 6993, 17763, 26, 3, 3539, 18, 3951, 2423, 536, 2469, 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, 684, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 2604, 3274, 3, 3539, 3, 18, 3, 3951, 3274, 209, 2469, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the Location of the Mill Built in the Early 19th Century?
CREATE TABLE table_name_50 ( location VARCHAR, built VARCHAR )
SELECT location FROM table_name_50 WHERE built = "early 19th century"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 1128, 584, 4280, 28027, 6, 1192, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 10450, 13, 8, 4185, 14862, 16, 8, 8840, 957, 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, 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, 1752, 549, 17444, 427, 1192, 3274, 96, 2741, 120, 957, 189, 2646, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the week 3 opponent for the year that had a week 7 opponent of Georgia (5-1)?
CREATE TABLE table_name_56 ( week_3_sept_14 VARCHAR, week_7_oct_12 VARCHAR )
SELECT week_3_sept_14 FROM table_name_56 WHERE week_7_oct_12 = "georgia (5-1)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 471, 834, 519, 834, 7, 6707, 834, 2534, 584, 4280, 28027, 6, 471, 834, 940, 834, 32, 75, 17, 834, 2122, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 321...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 471, 834, 519, 834, 7, 6707, 834, 2534, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 471, 834, 940, 834, 32, 75, 17, 834, 2122, 3274, 96, 397, 1677, 23, 9, 9209, 18, 6982, 121, 1, -100, -100, -100, -100, -...
Where did the match with opponent Laverne Clark occur?
CREATE TABLE table_39990 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Round" text, "Time" text, "Location" text )
SELECT "Location" FROM table_39990 WHERE "Opponent" = 'laverne clark'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3288, 26901, 41, 96, 1649, 7, 535, 1499, 6, 96, 1649, 7621, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 23351, 107, 32, 26, 121, 1499, 6, 96, 448, 32, 1106, 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, 75, 257, 121, 21680, 953, 834, 3288, 26901, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 521, 624, 29, 15, 6860, 157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Show the name and number of employees for the departments managed by heads whose temporary acting value is 'Yes' by a bar chart, and could you order in asc by the x axis?
CREATE TABLE head ( head_ID int, name text, born_state text, age real ) CREATE TABLE management ( department_ID int, head_ID int, temporary_acting text ) CREATE TABLE department ( Department_ID int, Name text, Creation text, Ranking int, Budget_in_Billions real, Num_Employees real )
SELECT Name, AVG(Num_Employees) FROM department AS T1 JOIN management AS T2 ON T1.department_ID = T2.department_ID WHERE T2.temporary_acting = 'Yes' GROUP BY Name ORDER BY Name
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 819, 41, 819, 834, 4309, 16, 17, 6, 564, 1499, 6, 2170, 834, 5540, 1499, 6, 1246, 490, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 758, 41, 3066, 834, 4309, 16, 17,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 71, 17217, 599, 567, 440, 834, 427, 51, 7379, 63, 15, 15, 7, 61, 21680, 3066, 6157, 332, 536, 3, 15355, 3162, 758, 6157, 332, 357, 9191, 332, 5411, 221, 2274, 297, 834, 4309, 3274, 332, 4416, 221, 2274, ...
what's the name with final cast status and first performance on 12 november 2011?
CREATE TABLE table_name_68 ( name VARCHAR, status VARCHAR, first_performance VARCHAR )
SELECT name FROM table_name_68 WHERE status = "final cast" AND first_performance = "12 november 2011"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 564, 584, 4280, 28027, 6, 2637, 584, 4280, 28027, 6, 166, 834, 18558, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 125, 31, 7, 8, 564, 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, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 2637, 3274, 96, 12406, 4061, 121, 3430, 166, 834, 18558, 3274, 96, 2122, 3, 5326, 18247, 2722, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
Which Constructor has the Winning Driver, Jo Siffert?
CREATE TABLE table_name_72 ( constructor VARCHAR, winning_driver VARCHAR )
SELECT constructor FROM table_name_72 WHERE winning_driver = "jo siffert"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 5865, 41, 6774, 127, 584, 4280, 28027, 6, 3447, 834, 13739, 52, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1193, 7593, 127, 65, 8, 549, 10503, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 6774, 127, 21680, 953, 834, 4350, 834, 5865, 549, 17444, 427, 3447, 834, 13739, 52, 3274, 96, 1927, 108, 7010, 17, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
If there are 18 villages, what is the minimum area ?
CREATE TABLE table_21302_1 (area___ha__ INTEGER, no_of_villages VARCHAR)
SELECT MIN(area___ha__) FROM table_21302_1 WHERE no_of_villages = 18
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2658, 1458, 357, 834, 536, 41, 498, 834, 834, 834, 1024, 834, 834, 3, 21342, 17966, 6, 150, 834, 858, 834, 24887, 2897, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 498, 834, 834, 834, 1024, 834, 834, 61, 21680, 953, 834, 2658, 1458, 357, 834, 536, 549, 17444, 427, 150, 834, 858, 834, 24887, 2897, 3274, 507, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many customers does Steve Johnson support?
CREATE TABLE employees (id VARCHAR, first_name VARCHAR, last_name VARCHAR); CREATE TABLE customers (support_rep_id VARCHAR)
SELECT COUNT(*) FROM employees AS T1 JOIN customers AS T2 ON T2.support_rep_id = T1.id WHERE T1.first_name = "Steve" AND T1.last_name = "Johnson"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 23, 26, 584, 4280, 28027, 6, 166, 834, 4350, 584, 4280, 28027, 6, 336, 834, 4350, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 722, 41, 20390, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1652, 6157, 332, 536, 3, 15355, 3162, 722, 6157, 332, 357, 9191, 332, 4416, 20390, 834, 60, 102, 834, 23, 26, 3274, 332, 5411, 23, 26, 549, 17444, 427, 332, 5411, 14672, 834, 4350,...
What are the wins for the 7th position?
CREATE TABLE table_27631002_1 ( wins VARCHAR, position VARCHAR )
SELECT wins FROM table_27631002_1 WHERE position = "7th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2555, 3891, 2915, 357, 834, 536, 41, 9204, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 9204, 21, 8, 489, 189, 1102, 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, 9204, 21680, 953, 834, 2555, 3891, 2915, 357, 834, 536, 549, 17444, 427, 1102, 3274, 96, 940, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the frequency for I/O bus of DMI, voltage of 0.725–1.4v and part cn80617004458ab?
CREATE TABLE table_name_4 (frequency VARCHAR, part_number_s_ VARCHAR, i_o_bus VARCHAR, voltage VARCHAR)
SELECT frequency FROM table_name_4 WHERE i_o_bus = "dmi" AND voltage = "0.725–1.4v" AND part_number_s_ = "cn80617004458ab"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 30989, 584, 4280, 28027, 6, 294, 834, 5525, 1152, 834, 7, 834, 584, 4280, 28027, 6, 3, 23, 834, 32, 834, 3465, 584, 4280, 28027, 6, 10594, 584, 4280, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 7321, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 3, 23, 834, 32, 834, 3465, 3274, 96, 26, 51, 23, 121, 3430, 10594, 3274, 96, 22426, 1828, 104, 14912, 208, 121, 3430, 294, 834, 5525, 1152, 834, 7, 834, 3274...
Which tournament had a score of 7 5, 2 6, 7 6?
CREATE TABLE table_name_7 ( tournament VARCHAR, score VARCHAR )
SELECT tournament FROM table_name_7 WHERE score = "7–5, 2–6, 7–6"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 5892, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 5892, 141, 3, 9, 2604, 13, 489, 7836, 204, 8580, 489, 431...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 5892, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 2604, 3274, 96, 940, 104, 11116, 204, 104, 11071, 489, 104, 948, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
On what platform does Mindark publish?
CREATE TABLE table_name_84 ( platform VARCHAR, publisher VARCHAR )
SELECT platform FROM table_name_84 WHERE publisher = "mindark"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4608, 41, 1585, 584, 4280, 28027, 6, 14859, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 461, 125, 1585, 405, 8477, 6604, 8099, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1585, 21680, 953, 834, 4350, 834, 4608, 549, 17444, 427, 14859, 3274, 96, 14481, 6604, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What communes have enrolled values of 174946?
CREATE TABLE table_29053 ( "District" real, "Region" text, "Communes" text, "Population (2002 census)" real, "% of total population" text, "VAP" real, "Enrolled" real, "Total votes" real, "Valid votes" real, "Turnout" text, "E/VAP" text, "T/VAP" text, "V/VAP" text )
SELECT "Communes" FROM table_29053 WHERE "Enrolled" = '174946'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23838, 4867, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 17748, 23, 106, 121, 1499, 6, 96, 10205, 444, 7, 121, 1499, 6, 96, 27773, 7830, 41, 24898, 23087, 61, 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, 96, 10205, 444, 7, 121, 21680, 953, 834, 23838, 4867, 549, 17444, 427, 96, 8532, 10671, 121, 3274, 3, 31, 2517, 3647, 4448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which season did jackie stewart enter with entries less than 215?
CREATE TABLE table_name_67 ( seasons VARCHAR, entries VARCHAR, driver VARCHAR )
SELECT seasons FROM table_name_67 WHERE entries < 215 AND driver = "jackie stewart"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 9385, 584, 4280, 28027, 6, 10066, 584, 4280, 28027, 6, 2535, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 774, 410, 3, 9325, 23, 15, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 9385, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 10066, 3, 2, 204, 1808, 3430, 2535, 3274, 96, 9325, 23, 15, 21786, 1408, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the identifying number for a description of Stanier (Period III) full brake?
CREATE TABLE table_57922 ( "Number & name" text, "Description" text, "Current status" text, "Livery" text, "Date" real )
SELECT "Number & name" FROM table_57922 WHERE "Description" = 'stanier (period iii) full brake'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3436, 4508, 357, 41, 96, 567, 5937, 49, 3, 184, 564, 121, 1499, 6, 96, 2962, 11830, 121, 1499, 6, 96, 254, 450, 5320, 2637, 121, 1499, 6, 96, 24179, 651, 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, 567, 5937, 49, 3, 184, 564, 121, 21680, 953, 834, 3436, 4508, 357, 549, 17444, 427, 96, 2962, 11830, 121, 3274, 3, 31, 5627, 972, 41, 4267, 32, 26, 3, 23, 23, 23, 61, 423, 9563, 31, 1, -100, -100, -100, -1...
What is the highest grid for Aprilia vehicles, laps over 5, and a retirement finish?
CREATE TABLE table_46265 ( "Rider" text, "Manufacturer" text, "Laps" real, "Time" text, "Grid" real )
SELECT MAX("Grid") FROM table_46265 WHERE "Manufacturer" = 'aprilia' AND "Time" = 'retirement' AND "Laps" > '5'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 357, 4122, 41, 96, 448, 23, 588, 121, 1499, 6, 96, 7296, 76, 8717, 450, 49, 121, 1499, 6, 96, 3612, 102, 7, 121, 490, 6, 96, 13368, 121, 1499, 6, 96, 13313, 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, 4800, 4, 599, 121, 13313, 26, 8512, 21680, 953, 834, 4448, 357, 4122, 549, 17444, 427, 96, 7296, 76, 8717, 450, 49, 121, 3274, 3, 31, 9, 102, 52, 13565, 31, 3430, 96, 13368, 121, 3274, 3, 31, 10682, 60, 297, 31,...
what is the highest rank when the nation is united states (usa) and bronze is more than 1?
CREATE TABLE table_50717 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MAX("Rank") FROM table_50717 WHERE "Nation" = 'united states (usa)' AND "Bronze" > '1'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 940, 2517, 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, 4800, 4, 599, 121, 22557, 8512, 21680, 953, 834, 1752, 940, 2517, 549, 17444, 427, 96, 567, 257, 121, 3274, 3, 31, 15129, 15, 26, 2315, 41, 302, 9, 61, 31, 3430, 96, 22780, 29, 776, 121, 2490, 3, 31, 536, 31, ...
What did Hawthorn score as the home team?
CREATE TABLE table_name_21 ( home_team VARCHAR )
SELECT home_team AS score FROM table_name_21 WHERE home_team = "hawthorn"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2658, 41, 234, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 410, 1626, 210, 17, 6293, 2604, 38, 8, 234, 372, 58, 1, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 234, 834, 11650, 6157, 2604, 21680, 953, 834, 4350, 834, 2658, 549, 17444, 427, 234, 834, 11650, 3274, 96, 1024, 210, 17, 6293, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What are the titles of all the Aerosmith albums?
CREATE TABLE employees ( id number, last_name text, first_name text, title text, reports_to number, birth_date time, hire_date time, address text, city text, state text, country text, postal_code text, phone text, fax text, email text ) CREATE TABLE invoice_lines ( id number, invoice_id number, track_id number, unit_price number, quantity number ) CREATE TABLE tracks ( id number, name text, album_id number, media_type_id number, genre_id number, composer text, milliseconds number, bytes number, unit_price number ) CREATE TABLE sqlite_sequence ( name text, seq text ) CREATE TABLE media_types ( id number, name text ) CREATE TABLE genres ( id number, name text ) CREATE TABLE playlists ( id number, name text ) CREATE TABLE customers ( id number, first_name text, last_name text, company text, address text, city text, state text, country text, postal_code text, phone text, fax text, email text, support_rep_id number ) CREATE TABLE albums ( id number, title text, artist_id number ) CREATE TABLE invoices ( id number, customer_id number, invoice_date time, billing_address text, billing_city text, billing_state text, billing_country text, billing_postal_code text, total number ) CREATE TABLE artists ( id number, name text ) CREATE TABLE playlist_tracks ( playlist_id number, track_id number )
SELECT T1.title FROM albums AS T1 JOIN artists AS T2 ON T1.artist_id = T2.id WHERE T2.name = "Aerosmith"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1652, 41, 3, 23, 26, 381, 6, 336, 834, 4350, 1499, 6, 166, 834, 4350, 1499, 6, 2233, 1499, 6, 2279, 834, 235, 381, 6, 3879, 834, 5522, 97, 6, 3804, 834, 5522, 97, 6, 1115, 1499, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 5411, 21869, 21680, 14234, 6157, 332, 536, 3, 15355, 3162, 3153, 6157, 332, 357, 9191, 332, 5411, 1408, 343, 834, 23, 26, 3274, 332, 4416, 23, 26, 549, 17444, 427, 332, 4416, 4350, 3274, 96, 188, 49, 32, 16331,...
how many shows had at least 10 million viewers ?
CREATE TABLE table_204_384 ( id number, "#" number, "air date" text, "timeslot (est)" text, "season" text, "rating" number, "share" number, "18-49 (rating/share)" text, "viewers (m)" number, "weekly rank (#)" number )
SELECT COUNT(*) FROM table_204_384 WHERE "viewers (m)" >= 10
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 3747, 591, 41, 3, 23, 26, 381, 6, 96, 4663, 121, 381, 6, 96, 2256, 833, 121, 1499, 6, 96, 715, 7, 3171, 41, 222, 61, 121, 1499, 6, 96, 9476, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 3747, 591, 549, 17444, 427, 96, 4576, 277, 41, 51, 61, 121, 2490, 2423, 335, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
give me the number of patients whose marital status is single and procedure icd9 code is 4523?
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 ) 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 COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN procedures ON demographic.hadm_id = procedures.hadm_id WHERE demographic.marital_status = "SINGLE" AND procedures.icd9_code = "4523"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 7744, 7, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 23, 1071, 21545, 834, 23, 26, 1499, 6, 2672, 834, 6137, 1499, 6, 2672, 1499, 6, 5403, 651, 834, 26, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 4293, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 4293, 5, 8399, 51, 834, 23, 26, 549, 17444,...
Name the D 43 when it has D 45 of d 25
CREATE TABLE table_name_45 ( d_43 VARCHAR, d_45 VARCHAR )
SELECT d_43 FROM table_name_45 WHERE d_45 = "d 25"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2128, 41, 3, 26, 834, 4906, 584, 4280, 28027, 6, 3, 26, 834, 2128, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 309, 8838, 116, 34, 65, 309...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 26, 834, 4906, 21680, 953, 834, 4350, 834, 2128, 549, 17444, 427, 3, 26, 834, 2128, 3274, 96, 26, 944, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Name the Winning driver of mercedes on 22 august?
CREATE TABLE table_name_91 ( winning_driver VARCHAR, winning_constructor VARCHAR, date VARCHAR )
SELECT winning_driver FROM table_name_91 WHERE winning_constructor = "mercedes" AND date = "22 august"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 3447, 834, 13739, 52, 584, 4280, 28027, 6, 3447, 834, 15982, 5317, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3447, 834, 13739, 52, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 3447, 834, 15982, 5317, 3274, 96, 935, 565, 1395, 121, 3430, 833, 3274, 96, 2884, 14663, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100,...
When did they play against West Virginia?
CREATE TABLE table_23957 ( "Game" real, "Date" text, "Opponent" text, "Result" text, "Orangemen points" real, "Opponents" real, "Record" text )
SELECT "Date" FROM table_23957 WHERE "Opponent" = 'West Virginia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3288, 3436, 41, 96, 23055, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 20119, 121, 1499, 6, 96, 667, 5517, 904, 979, 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, 96, 308, 342, 121, 21680, 953, 834, 357, 3288, 3436, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 19069, 5382, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is Rank, when Event is 'LAPT3 Punta Del Este'?
CREATE TABLE table_43936 ( "Rank" text, "Event" text, "Place" text, "Name" text, "Prize" text )
SELECT "Rank" FROM table_43936 WHERE "Event" = 'lapt3 punta del este'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3288, 3420, 41, 96, 22557, 121, 1499, 6, 96, 427, 2169, 121, 1499, 6, 96, 345, 11706, 121, 1499, 6, 96, 23954, 121, 1499, 6, 96, 7855, 776, 121, 1499, 3, 61, 3, 32...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 22557, 121, 21680, 953, 834, 591, 3288, 3420, 549, 17444, 427, 96, 427, 2169, 121, 3274, 3, 31, 8478, 17, 519, 4930, 17, 9, 20, 40, 249, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
List the hardware model name and company name for all the phones that were launched in year 2002 or have RAM size greater than 32.
CREATE TABLE chip_model ( Model_name VARCHAR, Launch_year VARCHAR, RAM_MiB VARCHAR ) CREATE TABLE phone ( Hardware_Model_name VARCHAR, Company_name VARCHAR, chip_model VARCHAR )
SELECT T2.Hardware_Model_name, T2.Company_name FROM chip_model AS T1 JOIN phone AS T2 ON T1.Model_name = T2.chip_model WHERE T1.Launch_year = 2002 OR T1.RAM_MiB > 32
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 6591, 834, 21770, 41, 5154, 834, 4350, 584, 4280, 28027, 6, 17113, 834, 1201, 584, 4280, 28027, 6, 12118, 834, 329, 23, 279, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 15537, 26, 3404, 834, 24663, 834, 4350, 6, 332, 4416, 5890, 2837, 63, 834, 4350, 21680, 6591, 834, 21770, 6157, 332, 536, 3, 15355, 3162, 951, 6157, 332, 357, 9191, 332, 5411, 24663, 834, 4350, 3274, 332, ...
What is the Tenure of the Officer who died in a helicopter accident with Badge/Serial Number 16805?
CREATE TABLE table_45353 ( "Rank" text, "Badge/Serial Number" text, "Tenure" text, "Date of death" text, "Cause of death" text )
SELECT "Tenure" FROM table_45353 WHERE "Cause of death" = 'helicopter accident' AND "Badge/Serial Number" = '16805'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2128, 2469, 519, 41, 96, 22557, 121, 1499, 6, 96, 279, 9, 26, 397, 87, 134, 15, 12042, 7720, 121, 1499, 6, 96, 382, 35, 1462, 121, 1499, 6, 96, 308, 342, 13, 1687, 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, 35, 1462, 121, 21680, 953, 834, 2128, 2469, 519, 549, 17444, 427, 96, 254, 9, 1074, 13, 1687, 121, 3274, 3, 31, 88, 2176, 19893, 3125, 31, 3430, 96, 279, 9, 26, 397, 87, 134, 15, 12042, 7720, 121, 3274,...
Which film is rented at a fee of 0.99 and has less than 3 in the inventory? List the film title and id.
CREATE TABLE film (title VARCHAR, film_id VARCHAR, rental_rate VARCHAR); CREATE TABLE inventory (film_id VARCHAR); CREATE TABLE film (title VARCHAR, film_id VARCHAR)
SELECT title, film_id FROM film WHERE rental_rate = 0.99 INTERSECT SELECT T1.title, T1.film_id FROM film AS T1 JOIN inventory AS T2 ON T1.film_id = T2.film_id GROUP BY T1.film_id HAVING COUNT(*) < 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 814, 41, 21869, 584, 4280, 28027, 6, 814, 834, 23, 26, 584, 4280, 28027, 6, 3571, 834, 2206, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 7705, 41, 9988, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2233, 6, 814, 834, 23, 26, 21680, 814, 549, 17444, 427, 3571, 834, 2206, 3274, 4097, 3264, 3, 21342, 5249, 14196, 3, 23143, 14196, 332, 5411, 21869, 6, 332, 5411, 9988, 834, 23, 26, 21680, 814, 6157, 332, 536, 3, ...
What place did T rlea come in at the European Indoor Championships?
CREATE TABLE table_name_56 ( position VARCHAR, competition VARCHAR )
SELECT position FROM table_name_56 WHERE competition = "european indoor championships"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4834, 41, 1102, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 286, 410, 332, 3, 52, 109, 9, 369, 16, 44, 8, 1611, 254...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1102, 21680, 953, 834, 4350, 834, 4834, 549, 17444, 427, 2259, 3274, 96, 28188, 152, 5297, 10183, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest number of steals for a player with 324 minutes?
CREATE TABLE table_24856332_4 ( steals INTEGER, minutes VARCHAR )
SELECT MAX(steals) FROM table_24856332_4 WHERE minutes = 324
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4433, 3891, 2668, 834, 591, 41, 11332, 7, 3, 21342, 17966, 6, 676, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 2030, 381, 13, 11332, 7, 21, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 849, 5405, 61, 21680, 953, 834, 2266, 4433, 3891, 2668, 834, 591, 549, 17444, 427, 676, 3274, 220, 2266, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
List all the login names and family names of course author and tutors.
CREATE TABLE student_tests_taken ( registration_id number, date_test_taken time, test_result text ) CREATE TABLE subjects ( subject_id number, subject_name text ) CREATE TABLE students ( student_id number, date_of_registration time, date_of_latest_logon time, login_name text, password text, personal_name text, middle_name text, family_name text ) CREATE TABLE course_authors_and_tutors ( author_id number, author_tutor_atb text, login_name text, password text, personal_name text, middle_name text, family_name text, gender_mf text, address_line_1 text ) CREATE TABLE student_course_enrolment ( registration_id number, student_id number, course_id number, date_of_enrolment time, date_of_completion time ) CREATE TABLE courses ( course_id number, author_id number, subject_id number, course_name text, course_description text )
SELECT login_name, family_name FROM course_authors_and_tutors
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 834, 4377, 7, 834, 4914, 29, 41, 3816, 834, 23, 26, 381, 6, 833, 834, 4377, 834, 4914, 29, 97, 6, 794, 834, 60, 7, 83, 17, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 11255, 834, 4350, 6, 384, 834, 4350, 21680, 503, 834, 17415, 7, 834, 232, 834, 17, 76, 5535, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Who's the Democratic ticket with a Socialist Labor ticket of belle j. rosen?
CREATE TABLE table_name_38 (democratic_ticket VARCHAR, socialist_labor_ticket VARCHAR)
SELECT democratic_ticket FROM table_name_38 WHERE socialist_labor_ticket = "belle j. rosen"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 23319, 447, 834, 26639, 584, 4280, 28027, 6, 23737, 834, 9456, 834, 26639, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 31, 7, 8, 10021, 41...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15053, 834, 26639, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 23737, 834, 9456, 834, 26639, 3274, 96, 7708, 15, 3, 354, 5, 4659, 29, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the cyrillic name other names for the settlement of debeljača?
CREATE TABLE table_2562572_43 (cyrillic_name_other_names VARCHAR, settlement VARCHAR)
SELECT cyrillic_name_other_names FROM table_2562572_43 WHERE settlement = "Debeljača"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 19337, 1828, 5865, 834, 4906, 41, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 584, 4280, 28027, 6, 7025, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 75, 63, 52, 173, 2176, 834, 4350, 834, 9269, 834, 4350, 7, 21680, 953, 834, 19337, 1828, 5865, 834, 4906, 549, 17444, 427, 7025, 3274, 96, 2962, 2370, 1191, 2, 9, 121, 1, -100, -100, -100, -100, -100, -100, -10...
among patients tested for chloride, how many of them were aged below 82?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location text, discharge_location text, diagnosis text, dod text, dob_year text, dod_year text, admittime text, dischtime text, admityear text ) CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE prescriptions ( subject_id text, hadm_id text, icustay_id text, drug_type text, drug text, formulary_drug_cd text, route text, drug_dose text ) CREATE TABLE 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 )
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN lab ON demographic.hadm_id = lab.hadm_id WHERE demographic.age < "82" AND lab.label = "Chloride"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 7690, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 7690, 5, 8399, 51, 834, 23, 26, 549, 17444,...
How much uranium did Russia use in 2006 to 2008?
CREATE TABLE table_1295 ( "Country" text, "Uranium required 2006-08" text, "% of world demand" text, "Indigenous mining production 2006" text, "Deficit (-surplus)" text )
SELECT "Uranium required 2006-08" FROM table_1295 WHERE "Country" = 'Russia'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2122, 3301, 41, 96, 10628, 651, 121, 1499, 6, 96, 1265, 2002, 2552, 831, 3581, 18, 4018, 121, 1499, 6, 96, 1454, 13, 296, 2173, 121, 1499, 6, 96, 1570, 26, 2211, 1162, 55...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1265, 2002, 2552, 831, 3581, 18, 4018, 121, 21680, 953, 834, 2122, 3301, 549, 17444, 427, 96, 10628, 651, 121, 3274, 3, 31, 29613, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...