HACKER RANK : SQL–4.Select By ID
Dec 6, 2024
Difficulty: Easy
Table: The CITY table is described as follows:
Query all columns for a city in CITY with the ID 1661
.
# Write your MySQL query statement below
(Check Out Git Hub-https://github.com/poulamicode77/SQL/tree/main/HackerRank/Solve%20SQL/4.Select%20By%20ID)
Query Breakdown:
select all column : select * from
source table name : city
condition is Id is 1661:WHERE id = 1661;