add sql builder
refactor 'struct Result'