You are on page 1of 2

Tabel Barang

Field Namec Data type size Indexed Primary key


Kode Barang text 5 Yes(No duplicate ) Primary key
Nama Barang text 25 - -
Harga Number Long integer - -
Jumlah Tersedia Number Byte

Tabel Pelanggan
Field Name Data type size Indexed Primary key
No faktur text 7 Yes(No duplicate ) Primary key
Pelanggan text 20 - -
Tgl. Faktur Date/time - - -
Tgl. Bayar Date/time -
Discount Yes/No

Tabel Transaksi
Field Name Data type size Indexed Primary key
No Faktur text 7 Yes(Duplicate OK) Primary key
Kode Barang text 5 -Yes(Duplicate OK) Primary key
Quantiy Number byte - -
Tabel Barang
No Faktur Data type size Indexed Primary key
Kode Barang text 5 Yes(No duplicate ) Primary key
Nama Barang text 25 - -
Harga Number Long integer - -
Jumlah Tersedia Number Byte

You might also like