db: added row sql query method, and the help documention