I need to create a View in SQL by counting the number of tasks an employee has been given but only show an employee who has more than 3 tasks. The problem I got is showing the count in the view. The error I'm getting is "missing right parenthesis"
CREATE VIEW EMPLOYEE_TASKS (E.EMPLOYEE_ID, E.FIRST_NAME, E.LAST_NAME,
T.TASK_ID)
AS SELECT COUNT T.TASK_ID
FROM EMPLOYEE E, TASK T
WHERE E.EMPLOYEE_ID = T.TASK_ID
AND COUNT(T.TASK_ID) > 3;