Create a definition query for a layer On the Feature Layer tab set, click the Data tab. to open the Layer Properties dialog box with its Definition Query tab open. Click the New definition query button, or click its drop-down menu to create a new query in clause mode, SQL mode, or a query expression file (. exp).