Complete the code to set a string value in Redis.
SET mykey [1]The SET command stores a string value. Here, "Hello" is the string to store.
Complete the code to retrieve the string value stored in Redis.
GET [1]GET command retrieves the value stored at the key. Here, the key is 'mykey'.
Fix the error in the command to append to a string value in Redis.
APPEND [1] " World"
APPEND command adds text to the string stored at the key. The key must be correct, here 'mykey'.
Fill both blanks to increment a numeric string value in Redis.
INCRBY [1] [2]
INCRBY increments the numeric string at the key by the given number. 'counter' is the key, '5' is the increment.
Fill all three blanks to set a string with expiration time in Redis.
SET [1] [2] EX [3]
SET command with EX sets a key with a string value and expiration time in seconds. 'session_id' is the key, '"abc123"' is the string, '300' is the expiration time.