Correct Max Subquery, Datatype correction And Name Correction