2025/02/11 3

[SQL50] 1068. Product Sales Analysis I

난이도: EASY 문제 링크 : https://leetcode.com/problems/product-sales-analysis-i/description/?envType=study-plan-v2&envId=top-sql-50 문제더보기Table: Sales +-------------+-------+ | Column Name | Type  | +-------------+-------+ | sale_id     | int   | | product_id  | int   | | year        | int   | | quantity    | int   | | price       | int   | +-------------+-------+ (sale_id, year) is the primary key (com..

[Java] 27. Remove Element

난이도: EASY문제더보기Given an integer array nums and an integer val, remove all occurrences of val in nums in-place. The order of the elements may be changed. Then return the number of elements in nums which are not equal to val. Consider the number of elements in nums which are not equal to val be k, to get accepted, you need to do the following things: Change the array nums such that the first k elem..

[SQL50] 1378. Replace Employee ID With The Unique Identifier

난이도: EASY문제더보기Table: Employees +---------------+---------+ | Column Name   | Type    | +---------------+---------+ | id            | int     | | name          | varchar | +---------------+---------+ id is the primary key (column with unique values) for this table. Each row of this table contains the id and the name of an employee in a company.   Table: EmployeeUNI +---------------+---------+ | C..