摘要: if (分3类) java if (条件) { .... } pl/sql if 条件 then ..... end if; select * from tt3 select age from tt3 where id=1 declare myage tt3.age%type; begin sele 阅读全文
posted @ 2018-03-26 15:41 会玩代码的摄影师 阅读(357) 评论(0) 推荐(0) 编辑
摘要: select * from tt3 -- 20年后多少岁 declare age tt3.age%type; dif tt3.age%type; begin select age into age from tt3 where id=1; dif := 20; -- 设置一个年龄差 age:= ag 阅读全文
posted @ 2018-03-26 10:21 会玩代码的摄影师 阅读(183) 评论(0) 推荐(0) 编辑