Complete the code to set a user's name in Redis.
redis.call('SET', 'user:[1]:name', 'Alice')
The key should include the user ID to uniquely identify the user's name.
Complete the code to retrieve the user's email from Redis.
local email = redis.call('GET', 'user:[1]:email')
The key must include the user ID to get the correct email.
Fix the error in the code to increment the user's login count.
redis.call('[1]', 'user:789:login_count')
INCR increases the integer value stored at the key by one, perfect for counting logins.
Fill both blanks to store a user's profile with denormalized data.
redis.call('[1]', 'user:[2]', 'name', 'Bob', 'email', 'bob@example.com')
HMSET sets multiple fields in a hash, and the key includes the user ID 101.
Fill all three blanks to create a denormalized Redis key for fast access.
redis.call('[1]', 'order:[2]:[3]', 'status', 'shipped')
HMSET stores multiple fields, the order ID is 789, and user123 identifies the user for denormalization.
