Answered step by step
Verified Expert Solution
Question
1 Approved Answer
a ) SQL statements can be grouped into 3 areas - DDL , DML and DOL. Outline the role of DDL statements, DML statements and
a SQL statements can be grouped into areas DDL DML and DOL. Outline the role of
DDL statements, DML statements and DCL statements. Give examples of all statements.
b Outline the role of a trigger in maintaining a unique identifier on a table. What are the
steps and requirements in implementing such a solution?
c Show the code to create a table called PRODUCT with two columns PRODD and
P R O DDESCRIPTION. Show the code tocreate sequence to be used to populate the
PRODID primary key on the PRODUCT Table. Show the code to create a trigger to
populate the PRODID primary key on the PRODUCT table using asequence.
d What is PLSQL How can it beused in a database and in application development?
e Write an anonymous PLSQL block to display the following
Hello There
Today is today's date
Tomorrow istomorrow's date
Goodbye
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started