[sample] pull data from sqlite.