|
1 | | -# Revising the Select Query I |
| 1 | +# `Revising the Select Query I` |
2 | 2 |
|
3 | | -Query all columns for all American cities in the CITY table with populations larger than 100000. |
| 3 | +>Query all columns for all American cities in the CITY table with populations larger than 100000. |
| 4 | +> |
| 5 | +>The CountryCode for America is USA. |
4 | 6 |
|
5 | | -The CountryCode for America is USA. |
| 7 | +<br> |
6 | 8 |
|
7 | 9 | The CITY table is described as follows:
|
8 | 10 |
|
9 | | - |
| 11 | +> |
| 12 | + |
| 13 | +<br> |
| 14 | + |
| 15 | +### **`Solution`:** |
10 | 16 |
|
11 | 17 | ```SQL
|
12 | 18 | select * from city where population > 100000 and countrycode = 'USA';
|
13 | 19 | ```
|
14 | 20 |
|
15 | | -***More*** [`Solutions`](https://www.hackerrank.com/domains/sql?filters%5Bsubdomains%5D%5B%5D=select) |
| 21 | +<br> |
| 22 | + |
| 23 | +***More*** [`Questions`](https://www.hackerrank.com/domains/sql?filters%5Bsubdomains%5D%5B%5D=select) |
0 commit comments