I have the following SQL query with a LEFT JOIN with an OR condition which makes it almost unworkable - took over 12 hours and then had to be cance
LEFT JOIN
OR