MySQL #33: GROUP BY & ORDER BY in SQL in Hindi

preview_player
Показать описание
Welcome, GROUP BY & ORDER BY in SQL in Hindi.

The SQL GROUP BY Statement in Hindi
The GROUP BY statement group rows that have the same values into summary rows, like "find the number of customers in each country".

The GROUP BY statement is often used with aggregate functions (COUNT, MAX, MIN, SUM, AVG) to group the result-set by one or more columns.

GROUP BY Syntax
SELECT column_name(s)
FROM table_name
WHERE condition
GROUP BY column_name(s)
ORDER BY column_name(s);

The SQL ORDER BY Keyword
The ORDER BY keyword is used to sort the result-set in ascending or descending order.

The ORDER BY keyword sorts the records in ascending order by default. To sort the records in descending order, use the DESC keyword.

ORDER BY Syntax
SELECT column1, column2, ...
FROM table_name
ORDER BY column1, column2, ... ASC|DESC;

Must Watch Videos For Web Development.

Believe me, all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)

Plz Subscribe with all your friends :) Thank You.

click on the link below to watch web developer courses videos

Tools I used to record videos

Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.

Don't Forget to Follow me on all Social Network,

Рекомендации по теме
Комментарии
Автор


Must Watch Videos For Web Development.















Believe me, all this money will be used to make more quality videos and to make my channel grow. So that I can always provide you awesome free videos :)

Plz Subscribe with all your friends :) Thank You.

click on the link below to watch web developer courses videos


Tools I used to record videos

Guys, Please support my channel by SUBSCRIBE to my channel and share my videos in your Social Network TimeLines.

Don't Forget to Follow me on all Social Network,

ThapaTechnical
Автор

Thanks. These are very useful for sorting data.

HostDotPromo
Автор

Bahot sahi....im a university toper ..from cg.

anmolsinghthakur
Автор

Padso boards h ip ka....so this was really helpful! Thankyou sir 🙏🏻

MostRandomShortsEver
Автор

Msg 8120, Level 16, State 1, Line 3
Column 'Students.fname' is invalid in the select list because it is not contained in either an aggregate function or the GROUP BY clause.

humairwasi
Автор

Bhai bahut badhiya explain Kiya bhai thank you

bhaveshkorde
Автор

Sir ye group by without aggregate function khbi use hota hai???

lubnakhan
Автор

Nyc explained that why I have subscribed this 🔥

ujjalsingh
Автор

Sir only full group by error aa rahi hai koi aur alternate hai group by karne ka

mohit
Автор

for me in mysql it is showing error 1055 and saying contains non aggerate columns.

shubhamgupta
Автор

Bai ek help kr do plz yeh video bana do ki DATE ko database mee kese insert krwana ha

jjrpunjabimusic
Автор

Mysil Group Limited k bare mai bhi ek video banaiye na pleass

thapabirahi