Use the following query to answer the question below it: SELECT PAT_NAME"Patient" ,PAT_ID "Patient ID" ,PROV NAME "Discharge Provider" ,PROV_NAME "Admitting Provider" ,DEPARTMENT_NAME "Discharge Department" FROM PAT_ENC_HSP INNER JOIN PATIENT ON PAT_ENC_HSP.PAT_ID = PATIENT.PAT_ID INNER JOIN CLARITY DEP ON PAT_ENC_HSP.DEPARTMENT_ID = CLARITY DEP. DEPARTMENT_ID INNER JOIN CLARITY_SER ON PAT_ENC_HSP.ADMISSION_PROV_ID = CLARITY_SER.PROV_ID INNER JOIN CLARITY_SER ON PAT_ENC_HSP.DISCHARGE_PROV_ID = CLARITY_SER.PROV_ID WHERE HOSP_DISCH_TIME IS NOT NULL Which table from this query must be aliased? Select one of the following: A. Patient B. PAT_ENC_HSP C. CLARITY_SER D. CLARITY_DEP

Oracle 12c: SQL
3rd Edition
ISBN:9781305251038
Author:Joan Casteel
Publisher:Joan Casteel
Chapter12: Subqueries And Merge Statements
Section: Chapter Questions
Problem 6MC
icon
Related questions
Question
Use the following query to answer the question below it:
SELECT
PAT_NAME "Patient"
PAT_ID "Patient ID
PROV_NAME "Discharge Provider"
PROV_NAME "Admitting Provider"
DEPARTMENT_NAME "Discharge Department"
FROM PAT ENC HSP
INNER JOIN PATIENT
ON PAT_ENC_HSP.PAT_ID = PATIENT.PAT_ID
INNER JOIN CLARITY DEP
ON PAT_ENC_HSP.DEPARTMENT_ID = CLARITY_DEP.DEPARTMENT_ID
INNER JOIN CLARITY SER
ON PAT_ENC_HSP.ADMISSION_PROV_ID = CLARITY_SER.PROV_ID
INNER JOIN CLARITY SER
ON PAT ENC HSP.DISCHARGE_PROV_ID = CLARITY_SER.PROV_ID
WHERE HOSP_DISCH_TIME IS NOT NULL
Which table from this query must be aliased?
Select one of the following:
A. Patient
B.
PAT ENC HSP
C.
CLARITY SER
D. CLARITY DEP
Transcribed Image Text:Use the following query to answer the question below it: SELECT PAT_NAME "Patient" PAT_ID "Patient ID PROV_NAME "Discharge Provider" PROV_NAME "Admitting Provider" DEPARTMENT_NAME "Discharge Department" FROM PAT ENC HSP INNER JOIN PATIENT ON PAT_ENC_HSP.PAT_ID = PATIENT.PAT_ID INNER JOIN CLARITY DEP ON PAT_ENC_HSP.DEPARTMENT_ID = CLARITY_DEP.DEPARTMENT_ID INNER JOIN CLARITY SER ON PAT_ENC_HSP.ADMISSION_PROV_ID = CLARITY_SER.PROV_ID INNER JOIN CLARITY SER ON PAT ENC HSP.DISCHARGE_PROV_ID = CLARITY_SER.PROV_ID WHERE HOSP_DISCH_TIME IS NOT NULL Which table from this query must be aliased? Select one of the following: A. Patient B. PAT ENC HSP C. CLARITY SER D. CLARITY DEP
Expert Solution
trending now

Trending now

This is a popular 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.
Recommended textbooks for you
Oracle 12c: SQL
Oracle 12c: SQL
Computer Science
ISBN:
9781305251038
Author:
Joan Casteel
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781305627482
Author:
Carlos Coronel, Steven Morris
Publisher:
Cengage Learning
Database Systems: Design, Implementation, & Manag…
Database Systems: Design, Implementation, & Manag…
Computer Science
ISBN:
9781285196145
Author:
Steven, Steven Morris, Carlos Coronel, Carlos, Coronel, Carlos; Morris, Carlos Coronel and Steven Morris, Carlos Coronel; Steven Morris, Steven Morris; Carlos Coronel
Publisher:
Cengage Learning
A Guide to SQL
A Guide to SQL
Computer Science
ISBN:
9781111527273
Author:
Philip J. Pratt
Publisher:
Course Technology Ptr