how to add a id for query 's result?

Hi,
    I use TQuery to filter some data. I want to list the data in the DBGrid
and add a id number for the Grid.
    how to do that?

--
Go Ahead!
isig...@yahoo.com