Random number generation on PostgreSQL

SELECT round(CAST (random()*10 AS numeric),2) AS rand_no;

Comments

Popular posts from this blog

Database, schema, and table sizes in Greenplum

Greenplum update with multiple tables

Show running queries on Postgresql/Greenplum