postgresql - Selecting random rows -


hi all, requirement simple.i want select random rows table.

for example table having 10 rows want select 3 rows randomly.is there way in psql.

use random function.

select * tablename order random() limit 3; 

Comments

Popular posts from this blog

jQuery clickable div with working mailto link inside -

WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl -

java - Getting corefrences with Standard corenlp package -