Number of récords to be retrieved in a query

Hellow,
How can I indicate in a query that I only want to recover one record?
Thanks,

pageSize = 1