Inner join 寫法

唐三生發表於2019-07-25
SELECT  likp~vbeln,
        likp~lfart,
        likp~vbtyp,
        likp~wadat,
        likp~vsart,
        lips~posnr,
        lips~matnr,
        lips~werks,
        lips~lgort,
        lips~charg,
        lips~kdmat,
FROM likp
INNER JOIN lips ON likp~vbeln = lips~vbeln
INTO TABLE @gt_delivery_data
WHERE likp~vbeln = @gv_vbeln.

相關文章