I have two tables that I want to join
Domain and Links with 1k rows and with 700k rows respectively
create table Domain (url varchar(255), tag varchar(255));
create table Links (ShortURL varchar(255), LongURL varchar(255));
The output should be joined on partial match of ALL strings Domain.url found in Links.LongURL and the result should return 700k rows from the Links table and where no match found should be null
Tried the following from this thread and here
SELECT ShortURL,LongURL,tag
FROM Links fulljoin Domain
ON Links.LongURL LIKE concat('%', Domain.url, '%');