数据库常用语法总结(笔记)[继续补充]

1.limit和offset的使用


2.union和union all的使用

 


3.Group by的使用 

    


4.case when then的使用  

地址: https://www.cnblogs.com/Richardzhu/p/3571670.html


5. Jdbctype和javatype类型对照


6. sql中 round()函数


7.sql中的coalesce()

       - 将空值替换成其他值

       - 返回第一个非空值

 


8.sql 的select into 语句  

地址: http://www.runoob.com/sql/sql-select-into.html

 

猜你喜欢

转载自blog.csdn.net/qq_40820862/article/details/86022538