code: def points_from_sql(self, db_name):
          
          points = self._read_from_sql("SELECT * FROM history;", db_name)
          return list(points.columns.values)[1:]
docs: Retrieve point list from SQL database