md.Mcdm_ID = mpnT.colname AND md.MCat_ID=mctg.MCatID
--gives syntax error
md.Mcdm_ID = mpnT.Mm_ID=colname AND md.MCat_ID=mctg.MCatID
--gives no error, and no results
okay, starting with this:
ORDER BY md.sel_order ASC, mpnT.MpltID DESC
is there a way to write the ORDER BY so for every md.sel_order
1-thru-6 do mpnT.MpltID DESC LIMIT 1
Given the error messages, "'LIMIT 0, 6' at line 1 " Which is self-assigning, this is somehow confusing the two. col's
Please look at the original statement. Is it alright to hav two seperate abbr. for Mcateg - mctg - mg ?