ETL Testing | Tricky SQL queries | Second Highest Salary department wise

ETL Testing | Tricky SQL queries | Second Highest Salary department wise

ETL QA Labs

2 года назад

8,570 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

@Harshal_legend
@Harshal_legend - 24.12.2022 16:41

Sir, how can we update the second-highest salary department-wise by 1000? Please answer 🙏 I am trying to solve this query for the week.

Ответить
@rajeshthota2699
@rajeshthota2699 - 29.08.2022 11:16

Thank you Sir 🙏

Ответить
@kartikjuneja7807
@kartikjuneja7807 - 06.07.2022 13:20

Hello Sir,
Can you please make a video on this?

We have Team1 Team2 Winner columns in a table called matches:
Team1 Team2 Winner
Ind Aus Ind
Aus NZ NZ
Nz SA SA
SA ENG ENG
ENG PAK PAK

1) How many matches are played By IND
2) How many matches were played
3) what are the teams where at least matches were played.
4) what are the teams where at least matches were won.

Ответить
@srinivasmg3385
@srinivasmg3385 - 09.06.2022 13:11

select * from(
select salary,deptno,dense_rank() over(partition by deptno order by salary desc)rnk from emp)
where rnk=2;

Ответить
@umeAsh393
@umeAsh393 - 02.06.2022 16:18

Sir if source system is in CSV and Excel file or in different db how can I validate the data iscorrect or not? Before migration and after migration?

Ответить
@jangamlaxmangoud6194
@jangamlaxmangoud6194 - 31.05.2022 19:55

How to calculate percentage of student marks ?

Ответить
@niraj74chavan
@niraj74chavan - 31.05.2022 19:27

Nicely explain.
This can be achieved by dense_rank also

Ответить
@tousifalisarwan5130
@tousifalisarwan5130 - 31.05.2022 18:34

First view

Ответить