MyBB Community Forums

Full Version: query to limit for each id
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Pages: 1 2
OMG You are crazy
Looks like works perfect
This is freaking awesome

Thank you very much


One little question
why you use in last order by tid and datelune
ORDER BY p.tid, p.d
You can ignore the ORDER no issue, I did it to get the result sorted as per tid and then in the tid group as per date else you will get the result correct but it may be mixed and may require sorting at your end before processing.

Glad it helped you Big Grin
Pages: 1 2