I have 3 difrrent table structures, I will call them A,B,C.
I need to do a search on all those 3 tables at the same time, let's that I need to:
A.name LIKE %Google% B.company LIKE%Google% and C.company LIKE%Google%
It's posibile to get a query out for the "query type" mentionated?
Best Regards!
Here is what i'm looking for
Select from table A where A.name LIKE %something% inner join B on b.company LIKE %something% and after that I need to do the samething for table C..but I don't know how...
The query:
SELECT name FROM firmen WHERE name LIKE '%Felsengartenkellerei Besigheim eG%'
UNION
SELECT firma FROM daten WHERE firma LIKE '%Felsengartenkellerei Besigheim eG%'
UNION
SELECT firma FROM ver WHERE firma LIKE '%Felsengartenkellerei Besigheim eG%'