SELECT ARRAY_TO_STRING(ARRAY( SELECT CHR(num + CASE WHEN num < 26 THEN 65 WHEN num BETWEEN 26 AND 51 THEN 71 ELSE -4 END ) FROM ( SELECT FLOOR(RANDOM() * 62)::INT AS num, generate_series(1, 12) ) AS t ), '')
The question is, what does this
As usual, the answer to this Problem of the Week will be made available a week from today, on Wednesday, August 22, 2012.
The answer to this Problem of the Week can now be found here.
POW Answer – Explain That SQL #1 | Chris West's Blog · August 24, 2012 at 4:39 PM
[…] Post navigation ← Previous […]