Create a trigger that will prefix the values of item category with ‘dev-‘ when a new row ins inserted. For example if the inserted category is ‘rdf’ then then the value should become ‘devrdf’. Below is the item table CREATE TABLE Item (ItemID NUMBER PRIMARY KEY, category VARCHAR2(12)); Write in SQL

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter5: Data Manipulation And Transaction Control
Section: Chapter Questions
Problem 4MC: Which of the following statements deletes all rows in the HOMEWORK10 table? a. DELETE FROM...
icon
Related questions
icon
Concept explainers
Question

Create a trigger that will prefix the values of item category with ‘dev-‘ when a new row ins
inserted. For example if the inserted category is ‘rdf’ then then the value should become ‘devrdf’. Below is the item table
CREATE TABLE Item (ItemID NUMBER PRIMARY KEY, category VARCHAR2(12));

Write in SQL

Expert Solution
steps

Step by step

Solved in 3 steps

Blurred answer
Knowledge Booster
Query Syntax
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
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Np Ms Office 365/Excel 2016 I Ntermed
Np Ms Office 365/Excel 2016 I Ntermed
Computer Science
ISBN:
9781337508841
Author:
Carey
Publisher:
Cengage
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr