Answered step by step
Verified Expert Solution
Question
1 Approved Answer
In this database question how can I write a trigger that does the following: if the quantity of an item becomes less than 20, the
In this database question how can I write a trigger that does the following:
if the quantity of an item becomes less than 20, the a message is sent to the supplier.
I need help ASAP please.
Thank you for your consideration!
Using DDL. DML to create tables and constrants and any abjects required. Also use DML to insert and update, ec Create set of constraints in your database design We need to create database for supermarket in supermarket there are set of items each item has id name, price, quantry, production date and expired date Sometime there is discount for each ime, and the discount is not foxed, may be change from day to another day There are a lot of supplilers that supply the nems to supermarket each supplier has ID, Name, Address, Phone. Also there are set of cussomers, each customer has unique ID, name, phone. Customer buys set of hems and hen the cashier generate invoice for customer, the noice incued me amount of tax which it is 16% now and may be charged in rare. Each invoice has sequence number (ie. auto-number started from 1) The owner can generale report for sales for each cashier, and amount of tax for period to transter the money to tax office. Using DOL to create the tables, constraints and triggersStep 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