SQL exercies on INNER JOIN and AS.