數據庫:myOnly數據庫
建立表:myTable 的備份表 myTable_tmpe code
create table myTable_tmpe as select * from myTable ;it
補充:table
--在myTable 中添加一條學生的數據 ;
insert into myTable (id, type, code, name, parent_code,sync_flag) values ('110', 'student', '01', '學生', '00','');
commit;select
--刪除myTable 表原有數據 ;
delete from myTable ;
commit;數據