promot the sql query function
add some func
do some chage
Merge branch 'master' of github.com:Camelsky/dwarf