select sth from db