随笔分类 -  数据库 / Oracle

摘要:1.Concat函数 select concat('阿珍','阿强') from dual t; 阅读全文
posted @ 2023-12-31 00:38 lwx_R 阅读(3) 评论(0) 推荐(0) 编辑
摘要:因为在char类型列中,字段是按照首字符来比较排序的,因为1<9,所以会出现这个错误。 解决方法:max(id+0) 将id改为id+0即可。 阅读全文
posted @ 2023-09-04 21:22 lwx_R 阅读(7) 评论(0) 推荐(0) 编辑
摘要:![](https://img2023.cnblogs.com/blog/2211217/202308/2211217-20230810001515056-869455756.png) ```sql select y.id, q.name,SUM(q.price) sum_price, (selec 阅读全文
posted @ 2023-08-10 00:19 lwx_R 阅读(45) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示