Creating dfdfdfs SQLQuery