Commit a4d9ef8b by HerawatiManurung

Tugas JSP

parent 4b5c913c
/*
SQLyog - Free MySQL GUI v5.0
Host - 5.5.5-10.1.16-MariaDB : Database - perpustakaan
*********************************************************************
Server version : 5.5.5-10.1.16-MariaDB
*/
-- phpMyAdmin SQL Dump
-- version 4.5.1
-- http://www.phpmyadmin.net
--
-- Host: 127.0.0.1
-- Generation Time: 02 Des 2016 pada 08.40
-- Versi Server: 10.1.16-MariaDB
-- PHP Version: 7.0.9
SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
create database if not exists `perpustakaan`;
USE `perpustakaan`;
/*!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 utf8mb4 */;
/*Table structure for table `buku` */
--
-- Database: `perpustakaan`
--
DROP TABLE IF EXISTS `buku`;
-- --------------------------------------------------------
--
-- Struktur dari tabel `buku`
--
CREATE TABLE `buku` (
`idBuku` int(11) NOT NULL AUTO_INCREMENT,
`idBuku` int(11) NOT NULL,
`judulBuku` varchar(255) DEFAULT NULL,
`pengarangBuku` varchar(255) DEFAULT NULL,
`isbn` varchar(255) DEFAULT NULL,
`jumlah` int(100) DEFAULT NULL,
PRIMARY KEY (`idBuku`)
`jumlah` int(100) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;
/*Data for the table `buku` */
--
-- Dumping data untuk tabel `buku`
--
INSERT INTO `buku` (`idBuku`, `judulBuku`, `pengarangBuku`, `isbn`, `jumlah`) VALUES
(1, 'English', 'hera', '23846', 30),
(2, 'Harry Potter', 'J.K.Rowling', '628229', 24),
(3, 'Java', 'nn', '38893', 86);
--
-- Indexes for dumped tables
--
--
-- Indexes for table `buku`
--
ALTER TABLE `buku`
ADD PRIMARY KEY (`idBuku`);
--
-- AUTO_INCREMENT for dumped tables
--
--
-- AUTO_INCREMENT for table `buku`
--
ALTER TABLE `buku`
MODIFY `idBuku` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=4;
/*!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 */;
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment