Question: b ) Copy the query from 1 . a but edit it to show only record in the year of 2 0 2 0 .

b) Copy the query from 1.a but edit it to show only record in the year of 2020. Also submit a screenshot of output of 1.b.
2) INNER JOIN, WHERE, GROUP, and HAVING:
a) Using the Data_Environmental and Data_Comp tables, show PERMNO, CONAME, fiscal year (from the Data_Environmental table), and total assets (AT)(from the Data_Comp table).
b) Copy and paste the query from 2.a but filter the results so that only fiscal year 2021 is displayed. Store this query as a view called TotalAssets2021.
c) Use the TotalAssets2021 view created in 2.b to only show companies with total assets greater than $100,000,000(amounts in database are in thousands). Also submit a screenshot of 2.c output.
3) LEFT JOIN (same as LEFT OUTER JOIN):
a) Left joining the DATA_CEO and DATA_Environmental tables. Display: PERMNO, the CEOs first and last names, Salary (from the Data_CEO table), company name (from the Data_Environmental table). Link the tables on PERMYR. Also submit a screenshot of output.
4) INNER JOINS: Join three tables (optional,5 extra points):
Using Data_CEO, Data_Environmental, and Data_Comp tables, show PERMNO, the companys name (CONAME), the CEOs first and last name, the CEOs salary, the companys total revenue (REVT), and the fiscal year (FYEAR). Filter the results so that only fiscal year 2021 is displayed. Also submit a screenshot of output.

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!