PROC SQL - 1 | PROC SQL in SAS | Introduction to PROC SQL Step-by-Step | Basic Syntax of PROC SQL

Поділитися
Вставка
  • Опубліковано 1 жов 2024

КОМЕНТАРІ • 12

  • @davidelliott1352
    @davidelliott1352 3 місяці тому +1

    Thank you

  • @aya_d_i370
    @aya_d_i370 3 роки тому +2

    Sir very nice explained.. thankyou sir..

  • @aanchalsrivastava8550
    @aanchalsrivastava8550 11 місяців тому

    Can you tell one example to convert proc sql to datastep I.e one scenario which you can tell one in proc sql same scenario in datastep

    • @learnerea
      @learnerea  11 місяців тому

      okay, here is the simplest one. Consider the Cars dataset (you can find that in the sashelp library) which has 15 columns using this, you want to create another dataset which has only - Type, Model, Origin and MSRP. The data you want keep is only for "Europe" -
      SOLUTION WITH PROC SQL:-
      proc sql;
      create table cars_subset as
      select type
      ,model
      ,origin
      ,msrp
      from sashelp.cars
      where origin = "Europe";
      quit;
      SOLUTION WITH DATA STEPS:-
      data cars_subset(keep=type model origin msrp);
      set sashelp.cars;
      where origin = "Europe";
      run;
      hope this helps

    • @aanchalsrivastava8550
      @aanchalsrivastava8550 11 місяців тому

      Can u do this example in proc sql and same in datastep write a code yo find out the students who never went to Delhi you can consider any city

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

    explain SDTM domains.

  • @vidyapedii5854
    @vidyapedii5854 2 роки тому +1

    Wow super

    • @learnerea
      @learnerea  2 роки тому

      I'm glad you liked it 🙏🏻

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

    Fantastic !