Question: SQL Operators and Functions Given the database description below: Tb _ Supplier ( Supp _ ID , Name, City ) Tb _ Consumer ( Con
SQL Operators and Functions
Given the database description below:
TbSupplierSuppID Name, City
TbConsumerConID Name, City
TbProductProdID Name, MU
TbOffersSuppID ProdID Quantity, Price
TbRequestsConID ProdID Quantity, Price
TbTransactionsTID SuppID ConID ProdID Quantity, Price
Solve and test the following queries:
Name of suppliers located in cities having C as initial?
Name of products with name having AC or O as initial?
Name of products with name ending with e or l
Name of consumers starting with W and not ending with acdefg
lmn or o
Names of suppliers not starting with A or J and having a in the third position?
Name of suppliers located in a city not having C as initial and offering products
with name having O as initial.
Find the number of days until the end of the year?
Tell what day of the week will be your th birthday columns: date of birth,
day of week for th birthday
Tell the equivalent in days, in hours and in minutes of your age?
Return the current date as in this sample: Monday November
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
