???????JOIN??WHERE????е???????
?????????????????????????????????????????????????????????????????С??????????????????????????????????????????д?????????????SQL???
????FROM sales a
????JOIN budget b ON    ((YEAR(a.sale_date)* 100) + MONTH(a.sale_date)) = b.budget_year_month
??????sales???????????????????У????????????????o??SQL??佫????:
????SELECT * FROM PRODUCTSFROM sales a
????JOIN budget b ON    a.sale_year_month = b.budget_year_month
???????
????????????????????????
????· ???????
????· ?????????С??????????
????· ????????????κ??
????· ?????JOIN??WHERE????е???????
??????????е???Щ???鶼?????????SQL?????????????????????????ɡ??????????????????SQL???