DROP DATABASE book_db;				

CREATE DATABASE book_db;	
			
USE book_db;		
		
CREATE TABLE books (					
	book_id INT NOT NULL auto_increment,	
	title VARCHAR(50),				
	publisher VARCHAR(30),				
	year VARCHAR(10),				
	price INT,					
	PRIMARY KEY(book_id)					
);
INSERT INTO books (title, publisher, year, price)
		VALUES('Operating System Concepts', 'Wiley', '2003', 30700);

INSERT INTO books (title, publisher, year, price)
		VALUES('Head First PHP and MYSQL', 'OReilly', '2009', 58000);

INSERT INTO books (title, publisher, year, price)
		VALUES('C Programming Language ', 'Prentice-Hall', '1989', 35000);

INSERT INTO books (title, publisher, year, price)
		VALUES('Head First SQL', 'OReilly', '2007', 43000);