To select database 0 in Redis, you can use the following command:
SELECT 0
This command selects the database with index 0. By default, Redis has 16 databases numbered from 0 to 15. When you connect to Redis, you will be connected to database 0 by default. You can switch to another database using the SELECT command followed by the database index.