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 a but edit it to show only record in the year of Also submit a screenshot of output of b
INNER JOIN, WHERE, GROUP, and HAVING:
a Using the DataEnvironmental and DataComp tables, show PERMNO, CONAME, fiscal year from the DataEnvironmental table and total assets ATfrom the DataComp table
b Copy and paste the query from a but filter the results so that only fiscal year is displayed. Store this query as a view called TotalAssets
c Use the TotalAssets view created in b to only show companies with total assets greater than $amounts in database are in thousands Also submit a screenshot of c output.
LEFT JOIN same as LEFT OUTER JOIN:
a Left joining the DATACEO and DATAEnvironmental tables. Display: PERMNO, the CEOs first and last names, Salary from the DataCEO table company name from the DataEnvironmental table Link the tables on PERMYR. Also submit a screenshot of output.
INNER JOINS: Join three tables optional extra points:
Using DataCEO, DataEnvironmental, and DataComp 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 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
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
