code: def his_from_sql(self, db_name, point):
          
          his = self._read_from_sql('select * from "%s"' % "history", db_name)
          his.index = his["index"].apply(Timestamp)
          return his.set_index("index")[point]
docs: Retrive point histories from SQL database