Not really sure but can we have this approach, copy the table to a new table and based on the condition manipulate the table itself with the condition. Then just extract the table when you want. Is this possible?
In this approach I think there is possibility of having NULL or blank columns!!!