You may also want to get familiar with the JOIN -syntax. I'm not going to try to explain it here exactly but there's a good short tutorial at w3schools.com. One thing you should take a note of is the if you JOIN multiple tables in one, you cannot have many columns with the same name - instead you will have to rename them something like:
SELECT table1.col1 AS t1c1, table2.col2 AS t2c1, ... FROM table1 LEFT JOIN table2 WHERE table1.foreignkey=table2.key
where, for example, both table1.col1 and table2.col2 can be something like customers.LastName and salespeople.LastName (like in a case if you would like to get the names of customers and salespeople returned in the same result table).
Check here for better explanation:
http://www.w3schools.com/sql/sql_join.asp