PwC interview question

how to retrieve first five rows from database.

Interview Answers

Anonymous

19 Jun 2017

select top 5* from table;

Anonymous

4 Aug 2020

SELECT *FROM table_name ORDER BY column_name_id LIMIT 5;