You have two database tables which are connected via a unique ID online. Write a query which will query both tables based on that unique ID.