728x90 반응형 LeetCode2 [LeetCode] SQL - 181. Employees Earning More Than Their Managers 📝 Description+-------------+---------+| Column Name | Type |+-------------+---------+| id | int || name | varchar || salary | int || managerId | int |+-------------+---------+id is the primary key (column with unique values) for this table.Each row of this table indicates the ID of an employee, their name, salary, and the ID of their manager.Write a solutio.. 2025. 6. 17. [LeetCode] SQL - 175. Combine Two Tables 이번에 새로운 코딩테스트 사이트를 발견해서 꾸준히 해볼까 합니다. LeetCode의 SQL 문제 중 하나인 175. Combine Two Tables 문제를 풀이하면서 SQL 조인의 기본 개념을 복습해봤습니다. 해당 문제는 LEFT JOIN을 사용하여 두 테이블을 결합하는 간단한 문제입니다. 📝 Description Table: Person+-------------+---------+| Column Name | Type |+-------------+---------+| personId | int || lastName | varchar || firstName | varchar |+-------------+---------+personId is the primary key (co.. 2025. 6. 17. 이전 1 다음 728x90 반응형