I have a big query and I need to add a condition in the query which can duplicate the row which satisfies the condition.
Say I have a table
Order_detai