MySQL Forums
Forum List  »  Optimizer & Parser

Re: Select last row that is less than or equal to a date
Posted by: David Marcus
Date: February 03, 2013 03:35PM

10 Query show session status where Variable_name like 'Handler%' or Variable_name = 'Created_tmp_tables'
130203 16:26:32 10 Init DB ratingscentral
10 Query SELECT @@SQL_MODE
10 Query SHOW FULL COLUMNS FROM `RatingsCentral`.`History`
10 Query SHOW CREATE TABLE `RatingsCentral`.`History`
10 Query select * from History where HistoryPlayer = 59161 and HistoryDate <= '2012-01-01' order by HistoryDate desc limit 0,1
130203 16:26:36 10 Init DB ratingscentral
10 Query SELECT @@SQL_MODE
10 Query show session status where Variable_name like 'Handler%' or Variable_name = 'Created_tmp_tables'

Options: ReplyQuote


Subject
Views
Written By
Posted
Re: Select last row that is less than or equal to a date
1688
February 03, 2013 03:35PM


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.