I am trying to fetch data from the 2 tables using joins. But I don't know how to do it. I have read about joins but it wasn't making any sense since I am new.
I have two tables.
 Playgrounds           Inspection 
   id   u_id          id    playground_id
   1    2              1     1
   2    2              2     2     
In playgrounds table id is the playground id and is unique and u_id  is the user of the playground.
In inspection table id is unique and playground_id is used as a foreign key from playgrounds table's id.
My problem is that I have to pass id and u_id to the the query in playgrounds table then it should select id from playground table. Then it should select every thing from inspection table based on that id .  
Hope I have explained it properly.
Any help is much appreciated.
Thanks in advance
 
    