Doing it again with no bold or underline, which can get lost in translation.

On 1/2/2020 2:10 PM, Joe Pluta wrote:
with maxstat as  (
   select gs1, max(status) statusfrom table
      where ts between ts1 and ts2
      group by gs1)
select status, count(*) from maxstat
   group by status order by status

As an Amazon Associate we earn from qualifying purchases.

This thread ...


Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2022 by and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.