Anda di halaman 1dari 2

1.

CREATE TABLE mysql > create table customer( --> id_cust int(11), --> nama char(20), --> tgl_daftar date, --> telp char(20)); Query OK, 0 rows affected(0.41 sec) mysql> create table product( -->id int(11) not null primary key, -->barang char(10), -->unit char(10), -->harga int(11); Query OK, 0 rows affected(0.46 sec)