MySQL Forums
Forum List  »  PHP

SELECT LAST .. what is the correct syntax
Posted by: Christopher Hilling
Date: September 17, 2005 05:05PM

I have a problem with the SELECT LIST statement ...

$sql = "SELECT LAST(time) as last_login
FROM myTable
WHERE user_id = " . $user_id . "
ORDER BY time DESC";

What is the correct syntax

Christopher Hilling
Triplentry Solutions
Linking your business together
http://www.triplentry.com
TripleXchange links : GoldMine : ACT! : Sage Line 50 : Sage Line 100 : QuoteWerks : XML or CSV files

Options: ReplyQuote


Subject
Written By
Posted
SELECT LAST .. what is the correct syntax
September 17, 2005 05:05PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.