I am having two tables with same column names(studentName, fee) from the two tables I want to add one row from both the tables i.e., the row having studenName as 'KAY'(shown in the below image) and get the top 4 students who are paying the high fee.
How to write a SQL Query to get my required output as the image shown below.
Thanks.

Puneet KankarRank #446 · 5.6K reputationPosted Jul 25, 2017, 8:25 PM EDT
Pramod ThakurRank #400 · 6.3K reputationPosted Oct 11, 2017, 5:46 AM EDT