Nhảy tới nội dung

12 tài liệu đã gắn thẻ với "database"

Xem tất cả Thẻ

175. Combine Two Tables

Write a solution to report the first name, last name, city, and state of each person in the `Person` table. If the address of a `personId` is not present in the `Address` table, report null instead.

176. Second Highest Salary

Write a solution to find the second highest salary from the `Employee` table. If there is no second highest salary, return `null` (return `None` in Pandas).

177. Nth Highest Salary

Write a solution to find the nth highest salary from the `Employee` table. If there is no nth highest salary, return `null`.

182. Duplicate Emails

Write a solution to report all the duplicate emails. Note that it's guaranteed that the email field is not `NULL`.

196. Delete Duplicate Emails

Write a solution to delete all duplicate emails, keeping only one unique email with the smallest id. After running your script, the answer shown is the `Person` table. The driver will first compile and run your piece of code and then show the `Person` table. The final order of the `Person` table does not matter.

607. Sales Person

Write a solution to find the names of all the salespersons who did not have any orders related to the company with the name `RED`.

Tutorials

Tổng hợp các tutorials, solutions cho các problems...