Hello
I have a table in a FB database that holds all the invoices of a Client and I would like to get the last invoice of any client.
At this moment I select * from invoices where client = noclient order by date
and then go to Last
Is ther a way to get only the last record so that this process be a lot faster.
TIA
Ramiro
How to get last record
You can use a query like the following:
Code: Select all
select * from invoices where client = noclient
order by date desc
rows 1