all InfoSec news
HackerRank SQL preparation; Revising the Select Query II(MySQL)
April 3, 2024, 9:59 p.m. | Christian Paez
DEV Community dev.to
Problem Statement:
Query the NAME field for American cities in the CITY table with populations larger than 120,000. The CountryCode for America is USA.
Link:HackerRank - Revising the SELECT Query 2
Solution:
SELECT NAME FROM CITY WHERE POPULATION > 120000 AND COUNTRYCODE = 'USA';
Explanation:
SELECT NAME: This part of the query specifies that you want to retrieve the NAME field.
FROM CITY: Indicates that you are selecting data from the CITY table.
WHERE POPULATION > 120000: This condition …
america american cities city hackerrank link mysql name preparation problem query select solution sql statement usa writeups
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Social Engineer For Reverse Engineering Exploit Study
@ Independent study | Remote
Cloud Security Analyst
@ Cloud Peritus | Bengaluru, India
Cyber Program Manager - CISO- United States – Remote
@ Stanley Black & Decker | Towson MD USA - 701 E Joppa Rd Bg 700
Network Security Engineer (AEGIS)
@ Peraton | Virginia Beach, VA, United States
SC2022-002065 Cyber Security Incident Responder (NS) - MON 13 May
@ EMW, Inc. | Mons, Wallonia, Belgium
Information Systems Security Engineer
@ Booz Allen Hamilton | USA, GA, Warner Robins (300 Park Pl Dr)