PROC SQL part -3 Aggregate functions, Group by and other related details

Поділитися
Вставка
  • Опубліковано 19 вер 2024
  • In this presentation I will discuss concept of aggregate functions, group by, remerging summary statistics. I will also discuss where vs having clause and also how to apply group by and aggregate functions on case when statements. For any queries, please contact us at smarttech089@gmail.com

КОМЕНТАРІ • 10

  • @kamerchan
    @kamerchan Рік тому

    Thank you very much for beign a fantastic teacher. Greetings from Colombia

  • @satyasudha2536
    @satyasudha2536 4 роки тому +1

    Sir your classes are really helpful for beginning learner...

  • @princysingla5084
    @princysingla5084 5 років тому +1

    Again very detailed and nice explained cleared allmy dobts :)

  • @ashokreddy4083
    @ashokreddy4083 3 роки тому

    Thank you sir

  • @venuvardhan1997
    @venuvardhan1997 4 роки тому

    Very well explained

  • @gopi4716
    @gopi4716 3 роки тому

    When calculated keyword has to be used?

    • @kiranvenna
      @kiranvenna  3 роки тому +1

      if you are creating new variable and want to use in where clause then you need to use calculated. This is because how SQL is executed behind the scenes is it starts from "from" clause then where clause and then it goes to select. So where clause does not know about new variables in select. So calculated keyword calculated helps here.

    • @gopi4716
      @gopi4716 3 роки тому

      @@kiranvenna thankful

  • @radharanidayyala9519
    @radharanidayyala9519 5 років тому

    For the last example, query can also be written as below:
    proc sql;
    select sex, count(age) from sashelp.class
    group by sex, age
    having age in (11,12,13,14,15);
    quit;

  • @priyadhokriya
    @priyadhokriya 5 років тому

    very well explained