This section describes Select, a function that takes query
expressions similar to the standard SQL SELECT statement.
Use the following format for the Select function.
selectoutput_listfromdomain_name[whereexpression] [sort_instructions] [limitlimit]
The output_list can be any of the following:
* (all attributes)
itemName() (the item name only)
count(*)
An explicit list of attributes (attribute1,..., attributeN)
| Name | Description | |||
|---|---|---|---|---|
domain_name
|
The domain to search. | |||
expression
|
The the match expression. This rest of this section provides examples of how to form select expressions. | |||
sort_instructions
|
Sorts the results on a single attribute, in ascending or descending order. For information on sorting results, see Sort. The
|
The expression can be any of the following:
<select expression> intersection <select expression>
NOT <select expression>
(<select expression>)
<select expression> or <select expression>
<select expression> and <select expression>
<simple comparison>
![]() | Note |
|---|---|
For information on how to use quotes with Amazon SimpleDB, see Select Quoting Rules. |