MYSQL COMMANDS (PART-7) ORDER BY | GROUP BY | HAVING CLAUSE | CBSE CLASS XII | COMPUTER SCIENCE

Поделиться
HTML-код
  • Опубликовано: 2 ноя 2024

Комментарии • 276

  • @akshyajain1664
    @akshyajain1664 3 года назад +35

    Yup!my doubts are crystal clear 😘

  • @aviralsaxena2650
    @aviralsaxena2650 3 года назад +5

    Thanks a lot ma'am.
    Not a single youtuber explained this with examples but you did and made this crystal clear.
    Huge respect for you.

  • @youknowme3482
    @youknowme3482 3 года назад +7

    Itni confusion thi , all clear , thanksssss

  • @Dr.Anshu-vmmc
    @Dr.Anshu-vmmc 2 года назад +4

    Bhalle bhalle maja aa gaya shaaba shaaba samajh aa gaya ❤️ Thank you ma'am.....ab pata chala ki csc itni aasan hai.. 💫❤️❤️🌟🤗

  • @shreyhere7688
    @shreyhere7688 2 года назад +79

    Ma'am you should teach in physics wallah platform. It'd really be a boon for all the cs students

    • @infinity2449
      @infinity2449 2 года назад +9

      honestly ,i was thinking the same😁

    • @sagarmishra7219
      @sagarmishra7219 2 года назад +5

      I already commented about this in there recent video and found this comment here 😂😂😂

    • @POOJAGUPTA-db8wq
      @POOJAGUPTA-db8wq Год назад +2

      Yes mam

    • @awesomeindians5301
      @awesomeindians5301 Год назад +3

      Yes...and I am a student of lakhshya batch 2023

    • @ajju7778
      @ajju7778 Год назад +2

      I was also thinking the same 😅

  • @adirajv3195
    @adirajv3195 2 года назад +4

    It is the toughest topic for me but u taught it very simply. Thank you❤🌹🙏 very much😊

  • @priyanshukumarsingh6240
    @priyanshukumarsingh6240 Год назад +7

    Thankyou so much mam you don't know how much you have helped us and will help in future

  • @rajveerkaurbhangu5351
    @rajveerkaurbhangu5351 3 года назад +5

    Thnxx 🙏a tonnn mam😊✨✨✨.....for clearing all my doubts.....🤷‍♀️🤷‍♀️

  • @narayansinghtomar3250
    @narayansinghtomar3250 3 года назад +2

    Mam I m pressing like button in every vidio which I had watched because u teachs in very simpe way

  • @islamiceditz5399
    @islamiceditz5399 3 года назад +3

    Thank You very muchh ma'am
    Excellent work and Great 👌 Awsm notes

  • @PushpendraKumarmundotiya
    @PushpendraKumarmundotiya Год назад +8

    Thanks mam aap jesa hona chaiye teacher

  • @motivationalstrategypriyan2877
    @motivationalstrategypriyan2877 2 года назад +2

    My all doubts are Crystal clear....
    Thank you so much ma'am...
    Really ur teaching style is tooooo good......😍🌹

  • @yogeshbaghel6745
    @yogeshbaghel6745 3 года назад +2

    thankyou apke bjhe se cs achhi lgne lgi

  • @junetali8872
    @junetali8872 7 месяцев назад +5

    Thankyou mam😊

  • @mehak5968
    @mehak5968 2 года назад +2

    THANK U SO MUCH MAAM FOR THIS HEARTFULL TEACHING .....ALL THE CONCEPT BECOME CRYSTAL CLEAR AFTER SEEING UR VIDEO ONCE.😍😍😃😃

  • @RaviKumar-ng1fo
    @RaviKumar-ng1fo 3 года назад +2

    Crystal clear ,thanks so much mam 😍😍🥰🥰😇😇😇🤗🤗🤗

  • @SuhailJee-h4x
    @SuhailJee-h4x 3 месяца назад +3

    FINALLY I GOT THE BEST C.S CHANNEL........... VERY VERY HELP FULL ......... THANK YOU SOO MUCH MEM I SAW ALLL 7 PARTS OF SQL...!!!!!!!! IF POSSIBLE CAN YOU MAKE 2024 2025 THIS YEAR NEW VIDIOS,,,,,,,,OR PARITICS QUSTAINS PLEASE MAMMMMMM>>>>>>//// THANK YOU SO MUCH LOVE IT !!!

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 месяца назад

      Thanku so much... 🙂🙏🏻
      Please check out the following link for new videos..
      ruclips.net/p/PL5Raijva2y4Qtq23KCz6VRdPQ4NUtrmuI&si=vBiiP6aVjdkQvk6j

  • @yatinsaini1456
    @yatinsaini1456 3 года назад +1

    superb videos mam i had confusion in group by, having and where command for a long time

  • @RakhiSharma-pw9oz
    @RakhiSharma-pw9oz 3 года назад +2

    Very good video mam keep it up and thank you once again for help

  • @poojajagdale5715
    @poojajagdale5715 Год назад +2

    Thank you so much mam..you explained very well. I have watched many videos but your video cleared me all concepts ❤

  • @srauto6070
    @srauto6070 3 года назад +1

    Mam your teachings are really awesome ...keep on going.Thank You

  • @ayushsharma6401
    @ayushsharma6401 2 года назад +2

    Superbly explained ma'am thank you so much

  • @rehanbatham392
    @rehanbatham392 4 года назад +2

    Very easy and ecxccelent. Explanation

  • @Dazelsea
    @Dazelsea 2 года назад +2

    Best and calm explanation ❤️🙂

  • @aditi_1A.
    @aditi_1A. 2 года назад +2

    Yoo.... crystal clear 🥳🌹🌹

  • @mrwordpress6676
    @mrwordpress6676 3 года назад +1

    Very nice maam keep doing this hard work and concepts are crystall clear 👍👍👍👍👍👍👍

  • @ashwin3475
    @ashwin3475 2 года назад +2

    Thanks so much ma'am....Good teaching ❤️❤️❤️

  • @Cute_solved
    @Cute_solved 4 года назад +2

    Ma'am, you are a great teacher to me, who teaches us in the best way, this is a heartfelt thank you, and I also want to ask if you can send me a PPT of MySQL, its request of one of your students 🙏🙏🙏🙏🙏🙏🙏🙏🙏 , please...

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад

      Thanks for appreciation..
      Sure... You can enjoy special perks by joining the membership.
      Have a look at this.
      ruclips.net/channel/UC2vH9rqGh-fJELF8acGfBdwjoin

    • @Cute_solved
      @Cute_solved 4 года назад

      @@SwatiChawlaofficial MAM PLEASE PROVIDE THIS IS MY EMAIL ID itsmekk914@gmail.com

  • @manojdongre8174
    @manojdongre8174 4 года назад +1

    Wonderful video mam
    Cleared My doubt ❤️

  • @kushal6635
    @kushal6635 2 года назад +2

    Literally maja aagya mam!!! 👍❤

  • @ananyasapahiya9938
    @ananyasapahiya9938 2 года назад +4

    Tysm ma'am ❤️

  • @cheshtabatra1828
    @cheshtabatra1828 3 года назад +2

    Crystal clear mam

  • @Auxin11.11
    @Auxin11.11 3 года назад +2

    Thank you so much mam I was finding one perfect channel for my board exam I got it ... If I get good mark all because of you thank you I will tell on 15 July how much I get .... Thank you love you mam you will get more subscribers soon thank you so much once again ❤️❤️❤️❤️

  • @Teenu
    @Teenu 4 года назад

    mam thanks i watched complete playlist of mysql and finding cs quite easy because of you. very very thanks mam......

  • @pavneshyadav3469
    @pavneshyadav3469 3 года назад +2

    You are great ma'am 😊

  • @neha2763
    @neha2763 4 года назад +4

    Every video lecture is very nicely explained ❤️❤️❤️❤️

  • @amulmast9099
    @amulmast9099 2 года назад +1

    Life saving channel 🙏🙏🥶🥶

  • @abrarahmad3897
    @abrarahmad3897 Год назад +4

    thanks ma'am, i got 100/100 in cs because of you.

  • @debasishdas6049
    @debasishdas6049 Год назад +2

    Thank u mam this is great explanation i ever heard

  • @areeb3663
    @areeb3663 2 года назад +2

    Thank you so much mam! prayers from pakistan!!

  • @wittyvlogs8499
    @wittyvlogs8499 3 года назад +1

    thanks now it feels very easy! thankyou!

  • @sanskariboy2474
    @sanskariboy2474 3 года назад +1

    Very easy and excellent explaination 🙏🙏🙏

  • @shivamsalaria7487
    @shivamsalaria7487 4 года назад +3

    My sql is case insensitive.. So is there will be any problem if i write anything in small or capital letters according to my wish? While doing program

  • @mythsvsfacts9942
    @mythsvsfacts9942 2 года назад +1

    Yes my concepts are crystal clear ❤️

  • @saumyasingh...8441
    @saumyasingh...8441 3 года назад +2

    Nice explanation mam

  • @dallygupta5083
    @dallygupta5083 3 года назад +1

    Thankuu for this perfect vedio ❤️

  • @pankajsidar1947
    @pankajsidar1947 2 года назад +4

    Thanks you mam

  • @asthasrivastava9050
    @asthasrivastava9050 2 года назад +2

    You teach so well❤🙏

  • @riyapathania5081
    @riyapathania5081 2 года назад +2

    Thankyou soo much 😭❣️❣️❣️❣️❣️

  • @kashish629
    @kashish629 3 года назад +1

    Thankyou so much ma'am ☺️☺️🙏.
    Can u teach c++ also ? Just asking . Awesome lectures ...👍

  • @sonali6919
    @sonali6919 3 года назад

    Yes miss it was very much clear but I want explanation of count fn with distinct as it is in sumita arora . Thank you miss for lucid teaching

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад

      Count( distinct attribute)) will count the distinct values in an attribute

  • @TunerXMusic4u
    @TunerXMusic4u 2 года назад +5

    Platinum clear 😃🤠🤠🤠😃

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 года назад +1

      That's Great .
      Thanku..
      Keep Watching

    • @TunerXMusic4u
      @TunerXMusic4u 2 года назад

      @@SwatiChawlaofficial yes of course

    • @eddy18457
      @eddy18457 2 года назад

      @@SwatiChawlaofficial great series ma'am
      thank you

  • @aimanquadri1043
    @aimanquadri1043 2 года назад +1

    Thank you so much ma'am😇

  • @Aves7
    @Aves7 3 года назад +3

    Thanks mam

  • @kvd974
    @kvd974 Год назад +2

    Thanks mam , it was very informative

  • @VardhanMittal
    @VardhanMittal 4 года назад +2

    Mam in order by clause null values always come in first in ascending or descending order

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  4 года назад +2

      in ascending order NULL will be at top...
      in descending order, NULL values will be at bottom...(for the column in which u r applying order by)

  • @innovative2966
    @innovative2966 4 года назад +1

    Nice video thanks Ma'am

  • @nikitajoel1146
    @nikitajoel1146 2 года назад +1

    Thank you sm💜 I wish you were my teacher 😭

  • @MohitSingh-qr5fl
    @MohitSingh-qr5fl 3 года назад +1

    Goodevening mam
    Select count (empno)From empl1
    Group by deptno ;
    Mam what will be the and of this statement ..here empno,deptno is column name ....

    • @MohitSingh-qr5fl
      @MohitSingh-qr5fl 3 года назад +1

      Mam i have many que to ask but don't know how it will be possible 😭😭

  • @nadinerembuellamsoru771
    @nadinerembuellamsoru771 2 года назад +6

    thug life to those who see this viedo during the exam day morning

    • @kartavya5085
      @kartavya5085 2 года назад +2

      💪💪 #pass hona hai aaj

  • @hanadulsethuh2253
    @hanadulsethuh2253 2 года назад +2

    I have a doubt
    Can we write
    SELECT COUNT ( debt) from emp GROUP BY dept
    Like this?

    • @gauravtomar6695
      @gauravtomar6695 2 года назад +1

      yes, you can write it like that if there is no null value in dept. If there is a NULL value then the count of NULL will be shown as 0 even if there are many NULL values in debt. So count(*) is better to use in any case.

  • @swetasharma-g9m
    @swetasharma-g9m 11 месяцев назад +5

    hloo maam, firstly i would like to say thank uhh so so much for teaching us such in incredible way......maam i hv prblm in making programming wht should i do ??????bta dijiye plzz maam......

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  11 месяцев назад

      ruclips.net/video/B8Mv3XOgJyU/видео.htmlsi=eUDhSVNMHKNC4-kV

  • @krishnapriyad9689
    @krishnapriyad9689 4 года назад +1

    Well explained mam 👌

  • @sweetpanda4370
    @sweetpanda4370 7 месяцев назад +3

    *doubt here!*
    Hi mam
    Suppose we want to count how many males and females have taken arts. So i wrote the query
    Select gender, count(*) from xii
    Group by gender
    Having stream='arts';
    Where xii is table name
    It shows error "unknown column stream in having clause
    Why..
    Select

    • @yogeshpandey1837
      @yogeshpandey1837 7 месяцев назад

      Brother you cannot use = in this command it is not correct. Rather you must use like operator. So the code will be like
      Having stream like (arts).

    • @2K_GAMINGX
      @2K_GAMINGX 7 месяцев назад

      @@yogeshpandey1837 YE BHI GALAT H NHI KRRHA KAAM

    • @2K_GAMINGX
      @2K_GAMINGX 7 месяцев назад +1

      GROUP BY GENDER,STREAM HAVING STREAM = 'ARTS';
      THIS IS THE RIGHT QUERY. THANKYOU KE SATH PUPPI JRUR DENA

    • @Handle1947
      @Handle1947 5 месяцев назад

      @@2K_GAMINGX umma le bhai puppi

  • @mangoking4310
    @mangoking4310 3 года назад +1

    Nice explanation

  • @islamiceditz5399
    @islamiceditz5399 3 года назад +3

    Crystal clear 😊

  • @shubhangam2119
    @shubhangam2119 2 года назад +2

    tnx tommorow is my exam

  • @adityaranjan9662
    @adityaranjan9662 2 года назад +1

    Amazing session....

  • @Ravi-zi2ti
    @Ravi-zi2ti 3 года назад +1

    best.....

  • @AdarshKumar-hi6vu
    @AdarshKumar-hi6vu 2 года назад +1

    Ma'am If we apply these command(order wise, group wise)
    Will it affect the original table.

  • @yashyashkumar6506
    @yashyashkumar6506 7 месяцев назад +3

    I subscribed you channel mam I want to see your 1 lakh subscribers soon😊

  • @harshikasharma6580
    @harshikasharma6580 2 года назад

    mam can you please tell the difference between group by and distinct

  • @rohitnegi6990
    @rohitnegi6990 2 года назад +2

    done!!

  • @travelersokk6510
    @travelersokk6510 2 года назад +2

    Mam can we use where condition in group by query

  • @kingjoel402
    @kingjoel402 2 года назад +1

    Thanks ma'am!!

  • @navneetkaur4140
    @navneetkaur4140 2 года назад +2

    Thankyou mam

  • @ProGamer-fk2tc
    @ProGamer-fk2tc 9 месяцев назад +2

    ma,m I have a doubt... the answer to an order by command was- Select COMPANY, PNAME from PRODUCTS order by COMPANY;
    so my question is mam why do we have to write order by company and why r we not writing PNAME with it?? Also, it was not mentioned in the question either

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  9 месяцев назад +1

      After order by...you have to write the name of the column, which you want to sort

    • @ProGamer-fk2tc
      @ProGamer-fk2tc 9 месяцев назад

      @@SwatiChawlaofficial ty mam

  • @nayanv80
    @nayanv80 2 года назад

    Please write the syntax
    How to map the count of students having backlogs at a particular age

  • @siddharthrajput1295
    @siddharthrajput1295 3 года назад +2

    👏👏👏👏👏👏👍👍👍

  • @somilbansal516
    @somilbansal516 4 года назад +1

    understood

  • @VardhanMittal
    @VardhanMittal 4 года назад +1

    Mam thank you so much

  • @ezhilmathia3790
    @ezhilmathia3790 3 года назад +1

    👌👌👌👌👌👌

  • @adityasarswat3891
    @adityasarswat3891 2 года назад +1

    Thankyou mam for your help!!

  • @Thakur_Roshan
    @Thakur_Roshan 3 года назад +1

    Thanks ma'am

  • @shivamsalaria7487
    @shivamsalaria7487 4 года назад +1

    Mam is it necessary to write "order by, group by" in capital letters?

  • @sonysony-fn5ci
    @sonysony-fn5ci 2 года назад

    HOW WE cn know total amount to pay monthly salaries of all emps in that department as sal is more than 9000

  • @vinit173
    @vinit173 3 года назад +1

    Thanks...

  • @harshitgupta7073
    @harshitgupta7073 2 года назад

    Group by me
    department me jitne log hai sbka name chahiye
    Kse krenge mam ?
    Ex . IT | 2 | Sonya , Rahul

  • @arpitakumari7250
    @arpitakumari7250 3 года назад +1

    Can i ask you a question of exam

  • @jayprakashprasad8541
    @jayprakashprasad8541 Год назад +1

    Thanks a lot

  • @justforfun-vh9ek
    @justforfun-vh9ek 2 года назад +2

    TQ mam it clears all my doubts

  • @raiant4297
    @raiant4297 3 года назад

    If we want the output to be in order, group wise & having condition also.. How will order by, group by &having clause be written in this type of case ?
    Can we use all of them simultaneously ?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад +3

      select stream,count(*) from student1 group by stream having count(*)>=4 order by stream desc;

    • @raiant4297
      @raiant4297 3 года назад

      @@SwatiChawlaofficial Thanks mam 🤓, now no doubts left.. All clear

  • @simplesadharan6112
    @simplesadharan6112 2 года назад +3

    Maf is this all according to term2🙄🙄🙄🙄

  • @AmitDas-nw6ux
    @AmitDas-nw6ux 4 года назад +1

    Mam aap kon si kv ki ho

  • @manvirsingh1245
    @manvirsingh1245 3 года назад

    Mam what is the difference if we use count(*) and count() ???

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  3 года назад

      Explained in this video..
      ruclips.net/video/aHi1duh2dTk/видео.html

  • @snehalshahi
    @snehalshahi Год назад

    Hello mam, I have a doubt while performing orderby on more than one column for ex: select * from emp order by stream asc, ename desc; then what will the result be?

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  Год назад +1

      First it will sort the stream in ascending order, then within each particular stream enmae will sorted in descending order...
      I have explained this in one of my videos as well 🙂

    • @snehalshahi
      @snehalshahi Год назад +1

      @@SwatiChawlaofficial alright mam thank you, I had a doubt in this topic hence referred to this particular video. Thank you for clearing the doubt 😊

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  Год назад

      Welcome

  • @ashwin3475
    @ashwin3475 2 года назад +2

    🎈❤️

  • @anshulrajput7286
    @anshulrajput7286 3 года назад +1

    Mam thanku

  • @rahulsivapuram505
    @rahulsivapuram505 2 года назад +1

    👍

  • @anshikagrover2322
    @anshikagrover2322 2 года назад

    Mam if in grop by we have to use any other name in the output instead of count(*) then what will be the query ??

    • @SwatiChawlaofficial
      @SwatiChawlaofficial  2 года назад +1

      Check out the explanation of scalar expression..

    • @anshikagrover2322
      @anshikagrover2322 2 года назад

      @@SwatiChawlaofficial mam can we also
      use aliasing command for this ??

    • @sagarmishra7219
      @sagarmishra7219 2 года назад +2

      @@anshikagrover2322 e.g select sname, count(*) as "count" from student group by sname