1

Oracleデータベースに対してこのクエリがあります。ODBC経由でMSAccessを使用してアクセスしています。

このクエリは、標準のSQLに変換する必要があるアクセスでは機能しません。何度か試しましたが、成功しませんでした。おかげで私を助けることができるかどうか知りたいです!

   select t2.s_studentreference "Ad No"
        , t1.p_surname "Surname"
        , t1.p_forenames "Forenames"
        , t3.e_reference "Reference"
        , t3.e_name "Name" 
    from capd_a t2
       , capd_b t1
       , capd_c t3 
   where t2.s_id(+)=t1.p_id 
     and (t3.e_student=t1.p_id) 
     and (t3.e_reference='D /YR2A2/12') 
4

1 に答える 1

3

つまり、クエリは次のstandard SQLようANSI SQLになります。

   select t2.s_studentreference "Ad No"
        , t1.p_surname "Surname"
        , t1.p_forenames "Forenames"
        , t3.e_reference "Reference"
        , t3.e_name "Name" 
    from capd_b t1
   right outer join capd_a t2
      on (t2.s_id = t1.p_id)
    join capd_c t3 
      on ((t3.e_student=t1.p_id) and (t3.e_reference='D /YR2A2/12')) 
于 2012-09-21T07:46:36.823 に答える