I have two tables which I want to connect.
+-----------+-----------+---------+ | row_id | category | val_1 | +-----------+----------
If you want all the results, you need an outer join, not an inner one. (Inner only returns the rows where there is a match; outer returns all rows, with the matching rows "stitched together")