SQL Aggregates: COUNT(*) aggregate function

SQL Aggregates: COUNT(*) aggregate function

James Marks

7 лет назад

113,644 Просмотров

Ссылки и html тэги не поддерживаются


Комментарии:

THE 6ERZ
THE 6ERZ - 20.10.2023 17:33

wow thank you!!

Ответить
Mohammed Mubin
Mohammed Mubin - 23.09.2023 23:56

how to fix the error "is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause."?

Ответить
Dari nueva
Dari nueva - 02.07.2023 08:16

would you please help me to solve this on sql????

The columns dir and ctry contain values indicated as '-', and we need to
change these to Not Given while also capitalizing the first letter of each word
in the columns. Using the movies table, write a SELECT statement that meets
the following conditions:
a Show the column show_id;
b Create a CASE statementG
) WHEN the column dir is equal to , THEN output it as Not Given
) ELSE output using the INITCAP() function to the column di&
) Give the resulting column an alias AS director;
c Create another CASE statementG
) WHEN the column ctry is equal to , THEN output it as Not Given
) ELSE output using the INITCAP() function to the column ctr\
) Give the resulting column an alias AS country;
d Order the given result by the column show_id (in ascending order).

Ответить
The Michael
The Michael - 28.03.2023 01:52

Thank You very much, Sir 🤍

Ответить
Priyanka
Priyanka - 09.03.2023 16:13

Man you deserve million subscribers...

Ответить
Soldier8155
Soldier8155 - 18.02.2023 00:15

I needed to find out how to put a title on the aggregate count option and this video showed me how to do that. Thank you!

Ответить
Hsu Myat Htike
Hsu Myat Htike - 13.06.2022 06:16

Thank you so much sir. Greatest explanation.

Ответить
DayNight StickCh
DayNight StickCh - 08.03.2022 22:46

Thanks for making this video had some trouble on this function but i get it now thanks to you!

Ответить
Rocket league shorts
Rocket league shorts - 22.03.2021 20:34

thanks a lot the video was so useful

Ответить
Jeffrey Safo-Darko
Jeffrey Safo-Darko - 20.12.2020 23:24

Great explanation

Ответить
StealthParrot
StealthParrot - 19.11.2020 03:30

Great!

Ответить
pantunfla12
pantunfla12 - 08.11.2020 01:43

THANK U, I REALLY APPRECIATE IT!!! <3

Ответить
clarkeboy12345
clarkeboy12345 - 23.02.2019 07:53

Good stuff

Ответить