query
stringlengths
58
502
question
stringlengths
15
99
answer
stringlengths
50
10k
table_names
list
tables
list
source
stringlengths
1.43k
24.4k
target
stringlengths
23
11.2k
SELECT city.city_name FROM city WHERE city.state_name='arkansas' AND city.population=(SELECT min(city.population) FROM city WHERE city.state_name='arkansas');
what is the smallest city in arkansas
{"columns":["city_name"],"index":[0],"data":[["north little rock"]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the smallest city in arkansas <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa ...
col : city_name row 1 : north little rock
SELECT state.population FROM state WHERE state.state_name='texas';
what is the population of texas
{"columns":["population"],"index":[0],"data":[[14229000]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
what is the population of texas <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.8421052...
col : population row 1 : 14229000
SELECT state.population FROM state WHERE state.state_name='utah';
how many people stay in utah
{"columns":["population"],"index":[0],"data":[[1461000]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
how many people stay in utah <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.8421052632...
col : population row 1 : 1461000
SELECT river.river_name FROM river WHERE river.length=(SELECT max(river.length) FROM river);
what is the longest river in the united states
{"columns":["river_name"],"index":[0,1,2,3,4,5,6],"data":[["missouri"],["missouri"],["missouri"],["missouri"],["missouri"],["missouri"],["missouri"]]}
[ "river" ]
[ "{\"columns\":[\"river_name\",\"length\",\"country_name\",\"traverse\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,...
what is the longest river in the united states <table_name> : river col : river_name | length | country_name | traverse row 1 : mississippi | 3778 | usa | minnesota row 2 : mississippi | 3778 | usa | wisconsin row 3 : mississippi | 3778 | usa | iowa row 4 : mississippi | 3778 | usa | illinois row 5 : mississippi | 3778...
col : river_name row 1 : missouri row 2 : missouri row 3 : missouri row 4 : missouri row 5 : missouri row 6 : missouri row 7 : missouri
SELECT river.river_name FROM river WHERE river.traverse='illinois';
what river runs through illinois
{"columns":["river_name"],"index":[0,1,2,3,4],"data":[["mississippi"],["ohio"],["ohio"],["wabash"],["rock"]]}
[ "river" ]
[ "{\"columns\":[\"river_name\",\"length\",\"country_name\",\"traverse\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,...
what river runs through illinois <table_name> : river col : river_name | length | country_name | traverse row 1 : mississippi | 3778 | usa | minnesota row 2 : mississippi | 3778 | usa | wisconsin row 3 : mississippi | 3778 | usa | iowa row 4 : mississippi | 3778 | usa | illinois row 5 : mississippi | 3778 | usa | misso...
col : river_name row 1 : mississippi row 2 : ohio row 3 : ohio row 4 : wabash row 5 : rock
SELECT state.population FROM state WHERE state.state_name='texas';
how many people live in texas
{"columns":["population"],"index":[0],"data":[[14229000]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
how many people live in texas <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.842105263...
col : population row 1 : 14229000
SELECT highlow.highest_point FROM highlow WHERE highlow.state_name='kansas';
what is the highest point in kansas
{"columns":["highest_point"],"index":[0],"data":[["mount sunflower"]]}
[ "highlow" ]
[ "{\"columns\":[\"state_name\",\"highest_elevation\",\"lowest_point\",\"highest_point\",\"lowest_elevation\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",\"734\",\"gulf of mexico\",\"...
what is the highest point in kansas <table_name> : highlow col : state_name | highest_elevation | lowest_point | highest_point | lowest_elevation row 1 : alabama | 734 | gulf of mexico | cheaha mountain | 0 row 2 : alaska | 6194 | pacific ocean | mount mckinley | 0 row 3 : arizona | 3851 | colorado river | humphreys pe...
col : highest_point row 1 : mount sunflower
SELECT city.population FROM city WHERE city.city_name='dallas';
what is the population of dallas
{"columns":["population"],"index":[0],"data":[[904078]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the population of dallas <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa | ala...
col : population row 1 : 904078
SELECT city.city_name FROM city WHERE city.state_name='texas';
give me the cities which are in texas
{"columns":["city_name"],"index":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29],"data":[["houston"],["dallas"],["san antonio"],["el paso"],["fort worth"],["austin"],["corpus christi"],["lubbock"],["arlington"],["amarillo"],["garland"],["beaumont"],["pasadena"],["irving"],["waco"],["ab...
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
give me the cities which are in texas <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa ...
col : city_name row 1 : houston row 2 : dallas row 3 : san antonio row 4 : el paso row 5 : fort worth row 6 : austin row 7 : corpus christi row 8 : lubbock row 9 : arlington row 10 : amarillo row 11 : garland row 12 : beaumont row 13 : pasadena row 14 : irving row 15 : waco row 16 : abilene row 17 : wichita falls row 1...
SELECT city.state_name FROM city WHERE city.state_name='montana' AND city.population=(SELECT max(city.population) FROM city WHERE city.state_name='montana');
which state is the largest city in montana in ?
{"columns":["state_name"],"index":[0],"data":[["montana"]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
which state is the largest city in montana in ? <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75...
col : state_name row 1 : montana
SELECT city.city_name FROM city WHERE city.state_name IN(SELECT border_info.state_name FROM border_info WHERE border_info.border='california') AND city.population=(SELECT max(city.population) FROM city WHERE city.state_name IN(SELECT border_info.state_name FROM border_info WHERE border_info.border='california'));
what is the largest city in states that border california
{"columns":["city_name"],"index":[0],"data":[["phoenix"]]}
[ "city", "border_info" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the largest city in states that border california <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tusca...
col : city_name row 1 : phoenix
SELECT highlow.lowest_point FROM highlow WHERE highlow.state_name='iowa';
where is the lowest spot in iowa
{"columns":["lowest_point"],"index":[0],"data":[["mississippi river"]]}
[ "highlow" ]
[ "{\"columns\":[\"state_name\",\"highest_elevation\",\"lowest_point\",\"highest_point\",\"lowest_elevation\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",\"734\",\"gulf of mexico\",\"...
where is the lowest spot in iowa <table_name> : highlow col : state_name | highest_elevation | lowest_point | highest_point | lowest_elevation row 1 : alabama | 734 | gulf of mexico | cheaha mountain | 0 row 2 : alaska | 6194 | pacific ocean | mount mckinley | 0 row 3 : arizona | 3851 | colorado river | humphreys peak ...
col : lowest_point row 1 : mississippi river
SELECT river.traverse FROM river WHERE river.river_name='ohio';
what states does the ohio river go through
{"columns":["traverse"],"index":[0,1,2,3,4,5,6],"data":[["pennsylvania"],["west virginia"],["kentucky"],["indiana"],["illinois"],["illinois"],["ohio"]]}
[ "river" ]
[ "{\"columns\":[\"river_name\",\"length\",\"country_name\",\"traverse\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,...
what states does the ohio river go through <table_name> : river col : river_name | length | country_name | traverse row 1 : mississippi | 3778 | usa | minnesota row 2 : mississippi | 3778 | usa | wisconsin row 3 : mississippi | 3778 | usa | iowa row 4 : mississippi | 3778 | usa | illinois row 5 : mississippi | 3778 | u...
col : traverse row 1 : pennsylvania row 2 : west virginia row 3 : kentucky row 4 : indiana row 5 : illinois row 6 : illinois row 7 : ohio
SELECT highlow.lowest_point FROM highlow WHERE highlow.lowest_elevation = (SELECT min(highlow.lowest_elevation) FROM highlow);
what is the lowest point of the us
{"columns":["lowest_point"],"index":[0],"data":[["new orleans"]]}
[ "highlow" ]
[ "{\"columns\":[\"state_name\",\"highest_elevation\",\"lowest_point\",\"highest_point\",\"lowest_elevation\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",\"734\",\"gulf of mexico\",\"...
what is the lowest point of the us <table_name> : highlow col : state_name | highest_elevation | lowest_point | highest_point | lowest_elevation row 1 : alabama | 734 | gulf of mexico | cheaha mountain | 0 row 2 : alaska | 6194 | pacific ocean | mount mckinley | 0 row 3 : arizona | 3851 | colorado river | humphreys pea...
col : lowest_point row 1 : new orleans
SELECT river.river_name FROM river WHERE river.traverse IN ( SELECT highlow.state_name FROM highlow WHERE highlow.lowest_elevation=(SELECT min(highlow.lowest_elevation) FROM highlow));
what rivers run through the state with the lowest point in the usa ?
{"columns":["river_name"],"index":[0,1,2,3,4],"data":[["mississippi"],["mississippi"],["red"],["ouachita"],["pearl"]]}
[ "river", "highlow" ]
[ "{\"columns\":[\"river_name\",\"length\",\"country_name\",\"traverse\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,...
what rivers run through the state with the lowest point in the usa ? <table_name> : river col : river_name | length | country_name | traverse row 1 : mississippi | 3778 | usa | minnesota row 2 : mississippi | 3778 | usa | wisconsin row 3 : mississippi | 3778 | usa | iowa row 4 : mississippi | 3778 | usa | illinois row ...
col : river_name row 1 : mississippi row 2 : mississippi row 3 : red row 4 : ouachita row 5 : pearl
SELECT lake.lake_name FROM lake WHERE lake.state_name='michigan';
name the major lakes in michigan
{"columns":["lake_name"],"index":[0,1,2,3,4],"data":[["superior"],["huron"],["michigan"],["erie"],["st. clair"]]}
[ "lake" ]
[ "{\"columns\":[\"lake_name\",\"area\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31],\"data\":[[\"iliamna\",2675.0,\"usa\",\"alaska\"],[\"becharof\",1186.0,\"usa\",\"alaska\"],[\"teshekpuk\",816.0,\"usa\",\"alaska\"],[\"naknek\",630...
name the major lakes in michigan <table_name> : lake col : lake_name | area | country_name | state_name row 1 : iliamna | 2675 | usa | alaska row 2 : becharof | 1186 | usa | alaska row 3 : teshekpuk | 816 | usa | alaska row 4 : naknek | 630 | usa | alaska row 5 : salton sea | 932 | usa | california row 6 : tahoe | 497 ...
col : lake_name row 1 : superior row 2 : huron row 3 : michigan row 4 : erie row 5 : st. clair
SELECT city.population FROM city WHERE city.city_name='atlanta';
what is the population of atlanta ga
{"columns":["population"],"index":[0],"data":[[425022]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the population of atlanta ga <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa |...
col : population row 1 : 425022
SELECT state.state_name FROM state WHERE state.population=(SELECT min(state.population) FROM state);
what is the state with the lowest population
{"columns":["state_name"],"index":[0],"data":[["alaska"]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
what is the state with the lowest population <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix...
col : state_name row 1 : alaska
SELECT state.state_name FROM state WHERE state.density=(SELECT min(state.density) FROM state);
what state has the smallest population density
{"columns":["state_name"],"index":[0],"data":[["alaska"]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
what state has the smallest population density <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoen...
col : state_name row 1 : alaska
SELECT city.population FROM city WHERE city.city_name='seattle' AND city.state_name='washington';
what is the population of seattle washington
{"columns":["population"],"index":[0],"data":[[493846]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the population of seattle washington <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143...
col : population row 1 : 493846
SELECT state.state_name FROM state WHERE state.state_name NOT IN (SELECT border_info.state_name FROM border_info);
what states have no bordering state ?
{"columns":["state_name"],"index":[0,1],"data":[["alaska"],["hawaii"]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
what states have no bordering state ? <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.8...
col : state_name row 1 : alaska row 2 : hawaii
SELECT state.population FROM state WHERE state.state_name='district of columbia';
how many people live in washington dc
{"columns":["population"],"index":[0],"data":[[638000]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
how many people live in washington dc <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.8...
col : population row 1 : 638000
SELECT city.city_name FROM city WHERE city.state_name='kansas' AND city.population>150000;
what are the major cities in kansas
{"columns":["city_name"],"index":[0,1],"data":[["wichita"],["kansas city"]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what are the major cities in kansas <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa | ...
col : city_name row 1 : wichita row 2 : kansas city
SELECT state.population FROM state WHERE state.state_name='california';
how many citizens live in california
{"columns":["population"],"index":[0],"data":[[23670000]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
how many citizens live in california <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.84...
col : population row 1 : 23670000
SELECT city.city_name FROM city WHERE city.population=(SELECT min(city.population) FROM city);
what is the city with the smallest population
{"columns":["city_name"],"index":[0],"data":[["scotts valley"]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
what is the city with the smallest population <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 7514...
col : city_name row 1 : scotts valley
SELECT highlow.highest_point FROM highlow WHERE highlow.state_name='texas';
what is the highest point in texas
{"columns":["highest_point"],"index":[0],"data":[["guadalupe peak"]]}
[ "highlow" ]
[ "{\"columns\":[\"state_name\",\"highest_elevation\",\"lowest_point\",\"highest_point\",\"lowest_elevation\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",\"734\",\"gulf of mexico\",\"...
what is the highest point in texas <table_name> : highlow col : state_name | highest_elevation | lowest_point | highest_point | lowest_elevation row 1 : alabama | 734 | gulf of mexico | cheaha mountain | 0 row 2 : alaska | 6194 | pacific ocean | mount mckinley | 0 row 3 : arizona | 3851 | colorado river | humphreys pea...
col : highest_point row 1 : guadalupe peak
SELECT city.population FROM city WHERE city.city_name='boulder';
number of citizens in boulder
{"columns":["population"],"index":[0],"data":[[76685]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
number of citizens in boulder <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa | alabam...
col : population row 1 : 76685
SELECT city.population FROM city WHERE city.city_name='boulder';
how many citizens in boulder
{"columns":["population"],"index":[0],"data":[[76685]]}
[ "city" ]
[ "{\"columns\":[\"city_name\",\"population\",\"country_name\",\"state_name\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,7...
how many citizens in boulder <table_name> : city col : city_name | population | country_name | state_name row 1 : birmingham | 284413 | usa | alabama row 2 : mobile | 200452 | usa | alabama row 3 : montgomery | 177857 | usa | alabama row 4 : huntsville | 142513 | usa | alabama row 5 : tuscaloosa | 75143 | usa | alabama...
col : population row 1 : 76685
SELECT state.population FROM state WHERE state.state_name='washington';
how many people live in washington
{"columns":["population"],"index":[0],"data":[[4113200]]}
[ "state" ]
[ "{\"columns\":[\"state_name\",\"population\",\"area\",\"country_name\",\"capital\",\"density\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",3894000,51700.0,\"usa\",\"montgomery\",75....
how many people live in washington <table_name> : state col : state_name | population | area | country_name | capital | density row 1 : alabama | 3894000 | 51700 | usa | montgomery | 75.3191489362 row 2 : alaska | 401800 | 591000 | usa | juneau | 0.6798646362 row 3 : arizona | 2718000 | 114000 | usa | phoenix | 23.8421...
col : population row 1 : 4113200
SELECT highlow.highest_elevation FROM highlow WHERE highlow.state_name='delaware';
how high is the highest point of delaware
{"columns":["highest_elevation"],"index":[0],"data":[["135"]]}
[ "highlow" ]
[ "{\"columns\":[\"state_name\",\"highest_elevation\",\"lowest_point\",\"highest_point\",\"lowest_elevation\"],\"index\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50],\"data\":[[\"alabama\",\"734\",\"gulf of mexico\",\"...
how high is the highest point of delaware <table_name> : highlow col : state_name | highest_elevation | lowest_point | highest_point | lowest_elevation row 1 : alabama | 734 | gulf of mexico | cheaha mountain | 0 row 2 : alaska | 6194 | pacific ocean | mount mckinley | 0 row 3 : arizona | 3851 | colorado river | humphr...
col : highest_elevation row 1 : 135