July 6, 2023, 5:07 p.m. | Retiago Drago

DEV Community dev.to




The Problem


In this SQL problem, we're given three tables: Students, Friends, and Packages.


The Students table contains two columns:



  • ID (the student's ID), and

  • Name (the student's name).


The Friends table contains two columns:



  • ID (the student's ID), and

  • Friend_ID (ID of the ONLY best friend of the student).


The Packages table contains two columns:



  • ID (the student's ID), and

  • Salary (offered salary to the student, in $ thousands per month).


Here's a visual representation of these three tables: …

database friends hackerrank mssql name packages problem sql student students tables tutorial

Social Engineer For Reverse Engineering Exploit Study

@ Independent study | Remote

Principal Business Value Consultant

@ Palo Alto Networks | Chicago, IL, United States

Cybersecurity Specialist, Sr. (Container Hardening)

@ Rackner | San Antonio, TX

Penetration Testing Engineer- Remote United States

@ Stanley Black & Decker | Towson MD USA - 701 E Joppa Rd Bg 700

Internal Audit- Compliance & Legal Audit-Dallas-Associate

@ Goldman Sachs | Dallas, Texas, United States

Threat Responder

@ Deepwatch | Remote