-- phpMyAdmin SQL Dump
-- version 3.4.5
-- http://www.phpmyadmin.net
--
-- Host: localhost
-- Waktu pembuatan: 26. April 2013 jam 18:49
-- 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: `lulusun`
--

-- --------------------------------------------------------

--
-- Struktur dari tabel `hasilujian`
--

CREATE TABLE IF NOT EXISTS `hasilujian` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user` varchar(20) NOT NULL,
  `passw` varchar(20) NOT NULL,
  `nama` varchar(50) NOT NULL,
  `kelas` varchar(10) NOT NULL,
  `hasil` varchar(20) NOT NULL,
  `asal` varchar(50) NOT NULL,
  `bindns` varchar(20) NOT NULL,
  `bingns` varchar(20) NOT NULL,
  `mtkns` varchar(20) NOT NULL,
  `ipans` varchar(20) NOT NULL,
  `jmlns` varchar(20) NOT NULL,
  `ratans` varchar(20) NOT NULL,
  `bindun` varchar(20) NOT NULL,
  `bingun` varchar(20) NOT NULL,
  `mtkun` varchar(20) NOT NULL,
  `ipaun` varchar(20) NOT NULL,
  `jmlun` varchar(20) NOT NULL,
  `rataun` varchar(20) NOT NULL,
  `bindna` varchar(20) NOT NULL,
  `bingna` varchar(20) NOT NULL,
  `mtkna` varchar(20) NOT NULL,
  `ipana` varchar(20) NOT NULL,
  `jmlna` varchar(20) NOT NULL,
  `ratana` varchar(20) NOT NULL,
  `level` enum('admin','siswa') NOT NULL DEFAULT 'siswa',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=8 ;


--
-- Struktur dari tabel `sysuser`
--

CREATE TABLE IF NOT EXISTS `sysuser` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `username` varchar(25) NOT NULL,
  `password` varchar(40) NOT NULL,
  `level` enum('admin','siswa') NOT NULL DEFAULT 'siswa',
  PRIMARY KEY (`id`)
) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=12 ;

--
-- Dumping data untuk tabel `sysuser`
--

INSERT INTO `sysuser` (`id`, `username`, `password`, `level`) VALUES
(1, 'admin', 'd033e22ae348aeb5660fc2140aec35850c4da997', 'admin');

/*!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 */;
