Тёмный

[Hindi] The PADS | HackerRank SQL | SQL Interview Question | concat, left, count, groupby, orderby 

TG117 Hindi
Подписаться 28 тыс.
Просмотров 461
50% 1

[Hindi] SQL Interview Question | concat, left, count, groupby, orderby | The PADS HackerRank SQL
Question :
Generate the following two result sets:
Query an alphabetically ordered list of all names in OCCUPATIONS, immediately followed by the first letter of each profession as a parenthetical (i.e.: enclosed in parentheses). For example: AnActorName(A), ADoctorName(D), AProfessorName(P), and ASingerName(S).
Query the number of ocurrences of each occupation in OCCUPATIONS. Sort the occurrences in ascending order, and output them in the following format:
There are a total of [occupation_count] [occupation]s.
where [occupation_count] is the number of occurrences of an occupation in OCCUPATIONS and [occupation] is the lowercase occupation name. If more than one Occupation has the same [occupation_count], they should be ordered alphabetically.
Note: There will be at least two entries in the table for each type of occupation.

Наука

Опубликовано:

 

29 дек 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 3   
@user-xt6dr9xj9d
@user-xt6dr9xj9d 4 месяца назад
Best explaination video ever i have seen thankyou
@anasahmad7071
@anasahmad7071 3 месяца назад
Brother the way you teach is sooo good keep it up I'm learning a lot from you. 💙
@casualgamer4787
@casualgamer4787 7 месяцев назад
😅
Далее
Разоблачение ушные свечи
00:28
Просмотров 228 тыс.
THE REPORT BASIC JOIN SQL HACKER RANK
5:11
Просмотров 13 тыс.