Can anyone help me in sql ?
I need to build table for data base > DATABASE > SQL 1. The following is a database schema // i cant show snap but its like tree structure a. Write appropriate fields, create tables and show relations wherever necessary. b. Write queries i. Show special offers of December 2016, ii. Show special offer for Black Friday and Christmas iii. Show Easter special discounts only in Latest products iiii. Show sold products not later than January 2017 from January 2016 v. Show product of initial quantity 500 and havenât sold anything yet vi. Create Sales table with appropriate fields. vii. Get maximum sales in month for year 2015 and 2016 viii. Get the least sold product in the month December 2015. ix. Show products that mostly on Christmas 2. Given is another database schema // i cant show snap but its like tree structure a. Write appropriate fields, create table structure and show relations using only headers. b. Write queries i. Get transactions of December 2016 made on Christmas eve. ii. Show withstanding transactions iii. Show category for each product iiii. Show shipping address of each order placed before December 2016 v. Show common products sold in December 2016 vi. Show least purchased product in city âChicagoâ vii. Show most sold product in city âcaliforniaâ viii. Show most purchased product in âChicagoâ and âCaliforniaâ ix. Show common purchases in two Cities. x. Show purchases which are order In âCaliforniaâ and shipped to âLos Angelesâ Page 2