Mysql
 sql >> Database >  >> RDS >> Mysql

MySQL- GROUP e COUNT per data

SELECT COUNT(*), trip_date , shop_id 
FROM trips 
GROUP BY trip_date , shop_id