I have a table in SQL, that looks a little similar to the table below: [![enter image description here][1]][1]
My goal is to generate a first and Last Transaction report.