阅读背景:

SQL在今天之前选择日期的记录

来源:互联网 

I have a mysql DB with tables, of which in the one table I have a date type field, I want the most recently passed date - so I want it to order by dates descending, but only take records from before today, and then take only the top most one using the LIMIT function, and also there is the addition of the WHERE clause being that the offer must be for the selected city.I have a mysql DB with tables, of which in the




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: