SELECT i.ID, i.category, i.type, i.code, r.item_reserved_time, r.item_returned_time FROM Users AS u, AVIT_Reservations AS r, AVIT_Inventory AS i WHERE (((r.item_checkout