Inner Join Three Tables
问题 I am working in Oracle APEX.i want to make a report from three tables through INNER JOIN .The Tables are as Fallows. PATIENT (Par_Id(Pk),Pat_Name,Pat_Gender) HISTORY (His_Id(Pk),Pat_id(Fk),Treated_By) and Treatment ( Treat_Id, His_id(Fk),Pat_id(Fk) ,Treat_Type ,Charges) I want to display all the columns in Report mentioned in the above three Tables. Thanks. 回答1: You should always specify the columns to return, especially as the tables contain identical column names SELECT p.Par_Id, p.Pat_Name