Reference no: EM133218338
Please please solve it correctly, if wrong i will give dislike .
Write a SQL script that creates a table. (Each user must have an email address, first name, and last name.
Each user can have one or more downloads.
Each download must have a filename and download date/time.
Each product can be related to one or more downloads.
Each product must have a name.)
All IDs are in NUMBER format; download date/time is in DATE format, and all other fields are in
VARCHAR2(30) format.
NULL value is not allowed for all fields.
Assign appropriate primary key for each table.
In the Downloads table, the user_id and product_id columns are the foreign keys.
Create the sequences for the user_id, download_id, and product_id columns.
Include any indexes that you think are necessary (manually create at least 1index