Memcached Get Data
# Memcached get command
The Memcached get command retrieves the **value** stored in a **key**. If the key does not exist, it returns an empty result.
### Syntax:
The basic syntax for the get command is as follows:
get key
Multiple keys are separated by spaces, like this:
get key1 key2 key3
Parameter description:
* **key:** The key in the key-value structure, used to look up the cached value.
### Example
In the following example, we use `` as the key, with an expiration time set to 900 seconds.
set 0 900 9 memcached STORED get VALUE 0 9 memcached END
YouTip