Comparing results with today's date?

前端 未结 10 1720
情深已故
情深已故 2020-12-08 09:15

Is there a way to use the Now() function in SQL to select values with today\'s date?

I was under the impression Now() would contain the ti

10条回答
  •  难免孤独
    2020-12-08 09:37

    You can try:

    WHERE created_date BETWEEN CURRENT_TIMESTAMP-180 AND CURRENT_TIMESTAMP
    

提交回复
热议问题