Professional Documents
Culture Documents
#
# Table structure for table bookorder
#
#
# Table structure for table category
#
#
# Table structure for table finedetails
#
#
# Table structure for table groups
#
#
# Dumping data for table librarydepartment
#
#
# Table structure for table login
#
#
# Dumping data for table login
#
#
# Table structure for table moderator
#
#
# Dumping data for table moderator
#
#
# Table structure for table purchase
#
DROP TABLE IF EXISTS `purchase`;
CREATE TABLE `purchase` (
`PurchaseId` varchar(11) NOT NULL default '',
`OrderNo` varchar(11) default NULL,
`BookName` varchar(100) default NULL,
`PurchaseNoOfCopies` int(11) default NULL,
`PublisherName` varchar(100) default NULL,
`Author` varchar(50) default NULL,
`Edition` varchar(11) default NULL,
`Price` int(11) default NULL,
`PurchaseDate` date default NULL,
`AdminId` varchar(20) default NULL,
PRIMARY KEY (`PurchaseId`),
KEY `OrderNO` (`OrderNo`),
KEY `UserName` (`AdminId`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1
ROW_FORMAT=COMPRESSED;
INSERT INTO `purchase` VALUES
('',NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL,NULL);
#
# Table structure for table subcategory
#
#
# Dumping data for table subcategory
#
#
# Table structure for table topics
#
#
# Dumping data for table topics
#
#
# Table structure for table userregister
#
#
# Dumping data for table userregister
#
#
# Foreign keys for table bookissue
#
#
# Foreign keys for table bookorder
#
#
# Foreign keys for table category
#
#
# Foreign keys for table finedetails
#
#
# Foreign keys for table groups
#
#
# Foreign keys for table librarydepartment
#
#
# Foreign keys for table moderator
#
#
# Foreign keys for table purchase
#
#
# Foreign keys for table subcategory
#
#
# Foreign keys for table topics
#
#
# Foreign keys for table userregister
#