Question: Question No . 2 ( Marks 5 ) Write a SELECT statement that returns one column from the Vendors table named vendor _ address that

Question No.2(Marks 5)
Write a SELECT statement that returns one column from the Vendors table named vendor_address that joins the vendor_address1 and vendor_address2 columns.
Format this column with the vendor_address1, one space, four dashes (---), one space and the vendor_address2 like this:
Attn: Supt. Window Services ---- PO Box 7005
Sort the result set by vendor_name in ascending sequence.
Return only those rows where vendor_address1 and vendor_address2 are not null and vendor_address 2 must start with 'P'.
This should give 9 rows. Please show a screenshot of the executed query.
Question No . 2 ( Marks 5 ) Write a SELECT

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!