ORDER BY `montha` DESC,

Hi, my month column/field is YYYYMM format...

The above is part of a MYSQL query...

I know I can use limit 5 - however that will get me 5 rows of data....

is there a way to limit by 5 months of data ??

EG :- (UNIQUE (ORDER BY `montha` DESC) Limit 5) - Tried that - gave errors....

-- 
G
NZ community groups - [EMAIL PROTECTED]
Freecycle Auckland :-
http://groups.yahoo.com/group/AucklandFreecycle/

Reply via email to