Hey, your videos are super helpful. Do you have any study material that I can refer for all the concepts?
@shivambansal3560 Жыл бұрын
was Order by required in the query'
@kavyabanka4482 Жыл бұрын
Yes here how query ordered by team id
@ManasNandMohan10 ай бұрын
@@kavyabanka4482 No, it should be like this SELECT employee_id, COUNT(employee_id) OVER(PARTITION BY team_id ) AS team_size FROM Employee ORDER BY employee_id
@jasimuddinmondal2007 Жыл бұрын
is the code is correct for this question select employee_id,count(team_id) as team_size from employee group team_size;
@mickyman753Ай бұрын
you can't use employee_id in select since only group by columns and non group by col in agregate function can be used in select when using group by/parititionby