This relates to an earlier transposing query, but if anyone know how i can select an inremental value by order then i.e if there are ten values how could i select the 6th etc.
PH - I think we could be ionto a winner here but i need more help as my sql isn't brilliant as i normally just use query builder in access.
If you could provide and example of how i get a new column to look at the 2nd value, then this should be enough to get me going with the rest.
I appreciate this help!!
The current SQL is as follows and is essentially just selecting 3 rows:
SELECT Gas_Hull_PortAnlys_IMPORT.SiteRefNum, Gas_Hull_PortAnlys_IMPORT.[Site name], Gas_Hull_PortAnlys_IMPORT.MeterPointRef
FROM Gas_Hull_PortAnlys_IMPORT
GROUP BY Gas_Hull_PortAnlys_IMPORT.SiteRefNum, Gas_Hull_PortAnlys_IMPORT.[Site name], Gas_Hull_PortAnlys_IMPORT.MeterPointRef;
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.