select from two table change to INNER JOIN