Final answer:
To create the database, you'll need three tables: Users, Downloads, and Products. For the view, use a SELECT statement to combine columns from different tables. To get total sales, use the created view and a SELECT statement with SUM and ORDER BY.
Step-by-step explanation:
Part 1:
To create an EER model for the given database, you'll need three tables: Users, Downloads, and Products. The Users table should have columns for email address, first name, and last name. The Downloads table should have columns for filename, download date/time, and a foreign key referencing the Users table. The Products table should have columns for name and a foreign key referencing the Downloads table.
Part 2:
To create the view named 'order_item_products' that returns columns from Orders, Order_Items, and Products tables, you'll need to write a SELECT statement. The statement should include the desired columns from each table, joined using appropriate JOIN statements.
Part 3:
To get total sales for the five best selling products using the created view, write a SELECT statement. This statement should SELECT the product_name column from the view and SUM the item_total column from the view, grouping by the product_name column. Finally, ORDER BY the total sales in descending sequence.