Opportunity grid query changes

I want to change Opportunity grid query changes.

so from where i can change grid query and modified it as per the requirement.

Do you mean the Opportunity List View? Or maybe the Opportunities subpanel inside some other record?

You can change it in Admin / Studio / Opportunities / Layouts / List view

or Admin / Studio / some other module / Subpanels / Opportunities

If you really need to change more than the columns visible, like make a query WHERE condition, try this example: