--------------------------------------------------------------------------------------- to get the avaliblity for the topsku with 5 or less items in the store/div/supp/group..... ,
and this is my two tables im using here ---------------------------------------------------------------------------------------
stock :
Daily_Stock: LOAD DT, PRODUCT , DESCRIPTION, PRODUCT as sku, Price, WAC, "DIV", Division, GRP, "Group", CTG, SubGroup, BRAND, STORE_ID as TRXH_LOC_CODE, Stock, if(Stock<=5 and Stock>0,'1','0') as AVb_Stock,