adspace
Answer Posted / Anoo Sonker
To select random rows from a table, use the RAND() function in combination with the ORDER BY clause. For example: SELECT * FROM tablename ORDER BY RAND() LIMIT number_of_rows.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Is inner join faster than left join?
What is your daily office routine?
How do I remove duplicates in two columns?
what is schema? : Sql dba
If a cursor is open, how can we find in a pl/sql block?
what is bcp? When does it used? : Sql dba
what are the advantages of sql ? : Sql dba
define sql insert statement ? : Sql dba
what is collation? : Sql dba
what is dbms? : Sql dba
Is primary key clustered index?
Can we rollback truncate?
what are all the common sql function? : Sql dba
how to escape special characters in sql statements? : Sql dba
how to use regular expression in pattern match conditions? : Sql dba