ycliper

Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
Скачать

Example 1 on GROUP BY and HAVING in SQL || Lesson 83 || DBMS || Learning Monkey ||

Example 1 on GROUP BY and HAVING in SQL

GROUP BY and HAVING in SQL

group by in sql

having in sql

sql

sql tutorial for beginners

sql interview questions and answers

sql full course

sql full playlist

sql interview questions

sql free full course

sql interview questions and answers for freshers

dbms

dbms questions asked in interview

learning monkey

learning monkey dbms

gate cse

gate dbms

gate dbms previous year questions

Автор: Wisdomers - Computer Science and Engineering

Загружено: 2021-12-29

Просмотров: 551

Описание: Example 1 of GROUP BY and HAVING in SQL

We will try to understand Example 1 of GROUP BY and HAVING in SQL in this class.

GROUP BY and HAVING concepts are already discussed in our previous class.
Example 1 of GROUP BY and HAVING in SQL

Let’s consider the question below.

Question: Write a Query to find the Count of Employees in each project location.

To understand this concept, we should know the cartesian product in SQL.

To get the output for this query, we need two tables, works_on and project table of the company database, as shown below.


After the FROM clause, works_on and project tables are used. So, the cartesian product of both the tables will be made.

On the cartesian product table, we have to apply the condition where p.pnumber = w.pno.

Based on the above condition, we have to use the GROUP BY clause to get the count of the employees on the resultant table.

The query and the output of the query are as shown below.

#learningmonkey #dbms #placements #gatecse #gatedbms #campusplacements



Link for playlists:
   / @wisdomerscse  


Link for our website: https://learningmonkey.in

Follow us on Facebook @   / learningmonkey  

Follow us on Instagram @   / learningmonkey1  

Follow us on Twitter @   / _learningmonkey  

Mail us @ [email protected]

Не удается загрузить Youtube-плеер. Проверьте блокировку Youtube в вашей сети.
Повторяем попытку...
Example 1 on GROUP BY and HAVING in SQL || Lesson 83 || DBMS || Learning Monkey ||

Поделиться в:

Доступные форматы для скачивания:

Скачать видео

  • Информация по загрузке:

Скачать аудио

Похожие видео

© 2025 ycliper. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]