Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Question 4 () Use Entity Relationship Diagram below for a Sales database to answer the following SQL questions CUSTOMER PKC Code VENDOR Cade PK CU
Question 4 () Use Entity Relationship Diagram below for a Sales database to answer the following SQL questions CUSTOMER PKC Code VENDOR Cade PK CU UN Van Une Us V Acade Cus Area Code PRODUCT Pode INVOICE ber Cus Code P Descript Pindate P Or Hard PVA P Price P Discount Ktv Code Write the SQL statements for the following scenarios: 120 marks] (1) Write a query to count the number of customers with a customer balance less than $500. (11) Write a query to list all products Product code. Description and V_Code) for which the vendor is Gomex Bros (II) Write a query to list all customers (first name, last name, and phone) whose first name starts with 'O'. Sort the results alphabetically by last name. EXAMINER: GEORGE KODJO ANNI Page 3 of 4 (iv) Create a query to find the customer balance characters Soal of the outstanding balances, minimum, balance for all customers) (which includes the and age () Add a new customer to the customer table (Use your own values) Explain briefly the phases of the Database Development Life Cycle (1) 5 marke
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