天天看點

sql語句

insert into a表 (col1,col2,col3,…) select col1,col2,col3,… from b表 where 條件

update 表1 set 表1.字段名=表2.字段名 from 表2 where 表1.字段=表2.字段(連接配接條件) and (篩選條件)

select newId();   類似于Java  的 System.out.println(UUID.randomUUID().toString());

語句: