select * from YourTable where start in (select start from YourTable group by start having count * > 1) or stop in (select stop from YourTable group by stop having count * > 1)
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '> 1) or stop in (select stop from tablename group by stop having count* > 1)' at line 1 What could be the issue?