Question: Write an SQL query to find the name and population of the planets with a population larger than 2,600,000,000 given the following table definition: bsg_planets
Write an SQL query to find the name and population of the planets with a population larger than 2,600,000,000 given the following table definition:
bsg_planets | CREATE TABLE `bsg_planets` ( `id` int(11) NOT NULL AUTO_INCREMENT, `name` varchar(255) NOT NULL, `population` int(11) DEFAULT NULL, `language` varchar(255) DEFAULT NULL, `capital` varchar(255) DEFAULT NULL, PRIMARY KEY (`id`), UNIQUE KEY `name` (`name`) ) ENGINE=InnoDB DEFAULT CHARSET=latin1
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
