2017年11月26日

leetcode 620. Not Boring Movies 用where语句判断

摘要: https://leetcode.com/problems/not-boring-movies/description/ 不管题目简不简单,现在先熟悉语法。 直接用where语句判断即可,判断奇偶可以用 % 还有用 & 也行 阅读全文

posted @ 2017-11-26 13:45 stupid_one 阅读(153) 评论(0) 推荐(0) 编辑

leetcode 627. Swap Salary 数据库带判断的更新操作

摘要: https://leetcode.com/problems/swap-salary/description/ 用 set keyWord = Case depentedWord when haha then baba else lala end 最后需要end # Write your MySQL 阅读全文

posted @ 2017-11-26 00:28 stupid_one 阅读(276) 评论(0) 推荐(0) 编辑

导航