Query all columns for a city in CITY with the ID 1661.
The CITY table is described as follows:
![Select by ID HackerRank Solution SQL](https://exploringbits.com/wp-content/uploads/2021/07/select-by-id.jpg)
Select by ID HackerRank Solution SQL
SELECT * FROM City WHERE ID = 1661;
Attempt – Select by ID HackerRank
Aayush Kumar Gupta is the founder and creator of ExploringBits, a website dedicated to providing useful content for people passionate about Engineering and Technology. Aayush has completed his Bachelor of Technology (Computer Science & Engineering) from 2018-2022. From July 2022, Aayush has been working as a full-time Devops Engineer.