NOTE


  • 首页

  • 分类

  • 关于

  • 归档

  • 标签

Trips and Users

发表于 2017-05-01   |   分类于 LeetCode , SQL problems , MySQL

The Trips table holds all taxi trips. Each trip has a unique Id, while Client_Id and Driver_Id are both foreign keys to the Users_Id at the Users table.

阅读全文 »

Rising Temperature

发表于 2017-05-01   |   分类于 LeetCode , SQL problems , MySQL

Given a Weather table, write a SQL query to find all dates’ Ids with higher temperature compared to its previous (yesterday’s) dates.

阅读全文 »

Delete Duplicate Emails

发表于 2017-04-30   |   分类于 LeetCode , SQL problems , MySQL

Write a SQL query to delete all duplicate email entries in a table named Person, keeping only unique emails based on its smallest Id.

阅读全文 »

Department Top Three Salaries

发表于 2017-04-30   |   分类于 LeetCode , SQL problems , MySQL

The Employee table holds all employees. Every employee has an Id, and there is also a column for the department Id.

阅读全文 »

Department Highest Salary

发表于 2017-04-29   |   分类于 LeetCode , SQL problems , MySQL

The Employee table holds all employees. Every employee has an Id, a salary, and there is also a column for the department Id.

阅读全文 »
123…13
denglyan

denglyan

めざせポケモンマスター

63 日志
31 分类
26 标签
© 2016 - 2018 denglyan
由 Hexo 强力驱动
主题 - NexT.Mist