Dips > Data Processing > Query Data

# Query Example 1

A query may simply consist of a single Expression , for example TYPE == joint.

TYPE == joint

1. Select Query Data from the toolbar or the Analysis menu.

2. In the Query Data dialog, click in the Data box at the left of the Expression area, and select Type from the drop-down list.

3. Click in the Operand box, and select "joint" from the drop-down list.

4. The Expression area should now display TYPE == joint

5. Select the Expression button in the Create Query area. This will enter the expression TYPE == joint in the Create Query area.

6. Select OK, and the Dips query engine will search your file for all rows matching your selection criteria, in this case the single expression TYPE == joint.

If the query was successful, a new Dips file will be generated, and a new grid view will display the selected data. In this case, for the example.dip file, if you carried out the above steps correctly, you should be viewing a new grid view with 25 rows. Observe that all entries in the TYPE column display "joint", which is what we expected, since this is what we were searching for.