SELECT 'card' AS component; WITH random_choice AS ( SELECT RANDOM() % 2 AS coin_flip ) SELECT CASE WHEN coin_flip = 0 THEN 'Heads' ELSE 'Tails' END AS title, CASE WHEN coin_flip = 0 THEN 'You win this toss :)' ELSE 'You lose this toss :(' END AS description, CASE WHEN coin_flip = 0 THEN 'https://re-bol.com/heads.jpg' ELSE 'https://re-bol.com/tails.jpg' END AS top_image FROM random_choice;