Re: Result set granularity..
Re: Result set granularity..
От:
Harald Fuchs <nospam@sap.com>
Дата:
In article <59410.193.243.134.6.1064668289.squirrel@www.defero.se>, "Rasmus Aveskogh" writes: > Hi, > Since I went from Oracle to PostgreSQL I've been missing the "invisable" > column 'rownum'. I often used it to lower the granularity of my data. > For example, say I have a large table containing some sort of statistical > data and want to plot a graph using it. > If the graph is 600 pixels wide I might as well lower the granularity of > my incoming data to 600 measure points before plotting. > In Oracle I used to do this by using the modulus operator on the rownum > column as a restriction. > SELECT FROM