#24 New Companies | HackerRank SQL Solutions #sql #oracle #pivot #hackerrank #coding #programming

preview_player
Показать описание
Please join telegram group for queries...

Please follow us

Thanks for watching us ...
Dev19🖤
Рекомендации по теме
Комментарии
Автор

max kyu lagaya ka answer ye hai ki wo string output deta to max min sum lagaane pe wo group function jese work karega aur output same dega kyuki neeche group function diya tha

vivekpanchbhai
Автор

wHY WE use MAX aggregate funcction in founder from employee e

mdamirhussain
Автор

why did u use max(founder)?? what is the role of max here

sargunsingh
Автор

Nice Explanation, but I want to know why you used MAX function. I know the use of MAX function, but why we used it here, since we only want founder name.

I've also seen other problems where people use any aggregate function even though it is not required just to get the answer. There's definitely some reason behind it.

Can you please explain me that reason Bro !!!

ahmadhamzakhan
Автор

why was max(founder) used? Can you explain?

vaibhavichitnis
Автор

select C. company.
code,
C. Founder,
(select count(distinct lead_manager.
_code)
from Lead_Manager as L where L. Company_code =
C.company_code),
(select count distinct senior_ manager.
_code)
from senior manager as s
where s.company_code = c. company_code),
(select count (distinct Manager-_code)
from manager as M where M. company_ code =
C. company _code),
select count distinct
Employee code
From Employee as E where E. company_code.
C.company_ code
or Company as C order
C. company code ase:

bnavaneethakrishnan