Fixed sql database/table to implement the List methods