If both tables have a unique field, let's say ID, you can select the asked results from the first table, as you say, and then join the other table.
Let's say you want to select all rows from table 1 that contain the value 'PHP' in it's field language.
Select * from table1 where language='PHP'
Now you want to add the rows from table 2 to it, that match the id of table one. Both tables must have a field that is unique in each row, let's say both have the field ID.
SELECT * from table1,table2 JOIN on table1.id=table2.id where table1.language='PHP'
Hope this helps