Create check name repeated tasks

SQL query