May 19, 2022 at 2:59 pm
May 19, 2022 at 3:09 pm
I have some ideas – they involve GROUP BY and MAX(). You have nearly 4,000 points and this is simple stuff. What have you tried so far?
The absence of evidence is not evidence of absence
- Martin Rees
The absence of consumable DDL, sample data and desired results is, however, evidence of the absence of my response
- Phil Parkin
May 19, 2022 at 3:39 pm
Hello everyone,
Thank you for looking into my question.
I have a dataset like the below in a table..
I need to write a query to produce a result like below.
Anyone has any ideas??
Yes... You've been around long enough to know that if you want coded help, that you need to post readily consumable data instead of graphics. Please read and heed the article at the 1st link in my signature line be for why and one way how to do such a thing.
--Jeff Moden
Change is inevitable... Change for the better is not.
May 19, 2022 at 7:18 pm
I have some ideas – they involve GROUP BY and MAX(). You have nearly 4,000 points and this is simple stuff. What have you tried so far?
I don't think it is that simple. There are 2 different sections of the initial data table containing Plan 20000479 and 20027778. The OP wants them separated into different sections and not grouped together just by the order he has displayed them. Yet there is nothing in this table to separate the same plan other than the position that they have been displayed in his picture.
Maybe the OP has forgotten to put in a column.
May 19, 2022 at 9:05 pm
It looks like a packing interval problem.
Drew
J. Drew Allen
Business Intelligence Analyst
Philadelphia, PA
May 20, 2022 at 3:20 am
It looks like a packing interval problem.
Drew
I wish I could vote this up more. Totally agreed on the prognosis and the link.
--Jeff Moden
Change is inevitable... Change for the better is not.
Viewing 6 posts - 1 through 5 (of 5 total)
You must be logged in to reply to this topic. Login to reply