Renamed proposed new column row_id to store_row_id
Helper methods for common reporting queries