dbopenset ( SqlStatement )
Perform an SQL statement and create a record set so that the program may loop through and use the results.
See example of usage on DBOpen page.
DBClose, DBCloseSet, DBExecute, DBFloat, DBInt, DBOpen, DBRow, DBString
More information about databases in general and SQLite specifically can be found at SQLite Home Page and SQL at Wikipedia.