1# Querying the DDM Result Set 2 3### Introduction 4 5This sample shows how to create a query object to query data in a key-value (KV) store and obtain the result set in distributed data management (DDM). 6 7### Usage 8 91. Touch **Add Data** to save the template data to the RDB store. 10 112. Touch **Query the Result Set** to obtain the result set that contains the specified key. 12 133. Touch **Query the Specified Value Entry** to obtain the result set that contains the specified key based on the predicate. 14 154. Touch **And Condition Query** and specify the predicate to obtain the result set in which **FieldNode** is not a specific value. 16 175. Touch **Query Results in Descending Order** to obtain the result set in which **FieldNode** is not a specific value and list the values in descending order. 18 196. Touch **Query Smaller Than Value** to obtain the KV pairs whose **FieldNode** is less than the specified value based on the predicate. 20 21### Constraints 22 23This sample can only be run on standard-system devices. 24