SELECT num FROM table t1
WHERE EXISTS (
SELECT 1 FROM table t2
WHERE t2.num <> t1.num
AND TIMESTAMPDIFF(MINUTE,t1.date,t2.date) <= 60
)
The query below should be faster especially if your date column is indexed
SELECT num FROM table t1
WHERE (MINUTE(TIMEDIFF((SELECT MAX(t2.date)
FROM table t2
WHERE t2.num <> t1.num
AND t2.date < t1.date),t1.date)) <= 60)
OR (MINUTE(TIMEDIFF((SELECT MIN(t2.date)
FROM table t2
WHERE t2.num <> t1.num
AND t2.date > t1.date),t1.date)) <= 60)