I am trying to create a query that searches for all records that have a similar attribute:
select * from table_A where fullname like in (select firstname from employees where X)
The only thing is that itβs just my pseudocode, I actually sort by many tables, so the real query that I have at the moment looks something like this:
select * from devices where devicename like in (select X from X1 where T in (select T from T1 where Y in (select Y from Y1 where Z in (select Z from Z1 where AreaName = '74';
I am trying to use the join command, but am very confused about how to apply it to this situation.
source share