Revature interview question

Create an Angular component that includes an input field. When the user enters data into the input field and presses the "Enter" key, the entered data should be displayed below along with a "Remove" button. If the "Remove" button is clicked, the corresponding data should be removed from the display. Show the top 5 employee salaries

Interview Answer

Anonymous

13 Mar 2024

Select * from employee order by salary desc limit 5