working report result

SQL query still needs work