Try looking at the 'OFFSET' function, will this do what you want?