I have a relational database with three tables. The first containts id's that relate to the second. The second contains id's that relate to the third. The third contains the results I am after.
Is it possible with a single query to query an id in the first table which gives all results from the third table that relate to it?
Sorry I am new to mySQL.
You want to do a join. There is a lot of tutorials about this and various ways of doing it.
you want to use a join:
yes
Mysql Join
Try this
Add a where clause to search for certain rows in table1
Use the JOIN command to link your tables to oneantother.
Additionally I'd recommend this tutorial by Keith Brown.