simplified buidle sql object