SQL小技巧:QL小技巧,常看。 说明:复制表(只复制结构,源表名:a 新表名:b) SQL: select * into b from a where 11 说明:拷贝表(拷贝数据,源表名:a 目标表名:b) SQL: insert into b(a, b, c) select d,e,f from b; [separator] 说明:显示文章、提交人和最后回复时间 SQL: select a.title,a.username,b.adddate from table a,(selec t
create table student( id int not null, name varchar(20) not null, sex char(1) not null) class student{ int id; String name; } String sql="select * from user"; create table teachers( id bigint identity(1,1) not null primary key, teachid int not null