摘要:
一、exists用法 1、用法 select id, name, age from test where exists(select 1 from test2 where test.id = test2.id) 2、""exists(xxx)""就表示括号里的语句能不能查出记录,它要查的记录是否存在 阅读全文
摘要:
一、insert、delete、update可以使用returning 1、基本用法 declare id nubmer; begin insert into test (id, name, age) values(seq.nextval, '李四', 25) returning id into i 阅读全文