- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
how can I query only the last update data ?
Hi,
when there are multiple record in the database, how can I query only the last data (based on time stamp) ?
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Get Direct Link
- Report Inappropriate Content
Re: how can I query only the last update data ?
dt = current data table();
dt << select where( :time stamp = col max(:time stamp) );
Jim