Answer the question
In order to leave comments, you need to log in
How to search a Table using a condition from another table?
How can I write a SQL query like this
SELECT * FROM table1 WHERE id = table2.pid
So that I can select fields from table 1 where the ID value is equal to the PID value in table 2
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question