Count visits by today, this week, last month and total [MySQL query]

后端 未结 2 1156
走了就别回头了
走了就别回头了 2021-02-11 09:24

Hello guys this is a very simplified version of my table: \"enter

I will like to make four

2条回答
  •  抹茶落季
    2021-02-11 10:08

    You might want to have a look at this page:

    http://dev.mysql.com/doc/refman/5.5/en/date-and-time-functions.html

    The functions month(), date(), curdate(), week() and a few others should do the trick

提交回复
热议问题