I need help explaining this SQL ======================================================   -- Create the view named "WeatherView" CREATE VIEW "WeatherView" AS SELECT "name", "countryCode", "description","temp", "feelsLike", "humidity",  "pressure", "sunrise", "sunset", "updatedOn" FROM "City" "c" INNER JOIN "Country" "cn" ON "c"."countryId"= "cn"."countryId" INNER JOIN "weather" "w" ON "w"."cityId"= "c"."cityId"; -- Select all columns from the "WeatherView" view SELECT * from "WeatherView";

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter13: Views
Section: Chapter Questions
Problem 8MC
icon
Related questions
Question

I need help explaining this SQL

======================================================

 

-- Create the view named "WeatherView"
CREATE VIEW "WeatherView" AS
SELECT "name", "countryCode", "description","temp", "feelsLike", "humidity", 
"pressure", "sunrise", "sunset", "updatedOn"
FROM "City" "c"
INNER JOIN "Country" "cn" ON "c"."countryId"= "cn"."countryId"
INNER JOIN "weather" "w" ON "w"."cityId"= "c"."cityId";


-- Select all columns from the "WeatherView" view
SELECT * from "WeatherView";
Expert Solution
steps

Step by step

Solved in 4 steps

Blurred answer
Knowledge Booster
SQL Query
Learn more about
Need a deep-dive on the concept behind this application? Look no further. Learn more about this topic, computer-science and related others by exploring similar questions and additional content below.
Similar questions
  • SEE MORE QUESTIONS
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning