43. Department Top Three Salaries | SQL Interview Questions and Answers

Поделиться
HTML-код
  • Опубликовано: 3 дек 2024

Комментарии • 9

  • @nayabmalik6064
    @nayabmalik6064 5 месяцев назад +1

    very easy and helpful explanation thank you

  • @HuyNguyenQuang-ow9wj
    @HuyNguyenQuang-ow9wj 5 месяцев назад +1

    Best answer # Write your MySQL query statement below
    WITH t1 AS (
    SELECT
    d.name Department, e.name Employee, salary,
    DENSE_RANK() OVER(PARTITION BY d.name ORDER BY salary DESC) rank_salary
    FROM Employee e
    JOIN Department d
    ON e.departmentId =d.id)
    SELECT Department, Employee, salary
    FROM t1
    WHERE rank_salary

  • @iam_kazmi
    @iam_kazmi 7 месяцев назад

    Eid Mubarak Mam 🎉

  • @YourAashique
    @YourAashique 7 месяцев назад

    Eid Al Fitr 1445 H Mubarak 🌙🤍

  • @Sonurajputshorts
    @Sonurajputshorts 7 месяцев назад

    Jai shree Ram