Question: Table: LOCATIONS Column Data Type Length Precision Scale Nullable LOCATION D NUMBER STREET ADDRESS VARCHAR2 POSTAL CODE VARCHAR2 VARCHAR2 STATE PROVINCE VARCHAR2 COUNTRY_ID IN 5.

 Table: LOCATIONS Column Data Type Length Precision Scale Nullable LOCATION D

NUMBER STREET ADDRESS VARCHAR2 POSTAL CODE VARCHAR2 VARCHAR2 STATE PROVINCE VARCHAR2 COUNTRY_ID

Table: LOCATIONS Column Data Type Length Precision Scale Nullable LOCATION D NUMBER STREET ADDRESS VARCHAR2 POSTAL CODE VARCHAR2 VARCHAR2 STATE PROVINCE VARCHAR2 COUNTRY_ID IN 5. Use Locations table to display street address, city and a column called "size" based on the following conditions. If the length of city is 6, then display "Village If the length of city is 7 then display "Wilayat" For all other values display "City [3 Marks] TT 1. + 1_ .. 1 Y

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

To solve this problem we need an SQL query that retrieves the STREETADDRESS CITY and a computed col... View full answer

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 Databases Questions!