Viewing 6 posts - 1 through 7 (of 7 total)
--retrieve one TrimWgt from MR#s--
SELECT *
FROM
(SELECT ID, MR#, R#, MrWgt, TrimWgt,
rn = ROW_NUMBER() OVER (PARTITION BY MrWgt ORDER BY TrimWgt)
FROM masterscale3) orderedSlice
WHERE orderedSlice.rn = 1
August 17, 2020 at 7:49 pm
Thank you very much. I created a script to create and insert, now we can finally get somewhere!
August 17, 2020 at 7:41 pm
i posted create and insert data, please review my problem, i have no idea where to start besides using excel
August 17, 2020 at 7:40 pm
I am trying to retrieve the blue-highlighted based on MR#.
-if MR# is different from last (5 to 6), retrieve 16.30, if MR# is different from last, retrieve 16.85, and repeat
August 17, 2020 at 7:38 pm
--create masterscale2 table--
Create table masterscale2
( ID varchar(50)
,MR# int
,R# int
...
August 17, 2020 at 7:30 pm
Our process:
August 17, 2020 at 4:25 pm
Viewing 6 posts - 1 through 7 (of 7 total)