Hi Sourabh,
Below are the steps
1. Drag and drop SQL widget
2 Create input parameters (the columns that need to updated or inserted)
3 Write SQL query (Insert/Update) some thing similar to attached image by using the input parameters
4. Add out put parameter (you can return the entity)

Best Regards
Devendra