以下のロジックを SAS に実行する必要があります。
If
the product field in Client_lookup table is ‘DC’
and if the client_nbr field in Client_lookup table matches with the client_nbr column in Gforce_Auth table,
then
the first six digits of merchant_number field in Gforce_Auth tables will be compared with the first six digit of current_account_number in the Gforce_Auth tables.
If it becomes equal, then the In store column = ‘Y’ otherwise it is set to ‘N’. The in store column will be set to null if the client _nbr field is not same in both the tables.
この2つのテーブルに参加する方法と、上記の条件を確認しながら参加する方法を教えてください。
私はマージステートメントを試しましたが、うまくいきませんでした。前もって感謝します。
よろしく、 スディール