-- version 3.5.2.2
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: Jan 11, 2014 at 09:30 PM
-- Server version: 5.5.27
-- PHP Version: 5.4.7
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: `db_penggajian`
--
-- --------------------------------------------------------
--
-- Table structure for table `tb_gaji`
--
CREATE TABLE IF NOT EXISTS `tb_gaji` (
`gaji_id` int(11) NOT NULL AUTO_INCREMENT,
`kary_id` int(11) NOT NULL,
`kode_gaji` varchar(5) NOT NULL,
`jam_lembur` int(11) NOT NULL,
`uang_lembur` double NOT NULL,
`total_gaji` double NOT NULL,
`bulan_transfer` varchar(20) NOT NULL,
`tgl_transfer` varchar(20) NOT NULL,
`jam_transfer` varchar(10) NOT NULL,
PRIMARY KEY (`gaji_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=4 ;
--
-- Dumping data for table `tb_gaji`
--
INSERT INTO `tb_gaji` (`gaji_id`, `kary_id`, `kode_gaji`, `jam_lembur`, `uang_lembur`, `total_gaji`, `bulan_transfer`, `tgl_transfer`, `jam_transfer`) VALUES
(1, 1, 'GJ001', 58, 583367, 2333367, 'January 2014', '12/01/2014', '02:14:35'),
(2, 4, 'GJ002', 66, 820326, 2970576, 'January 2014', '12/01/2014', '02:14:42'),
(3, 6, 'GJ003', 24, 256999, 2109539, 'January 2014', '12/01/2014', '03:11:51');
-- --------------------------------------------------------
--
-- Table structure for table `tb_karyawan`
--
CREATE TABLE IF NOT EXISTS `tb_karyawan` (
`kary_id` int(11) NOT NULL AUTO_INCREMENT,
`kode_kar` varchar(5) NOT NULL,
`nama_kar` varchar(30) NOT NULL,
`alamat_kar` varchar(80) NOT NULL,
`no_rek` varchar(30) NOT NULL,
`gaji_utama` int(11) NOT NULL,
`gol_kar` int(11) NOT NULL,
PRIMARY KEY (`kary_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
--
-- Dumping data for table `tb_karyawan`
--
INSERT INTO `tb_karyawan` (`kary_id`, `kode_kar`, `nama_kar`, `alamat_kar`, `no_rek`, `gaji_utama`, `gol_kar`) VALUES
(1, 'KA001', 'Yuda Sama Saja', 'Jln. Bunga Ros', '12021547', 1950000, 3),
(2, 'KA002', 'Santo Santi', 'Jln. Bunga Anggrek', '54215543', 1985352, 2),
(3, 'KA003', 'Joko Serpihanto', 'Jln. Duku', '12145555', 2052150, 3),
(4, 'KA004', 'Eko Mbah Trio', 'Jln. Melati', '12345621', 2150250, 3),
(5, 'KA005', 'Jackson Popsan', 'Jln. Surga Dunia', '45154233', 2351250, 3),
(6, 'KA006', 'Sarmidun Madun', 'Ruli Sentausa', '11202135', 1852540, 2);
-- --------------------------------------------------------
--
-- Table structure for table `tb_user`
--
CREATE TABLE IF NOT EXISTS `tb_user` (
`user_id` int(11) NOT NULL AUTO_INCREMENT,
`username` varchar(30) NOT NULL,
`password` varchar(32) NOT NULL,
`fullname` varchar(30) NOT NULL,
PRIMARY KEY (`user_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1 AUTO_INCREMENT=2 ;
--
-- Dumping data for table `tb_user`
--
INSERT INTO `tb_user` (`user_id`, `username`, `password`, `fullname`) VALUES
(1, 'yuli', '4a01a05a350e1c7710c989f1211245a8', 'Yuliatin');
/*!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 */;
0 Response to "database penggajian"
Posting Komentar