Return a random sample of 5% of records of a table with Oracle


/ Published in: SQL
Save to your folder(s)



Copy this code and paste it in your HTML
  1. SELECT * FROM si_dm_daily_bal sample(5) ORDER BY dbms_random.value

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.