With this query:
select doc_total as total, user_name as waiter_name from docs, getuti where DATE(date) = '2015-02-24' and user = user_number
I get a long list of results with one column "total" and the other "waiter_name" like this little example:
I would like to get each waiter's total...
Can I do it in mysql?