sql
FinderSelf
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
sql null
在sql中null不和任何值相等,也不和任何值不相等。如果想查不等于某数值的列,记得加上 is null。相等的也是如此。原创 2017-07-19 18:58:27 · 374 阅读 · 0 评论 -
distinct 和 order by
问题描述:有两个sql,我以为查询结果会一样,但是结果却是天差地别:第一条语句:select distinct(ic.companyId) as companyId from industry_company ic join funding f on f.companyId=ic.companyId join company c on c.id = ic.companyId where (c...原创 2018-04-21 11:46:04 · 917 阅读 · 0 评论
分享