Pergunta de entrevista da empresa Amazon

How to sort data from table whose salary is between 5k to 8k using sql code?