SQL Assignment – Module 5
SQL Assignment – Module 5 SQL Assignment – Module 5 Questions : 1. Display the names of the highest paid programmers for each Language. 2. Display the details of those who are drawing the same salary. 3. Who are the programmers who joined on the same day? 4. Who are the programmers who have the same Prof2? 5. How many packages were developed by the person who developed the cheapest package, where did he/she study? Answer : ---ARNAB BOSE--- SELECT * FROM PROGRAMMER SELECT * FROM SOFTWARE SELECT * FROM STUDIES ---Q1--- WITH LanguageHighestPaid AS ( SELECT DISTINCT PROF1 AS LANGUAGE, FIRST_VALUE(PNAME) OVER(PARTITION BY PROF1 ORDER BY SALARY DESC) AS HIGHEST_PAID_PROGRAMMER FROM PR...