Complete the code to remove a field named 'age' from the hash 'user:1000'.
HDEL user:1000 [1]
The HDEL command removes the specified field from the hash. Here, 'age' is the field to remove.
Complete the code to remove the field 'email' from the hash 'contact:1234'.
HDEL [1] emailThe HDEL command requires the hash key first, then the field name. Here, 'contact:1234' is the hash key.
Fix the error in the command to remove the field 'phone' from the hash 'client:789'.
HDEL client:789 [1]
The field name must exactly match the one stored in the hash. Here, the correct field is 'phone' in lowercase.
Fill both blanks to remove the field 'status' from the hash 'order:555'.
HDEL [1] [2]
The first blank is the hash key 'order:555', and the second blank is the field name 'status' to remove.
Fill both blanks to remove the field 'email' from the hash 'profile:2023' and confirm the command.
HDEL [1] [2]
The command syntax is HDEL key field [field ..]. Here, only one field 'email' is removed, so the third blank is empty (no extra field).