Different ways to query this search in SQL?
- by Bart Terrell
I am teaching myself MS-SQL and I am trying to find different ways to find the Count of Paid and Unpaid Claims for 2012 grouped by Region from these 3 tables. If there is a returned date, the claim is unpaid if the returned date is null then the claim is paid.
I will attach the code I have ran, but I am not sure if there are better ways to do…