/*
SQLyog Ultimate v8.82 
MySQL - 5.7.17-log : Database - dblibrary
*********************************************************************
*/


/*!40101 SET NAMES utf8 */;

/*!40101 SET SQL_MODE=''*/;

/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
CREATE DATABASE /*!32312 IF NOT EXISTS*/`dblibrary` /*!40100 DEFAULT CHARACTER SET utf8 COLLATE utf8_unicode_ci */;

USE `dblibrary`;

/*Table structure for table `tbooks` */

DROP TABLE IF EXISTS `tbooks`;

CREATE TABLE `tbooks` (
  `id` bigint(20) NOT NULL AUTO_INCREMENT,
  `Barcode` varchar(20) COLLATE utf8_unicode_ci NOT NULL,
  `Title` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
  `CallNo` varchar(100) COLLATE utf8_unicode_ci DEFAULT NULL,
  `Author` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
  `Publication` varchar(200) COLLATE utf8_unicode_ci DEFAULT NULL,
  `KeyWord` varchar(2000) COLLATE utf8_unicode_ci DEFAULT NULL,
  `Status` int(11) DEFAULT NULL,
  PRIMARY KEY (`id`,`Barcode`),
  UNIQUE KEY `id` (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=27 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;

/*Data for the table `tbooks` */

insert  into `tbooks`(`id`,`Barcode`,`Title`,`CallNo`,`Author`,`Publication`,`KeyWord`,`Status`) values (24,'','','','',NULL,NULL,0),(25,'xxx','xxx','xxx','xxx',NULL,NULL,0),(26,'TEST','CDDsss','wsdsdsds','sdsdsds',NULL,NULL,0);

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
