thank u friends i got my answer, btw i wanted to ask that....lets consider an example..
i have a table name emp(employee)
and its records for empid is lets say like this
231
223
221
332
443
331
235
so i wanted a query that shows the first record .i.e the record entered first.which in this case is 231.
and similarlt, the last record i.e 235 in this case.
anywayz ..thanks for ypur help.