Hi I'm trying to select records out of Table A's column that has matching values to Table B's column. For example:
Table A
URL
abc.com
gmail.com
hotmail.com
Table B
Domains
gmail
hotmail
So what would happen is once I run this query on Table A, I will only get abc.com.
Here's what I have but it doesn't work
SELECT *
FROM URL
WHERE URL.URL Like "(SELECT tableB FROM DOMAINS)*";
Table A
URL
abc.com
gmail.com
hotmail.com
Table B
Domains
gmail
hotmail
So what would happen is once I run this query on Table A, I will only get abc.com.
Here's what I have but it doesn't work
SELECT *
FROM URL
WHERE URL.URL Like "(SELECT tableB FROM DOMAINS)*";