I have the ID, and I want to retrieve the name associated with it from another table. Can we write a query for this?