[转]mysql变量使用总结
摘要:
set语句的学习: 使用select定义用户变量的实践将如下语句改成select的形式: set @VAR=(select sum(amount) from penalties);我的修改: select @VAR:=(select sum(amount) from penalties); 我这样改 阅读全文
posted @ 2016-10-23 09:27 阿泰555 阅读(82) 评论(0) 推荐(0) 编辑