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 Place associated with Cuba?
CREATE TABLE table_name_49 (place VARCHAR, nation VARCHAR)
SELECT place FROM table_name_49 WHERE nation = "cuba"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3647, 41, 4687, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 3399, 1968, 28, 13052, 58, 1, 0, 0, 0, 0, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 286, 21680, 953, 834, 4350, 834, 3647, 549, 17444, 427, 2982, 3274, 96, 16377, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
in which major competitions did yoichiro kakitani have at least 3 starts ?
CREATE TABLE table_204_371 ( id number, "team" text, "competition" text, "category" text, "appearances\nstart" number, "appearances\nsub" number, "goals" number, "team record" text )
SELECT "competition" FROM table_204_371 WHERE "appearances\nstart" >= 3
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4118, 536, 41, 3, 23, 26, 381, 6, 96, 11650, 121, 1499, 6, 96, 287, 4995, 4749, 121, 1499, 6, 96, 8367, 839, 651, 121, 1499, 6, 96, 3096, 2741, 663, 7, 2, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 287, 4995, 4749, 121, 21680, 953, 834, 26363, 834, 4118, 536, 549, 17444, 427, 96, 3096, 2741, 663, 7, 2, 29, 10208, 121, 2490, 2423, 220, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
what is the year that the position was 1st in paris?
CREATE TABLE table_name_26 (year VARCHAR, position VARCHAR, venue VARCHAR)
SELECT year FROM table_name_26 WHERE position = "1st" AND venue = "paris"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2688, 41, 1201, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 5669, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 125, 19, 8, 215, 24, 8, 1102, 47, 209,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 215, 21680, 953, 834, 4350, 834, 2688, 549, 17444, 427, 1102, 3274, 96, 536, 7, 17, 121, 3430, 5669, 3274, 96, 1893, 159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
WHAT IS THE ELEVATION OF THE UNAKA MOUNTAINS, IN ROAN HIGH BLUFF PEAK, AND ISOLATION LARGER THAN 1.54?
CREATE TABLE table_9778 ( "Rank" real, "Peak Name" text, "Elevation (ft)" real, "Range" text, "Isolation" real )
SELECT AVG("Elevation (ft)") FROM table_9778 WHERE "Range" = 'unaka mountains' AND "Peak Name" = 'roan high bluff' AND "Isolation" > '1.54'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4327, 3940, 41, 96, 22557, 121, 490, 6, 96, 345, 15, 1639, 5570, 121, 1499, 6, 96, 427, 10912, 257, 41, 89, 17, 61, 121, 490, 6, 96, 448, 3280, 121, 1499, 6, 96, 196, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 427, 10912, 257, 41, 89, 17, 61, 8512, 21680, 953, 834, 4327, 3940, 549, 17444, 427, 96, 448, 3280, 121, 3274, 3, 31, 202, 5667, 8022, 31, 3430, 96, 345, 15, 1639, 5570, 121, 3274, 3, 31, 52...
What position does Denard Walker play?
CREATE TABLE table_name_98 (position VARCHAR, player VARCHAR)
SELECT position FROM table_name_98 WHERE player = "denard walker"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3916, 41, 4718, 584, 4280, 28027, 6, 1959, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 1102, 405, 3128, 986, 13521, 577, 58, 1, 0, 0, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 1102, 21680, 953, 834, 4350, 834, 3916, 549, 17444, 427, 1959, 3274, 96, 537, 986, 3, 24063, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What's the average number of floors that were built in 2004, and have a roof (m) of 106?
CREATE TABLE table_name_67 ( floors INTEGER, built VARCHAR, roof___m__ VARCHAR )
SELECT AVG(floors) FROM table_name_67 WHERE built = 2004 AND roof___m__ = 106
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 8242, 3, 21342, 17966, 6, 1192, 584, 4280, 28027, 6, 2955, 834, 834, 834, 51, 834, 834, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 31...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 20924, 7, 61, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1192, 3274, 4406, 3430, 2955, 834, 834, 834, 51, 834, 834, 3274, 3, 16431, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
how many latitudes have 0.081 (sqmi) of water?
CREATE TABLE table_22459 ( "Township" text, "County" text, "Pop. (2010)" real, "Land ( sqmi )" text, "Water (sqmi)" text, "Latitude" text, "Longitude" text, "GEO ID" real, "ANSI code" real )
SELECT COUNT("Latitude") FROM table_22459 WHERE "Water (sqmi)" = '0.081'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24622, 3390, 41, 96, 382, 9197, 2009, 121, 1499, 6, 96, 10628, 63, 121, 1499, 6, 96, 27773, 5, 26118, 121, 490, 6, 96, 434, 232, 41, 11820, 51, 23, 3, 61, 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, 121, 3612, 6592, 8512, 21680, 953, 834, 24622, 3390, 549, 17444, 427, 96, 28632, 41, 7, 1824, 51, 23, 61, 121, 3274, 3, 31, 11739, 4959, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
who were the semifinalists for the tournament in montreal?
CREATE TABLE table_9128 ( "Tournament" text, "Surface" text, "Week" text, "Winner" text, "Finalist" text, "Semifinalists" text )
SELECT "Semifinalists" FROM table_9128 WHERE "Tournament" = 'montreal'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4729, 2577, 41, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 518, 10266, 121, 1499, 6, 96, 18455, 687, 121, 1499, 6, 96, 371, 10270, 343,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 15, 51, 23, 28077, 121, 21680, 953, 834, 4729, 2577, 549, 17444, 427, 96, 382, 1211, 20205, 17, 121, 3274, 3, 31, 4662, 6644, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is name of the country that speaks the largest number of languages?
CREATE TABLE countrylanguage (CountryCode VARCHAR); CREATE TABLE country (Name VARCHAR, Code VARCHAR)
SELECT T1.Name FROM country AS T1 JOIN countrylanguage AS T2 ON T1.Code = T2.CountryCode GROUP BY T1.Name ORDER BY COUNT(*) DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 24925, 41, 10628, 651, 22737, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 684, 41, 23954, 584, 4280, 28027, 6, 3636, 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, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 332, 5411, 23954, 21680, 684, 6157, 332, 536, 3, 15355, 3162, 684, 24925, 6157, 332, 357, 9191, 332, 5411, 22737, 3274, 332, 4416, 10628, 651, 22737, 350, 4630, 6880, 272, 476, 332, 5411, 23954, 4674, 11300, 272, 476, ...
how many kana spelling when english is mount fuji
CREATE TABLE table_3534 ( "English" text, "Japanese" text, "Kana spelling" text, "Revised Hepburn" text, "Kunrei-shiki" text, "Nihon-shiki" text )
SELECT "Kana spelling" FROM table_3534 WHERE "English" = 'Mount Fuji'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2469, 3710, 41, 96, 26749, 121, 1499, 6, 96, 683, 9750, 1496, 15, 121, 1499, 6, 96, 439, 152, 9, 19590, 121, 1499, 6, 96, 1649, 208, 3375, 216, 102, 7223, 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, 439, 152, 9, 19590, 121, 21680, 953, 834, 2469, 3710, 549, 17444, 427, 96, 26749, 121, 3274, 3, 31, 329, 32, 202, 17, 25147, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How much Silver has a Nation of total, and a Total smaller than 54?
CREATE TABLE table_name_58 ( silver VARCHAR, nation VARCHAR )
SELECT COUNT(silver) FROM table_name_58 WHERE nation = "total" AND "total" < 54
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 4294, 584, 4280, 28027, 6, 2982, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 231, 5642, 65, 3, 9, 11046, 13, 792, 6, 11, 3, 9, 9273,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7, 173, 624, 61, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 2982, 3274, 96, 235, 1947, 121, 3430, 96, 235, 1947, 121, 3, 2, 10630, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which team has 123 points agaibst the other team?
CREATE TABLE table_46053 ( "Team" text, "Tries for" text, "Tries against" text, "Try diff" text, "Points for" text, "Points against" text, "Points diff" text )
SELECT "Team" FROM table_46053 WHERE "Points against" = '123'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 25991, 4867, 41, 96, 18699, 121, 1499, 6, 96, 382, 2593, 21, 121, 1499, 6, 96, 382, 2593, 581, 121, 1499, 6, 96, 382, 651, 20624, 121, 1499, 6, 96, 22512, 7, 21, 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, 1...
[ 3, 23143, 14196, 96, 18699, 121, 21680, 953, 834, 25991, 4867, 549, 17444, 427, 96, 22512, 7, 581, 121, 3274, 3, 31, 14574, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the name of the episode written by glen mazzara?
CREATE TABLE table_31441 ( "Series #" real, "Season #" real, "Title" text, "Directed by" text, "Written by" text, "Original air date" text, "Viewers (million)" text )
SELECT "Title" FROM table_31441 WHERE "Written by" = 'Glen Mazzara'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2534, 4853, 41, 96, 12106, 7, 1713, 121, 490, 6, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 23620, 15, 26, 57, 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, 382, 155, 109, 121, 21680, 953, 834, 519, 2534, 4853, 549, 17444, 427, 96, 24965, 324, 57, 121, 3274, 3, 31, 517, 40, 35, 22839, 7061, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the original air date of the episode directed by Paul Marcus?
CREATE TABLE table_15026994_3 (original_air_date VARCHAR, director VARCHAR)
SELECT original_air_date FROM table_15026994_3 WHERE director = "Paul Marcus"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 12278, 2688, 3264, 591, 834, 519, 41, 21878, 834, 2256, 834, 5522, 584, 4280, 28027, 6, 2090, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 926, 799, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 926, 834, 2256, 834, 5522, 21680, 953, 834, 12278, 2688, 3264, 591, 834, 519, 549, 17444, 427, 2090, 3274, 96, 23183, 20809, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what's the position of pick # 79
CREATE TABLE table_23995 ( "Round" real, "Pick #" real, "Player" text, "Position" text, "Height" text, "Weight" text, "College" text, "Status" text )
SELECT "Position" FROM table_23995 WHERE "Pick #" = '79'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3288, 3301, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 345, 3142, 1713, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 3845, 2632, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 345, 32, 7, 4749, 121, 21680, 953, 834, 357, 3288, 3301, 549, 17444, 427, 96, 345, 3142, 1713, 121, 3274, 3, 31, 4440, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who do not work in departments with managers that have ids between 100 and 200, return a bar chart about the distribution of phone_number and salary , and could you order by the y-axis in ascending?
CREATE TABLE departments ( DEPARTMENT_ID decimal(4,0), DEPARTMENT_NAME varchar(30), MANAGER_ID decimal(6,0), LOCATION_ID decimal(4,0) ) CREATE TABLE locations ( LOCATION_ID decimal(4,0), STREET_ADDRESS varchar(40), POSTAL_CODE varchar(12), CITY varchar(30), STATE_PROVINCE varchar(25...
SELECT PHONE_NUMBER, SALARY FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY SALARY
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3, 8023, 7894, 834, 567, 6122, 12920, 6, 180, 4090, 24721, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 15...
What is the score when Li Na was the opponent?
CREATE TABLE table_12284 ( "Outcome" text, "Date" text, "Surface" text, "Opponent" text, "Score" text )
SELECT "Score" FROM table_12284 WHERE "Opponent" = 'li na'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20889, 4608, 41, 96, 15767, 287, 15, 121, 1499, 6, 96, 308, 342, 121, 1499, 6, 96, 134, 450, 4861, 121, 1499, 6, 96, 667, 102, 9977, 121, 1499, 6, 96, 134, 9022, 121, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 20889, 4608, 549, 17444, 427, 96, 667, 102, 9977, 121, 3274, 3, 31, 40, 23, 3, 29, 9, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What is the rank of Strong's Words Compounded of yasha [# 3467] & yahu?
CREATE TABLE table_70241 ( "Strong's #" text, "Hebrew word" text, "Strong's Transliteration" text, "Strong's Words Compounded" text, "English Spelling" text )
SELECT "Strong's #" FROM table_70241 WHERE "Strong's Words Compounded" = 'yasha [# 3467] & yahu'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 2266, 536, 41, 96, 11500, 2444, 31, 7, 1713, 121, 1499, 6, 96, 3845, 1999, 210, 1448, 121, 1499, 6, 96, 11500, 2444, 31, 7, 4946, 9842, 257, 121, 1499, 6, 96, 11500...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11500, 2444, 31, 7, 1713, 121, 21680, 953, 834, 2518, 2266, 536, 549, 17444, 427, 96, 11500, 2444, 31, 7, 4467, 7, 4961, 14471, 121, 3274, 3, 31, 63, 3198, 9, 784, 4663, 6154, 3708, 908, 3, 184, 3, 24320, 76...
What is the latest year when Call of Duty 4: Modern Warfare was the game?
CREATE TABLE table_name_63 (year INTEGER, game VARCHAR)
SELECT MAX(year) FROM table_name_63 WHERE game = "call of duty 4: modern warfare"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3891, 41, 1201, 3, 21342, 17966, 6, 467, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 1251, 215, 116, 2571, 13, 22203, 314, 10, 5070, 1602, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 1201, 61, 21680, 953, 834, 4350, 834, 3891, 549, 17444, 427, 467, 3274, 96, 16482, 13, 5461, 314, 10, 941, 28229, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What was the NBA draft status for Northeast High School?
CREATE TABLE table_name_7 ( nba_draft VARCHAR, school VARCHAR )
SELECT nba_draft FROM table_name_7 WHERE school = "northeast high school"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 940, 41, 3, 29, 115, 9, 834, 26, 10913, 584, 4280, 28027, 6, 496, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 14512, 6488, 2637, 21, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 29, 115, 9, 834, 26, 10913, 21680, 953, 834, 4350, 834, 940, 549, 17444, 427, 496, 3274, 96, 29, 127, 189, 11535, 306, 496, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
For those employees who did not have any job in the past, draw a bar chart about the distribution of job_id and the average of manager_id , and group by attribute job_id, could you list in desc by the y-axis?
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 employees ( EMPLOYEE_ID decimal(6,0),...
SELECT JOB_ID, AVG(MANAGER_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY AVG(MANAGER_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10521, 41, 3396, 19846, 11810, 834, 4309, 7908, 1982, 599, 8525, 632, 201, 3396, 19846, 11810, 834, 567, 17683, 3, 4331, 4059, 599, 1458, 201, 283, 15610, 17966, 834, 4309, 7908, 1982, 5...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 71, 17217, 599, 9312, 188, 17966, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 2168...
List the locations that are shared by more than two wrestlers.
CREATE TABLE wrestler ( LOCATION VARCHAR )
SELECT LOCATION FROM wrestler GROUP BY LOCATION HAVING COUNT(*) > 2
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 26033, 52, 41, 301, 5618, 8015, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 6792, 8, 3248, 24, 33, 2471, 57, 72, 145, 192, 26033, 52, 7, 5, 1, 0, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 301, 5618, 8015, 21680, 26033, 52, 350, 4630, 6880, 272, 476, 301, 5618, 8015, 454, 6968, 2365, 2847, 17161, 599, 1935, 61, 2490, 204, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What Team has a Pick of 40?
CREATE TABLE table_name_67 ( team VARCHAR, pick VARCHAR )
SELECT team FROM table_name_67 WHERE pick = 40
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3708, 41, 372, 584, 4280, 28027, 6, 1432, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 2271, 65, 3, 9, 8356, 13, 1283, 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, 372, 21680, 953, 834, 4350, 834, 3708, 549, 17444, 427, 1432, 3274, 1283, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the plural if the meaning is python and the plural gender is n?
CREATE TABLE table_39938 ( "singular" text, "singular gender" text, "plural" text, "plural gender" text, "meaning" text )
SELECT "plural" FROM table_39938 WHERE "plural gender" = 'n' AND "meaning" = 'python'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3264, 3747, 41, 96, 7, 53, 4885, 121, 1499, 6, 96, 7, 53, 4885, 7285, 121, 1499, 6, 96, 12456, 4900, 121, 1499, 6, 96, 12456, 4900, 7285, 121, 1499, 6, 96, 27639, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 12456, 4900, 121, 21680, 953, 834, 519, 3264, 3747, 549, 17444, 427, 96, 12456, 4900, 7285, 121, 3274, 3, 31, 29, 31, 3430, 96, 27639, 121, 3274, 3, 31, 102, 63, 189, 106, 31, 1, -100, -100, -100, -100, -100, ...
how many compilation albums did yg entertainment release in 2011 ?
CREATE TABLE table_204_680 ( id number, "released" text, "title" text, "artist" text, "format" text, "language" text )
SELECT COUNT(*) FROM table_204_680 WHERE "format" = 'compilation'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 948, 2079, 41, 3, 23, 26, 381, 6, 96, 21019, 26, 121, 1499, 6, 96, 21869, 121, 1499, 6, 96, 1408, 343, 121, 1499, 6, 96, 8995, 121, 1499, 6, 96, 24925, 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, 2847, 17161, 599, 1935, 61, 21680, 953, 834, 26363, 834, 948, 2079, 549, 17444, 427, 96, 8995, 121, 3274, 3, 31, 7699, 173, 257, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Who got the loss on the game that ended in a 52-36 record?
CREATE TABLE table_name_22 (loss VARCHAR, record VARCHAR)
SELECT loss FROM table_name_22 WHERE record = "52-36"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 2298, 7, 584, 4280, 28027, 6, 1368, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2645, 530, 8, 1453, 30, 8, 467, 24, 3492, 16, 3, 9, 9065, 18...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1453, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 1368, 3274, 96, 5373, 18, 3420, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Where was the game in which Kevin Durant (25) did the most high points played?
CREATE TABLE table_23286112_6 (location_attendance VARCHAR, high_points VARCHAR)
SELECT location_attendance FROM table_23286112_6 WHERE high_points = "Kevin Durant (25)"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2773, 2577, 4241, 2122, 834, 948, 41, 14836, 834, 15116, 663, 584, 4280, 28027, 6, 306, 834, 2700, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 47, 8, 467, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1128, 834, 15116, 663, 21680, 953, 834, 2773, 2577, 4241, 2122, 834, 948, 549, 17444, 427, 306, 834, 2700, 7, 3274, 96, 439, 15, 2494, 8633, 288, 4743, 9120, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -...
Name the Driver that has Races greater than 16?
CREATE TABLE table_36457 ( "Driver" text, "Season" real, "Races" real, "Poles" real, "Percentage" text )
SELECT "Driver" FROM table_36457 WHERE "Races" > '16'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3420, 591, 3436, 41, 96, 20982, 52, 121, 1499, 6, 96, 134, 15, 9, 739, 121, 490, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 8931, 15, 7, 121, 490, 6, 96, 12988, 3728, 545,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 20982, 52, 121, 21680, 953, 834, 3420, 591, 3436, 549, 17444, 427, 96, 448, 9, 2319, 121, 2490, 3, 31, 2938, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the date when the against was 3?
CREATE TABLE table_50208 ( "Opposing Team" text, "Against" real, "Date" text, "Venue" text, "Round" text )
SELECT "Date" FROM table_50208 WHERE "Against" = '3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1752, 23946, 41, 96, 667, 102, 2748, 53, 2271, 121, 1499, 6, 96, 20749, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 553, 35, 76, 15, 121, 1499, 6, 96, 448, 32, 1106, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1752, 23946, 549, 17444, 427, 96, 20749, 121, 3274, 3, 31, 519, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the total number of Position, when Played is less than 46?
CREATE TABLE table_47531 ( "Position" real, "Team" text, "Played" real, "Drawn" real, "Lost" real, "Goals For" real, "Goals Against" real, "Goal Difference" text, "Points 1" real )
SELECT COUNT("Position") FROM table_47531 WHERE "Played" < '46'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 591, 3072, 3341, 41, 96, 345, 32, 7, 4749, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 15800, 15, 26, 121, 490, 6, 96, 308, 10936, 29, 121, 490, 6, 96, 434, 3481, 121, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 121, 345, 32, 7, 4749, 8512, 21680, 953, 834, 591, 3072, 3341, 549, 17444, 427, 96, 15800, 15, 26, 121, 3, 2, 3, 31, 4448, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What are the maximum and minimum resolution of songs whose duration is 3 minutes?
CREATE TABLE files (f_id VARCHAR, duration VARCHAR); CREATE TABLE song (resolution INTEGER, f_id VARCHAR)
SELECT MAX(T2.resolution), MIN(T2.resolution) FROM files AS T1 JOIN song AS T2 ON T1.f_id = T2.f_id WHERE T1.duration LIKE "3:%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 2073, 41, 89, 834, 23, 26, 584, 4280, 28027, 6, 8659, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2324, 41, 60, 14913, 3, 21342, 17966, 6, 3, 89, 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, 4800, 4, 599, 382, 4416, 60, 14913, 201, 3, 17684, 599, 382, 4416, 60, 14913, 61, 21680, 2073, 6157, 332, 536, 3, 15355, 3162, 2324, 6157, 332, 357, 9191, 332, 5411, 89, 834, 23, 26, 3274, 332, 4416, 89, 834, 23, ...
Which episodes has the lowest average ratings of 8.7%?
CREATE TABLE table_name_65 (episodes INTEGER, average_ratings VARCHAR)
SELECT MIN(episodes) FROM table_name_65 WHERE average_ratings = "8.7%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4122, 41, 15, 102, 159, 32, 1395, 3, 21342, 17966, 6, 1348, 834, 52, 1014, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 13562, 65, 8, 7402, 1348...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 15, 102, 159, 32, 1395, 61, 21680, 953, 834, 4350, 834, 4122, 549, 17444, 427, 1348, 834, 52, 1014, 7, 3274, 96, 927, 5, 6170, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What year were the opponents Shingo Kunieda Satoshi Saida?
CREATE TABLE table_name_22 ( year INTEGER, opponents_in_final VARCHAR )
SELECT MIN(year) FROM table_name_22 WHERE opponents_in_final = "shingo kunieda satoshi saida"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2884, 41, 215, 3, 21342, 17966, 6, 16383, 834, 77, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 215, 130, 8, 16383, 14215, 839, 20930, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 1201, 61, 21680, 953, 834, 4350, 834, 2884, 549, 17444, 427, 16383, 834, 77, 834, 12406, 3274, 96, 9525, 32, 3, 157, 202, 5973, 9, 3, 7, 9, 235, 5605, 243, 9, 121, 1, -100, -100, -100, -100, -100,...
what is a good restaurant on bethel island rd in bethel island ?
CREATE TABLE geographic ( city_name varchar, county varchar, region varchar ) CREATE TABLE restaurant ( id int, name varchar, food_type varchar, city_name varchar, rating "decimal ) CREATE TABLE location ( restaurant_id int, house_number int, street_name varchar, city_n...
SELECT location.house_number, restaurant.name FROM location, restaurant WHERE location.city_name = 'bethel island' AND location.street_name = 'bethel island rd' AND restaurant.id = location.restaurant_id AND restaurant.rating > 2.5
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 20929, 41, 690, 834, 4350, 3, 4331, 4059, 6, 5435, 3, 4331, 4059, 6, 1719, 3, 4331, 4059, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 2062, 41, 3, 23, 26, 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, 1128, 5, 1840, 834, 5525, 1152, 6, 2062, 5, 4350, 21680, 1128, 6, 2062, 549, 17444, 427, 1128, 5, 6726, 834, 4350, 3274, 3, 31, 346, 532, 40, 3368, 31, 3430, 1128, 5, 22967, 834, 4350, 3274, 3, 31, 346, 532, 40,...
What is the name of the country with less than 9.033 for swimsuit, 8.611 for interview and preliminary is less than 8.87?
CREATE TABLE table_name_50 (country VARCHAR, preliminary VARCHAR, swimsuit VARCHAR, interview VARCHAR)
SELECT country FROM table_name_50 WHERE swimsuit < 9.033 AND interview = 8.611 AND preliminary < 8.87
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1752, 41, 17529, 584, 4280, 28027, 6, 17413, 584, 4280, 28027, 6, 9728, 7628, 584, 4280, 28027, 6, 2772, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 684, 21680, 953, 834, 4350, 834, 1752, 549, 17444, 427, 9728, 7628, 3, 2, 5835, 4928, 519, 3430, 2772, 3274, 4848, 4241, 536, 3430, 17413, 3, 2, 4848, 4225, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
Where is the headquarter of the company founded by James?
CREATE TABLE manufacturers (headquarter VARCHAR, founder VARCHAR)
SELECT headquarter FROM manufacturers WHERE founder = 'James'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 5360, 41, 3313, 19973, 584, 4280, 28027, 6, 7174, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 2840, 19, 8, 819, 19973, 13, 8, 349, 5710, 57, 2549, 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, 819, 19973, 21680, 5360, 549, 17444, 427, 7174, 3274, 3, 31, 683, 9, 2687, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What was the date of appointment for the manager replacing Kadir zcan?
CREATE TABLE table_29304 ( "Team" text, "Outgoing manager" text, "Manner of departure" text, "Date of vacancy" text, "Replaced by" text, "Date of appointment" text )
SELECT "Date of appointment" FROM table_29304 WHERE "Outgoing manager" = 'Kadir Özcan'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3166, 23702, 41, 96, 18699, 121, 1499, 6, 96, 15767, 9545, 2743, 121, 1499, 6, 96, 7296, 687, 13, 12028, 121, 1499, 6, 96, 308, 342, 13, 3, 29685, 121, 1499, 6, 96, 1649,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 13, 4141, 121, 21680, 953, 834, 3166, 23702, 549, 17444, 427, 96, 15767, 9545, 2743, 121, 3274, 3, 31, 439, 9, 12594, 3, 2, 172, 1608, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the total round for a wide receiver with an overall of more than 145?
CREATE TABLE table_name_4 ( round VARCHAR, position VARCHAR, overall VARCHAR )
SELECT COUNT(round) FROM table_name_4 WHERE position = "wide receiver" AND overall > 145
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 591, 41, 1751, 584, 4280, 28027, 6, 1102, 584, 4280, 28027, 6, 1879, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 792, 1751, 21, 3, 9, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 7775, 61, 21680, 953, 834, 4350, 834, 591, 549, 17444, 427, 1102, 3274, 96, 6728, 11487, 121, 3430, 1879, 2490, 3, 20987, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is the lowest number of minutes for a player with 47 steals?
CREATE TABLE table_24856332_4 ( minutes INTEGER, steals VARCHAR )
SELECT MIN(minutes) FROM table_24856332_4 WHERE steals = 47
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2266, 4433, 3891, 2668, 834, 591, 41, 676, 3, 21342, 17966, 6, 11332, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 7402, 381, 13, 676, 21, 3, 9,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 6890, 7, 61, 21680, 953, 834, 2266, 4433, 3891, 2668, 834, 591, 549, 17444, 427, 11332, 7, 3274, 10635, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Lost has a Club of club?
CREATE TABLE table_46212 ( "Club" text, "Played" text, "Drawn" text, "Lost" text, "Points for" text, "Points against" text, "Points difference" text, "Points" text )
SELECT "Lost" FROM table_46212 WHERE "Club" = 'club'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4448, 24837, 41, 96, 254, 11158, 121, 1499, 6, 96, 15800, 15, 26, 121, 1499, 6, 96, 308, 10936, 29, 121, 1499, 6, 96, 434, 3481, 121, 1499, 6, 96, 22512, 7, 21, 121, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 434, 3481, 121, 21680, 953, 834, 4448, 24837, 549, 17444, 427, 96, 254, 11158, 121, 3274, 3, 31, 13442, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Find the name of the user who gave the highest rating.
CREATE TABLE review (u_id VARCHAR, rating VARCHAR); CREATE TABLE useracct (name VARCHAR, u_id VARCHAR)
SELECT T1.name FROM useracct AS T1 JOIN review AS T2 ON T1.u_id = T2.u_id ORDER BY T2.rating DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1132, 41, 76, 834, 23, 26, 584, 4280, 28027, 6, 5773, 584, 4280, 28027, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1139, 6004, 17, 41, 4350, 584, 4280, 28027, 6, 3, 76,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 1132, 6157, 332, 357, 9191, 332, 5411, 76, 834, 23, 26, 3274, 332, 4416, 76, 834, 23, 26, 4674, 11300, 272, 476, 332, 4416, 52, 1014, 309, 25...
Which Draws have Losses larger than 16, and a Season larger than 1966?
CREATE TABLE table_33969 ( "Season" real, "Team" text, "Wins" real, "Losses" real, "Draws" real )
SELECT SUM("Draws") FROM table_33969 WHERE "Losses" > '16' AND "Season" > '1966'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3288, 3951, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 18699, 121, 1499, 6, 96, 18455, 7, 121, 490, 6, 96, 434, 13526, 7, 121, 490, 6, 96, 308, 10936, 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, 180, 6122, 599, 121, 308, 10936, 7, 8512, 21680, 953, 834, 519, 3288, 3951, 549, 17444, 427, 96, 434, 13526, 7, 121, 2490, 3, 31, 2938, 31, 3430, 96, 134, 15, 9, 739, 121, 2490, 3, 31, 2294, 3539, 31, 1, -100, ...
Retrieve the average age of members of the club 'Tennis Club'.
CREATE TABLE member_of_club ( clubid VARCHAR, stuid VARCHAR ) CREATE TABLE student ( age INTEGER, stuid VARCHAR ) CREATE TABLE club ( clubid VARCHAR, clubname VARCHAR )
SELECT AVG(t3.age) FROM club AS t1 JOIN member_of_club AS t2 ON t1.clubid = t2.clubid JOIN student AS t3 ON t2.stuid = t3.stuid WHERE t1.clubname = "Tennis Club"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1144, 834, 858, 834, 13442, 41, 1886, 23, 26, 584, 4280, 28027, 6, 21341, 23, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 1246, 3, 213...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 17, 5787, 545, 61, 21680, 1886, 6157, 3, 17, 536, 3, 15355, 3162, 1144, 834, 858, 834, 13442, 6157, 3, 17, 357, 9191, 3, 17, 5411, 13442, 23, 26, 3274, 3, 17, 4416, 13442, 23, 26, 3, 15355, 3162,...
What type has rest day as a course and was on 21 may?
CREATE TABLE table_name_83 (type VARCHAR, course VARCHAR, date VARCHAR)
SELECT type FROM table_name_83 WHERE course = "rest day" AND date = "21 may"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4591, 41, 6137, 584, 4280, 28027, 6, 503, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 686, 65, 880, 239, 38, 3, 9, 503, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 686, 21680, 953, 834, 4350, 834, 4591, 549, 17444, 427, 503, 3274, 96, 6216, 239, 121, 3430, 833, 3274, 96, 2658, 164, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the highest number of podiums before 2008 with a 5th position and more than 0 f/laps?
CREATE TABLE table_13967 ( "Season" real, "Series" text, "Team" text, "Races" real, "Wins" real, "Poles" real, "F/Laps" real, "Podiums" real, "Points" real, "Position" text )
SELECT MAX("Podiums") FROM table_13967 WHERE "Season" < '2008' AND "Position" = '5th' AND "F/Laps" > '0'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24090, 3708, 41, 96, 134, 15, 9, 739, 121, 490, 6, 96, 12106, 7, 121, 1499, 6, 96, 18699, 121, 1499, 6, 96, 448, 9, 2319, 121, 490, 6, 96, 18455, 7, 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, 16665, 2552, 7, 8512, 21680, 953, 834, 24090, 3708, 549, 17444, 427, 96, 134, 15, 9, 739, 121, 3, 2, 3, 31, 16128, 31, 3430, 96, 345, 32, 7, 4749, 121, 3274, 3, 31, 755, 189, 31, 3430, 96, ...
Name the team with Laps of 333
CREATE TABLE table_name_92 ( team VARCHAR, laps VARCHAR )
SELECT team FROM table_name_92 WHERE laps = 333
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 372, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 372, 28, 325, 102, 7, 13, 3, 23360, 1, 0, 0, 0...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 372, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 14941, 7, 3274, 3, 23360, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Return a bar chart about the distribution of dept_name and the sum of salary , and group by attribute dept_name.
CREATE TABLE instructor ( ID varchar(5), name varchar(20), dept_name varchar(20), salary numeric(8,2) ) CREATE TABLE department ( dept_name varchar(20), building varchar(15), budget numeric(12,2) ) CREATE TABLE teaches ( ID varchar(5), course_id varchar(8), sec_id varchar(8), ...
SELECT dept_name, SUM(salary) FROM instructor GROUP BY dept_name ORDER BY salary
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 10617, 41, 4699, 3, 4331, 4059, 15757, 6, 564, 3, 4331, 4059, 599, 1755, 201, 20, 102, 17, 834, 4350, 3, 4331, 4059, 599, 1755, 201, 9090, 206, 17552, 599, 11864, 7318, 3, 61, 3, 3...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20, 102, 17, 834, 4350, 6, 180, 6122, 599, 7, 138, 1208, 61, 21680, 10617, 350, 4630, 6880, 272, 476, 20, 102, 17, 834, 4350, 4674, 11300, 272, 476, 9090, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What single was written by the artist cap D?
CREATE TABLE table_11468 ( "Year" real, "Artist" text, "Single" text, "Other featured guests" text, "Format" text )
SELECT "Single" FROM table_11468 WHERE "Artist" = 'cap d'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 18959, 3651, 41, 96, 476, 2741, 121, 490, 6, 96, 7754, 343, 121, 1499, 6, 96, 134, 53, 109, 121, 1499, 6, 96, 667, 189, 49, 4510, 2554, 121, 1499, 6, 96, 3809, 3357, 12...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 53, 109, 121, 21680, 953, 834, 18959, 3651, 549, 17444, 427, 96, 7754, 343, 121, 3274, 3, 31, 4010, 3, 26, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
what is the difference in the number of temples between imabari and matsuyama ?
CREATE TABLE table_204_841 ( id number, "no." number, "temple" text, "honzon (main image)" text, "city/town/village" text, "prefecture" text )
SELECT ABS((SELECT COUNT("temple") FROM table_204_841 WHERE "city/town/village" = 'imabari') - (SELECT COUNT("temple") FROM table_204_841 WHERE "city/town/village" = 'matsuyama'))
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4608, 536, 41, 3, 23, 26, 381, 6, 96, 29, 32, 535, 381, 6, 96, 15076, 109, 121, 1499, 6, 96, 107, 106, 8892, 41, 7484, 1023, 61, 121, 1499, 6, 96, 6726, 8...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 20798, 599, 599, 23143, 14196, 2847, 17161, 599, 121, 15076, 109, 8512, 21680, 953, 834, 26363, 834, 4608, 536, 549, 17444, 427, 96, 6726, 87, 3540, 87, 208, 17614, 121, 3274, 3, 31, 603, 9, 1047, 23, 31, 61, 3, 1...
What is the highest value for population when area is 9104?
CREATE TABLE table_31376 ( "Country with flag" text, "Area (km\u00b2)" real, "Population (1 July 2005 est.)" real, "Population density (per km\u00b2)" text, "Capital" text )
SELECT MAX("Population (1 July 2005 est.)") FROM table_31376 WHERE "Area (km\u00b2)" = '9104'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 2368, 3959, 41, 96, 10628, 651, 28, 5692, 121, 1499, 6, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 490, 6, 96, 27773, 7830, 4077, 1718, 3105, 259, 5, 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, 4800, 4, 599, 121, 27773, 7830, 4077, 1718, 3105, 259, 5, 61, 8512, 21680, 953, 834, 519, 2368, 3959, 549, 17444, 427, 96, 188, 864, 41, 5848, 2, 76, 1206, 115, 7318, 121, 3274, 3, 31, 1298, 15442, 31, 1, -100, ...
Which country does Airline "JetBlue Airways" belong to?
CREATE TABLE AIRLINES (Country VARCHAR, Airline VARCHAR)
SELECT Country FROM AIRLINES WHERE Airline = "JetBlue Airways"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 3, 18375, 20006, 134, 41, 10628, 651, 584, 4280, 28027, 6, 1761, 747, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 684, 405, 1761, 747, 96, 7851, 17, 22530, 24601, 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, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 6993, 21680, 3, 18375, 20006, 134, 549, 17444, 427, 1761, 747, 3274, 96, 7851, 17, 22530, 24601, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
who is beavercreek's representative
CREATE TABLE table_31168 ( "District" real, "Representative" text, "Party" text, "Residence" text, "First Elected" text, "Term Limited" real )
SELECT "Representative" FROM table_31168 WHERE "Residence" = 'Beavercreek'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3341, 24274, 41, 96, 308, 23, 20066, 121, 490, 6, 96, 1649, 12640, 1528, 121, 1499, 6, 96, 13725, 63, 121, 1499, 6, 96, 1649, 1583, 3772, 121, 1499, 6, 96, 25171, 1289, 7...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 1649, 12640, 1528, 121, 21680, 953, 834, 3341, 24274, 549, 17444, 427, 96, 1649, 1583, 3772, 121, 3274, 3, 31, 2703, 9, 624, 5045, 15, 157, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What 1976 has a 1978 of grand slam tournaments?
CREATE TABLE table_name_57 ( Id VARCHAR )
SELECT 1976 FROM table_name_57 WHERE 1978 = "grand slam tournaments"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3436, 41, 27, 26, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 16164, 65, 3, 9, 14834, 13, 1907, 3, 7, 40, 265, 5892, 7, 58, 1, 0, 0, 0, 0,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 16164, 21680, 953, 834, 4350, 834, 3436, 549, 17444, 427, 14834, 3274, 96, 15448, 3, 7, 40, 265, 5892, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the average of the player with 124 yards and less than 13 rec.?
CREATE TABLE table_11897 ( "Player" text, "Rec." real, "Yards" real, "Avg." real, "TD's" real, "Long" real )
SELECT AVG("Avg.") FROM table_11897 WHERE "Yards" = '124' AND "Rec." < '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 20056, 4327, 41, 96, 15800, 49, 121, 1499, 6, 96, 1649, 75, 535, 490, 6, 96, 476, 986, 7, 121, 490, 6, 96, 188, 208, 122, 535, 490, 6, 96, 10494, 31, 7, 121, 490, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 121, 188, 208, 122, 5, 8512, 21680, 953, 834, 20056, 4327, 549, 17444, 427, 96, 476, 986, 7, 121, 3274, 3, 31, 22504, 31, 3430, 96, 1649, 75, 535, 3, 2, 3, 31, 2368, 31, 1, -100, -100, -100, -1...
Name the year for t-10th
CREATE TABLE table_20774360_2 ( year VARCHAR, standing VARCHAR )
SELECT year FROM table_20774360_2 WHERE standing = "T-10th"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26426, 4581, 19208, 834, 357, 41, 215, 584, 4280, 28027, 6, 4125, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 5570, 8, 215, 21, 3, 17, 4536, 189, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 215, 21680, 953, 834, 26426, 4581, 19208, 834, 357, 549, 17444, 427, 4125, 3274, 96, 382, 4536, 189, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many points were there in a year earlier than 1977, a Cosworth V8 engine, and an entry from HB Bewaking alarm systems?
CREATE TABLE table_name_68 ( points VARCHAR, entrant VARCHAR, year VARCHAR, engine VARCHAR )
SELECT points FROM table_name_68 WHERE year < 1977 AND engine = "cosworth v8" AND entrant = "hb bewaking alarm systems"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3651, 41, 979, 584, 4280, 28027, 6, 3, 295, 3569, 584, 4280, 28027, 6, 215, 584, 4280, 28027, 6, 1948, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 57...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 979, 21680, 953, 834, 4350, 834, 3651, 549, 17444, 427, 215, 3, 2, 16433, 3430, 1948, 3274, 96, 509, 7, 7048, 3, 208, 927, 121, 3430, 3, 295, 3569, 3274, 96, 107, 115, 36, 24419, 6196, 1002, 121, 1, -100, -100, ...
what is the number of patients whose days of hospital stay is greater than 10 and diagnoses icd9 code is v3101?
CREATE TABLE procedures ( subject_id text, hadm_id text, icd9_code text, short_title text, long_title text ) CREATE TABLE lab ( subject_id text, hadm_id text, itemid text, charttime text, flag text, value_unit text, label text, fluid text ) CREATE TABLE prescription...
SELECT COUNT(DISTINCT demographic.subject_id) FROM demographic INNER JOIN diagnoses ON demographic.hadm_id = diagnoses.hadm_id WHERE demographic.days_stay > "10" AND diagnoses.icd9_code = "V3101"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 4293, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 3, 447, 26, 1298, 834, 4978, 1499, 6, 710, 834, 21869, 1499, 6, 307, 834, 21869, 1499, 3, 61, 3, 32102, 32103...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 2847, 17161, 599, 15438, 25424, 6227, 14798, 5, 7304, 11827, 834, 23, 26, 61, 21680, 14798, 3388, 18206, 3, 15355, 3162, 18730, 7, 9191, 14798, 5, 8399, 51, 834, 23, 26, 3274, 18730, 7, 5, 8399, 51, 834, 23, 26, 5...
What location was the campus that has a size of 245 acres?
CREATE TABLE table_62929 ( "Campus" text, "Year opened" text, "Students" text, "Size" text, "Location" text )
SELECT "Location" FROM table_62929 WHERE "Size" = '245 acres'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 948, 3166, 3166, 41, 96, 24626, 302, 121, 1499, 6, 96, 476, 2741, 2946, 121, 1499, 6, 96, 13076, 24180, 121, 1499, 6, 96, 134, 1737, 121, 1499, 6, 96, 434, 32, 75, 257, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 948, 3166, 3166, 549, 17444, 427, 96, 134, 1737, 121, 3274, 3, 31, 357, 2128, 9704, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What are the ids of all students and number of hours played?
CREATE TABLE video_games ( gameid number, gname text, gtype text ) CREATE TABLE student ( stuid number, lname text, fname text, age number, sex text, major number, advisor number, city_code text ) CREATE TABLE sportsinfo ( stuid number, sportname text, hoursperw...
SELECT stuid, SUM(hours_played) FROM plays_games GROUP BY stuid
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 671, 834, 7261, 7, 41, 467, 23, 26, 381, 6, 3, 122, 4350, 1499, 6, 3, 122, 6137, 1499, 3, 61, 3, 32102, 32103, 32102, 205, 4386, 6048, 332, 17098, 1236, 41, 21341, 23, 26, 381, 6...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 21341, 23, 26, 6, 180, 6122, 599, 5842, 7, 834, 4895, 15, 26, 61, 21680, 4805, 834, 7261, 7, 350, 4630, 6880, 272, 476, 21341, 23, 26, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the founding of parsu cimmarons?
CREATE TABLE table_11604804_5 (founded INTEGER, nickname VARCHAR)
SELECT MIN(founded) FROM table_11604804_5 WHERE nickname = "ParSU Cimmarons"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2596, 3328, 20579, 591, 834, 755, 41, 23329, 3, 21342, 17966, 6, 24649, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 16072, 13, 260, 7, 76, 3, 75, 23, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 23329, 61, 21680, 953, 834, 2596, 3328, 20579, 591, 834, 755, 549, 17444, 427, 24649, 3274, 96, 13212, 4138, 4385, 635, 9, 6447, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Rank has a Name of tsvetelina kirilova, and a Result smaller than 55.97?
CREATE TABLE table_name_73 (rank INTEGER, name VARCHAR, result VARCHAR)
SELECT MAX(rank) FROM table_name_73 WHERE name = "tsvetelina kirilova" AND result < 55.97
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4552, 41, 6254, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 65, 3, 9, 5570, 13, 3, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 61, 21680, 953, 834, 4350, 834, 4552, 549, 17444, 427, 564, 3274, 96, 17, 7, 162, 1625, 77, 9, 3, 18413, 173, 6194, 121, 3430, 741, 3, 2, 6897, 5, 4327, 1, -100, -100, -100, -100, -100, -100,...
Name the motogp winner for 6 may
CREATE TABLE table_30132 ( "Round" real, "Date" text, "Grand Prix" text, "Circuit" text, "MotoGP winner" text, "Moto2 winner" text, "Moto3 winner" text, "Report" text )
SELECT "MotoGP winner" FROM table_30132 WHERE "Date" = '6 May'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 1458, 23757, 41, 96, 448, 32, 1106, 121, 490, 6, 96, 308, 342, 121, 1499, 6, 96, 4744, 727, 12942, 121, 1499, 6, 96, 254, 23, 52, 21560, 121, 1499, 6, 96, 329, 32, 235,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 329, 32, 235, 8049, 4668, 121, 21680, 953, 834, 1458, 23757, 549, 17444, 427, 96, 308, 342, 121, 3274, 3, 31, 948, 932, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which Rank is the lowest one that has a Name of maribor cathedral?
CREATE TABLE table_name_27 ( rank INTEGER, name VARCHAR )
SELECT MIN(rank) FROM table_name_27 WHERE name = "maribor cathedral"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2555, 41, 11003, 3, 21342, 17966, 6, 564, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 3, 22557, 19, 8, 7402, 80, 24, 65, 3, 9, 5570, 13, 2774...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3, 17684, 599, 6254, 61, 21680, 953, 834, 4350, 834, 2555, 549, 17444, 427, 564, 3274, 96, 17289, 6693, 26411, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
Name the current club for number 6
CREATE TABLE table_17885 ( "No" real, "Player" text, "Height" text, "Position" text, "Year born" real, "Current Club" text )
SELECT "Current Club" FROM table_17885 WHERE "No" = '6'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 27640, 4433, 41, 96, 4168, 121, 490, 6, 96, 15800, 49, 121, 1499, 6, 96, 3845, 2632, 121, 1499, 6, 96, 345, 32, 7, 4749, 121, 1499, 6, 96, 476, 2741, 2170, 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, 254, 450, 5320, 1949, 121, 21680, 953, 834, 27640, 4433, 549, 17444, 427, 96, 4168, 121, 3274, 3, 31, 948, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what is the last club listed ?
CREATE TABLE table_204_923 ( id number, "club" text, "entered\nadministration" text, "exited\nadministration" text, "league(s)" text, "deduction(s)" text )
SELECT "club" FROM table_204_923 ORDER BY id DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 26363, 834, 4508, 519, 41, 3, 23, 26, 381, 6, 96, 13442, 121, 1499, 6, 96, 35, 11196, 2, 29, 20039, 121, 1499, 6, 96, 994, 23, 1054, 2, 29, 20039, 121, 1499, 6, 96, 2...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 13442, 121, 21680, 953, 834, 26363, 834, 4508, 519, 4674, 11300, 272, 476, 3, 23, 26, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the sum of crowd(s) when north melbourne is away?
CREATE TABLE table_name_92 ( crowd INTEGER, away_team VARCHAR )
SELECT SUM(crowd) FROM table_name_92 WHERE away_team = "north melbourne"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4508, 41, 4374, 3, 21342, 17966, 6, 550, 834, 11650, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 19, 8, 4505, 13, 4374, 599, 7, 61, 116, 3457, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 180, 6122, 599, 75, 3623, 26, 61, 21680, 953, 834, 4350, 834, 4508, 549, 17444, 427, 550, 834, 11650, 3274, 96, 29, 127, 189, 3, 2341, 26255, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
Which Date has a Winning score of 15 (71-69-68-65=273)?
CREATE TABLE table_34805 ( "Date" text, "Tournament" text, "Winning score" text, "Margin of victory" text, "Runner-up" text )
SELECT "Date" FROM table_34805 WHERE "Winning score" = '−15 (71-69-68-65=273)'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 519, 3707, 3076, 41, 96, 308, 342, 121, 1499, 6, 96, 382, 1211, 20205, 17, 121, 1499, 6, 96, 518, 10503, 2604, 121, 1499, 6, 96, 7286, 122, 77, 13, 6224, 121, 1499, 6, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 308, 342, 121, 21680, 953, 834, 519, 3707, 3076, 549, 17444, 427, 96, 518, 10503, 2604, 121, 3274, 3, 31, 2, 1808, 41, 4450, 18, 3951, 18, 3651, 18, 4122, 2423, 2555, 5268, 31, 1, -100, -100, -100, -100, -100,...
Which parish has a church named Vangsnes Kyrkje?
CREATE TABLE table_name_44 ( parish__prestegjeld_ VARCHAR, church_name VARCHAR )
SELECT parish__prestegjeld_ FROM table_name_44 WHERE church_name = "vangsnes kyrkje"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3628, 41, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 584, 4280, 28027, 6, 2078, 834, 4350, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 4073, 1496...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 14961, 834, 834, 2026, 849, 122, 354, 8804, 834, 21680, 953, 834, 4350, 834, 3628, 549, 17444, 427, 2078, 834, 4350, 3274, 96, 2132, 122, 7, 1496, 3, 3781, 52, 157, 1924, 121, 1, -100, -100, -100, -100, -100, -100, ...
How many persons had immunity in the episode when Wanda was eliminated?
CREATE TABLE table_1272844_2 (immunity VARCHAR, eliminated VARCHAR)
SELECT COUNT(immunity) FROM table_1272844_2 WHERE eliminated = "Wanda"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 22367, 2577, 3628, 834, 357, 41, 23, 635, 202, 485, 584, 4280, 28027, 6, 17809, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 7609, 141, 26510, 16, 8, 5640, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 2847, 17161, 599, 23, 635, 202, 485, 61, 21680, 953, 834, 22367, 2577, 3628, 834, 357, 549, 17444, 427, 17809, 3274, 96, 518, 232, 9, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the highest Ranking Round Rank for Russia with a Final Rank over 11?
CREATE TABLE table_name_3 (ranking_round_rank INTEGER, nation VARCHAR, final_rank VARCHAR)
SELECT MAX(ranking_round_rank) FROM table_name_3 WHERE nation = "russia" AND final_rank > 11
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 519, 41, 6254, 53, 834, 7775, 834, 6254, 3, 21342, 17966, 6, 2982, 584, 4280, 28027, 6, 804, 834, 6254, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 6254, 53, 834, 7775, 834, 6254, 61, 21680, 953, 834, 4350, 834, 519, 549, 17444, 427, 2982, 3274, 96, 26165, 121, 3430, 804, 834, 6254, 2490, 850, 1, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is zip code of customer with first name as Carole and last name as Bernhard?
CREATE TABLE staff ( staff_id number, staff_address_id number, nickname text, first_name text, middle_name text, last_name text, date_of_birth time, date_joined_staff time, date_left_staff time ) CREATE TABLE vehicles ( vehicle_id number, vehicle_details text ) CREATE TABLE...
SELECT T2.zip_postcode FROM customers AS T1 JOIN addresses AS T2 ON T1.customer_address_id = T2.address_id WHERE T1.first_name = "Carole" AND T1.last_name = "Bernhard"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 871, 41, 871, 834, 23, 26, 381, 6, 871, 834, 9, 26, 12039, 834, 23, 26, 381, 6, 24649, 1499, 6, 166, 834, 4350, 1499, 6, 2214, 834, 4350, 1499, 6, 336, 834, 4350, 1499, 6, 833, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 332, 4416, 13453, 834, 5950, 4978, 21680, 722, 6157, 332, 536, 3, 15355, 3162, 7181, 6157, 332, 357, 9191, 332, 5411, 25697, 49, 834, 9, 26, 12039, 834, 23, 26, 3274, 332, 4416, 9, 26, 12039, 834, 23, 26, 549, 174...
How many shared titles does the club whose last final was 2012 have?
CREATE TABLE table_2869837_1 ( Shared VARCHAR, last_final VARCHAR )
SELECT Shared AS titles FROM table_2869837_1 WHERE last_final = 2012
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 357, 3840, 3916, 4118, 834, 536, 41, 7105, 26, 584, 4280, 28027, 6, 336, 834, 12406, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 2471, 8342, 405, 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, 0...
[ 3, 23143, 14196, 7105, 26, 6157, 8342, 21680, 953, 834, 357, 3840, 3916, 4118, 834, 536, 549, 17444, 427, 336, 834, 12406, 3274, 1673, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What was the attendance of the game played in the Georgia Dome?
CREATE TABLE table_name_6 (attendance VARCHAR, game_site VARCHAR)
SELECT attendance FROM table_name_6 WHERE game_site = "georgia dome"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 948, 41, 15116, 663, 584, 4280, 28027, 6, 467, 834, 3585, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 13, 8, 467, 1944, 16, 8, 5664, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 11364, 21680, 953, 834, 4350, 834, 948, 549, 17444, 427, 467, 834, 3585, 3274, 96, 397, 1677, 23, 9, 22161, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
What was the attendance on September 11?
CREATE TABLE table_name_10 ( attendance INTEGER, date VARCHAR )
SELECT MAX(attendance) FROM table_name_10 WHERE date = "september 11"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 1714, 41, 11364, 3, 21342, 17966, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 30, 1600, 850, 58, 1, 0, 0, 0, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 4800, 4, 599, 15116, 663, 61, 21680, 953, 834, 4350, 834, 1714, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 850, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
How many stories have a height less than 138 meters with a completion date in 1971?
CREATE TABLE table_name_53 ( stories VARCHAR, height__m_ VARCHAR, year_of_completion VARCHAR )
SELECT stories FROM table_name_53 WHERE height__m_ < 138 AND year_of_completion = 1971
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4867, 41, 1937, 584, 4280, 28027, 6, 3902, 834, 834, 51, 834, 584, 4280, 28027, 6, 215, 834, 858, 834, 7699, 109, 1575, 584, 4280, 28027, 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, 1937, 21680, 953, 834, 4350, 834, 4867, 549, 17444, 427, 3902, 834, 834, 51, 834, 3, 2, 3, 22744, 3430, 215, 834, 858, 834, 7699, 109, 1575, 3274, 17961, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
How many weeks have an attendance of 64,116?
CREATE TABLE table_name_40 ( week VARCHAR, attendance VARCHAR )
SELECT COUNT(week) FROM table_name_40 WHERE attendance = "64,116"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2445, 41, 471, 584, 4280, 28027, 6, 11364, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 571, 186, 1274, 43, 46, 11364, 13, 6687, 6, 20159, 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, 2847, 17161, 599, 8041, 61, 21680, 953, 834, 4350, 834, 2445, 549, 17444, 427, 11364, 3274, 96, 4389, 6, 20159, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
What is the character for 2005?
CREATE TABLE table_55208 ( "Year" real, "Category" text, "Character" text, "For The Show" text, "Result" text )
SELECT "Character" FROM table_55208 WHERE "Year" = '2005'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 23946, 41, 96, 476, 2741, 121, 490, 6, 96, 18610, 6066, 651, 121, 1499, 6, 96, 18947, 2708, 49, 121, 1499, 6, 96, 3809, 37, 3111, 121, 1499, 6, 96, 20119, 121, 1499...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 96, 18947, 2708, 49, 121, 21680, 953, 834, 3769, 23946, 549, 17444, 427, 96, 476, 2741, 121, 3274, 3, 31, 22594, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What is the lowest bronze a team with 9 silvers, a total larger than 13, and more than 13 gold medals has?
CREATE TABLE table_52434 ( "Rank" real, "Nation" text, "Gold" real, "Silver" real, "Bronze" real, "Total" real )
SELECT MIN("Bronze") FROM table_52434 WHERE "Silver" = '9' AND "Total" > '13' AND "Gold" > '13'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 755, 2266, 3710, 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, 3, 17684, 599, 121, 22780, 29, 776, 8512, 21680, 953, 834, 755, 2266, 3710, 549, 17444, 427, 96, 134, 173, 624, 121, 3274, 3, 31, 1298, 31, 3430, 96, 3696, 1947, 121, 2490, 3, 31, 2368, 31, 3430, 96, 23576, 121, ...
What was the attendance for the game against tampa bay buccaneers?
CREATE TABLE table_name_61 ( attendance VARCHAR, opponent VARCHAR )
SELECT attendance FROM table_name_61 WHERE opponent = "tampa bay buccaneers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 11364, 584, 4280, 28027, 6, 15264, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 47, 8, 11364, 21, 8, 467, 581, 3, 17, 4624, 9, 10210, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 11364, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 15264, 3274, 96, 17, 4624, 9, 10210, 8062, 1608, 15, 277, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What did the away team score at corio oval?
CREATE TABLE table_55195 ( "Home team" text, "Home team score" text, "Away team" text, "Away team score" text, "Venue" text, "Crowd" real, "Date" text )
SELECT "Away team score" FROM table_55195 WHERE "Venue" = 'corio oval'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3769, 22464, 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, 96, 188, 1343, 372, 2604, 121, 21680, 953, 834, 3769, 22464, 549, 17444, 427, 96, 553, 35, 76, 15, 121, 3274, 3, 31, 5715, 23, 32, 17986, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What is every percentage of overweight or obese adults when 12.4% of children and adolescents are obese?
CREATE TABLE table_18958648_1 ( overweight__incl_obese__adults VARCHAR, obese_children_and_adolescents VARCHAR )
SELECT overweight__incl_obese__adults FROM table_18958648_1 WHERE obese_children_and_adolescents = "12.4%"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2606, 3301, 3840, 3707, 834, 536, 41, 26676, 834, 834, 77, 75, 40, 834, 32, 346, 7, 15, 834, 834, 28491, 7, 584, 4280, 28027, 6, 29329, 834, 25782, 834, 232, 834, 9, 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, 26676, 834, 834, 77, 75, 40, 834, 32, 346, 7, 15, 834, 834, 28491, 7, 21680, 953, 834, 2606, 3301, 3840, 3707, 834, 536, 549, 17444, 427, 29329, 834, 25782, 834, 232, 834, 9, 26, 32, 40, 11719, 7, 3274, 96, 9368...
What is the score when the set 3 is 26 28?
CREATE TABLE table_58652 ( "Date" text, "Time" text, "Score" text, "Set 1" text, "Set 2" text, "Set 3" text, "Total" text )
SELECT "Score" FROM table_58652 WHERE "Set 3" = '26–28'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3449, 4122, 357, 41, 96, 308, 342, 121, 1499, 6, 96, 13368, 121, 1499, 6, 96, 134, 9022, 121, 1499, 6, 96, 17175, 209, 121, 1499, 6, 96, 17175, 204, 121, 1499, 6, 96, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 96, 134, 9022, 121, 21680, 953, 834, 3449, 4122, 357, 549, 17444, 427, 96, 17175, 220, 121, 3274, 3, 31, 2688, 104, 2577, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
What Object Type has a 21h01m37.7s Right Ascension (J2000) and 6995 or greater NGC?
CREATE TABLE table_name_81 (object_type VARCHAR, ngc_number VARCHAR, right_ascension___j2000__ VARCHAR)
SELECT object_type FROM table_name_81 WHERE ngc_number > 6995 AND right_ascension___j2000__ = "21h01m37.7s"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4959, 41, 30536, 834, 6137, 584, 4280, 28027, 6, 3, 1725, 75, 834, 5525, 1152, 584, 4280, 28027, 6, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 83...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 3735, 834, 6137, 21680, 953, 834, 4350, 834, 4959, 549, 17444, 427, 3, 1725, 75, 834, 5525, 1152, 2490, 3, 3951, 3301, 3430, 269, 834, 9, 7, 75, 35, 1938, 834, 834, 834, 354, 13527, 834, 834, 3274, 96, 2658, 107, ...
What are the notes for Ford when the total is 5?
CREATE TABLE table_name_23 ( notes VARCHAR, builder VARCHAR, total VARCHAR )
SELECT notes FROM table_name_23 WHERE builder = "ford" AND total = "5"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 2773, 41, 3358, 584, 4280, 28027, 6, 918, 49, 584, 4280, 28027, 6, 792, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 363, 33, 8, 3358, 21, 5222, 116, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3358, 21680, 953, 834, 4350, 834, 2773, 549, 17444, 427, 918, 49, 3274, 96, 2590, 121, 3430, 792, 3274, 96, 17395, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -10...
What is the name, location and seating for the most recently opened track?
CREATE TABLE track ( name VARCHAR, LOCATION VARCHAR, seating VARCHAR, year_opened VARCHAR )
SELECT name, LOCATION, seating FROM track ORDER BY year_opened DESC LIMIT 1
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1463, 41, 564, 584, 4280, 28027, 6, 301, 5618, 8015, 584, 4280, 28027, 6, 10259, 584, 4280, 28027, 6, 215, 834, 26940, 584, 4280, 28027, 3, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 564, 6, 301, 5618, 8015, 6, 10259, 21680, 1463, 4674, 11300, 272, 476, 215, 834, 26940, 309, 25067, 8729, 12604, 209, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which record has a result of loss in the Hero's 3 event?
CREATE TABLE table_70355 ( "Res." text, "Record" text, "Opponent" text, "Method" text, "Event" text, "Round" real, "Location" text )
SELECT "Record" FROM table_70355 WHERE "Res." = 'loss' AND "Event" = 'hero''s 3'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2518, 2469, 755, 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, 427, 2169, 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, 1649, 7621, 121, 21680, 953, 834, 2518, 2469, 755, 549, 17444, 427, 96, 1649, 7, 535, 3274, 3, 31, 2298, 7, 31, 3430, 96, 427, 2169, 121, 3274, 3, 31, 760, 32, 31, 31, 7, 220, 31, 1, -100, -100, -100, -100...
Which City has a Result of w, and a Competition of international friendly (unofficial match), and a Score of 1-0?
CREATE TABLE table_name_91 (city VARCHAR, score VARCHAR, result VARCHAR, competition VARCHAR)
SELECT city FROM table_name_91 WHERE result = "w" AND competition = "international friendly (unofficial match)" AND score = "1-0"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4729, 41, 6726, 584, 4280, 28027, 6, 2604, 584, 4280, 28027, 6, 741, 584, 4280, 28027, 6, 2259, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 896, 65,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 690, 21680, 953, 834, 4350, 834, 4729, 549, 17444, 427, 741, 3274, 96, 210, 121, 3430, 2259, 3274, 96, 27817, 2609, 41, 202, 20884, 1588, 61, 121, 3430, 2604, 3274, 96, 18930, 121, 1, -100, -100, -100, -100, -100, -...
If the total is 17, what was the maximum rank amount?
CREATE TABLE table_19744915_17 (rank INTEGER, total VARCHAR)
SELECT MAX(rank) FROM table_19744915_17 WHERE total = 17
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2294, 4581, 3647, 1808, 834, 2517, 41, 6254, 3, 21342, 17966, 6, 792, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 156, 8, 792, 19, 12864, 125, 47, 8, 2411, 11003, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2294, 4581, 3647, 1808, 834, 2517, 549, 17444, 427, 792, 3274, 1003, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
For each building, show the name of the building and the number of institutions in it Plot them as bar chart, and could you show bars in desc order?
CREATE TABLE Institution ( Institution_id text, Institution text, Location text, Founded real, Type text, Enrollment int, Team text, Primary_Conference text, building_id text ) CREATE TABLE building ( building_id text, Name text, Street_address text, Years_as_tallest...
SELECT Name, COUNT(*) FROM building AS T1 JOIN Institution AS T2 ON T1.building_id = T2.building_id GROUP BY T1.building_id ORDER BY Name DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14932, 41, 14932, 834, 23, 26, 1499, 6, 14932, 1499, 6, 10450, 1499, 6, 3, 20100, 490, 6, 6632, 1499, 6, 695, 4046, 297, 16, 17, 6, 2271, 1499, 6, 14542, 834, 4302, 11788, 1499, 6,...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 5570, 6, 2847, 17161, 599, 1935, 61, 21680, 740, 6157, 332, 536, 3, 15355, 3162, 14932, 6157, 332, 357, 9191, 332, 5411, 10905, 834, 23, 26, 3274, 332, 4416, 10905, 834, 23, 26, 350, 4630, 6880, 272, 476, 332, 5411,...
What is the maximum fc matches?
CREATE TABLE table_17178 ( "Name of ground" text, "Location" text, "Year" text, "FC matches" real, "LA matches" real, "T20 matches" real, "Total" real )
SELECT MAX("FC matches") FROM table_17178
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 2517, 27640, 41, 96, 23954, 13, 1591, 121, 1499, 6, 96, 434, 32, 75, 257, 121, 1499, 6, 96, 476, 2741, 121, 1499, 6, 96, 5390, 6407, 121, 490, 6, 96, 4569, 6407, 121, 4...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 4800, 4, 599, 121, 5390, 6407, 8512, 21680, 953, 834, 2517, 27640, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who do not work in departments with managers that have ids between 100 and 200, give me the comparison about employee_id over the email , and I want to list from high to low by the EMPLOYEE_ID please.
CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE jobs ( JOB_ID varchar(10), JOB_TITLE varchar(35), MIN_SALARY decimal(6,0), MAX_SALARY decimal(6,0) ) CREATE TABLE departments ( DEP...
SELECT EMAIL, EMPLOYEE_ID FROM employees WHERE NOT DEPARTMENT_ID IN (SELECT DEPARTMENT_ID FROM departments WHERE MANAGER_ID BETWEEN 100 AND 200) ORDER BY EMPLOYEE_ID DESC
[ 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, 3, 20211, 3502, 6, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 1652, 549, 17444, 427, 4486, 3396, 19846, 11810, 834, 4309, 3388, 41, 23143, 14196, 3396, 19846, 11810, 834, 4309, 21680, 10521, 549, 17444, 427, 283, 156...
Who was the opponent on the September 3 game?
CREATE TABLE table_name_38 ( opponent VARCHAR, date VARCHAR )
SELECT opponent FROM table_name_38 WHERE date = "september 3"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3747, 41, 15264, 584, 4280, 28027, 6, 833, 584, 4280, 28027, 3, 61, 3, 32102, 32103, 32101, 32103, 2645, 47, 8, 15264, 30, 8, 1600, 220, 467, 58, 1, 0, 0, 0, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 15264, 21680, 953, 834, 4350, 834, 3747, 549, 17444, 427, 833, 3274, 96, 7, 6707, 18247, 220, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -...
what are all the Canadian air dates where the u.s. air date is may 1, 2009
CREATE TABLE table_482 ( "Season #" real, "Series #" real, "Title" text, "Canadian airdate" text, "U.S. airdate" text, "Production code" real )
SELECT "Canadian airdate" FROM table_482 WHERE "U.S. airdate" = 'May 1, 2009'
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 3707, 357, 41, 96, 134, 15, 9, 739, 1713, 121, 490, 6, 96, 12106, 7, 1713, 121, 490, 6, 96, 382, 155, 109, 121, 1499, 6, 96, 14050, 9, 8603, 799, 5522, 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, 14050, 9, 8603, 799, 5522, 121, 21680, 953, 834, 3707, 357, 549, 17444, 427, 96, 1265, 5, 134, 5, 799, 5522, 121, 3274, 3, 31, 15881, 1914, 2464, 31, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what was the year of the last title ?
CREATE TABLE table_203_501 ( id number, "title" text, "genre" text, "sub\u00addivisions" text, "libretto" text, "premiere date" text, "place, theatre" text )
SELECT MAX("premiere date") FROM table_203_501
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 23330, 834, 20176, 41, 3, 23, 26, 381, 6, 96, 21869, 121, 1499, 6, 96, 729, 60, 121, 1499, 6, 96, 7304, 2, 76, 1206, 13039, 23, 6610, 7, 121, 1499, 6, 96, 6856, 60, 1...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 2026, 2720, 60, 833, 8512, 21680, 953, 834, 23330, 834, 20176, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, ...
What rank is associated with Germany?
CREATE TABLE table_14752049_1 (rank INTEGER, country VARCHAR)
SELECT MAX(rank) FROM table_14752049_1 WHERE country = "Germany"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 24719, 25356, 3647, 834, 536, 41, 6254, 3, 21342, 17966, 6, 684, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 363, 11003, 19, 1968, 28, 3434, 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, 4800, 4, 599, 6254, 61, 21680, 953, 834, 24719, 25356, 3647, 834, 536, 549, 17444, 427, 684, 3274, 96, 24518, 63, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
which grid did less than 20 laps in a time of +58.353?
CREATE TABLE table_name_82 (grid INTEGER, time VARCHAR, laps VARCHAR)
SELECT MIN(grid) FROM table_name_82 WHERE time = "+58.353" AND laps < 20
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4613, 41, 3496, 26, 3, 21342, 17966, 6, 97, 584, 4280, 28027, 6, 14941, 7, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 84, 8634, 410, 705, 145, 460, 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, 0, 0, 0, 0, 0, 0, 0, 0...
[ 3, 23143, 14196, 3, 17684, 599, 3496, 26, 61, 21680, 953, 834, 4350, 834, 4613, 549, 17444, 427, 97, 3274, 96, 1220, 3449, 5, 2469, 519, 121, 3430, 14941, 7, 3, 2, 460, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100...
What is the average total with 1 FA cup and more than 0 FA trophies?
CREATE TABLE table_name_61 (total INTEGER, fa_cup VARCHAR, fa_trophy VARCHAR)
SELECT AVG(total) FROM table_name_61 WHERE fa_cup = 1 AND fa_trophy > 0
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 4241, 41, 235, 1947, 3, 21342, 17966, 6, 3, 89, 9, 834, 4658, 584, 4280, 28027, 6, 3, 89, 9, 834, 17, 29006, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 3210...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 71, 17217, 599, 235, 1947, 61, 21680, 953, 834, 4350, 834, 4241, 549, 17444, 427, 3, 89, 9, 834, 4658, 3274, 209, 3430, 3, 89, 9, 834, 17, 29006, 2490, 3, 632, 1, -100, -100, -100, -100, -100, -100, -100, -100, ...
Which coach founded the Western Strikers team after 1963?
CREATE TABLE table_name_58 (coach VARCHAR, founded VARCHAR, team VARCHAR)
SELECT coach FROM table_name_58 WHERE founded > 1963 AND team = "western strikers"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 953, 834, 4350, 834, 3449, 41, 509, 1836, 584, 4280, 28027, 6, 5710, 584, 4280, 28027, 6, 372, 584, 4280, 28027, 61, 3, 32102, 32103, 32101, 32103, 4073, 3763, 5710, 8, 3782, 5500, 101...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 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, 3763, 21680, 953, 834, 4350, 834, 3449, 549, 17444, 427, 5710, 2490, 20613, 3430, 372, 3274, 96, 24411, 6585, 52, 7, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -1...
what is the discharge location of the patient id 2560?
CREATE TABLE demographic ( subject_id text, hadm_id text, name text, marital_status text, age text, dob text, gender text, language text, religion text, admission_type text, days_stay text, insurance text, ethnicity text, expire_flag text, admission_location t...
SELECT demographic.discharge_location FROM demographic WHERE demographic.subject_id = "2560"
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 14798, 41, 1426, 834, 23, 26, 1499, 6, 141, 51, 834, 23, 26, 1499, 6, 564, 1499, 6, 2774, 1947, 834, 8547, 302, 1499, 6, 1246, 1499, 6, 103, 115, 1499, 6, 7285, 1499, 6, 1612, 14...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 14798, 5, 26, 159, 7993, 834, 14836, 21680, 14798, 549, 17444, 427, 14798, 5, 7304, 11827, 834, 23, 26, 3274, 96, 1828, 3328, 121, 1, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100, -100,...
For those employees who did not have any job in the past, a bar chart shows the distribution of job_id and the amount of job_id , and group by attribute job_id, and I want to sort by the how many job id from high to low.
CREATE TABLE countries ( COUNTRY_ID varchar(2), COUNTRY_NAME varchar(40), REGION_ID decimal(10,0) ) CREATE TABLE job_history ( EMPLOYEE_ID decimal(6,0), START_DATE date, END_DATE date, JOB_ID varchar(10), DEPARTMENT_ID decimal(4,0) ) CREATE TABLE regions ( REGION_ID decimal(5,0), ...
SELECT JOB_ID, COUNT(JOB_ID) FROM employees WHERE NOT EMPLOYEE_ID IN (SELECT EMPLOYEE_ID FROM job_history) GROUP BY JOB_ID ORDER BY COUNT(JOB_ID) DESC
[ 32100, 32103, 32102, 205, 4386, 6048, 332, 17098, 1440, 41, 2847, 17161, 11824, 834, 4309, 3, 4331, 4059, 16426, 6, 2847, 17161, 11824, 834, 567, 17683, 3, 4331, 4059, 599, 2445, 201, 4083, 517, 9215, 834, 4309, 7908, 1982, 599, 1714, ...
[ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1...
[ 3, 23143, 14196, 446, 10539, 834, 4309, 6, 2847, 17161, 599, 15355, 279, 834, 4309, 61, 21680, 1652, 549, 17444, 427, 4486, 262, 5244, 5017, 476, 5080, 834, 4309, 3388, 41, 23143, 14196, 262, 5244, 5017, 476, 5080, 834, 4309, 21680, 6...