The search command looks through every record in the database and returns records that match the search criteria. It is extremely fast and flexible - you can search through multiple fields and sort the results in just about any way imagineable. The "matched" or "hit" records in the database are displayed in a [FoundItems] loop.
Searching can be very sophisticated, so we have dedicated a complete chapter section to it here.
Example (normally you would link to a URL or form containing the following information):
The database "SomeDatabase.db" is opened, all records whose name field is "Grant" are found, and any [FoundItems]..[/FoundItems] contexts in the template xx.tpl are filled with the list of found records.
Here are some equivalent ways to send the same command: