- Every category with its products. Use
RIGHT JOIN, withproductsas the left table. The product name, then the category name. - Think before you run it: how many rows does
products p FULL JOIN categories c ON p.category_id = c.idreturn? - Run that FULL JOIN: the product name, then the category name.
- Every employee and every department: the employee's name, then the department's name. Keep the rows without a partner from both tables.
- Which employee has no department?