dry sql string builder code