wolfogre / blog-utterances

utterances of my blog.
5 stars 0 forks source link

关于 SQL,感觉自己学了假书 #42

Open wolfogre opened 5 years ago

wolfogre commented 5 years ago

https://blog.wolfogre.com/posts/sql-tips/

AlexZFX commented 5 years ago

老哥写文章挺有意思的,加油。

warningwhoami commented 5 years ago

不错不错,如果你可以把这些录成视频,上传到blibli,ytb, 相信又是一个网红了.

steedyu commented 5 years ago

宋大神,orm用的golang什么框架哈

wolfogre commented 5 years ago

@steedyu gorm

einvince commented 5 years ago

博客能订阅吗

wolfogre commented 5 years ago

@einvince RSS:https://blog.wolfogre.com/index.xml

ly14759 commented 4 years ago

INT类型那一块,给INT类型添加属性UNSIGNED ZEROFILL,就可以默认补全最小位数了;很鸡肋。。

ikusa9527 commented 3 years ago

如果你没有这个习惯 这里是不是应该为 你有这个习惯(可能会写 where status = 'A' 或 where status != 'A'),不知道是不是我理解错了~~~

wolfogre commented 3 years ago

@ReEchoPaff 这里的习惯是指绝不会写 where status = NULL 或 where status != NULL,这个习惯是对的,与 NULL 比较是否相等是错误的。