db ar, querybuilder, sql demo