I need to group some records in a SQL Server 2014 table by using some conditional logic based on multiple fields and I am not sure how to do it. I have created a contrived example to explain what I am looking for as far as results.I need to group some records in a SQL Server 20