Question: 1- Why is it important to learn SQL? In which jobs you need to know SQL? 2A- What is the definition of DML and DDL?
1- Why is it important to learn SQL? In which jobs you need to know SQL?
2A- What is the definition of DML and DDL? Give examples in each case.
2B- Consider the following two tables below: VENDOR and PRODUCT.
Write a SQL statement for each of below:
a) Show all Vendor names, vendor phone numbers in VENDOR table
b) Show all products sold by Gomez Bros.
c) Show all products with a price of greater than $100.
VENDOR
PRODUCT

The Subject name is Database Management System.
\begin{tabular}{|c|l|l|l|l|l|l|} \hline V_CODE & \multicolumn{1}{|c|}{ V_NAME } & V_CONTACT & V_AREACODE & V_PHONE & V_STATE & V_ORDER \\ \hline 21225 & Bryson, Inc. & Smithson & 615 & 2233234 & TN & Y \\ \hline 21226 & SuperLoo, lnc. & Flushing & 904 & 2158995 & FL & N \\ \hline 21231 & D\&E Supply & Singh & 615 & 2283245 & TN & Y \\ \hline 21344 & Gomez Bros. & Ortega & 615 & 8892546 & KY & N \\ \hline 22567 & Dome Supply & Smith & 901 & 6781419 & GA & N \\ \hline 23119 & Randsets Ltd. & Anderson & 901 & 6783998 & GA & Y \\ \hline 24004 & Brackman Bros. & Browning & 615 & 2281410 & TN & N \\ \hline 24288 & ORDVA, Inc. & Hakford & 615 & 8981234 & TN & Y \\ \hline 25443 & B\&K, Inc. & Smith & 904 & 2270093 & FL & N \\ \hline 25501 & Damal Supplies & Smythe & 615 & 8903529 & TN & N \\ \hline 25595 & Rubicon Systems & Orton & 904 & 4560092 & FL & Y \\ \hline \end{tabular}
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
