In order to provide a more direct answer you will need to provide more details. What kind of database? What do you mean by the "first 64 values"? Is this the first 64 ordered a certain way, or the first 64 that happened to have been entered into the database?
In general you can use
LabSQL to access databases. You will need to specify a query string to get your values. Something like (for SQL) "SELECT TOP 64 Value FROM MyTable ORDER BY ..."