Mysql query builder
added comments