Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SQL

how to select random rows from a table

 Using a SAMPLE clause, we can select random rows.
SELECT * FROM table_name SAMPLE(10);
 
PREVIOUS NEXT
Tagged: #select #random #rows #table
ADD COMMENT
Topic
Name
2+1 =