Saturday 21 April 2018

How to get Yesterday's record data from MySQL Database?


SELECT * from product_order WHERE DATE(order_date) =  DATE(NOW() - INTERVAL 1 DAY)


2 comments:

  1. This comment has been removed by the author.

    ReplyDelete
  2. This comment has been removed by the author.

    ReplyDelete