-->Display customer details from 'Mumbai'.
sql>select * from customerb where addr='mumbai';
Display author wise details of book.
sql>select author,title from BOOK orderd by author;
Display all customers who have purchased the books published in the year 2013.
sql>select * from customerb ,book,customerb_BOOK where customerb.cid=customerb_BOOK.cid and BOOK.BNO=customerb_BOOK.BNO and year_published='2013';
Display customer name that has purchased more than 3 books.
sql>select count(BOOK.BNO),cname from customerb,BOOK,customerb_BOOK wherecustomerb.cid=customerb_BOOK,cid and BOOK.BNO=customerb_BOOK.BNO and BOOK.BNO>3 GROUP BY cname;
Display book names having price between 100 and 200 and published in the year 2013.
sql>select BOOK.title from ctomerb,BOOK,customerb_BOOK where price>=100 and price<=200 and customerb.cid=customerb_BOOK.cid and BOOK.BNO=customerb_BOOK.BNO;
/