MCQs > IT & Programming > PostgreSQL > How do you select a single random row from a table?

PostgreSQL MCQs

How do you select a single random row from a table?

Answer

Correct Answer: SELECT * FROM tab ORDER BY random() LIMIT 1;

Explanation:

Note: This Question is unanswered, help us to find answer for this one

PostgreSQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

PostgreSQL Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it