use inner joins when possible since they are faster, findlogbookbyname will return a unique logbook since there is a unique constrain on it