2019年7月5日
摘要: 如果用户使用如上的sql语句就会报错,因为同一张表即作为被更新的对象,又作为被查询的对象 如果一定要使用这样的语句,可以尝试以下写法: 效率可能会比较低 阅读全文
posted @ 2019-07-05 09:58 Mrnx 阅读(295) 评论(0) 推荐(0)
摘要: 使用group_concat函数来实现功能 This function returns a string result with the concatenated non NULL values from a group. It returns NULL if there are no non NU 阅读全文
posted @ 2019-07-05 09:53 Mrnx 阅读(19588) 评论(4) 推荐(0)