...get that $var.select max(RecordTime) from tbl_loan where UserId = 2 Group By LoanId
Just a few cents, may or may not help. Just offering the idea that maybe you have to workaround it and take it as two steps.select * from tbl_loan where RecordTime = ? ... $db->execute($var);
In reply to Re: Catalyst - SQL query
by one4k4
in thread Catalyst - SQL query
by megaurav2002
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |