[595_EASY] Big Countries
·
SQL/LeetCode
보호되어 있는 글입니다.
[586_EASY] Customer Placing the Largest Number of Orders
·
SQL/LeetCode
Table: Orders +-----------------+----------+ | Column Name | Type | +-----------------+----------+ | order_number | int | | customer_number | int | +-----------------+----------+ order_number is the primary key for this table. This table contains information about the order ID and the customer ID. Write an SQL query to find the customer_number for the customer who has placed the largest number o..
[584_EASY] Find Customer Referee
·
SQL/LeetCode
보호되어 있는 글입니다.
[577#_EASY] Employee Bonus
·
SQL/LeetCode
보호되어 있는 글입니다.
[176_MEDIUM] Second Highest Salary_RE
·
SQL/LeetCode
보호되어 있는 글입니다.
[511_EASY] Game Play Analysis I
·
SQL/LeetCode
Table: Activity +--------------+---------+ | Column Name | Type | +--------------+---------+ | player_id | int | | device_id | int | | event_date | date | | games_played | int | +--------------+---------+ (player_id, event_date) is the primary key of this table. This table shows the activity of players of some games. Each row is a record of a player who logged in and played a number of games (po..
[608_MEDIUM] Tree Node 다시풀기
·
SQL/LeetCode
Table: Tree +-------------+------+ | Column Name | Type | +-------------+------+ | id | int | | p_id | int | +-------------+------+ id is the primary key column for this table. Each row of this table contains information about the id of a node and the id of its parent node in a tree. The given structure is always a valid tree. Each node in the tree can be one of three types: "Leaf": if the node ..
[184_MEDIUM] Department Highest Salary 다시풀기
·
SQL/LeetCode
Table: Employee +--------------+---------+ | Column Name | Type | +--------------+---------+ | id | int | | name | varchar | | salary | int | | departmentId | int | +--------------+---------+ id is the primary key column for this table. departmentId is a foreign key of the ID from the Department table. Each row of this table indicates the ID, name, and salary of an employee. It also contains the..