insert into namatabel values (data_field1,data_field2,dst...);
Contoh :
insert into mhs values ('0001','Ali','1987-09-26');atau
insert into mhs (nim,nama,tgl_lhr) values ('0001','Ali','1987-09-26');
Mengisikan Data dari Data Tabel Lain
insert into mhs1 (nim,nama,tgl_lhr) select mhs2.nim, mhs2.nama, mhs2.tgl_lhr from mhs2 where nim='0001';
0 komentar:
Posting Komentar