Question: # 2 1 Use the following query to answer the question below it: SELECT [ Valid Patients ] . PAT NAME, [ Valid Patients ]

#21 Use the following query to answer the question below it: SELECT [Valid Patients].PAT NAME, [Valid Patients].[Age Class], PATIENT.HOME PHONE FROM PATIENT INNER JOIN ( SELECT V_PAT_FACT.PAT_ID "Patient ID", V_PAT_FACT.PAT_NAME "Patient Name", Class" CASE WHEN V_PAT_FACT.AGE_YEARS >=18 THEN 'Adult' ELSE 'Ped' END 'Age FROM V_PAT FACT WHERE V_PAT_FACT.IS_VALID_PAT_YN =" Y ') "Valid Patients" ON PATIENT.PAT_ID =[Valid Patients]. "Patient. ID" Why does this query fail to run?

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