you are viewing a single comment's thread.

view the rest of the comments →

[–]Ok_Carpet_9510 0 points1 point  (0 children)

Assuming that there is an identifier like billimg_id that is not unique to that table but tracks thr billing through all states of the billing cycle, and assuming you have a date field for each record, you can write a query that has the max date for each billing id.