all InfoSec news
HackerRank SQL Preparation: Revising the Select Query I(MySQL)
April 1, 2024, 8:08 p.m. | Christian Paez
DEV Community dev.to
Problem Statement:
Query all columns for American cities in the CITY table with populations larger than 100000. The CountryCode for America is USA.
Link:HackerRank - Revising the SELECT Query
Solution:
SELECT * FROM CITY WHERE POPULATION > 100000 AND COUNTRYCODE = 'USA';
Explanation:
This SQL query retrieves all columns () for cities in the **CITY* table where the population is greater than 100000 and the CountryCode is 'USA'. Here's a breakdown of each part:
SELECT *: Selects …
america american cities city hackerrank link mysql preparation problem query select solution sql sql query statement usa writeups
More from dev.to / DEV Community
Jobs in InfoSec / Cybersecurity
Social Engineer For Reverse Engineering Exploit Study
@ Independent study | Remote
Data Privacy Manager m/f/d)
@ Coloplast | Hamburg, HH, DE
Cybersecurity Sr. Manager
@ Eastman | Kingsport, TN, US, 37660
KDN IAM Associate Consultant
@ KPMG India | Hyderabad, Telangana, India
Learning Experience Designer in Cybersecurity (f/m/div.) (Salary: ~113.000 EUR p.a.*)
@ Bosch Group | Stuttgart, Germany
Senior Security Engineer - SIEM
@ Samsara | Remote - US