HF RL Explorer

Task: Create a Random String Suitable for a Session ID in PostgreSQL

Task: Create a Random String Suitable for a Session ID in PostgreSQL: a task in Terminal-Lego-15k (Harbor dataset). Write a PostgreSQL SQL script that generates a random string suitable for use as a session identifier. The solution must correctly use PostgreSQL's random() function in combination…

The task

Write a PostgreSQL SQL script that generates a random string suitable for use as a session identifier. The solution must correctly use PostgreSQL's `random()` function in combination with `md5()` to produce a random hexadecimal string.

Part of PrimeIntellect/Terminal-Lego-15k.