Sdwis queries now are built into the gdb