id int64 0 8.66k | db_id stringclasses 146
values | schema stringclasses 146
values | question stringlengths 3 224 | output stringlengths 18 577 |
|---|---|---|---|---|
7,200 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the high point of texas | SELECT highest_point FROM highlow WHERE state_name = "texas"; |
7,201 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the highest mountain in texas | SELECT highest_point FROM highlow WHERE state_name = "texas"; |
7,202 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | could you tell me what is the highest point in the state of texas | SELECT highest_point FROM highlow WHERE state_name = "texas"; |
7,203 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what states have no bordering state | SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info ); |
7,204 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | name the states which have no surrounding states | SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info ); |
7,205 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | which states border no other states | SELECT state_name FROM state WHERE state_name NOT IN ( SELECT state_name FROM border_info ); |
7,206 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the area of the state with the smallest population density | SELECT area FROM state WHERE density = ( SELECT MIN ( density ) FROM state ); |
7,207 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | count the states which have elevations lower than what alabama has | SELECT COUNT ( state_name ) FROM highlow WHERE lowest_elevation < ( SELECT lowest_elevation FROM highlow WHERE state_name = "alabama" ); |
7,208 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how high is guadalupe peak | SELECT highest_elevation FROM highlow WHERE highest_point = "guadalupe peak"; |
7,209 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how tall is guadalupe peak | SELECT highest_elevation FROM highlow WHERE highest_point = "guadalupe peak"; |
7,210 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the maximum elevation of guadalupe peak | SELECT highest_elevation FROM highlow WHERE highest_point = "guadalupe peak"; |
7,211 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how high is the highest point in america | SELECT MAX ( highest_elevation ) FROM highlow; |
7,212 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the highest elevation in the united states | SELECT MAX ( highest_elevation ) FROM highlow; |
7,213 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the elevation of the highest point in the usa | SELECT MAX ( highest_elevation ) FROM highlow; |
7,214 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the height of the highest point in the usa | SELECT MAX ( highest_elevation ) FROM highlow; |
7,215 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how long is the rio grande river | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,216 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the length of the rio grande river | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,217 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what length is the rio grande | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,218 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how long is the rio grande | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,219 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how long is the rio grande river in miles | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,220 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how long is rio grande | SELECT LENGTH FROM river WHERE river_name = "rio grande"; |
7,221 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how long is the longest river in texas | SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = "texas" ) AND traverse = "texas"; |
7,222 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the length of the longest river that runs through texas | SELECT LENGTH FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = "texas" ) AND traverse = "texas"; |
7,223 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many capitals does rhode island have | SELECT COUNT ( capital ) FROM state WHERE state_name = "rhode island"; |
7,224 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many cities are there in the united states | SELECT COUNT ( city_name ) FROM city; |
7,225 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many cities does the usa have | SELECT COUNT ( city_name ) FROM city; |
7,226 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many cities are there in the us | SELECT COUNT ( city_name ) FROM city; |
7,227 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many cities are there in usa | SELECT COUNT ( city_name ) FROM city; |
7,228 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many cities are there in us | SELECT COUNT ( city_name ) FROM city; |
7,229 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many major cities are there | SELECT COUNT ( city_name ) FROM city WHERE population > 150000; |
7,230 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many citizens does the biggest city have in the usa | SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city ); |
7,231 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many colorado rivers are there | SELECT COUNT ( river_name ) FROM river WHERE river_name = "colorado"; |
7,232 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many rivers are called colorado | SELECT COUNT ( river_name ) FROM river WHERE river_name = "colorado"; |
7,233 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the population of seattle washington | SELECT population FROM city WHERE city_name = "seattle" AND state_name = "washington"; |
7,234 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many people live in seattle washington | SELECT population FROM city WHERE city_name = "seattle" AND state_name = "washington"; |
7,235 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many people live in the biggest city in alaska state | SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = "alaska" ) AND state_name = "alaska"; |
7,236 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how large is the largest city in alaska | SELECT population FROM city WHERE population = ( SELECT MAX ( population ) FROM city WHERE state_name = "alaska" ) AND state_name = "alaska"; |
7,237 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many people live in the capital of texas | SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE state_name = "texas" ); |
7,238 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the size of the capital of texas | SELECT population FROM city WHERE city_name = ( SELECT capital FROM state WHERE state_name = "texas" ); |
7,239 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many people live in the united states | SELECT SUM ( population ) FROM state; |
7,240 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the combined population of all 50 states | SELECT SUM ( population ) FROM state; |
7,241 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states are in the usa | SELECT COUNT ( state_name ) FROM state; |
7,242 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states are there | SELECT COUNT ( state_name ) FROM state; |
7,243 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states are there in the usa | SELECT COUNT ( state_name ) FROM state; |
7,244 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states does usa have | SELECT COUNT ( state_name ) FROM state; |
7,245 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states are in the united states | SELECT COUNT ( state_name ) FROM state; |
7,246 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states are there in united states | SELECT COUNT ( state_name ) FROM state; |
7,247 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states border kentucky | SELECT COUNT ( border ) FROM border_info WHERE state_name = "kentucky"; |
7,248 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states does kentucky border | SELECT COUNT ( border ) FROM border_info WHERE state_name = "kentucky"; |
7,249 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | kentucky borders how many states | SELECT COUNT ( border ) FROM border_info WHERE state_name = "kentucky"; |
7,250 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | number of states bordering kentucky | SELECT COUNT ( border ) FROM border_info WHERE state_name = "kentucky"; |
7,251 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the number of neighboring states for kentucky | SELECT COUNT ( border ) FROM border_info WHERE state_name = "kentucky"; |
7,252 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states border the state with the largest population | SELECT COUNT ( border ) FROM border_info WHERE state_name IN ( SELECT state_name FROM state WHERE population = ( SELECT MAX ( population ) FROM state ) ); |
7,253 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states do not have rivers | SELECT COUNT ( DISTINCT state_name ) FROM state WHERE state_name NOT IN ( SELECT traverse FROM river ); |
7,254 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | how many states have a higher point than the highest point of the state with the largest capital city in the us | SELECT COUNT ( state_name ) FROM highlow WHERE highest_elevation > ( SELECT highest_elevation FROM highlow WHERE state_name = ( SELECT state_name FROM state WHERE capital = ( SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ) ) ) ); |
7,255 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | name the major rivers in illinois | SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = "illinois"; |
7,256 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major rivers in illinois | SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = "illinois"; |
7,257 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are major rivers in illinois | SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = "illinois"; |
7,258 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what major rivers run through illinois | SELECT river_name FROM river WHERE LENGTH > 750 AND traverse = "illinois"; |
7,259 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | through which states does the longest river in texas run | SELECT traverse FROM river WHERE LENGTH = ( SELECT MAX ( LENGTH ) FROM river WHERE traverse = "texas" ); |
7,260 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the capital city in texas | SELECT capital FROM state WHERE state_name = "texas"; |
7,261 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the capital of texas | SELECT capital FROM state WHERE state_name = "texas"; |
7,262 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the capital of the texas state | SELECT capital FROM state WHERE state_name = "texas"; |
7,263 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is capital of texas | SELECT capital FROM state WHERE state_name = "texas"; |
7,264 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the capital of the state texas | SELECT capital FROM state WHERE state_name = "texas"; |
7,265 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | can you tell me the capital of texas | SELECT capital FROM state WHERE state_name = "texas"; |
7,266 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the capitals of states that border texas | SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = "texas"; |
7,267 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the capital cities of the states which border texas | SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = "texas"; |
7,268 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the capitals of the states that border texas | SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = "texas"; |
7,269 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | which capitals are in the states that border texas | SELECT t2.capital FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = "texas"; |
7,270 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the cities in states through which the mississippi runs | SELECT city_name FROM city WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,271 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the cities of the state with the highest point | SELECT city_name FROM city WHERE state_name IN ( SELECT state_name FROM highlow WHERE highest_elevation = ( SELECT MAX ( highest_elevation ) FROM highlow ) ); |
7,272 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the highest points of all the states | SELECT highest_point FROM highlow; |
7,273 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities in kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,274 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities in the state of kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,275 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what major cities are located in kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,276 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | show major cities in kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,277 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the names of the major cities in kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,278 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities of kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,279 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the major cities in kansas | SELECT city_name FROM city WHERE population > 150000 AND state_name = "kansas"; |
7,280 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities in states through which the mississippi runs | SELECT city_name FROM city WHERE population > 150000 AND state_name IN ( SELECT traverse FROM river WHERE LENGTH > 750 AND river_name = "mississippi" ); |
7,281 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities in the usa | SELECT city_name FROM city WHERE population > 150000; |
7,282 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities of the united states | SELECT city_name FROM city WHERE population > 150000; |
7,283 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the major cities of the us | SELECT city_name FROM city WHERE population > 150000; |
7,284 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the population densities of each us state | SELECT density FROM state; |
7,285 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of states through which the mississippi river run | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,286 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of states through which the mississippi runs | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,287 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of the states through which the mississippi runs | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,288 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of states through which the mississippi river runs | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,289 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of the states through which the mississippi run | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,290 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of the states through which the mississippi river run | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,291 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of states through which the mississippi run | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,292 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of the states through which the mississippi river runs | SELECT population FROM state WHERE state_name IN ( SELECT traverse FROM river WHERE river_name = "mississippi" ); |
7,293 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of states which border texas | SELECT t2.population FROM state AS t2 JOIN border_info AS t1 ON t2.state_name = t1.border WHERE t1.state_name = "texas"; |
7,294 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of the major cities of wisconsin | SELECT population FROM city WHERE population > 150000 AND state_name = "wisconsin"; |
7,295 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what are the populations of all the major cities in wisconsin | SELECT population FROM city WHERE population > 150000 AND state_name = "wisconsin"; |
7,296 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the population of the major cities in wisconsin | SELECT population FROM city WHERE population > 150000 AND state_name = "wisconsin"; |
7,297 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what city has the most people | SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ); |
7,298 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what city in the united states has the highest population density | SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ); |
7,299 | geo | CREATE TABLE `state` (
`state_name` text
,
`population` integer DEFAULT NULL
,
`area` double DEFAULT NULL
,
`country_name` varchar(
3
) NOT NULL DEFAULT ''
,
`capital` text
,
`density` double DEFAULT NULL
,
PRIMARY KEY (
`state_name`
)
);
CREATE TABLE `city` (
`city... | what is the most populous city | SELECT city_name FROM city WHERE population = ( SELECT MAX ( population ) FROM city ); |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.