该文被密码保护。 阅读全文
posted @ 2019-04-25 10:32 正月雨 阅读(1) 评论(0) 推荐(0) 编辑
摘要: --随机数保留两位小数 --视图创建 as go 和存储过程不一样,sql语句需要别名 --因为函数中不能使用 rand() ,所以先创建一个视图,函数调用视图create view v_randomas select round((RAND()*1000),2) as random1go --调用 阅读全文
posted @ 2019-04-25 09:57 正月雨 阅读(2581) 评论(0) 推荐(0) 编辑