title: Teradata First and Last Value
body: <p>How to take first value and last value of a column with group by on a particuar column?
  For eg:i need first_value and last_value of case_owner column based on group by og case id.</p>