Question: A new table has been requested to support tracking automated emails sent to customers. Create the table and add data as described below. Tablename:

A new table has been requested to support tracking automated emails sent to customers. Create the table and add data as described below.
 • Tablename: email_log
 • Columns: emailid (numeric), emaildate (datetime), customer# (numeric)
 • Primary key: emailid column, define as an Identity Column
 • Add the following data rows and display resulting rows (if any errors occur, explain why the error is expected)

1. Emaildate = current date, customer# = 1007
 2. Emailid = specify to use the column default value, emaildate = current date, customer# = 1008
 3. Emailid = 25, emaildate = current date, customer# = 1009


Step by Step Solution

3.36 Rating (168 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

CREATE TABLE emaillog emailid NUMBER GENERATED AS IDENTITY PRIMARY ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Document Format (2 attachments)

PDF file Icon

1803_60b8c12125289_716236.pdf

180 KBs PDF File

Word file Icon

1803_60b8c12125289_716236.docx

120 KBs Word File

Students Have Also Explored These Related Oracle 12c SQL Questions!