Join tables to map userId to name | Karat Interview Question