SQLize Online / PHPize Online  /  SQLtest Online

A A A
Share      Blog   Popular
Copy Format Clear
SELECT string_agg(concat(substring('ABCDEFGHIJKLMNOPQRSTUVWXYZ', ceil(random() * 26)::integer, 1), substring('abcdefghijklmnopqrstuvwxyz', ceil(random() * 26)::integer, 1), substring('0123456789', ceil(random() * 10)::integer, 1), substring('!#$%&()*+,-./:;<=>?@[]^', ceil(random() * 23)::integer, 1) ), '' ORDER BY RANDOM() ) FROM generate_series(1,8);

Stuck with a problem? Got Error? Ask ChatGPT!

Copy Clear