SQL Interview | 'Unique Subjects Taught by Each Teacher' | SQL 50 | Leetcode 2356 | count()

preview_player
Показать описание
Leetcode Easy Problem

Write a solution to calculate the number of unique subjects each teacher teaches in the university.

Return the result table in any order.

I have used the aggregate function to solve the problem

This series will help you in SQL Interviews. All of these questions are present on Leetcode. Please go through the videos. Let me know your feedback and anything specific that you would like to see in the comments section. Please like and share

Рекомендации по теме
Комментарии
Автор

I just finished this qs on leetcode, opened you tube and on my page this video was there ... wt a coincidence.

Keep up the great work

rawat
join shbcf.ru