sql - How to select random 100 records in HP Vertica? -


what function used select top 100 random records of table in vertica?

in sybase use like

select top 100 * table_name order rand(rowid(a)) 

it's pretty similar:

select * table_name order random() limit 100  

there's curious thing called a manual; it's full of little gems this.


Comments

Popular posts from this blog

inversion of control - Autofac named registration constructor injection -

verilog - Systemverilog dynamic casting issues -

ios - Change Storyboard View using Seague -