Hi,

> I want to select from the table sum of logins for each day.

Would this help:

mysql> select date_format(your_date_column, "%Y-%m-%d"), count(*)
    -> from your_table
    -> group by date_format(your_date_column, "%Y-%m-%d");


Take care,
Aleksandar


-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:    http://lists.mysql.com/[EMAIL PROTECTED]

Reply via email to