[1795_EASY] Rearrange Products Table
·
SQL/LeetCode
Table: Products +-------------+---------+ | Column Name | Type | +-------------+---------+ | product_id | int | | store1 | int | | store2 | int | | store3 | int | +-------------+---------+ product_id is the primary key for this table. Each row in this table indicates the product's price in 3 different stores: store1, store2, and store3. If the product is not available in a store, the price will ..
[1789#_EASY] Primary Department for Each Employee
·
SQL/LeetCode
보호되어 있는 글입니다.
[1777#_EASY] Product's Price for Each Store
·
SQL/LeetCode
보호되어 있는 글입니다.
[1757_EASY] Recyclable and Low Fat Products
·
SQL/LeetCode
Table: Products +-------------+---------+ | Column Name | Type | +-------------+---------+ | product_id | int | | low_fats | enum | | recyclable | enum | +-------------+---------+ product_id is the primary key for this table. low_fats is an ENUM of type ('Y', 'N') where 'Y' means this product is low fat and 'N' means it is not. recyclable is an ENUM of types ('Y', 'N') where 'Y' means this produ..
[1741_EASY] Find Total Time Spent by Each Employee
·
SQL/LeetCode
Table: Employees +-------------+------+ | Column Name | Type | +-------------+------+ | emp_id | int | | event_day | date | | in_time | int | | out_time | int | +-------------+------+ (emp_id, event_day, in_time) is the primary key of this table. The table shows the employees' entries and exits in an office. event_day is the day at which this event happened, in_time is the minute at which the em..
[1693_EASY] Daily Leads and Partners
·
SQL/LeetCode
Table: DailySales +-------------+---------+ | Column Name | Type | +-------------+---------+ | date_id | date | | make_name | varchar | | lead_id | int | | partner_id | int | +-------------+---------+ This table does not have a primary key. This table contains the date and the name of the product sold and the IDs of the lead and partner it was sold to. The name consists of only lowercase English..
[1683#_EASY] Invalid Tweets
·
SQL/LeetCode
보호되어 있는 글입니다.
[1677#_EASY] Product's Worth Over Invoices
·
SQL/LeetCode
보호되어 있는 글입니다.