Hello, SELECT empno ,date FROM employees GROUP BY empno , LEFT(date,10) PHP: how do i write this query using DISTINCT?