自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+
  • 博客(6)
  • 收藏
  • 关注

原创 leetcode mysql题库解答 613.直线上的最近距离

lead()为窗口函数,返回当前行后N行的值。ABS()函数返回X的绝对值。

2024-03-11 22:14:49 332 1

原创 leetcode mysql题库解答 610. 判断三角形

select x,y,z,if(x+y+z>2*greatest(x,y,z),"Yes","No") as triangle from Triangle

2024-03-11 16:53:28 350 1

原创 leetcode mysql题库解答 175. 组合两表

select FirstName,LastName,City,State from Person pleft join Address a on p.Persona.PersonId

2024-03-11 16:28:09 320 1

原创 leetcode mysql题库解答 182. 查找重复的电子邮箱

select email from Person group by email having count(email)>1

2024-03-11 16:25:29 348 1

原创 leetcode mysql题库解答 183. 从不订购的客户

select name Customers from Customers cwhere c.id not in (select customerId from Orders)

2024-03-11 16:20:18 316 1

原创 leetcode mysql题库解答 181. 超过经理收入的员工

# Write your MySQL query statement belowselect a.name Employee from Employee a where a.salary>(select b.salary from Employee b where b.id = a.managerId)

2024-02-20 19:54:15 319

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除