Oracle 12c: SQL
Oracle 12c: SQL
3rd Edition
ISBN: 9781305251038
Author: Joan Casteel
Publisher: Cengage Learning
bartleby

Concept explainers

bartleby

Videos

Textbook Question
Book Icon
Chapter 6, Problem 6HOA

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. 1. Emaildate = current date, customer# = 1007
    2. 2. Emailid = specify to use the column default value, emaildate = current date, customer# = 1008
    3. 3. Emailid = 25, emaildate = current date, customer# = 1009
Blurred answer
Students have asked these similar questions
1. ID Last Name First Name Create the My Employee table with the following fields: Not Null Number(4) Varchar(25) Varchar(25) Varchar(8) Number(9,2) Userid Salary 2. Add the constraint Primary Key (ID) to the table. 3. Insert the following data to the table: ID Last Name First Name Ali 1 2 3 4 5 AlChameri Alanizi Hejazi Turki AlKamel Rayen Decham Mohamed Fahhed 4. Select all the data in the table. Userid raptel bdancs bbiri cnewman aropebur I Salary 795 860 1100 750 1550
PROBLEM: Create a table named BOOK_STORES to include the columns listed in the following chart. Column Name Store_ID Name Contact Rep_ID Datatype NUMBER (8) VARCHAR2(30) VARCHAR2(30) VARCHAR2(5) Constraint Comments PRIMARY KEY column Should be UNIQUE and NOT NULL : INSTRUCTIONS: Submit the complete code on doc file, run and also submit the snapshot of the result. You can paste the screen shots(2) on a MS. Word doc.
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_logColumns: 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 theerror is expected)
Knowledge Booster
Background pattern image
Computer Science
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
Recommended textbooks for you
Text book image
Oracle 12c: SQL
Computer Science
ISBN:9781305251038
Author:Joan Casteel
Publisher:Cengage Learning
Text book image
A Guide to SQL
Computer Science
ISBN:9781111527273
Author:Philip J. Pratt
Publisher:Course Technology Ptr
Text book image
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:9781337508841
Author:Carey
Publisher:Cengage
Text book image
Programming with Microsoft Visual Basic 2017
Computer Science
ISBN:9781337102124
Author:Diane Zak
Publisher:Cengage Learning
Text book image
COMPREHENSIVE MICROSOFT OFFICE 365 EXCE
Computer Science
ISBN:9780357392676
Author:FREUND, Steven
Publisher:CENGAGE L
dml in sql with examples; Author: Education 4u;https://www.youtube.com/watch?v=WvOseanUdk4;License: Standard YouTube License, CC-BY