This SQL statement joins the COSTS and SALES tables on four columns: PROD_ID, TIME_ID, PROMO_ID, and CHANNEL_ID. It matches rows from COSTS and SALES where the values in those four columns are equal.Read less