-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Waktu pembuatan: 03. Desember 2015 jam 15:17
-- Versi Server: 5.5.16
-- Versi PHP: 5.3.8
SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8 */;
--
-- Database: `master_barang`
--
-- --------------------------------------------------------
--
-- Struktur dari tabel `barang`
--
BERIKUT CODING SQL
BUKA XAMPP .
MASUKKAN CODING KE SQL. ATAU IMPORT DARI DATABASE master_barang.sql
Ki link DOWNLOAD DATABASE
Tinggal IMPORT.
UNTUK BIKIN DATABASE MANUAL CODING :
CREATE TABLE IF NOT EXISTS `barang` (
`idbarang` int(5) NOT NULL AUTO_INCREMENT,
`namabarang` varchar(20) NOT NULL,
`jenis` varchar(30) NOT NULL,
`satuan` varchar(10) NOT NULL,
`keterangan` varchar(10) NOT NULL,
PRIMARY KEY (`idbarang`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data untuk tabel `barang`
--
INSERT INTO `barang` (`idbarang`, `namabarang`, `jenis`, `satuan`, `keterangan`) VALUES
(1, 'Plat', 'Besi', '12', 'QC'),
(2, 'Minyak', 'Pelumas', '12', 'QC'),
(3, 'Plat 3,5 ml', 'Besi', 'Pcs', '');
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;