Creating list

creating list from sqlite database