Тёмный

SAS PROC SQL CRASH COURSE (PART 1): SQL for Beginners 

Learning with Jelly
Подписаться 5 тыс.
Просмотров 746
50% 1

🚀 Welcome to the SAS PROC SQL Crash Course (Part 1): SQL for Beginners! 📊
In this comprehensive tutorial, we dive into the fundamentals of SQL within SAS using PROC SQL. Whether you're new to SQL or just getting started with SAS, this video is your gateway to mastering essential database query skills.
🔍 PART 1 HIGHLIGHTS:
🤔 Understanding SQL: We begin by demystifying what SQL is and its significance in data manipulation.
🔄 SQL vs MySQL: Clarifying the distinctions between SQL and MySQL, ensuring a solid foundation for your database journey.
🛠️ Table Creation: Learn how to create tables using PROC SQL in SAS, laying the groundwork for efficient data management.
📥 Data Insertion: Explore the process of inserting data into tables, a crucial step for building comprehensive databases.
🎯 Select Clause: Uncover the power of the SELECT clause, enabling you to retrieve specific information from your datasets with precision.
👩‍💻 Join us on this educational adventure as we unravel the complexities of SQL in the context of SAS PROC SQL. Whether you're a data enthusiast, analyst, or programmer, this crash course equips you with the skills to harness the full potential of SQL within the SAS environment.
🔗 Dive into the world of SQL and SAS with us - hit play now and embark on your SQL journey! Don't forget to like, share, and subscribe for more tutorials and in-depth guides. Happy coding! 🚀💻📈 #SAS #SQLforBeginners #DataAnalysis #PROCSQL #Tutorial #DataScience
Code:
libname testsql 'YOUR FOLDER PATH';
proc sql;
create table testsql.authors
(AuthorID char(5),
AuthorName char(255),
BirthYear num);
create table testsql.books
(AuthorID char(5),
BookID char(6),
Genre char(25));
create table testsql.sales
(BookID char(6),
Genre char(25),
Sales num);
insert into testsql.authors
values('1001', 'John Doe', 1973)
values('1002', 'Jane Doe', 1969)
values('1003', 'Oliver Doe', 1981)
values('1004', 'Shawna Doe', 1995);
insert into testsql.books
values('1001', '121212', 'Sci-Fi')
values('1001', '131313', 'Fantasy')
values('1002', '212121', 'Non-Fiction')
values('1002', '232323', 'Non-Fiction')
values('1003', '313131', 'Romance')
values('1004', '414141', 'Sci-Fi');
insert into testsql.sales
values('121212', 'Sci-Fi', 200)
values('131313', 'Fantasy', 28)
values('212121', 'Non-Fiction', 32)
values('232323', 'Non-Fiction', 58)
values('313131', 'Romance', 91)
values('414141', 'Sci-Fi', 112);
run;
proc sql;
select AuthorName
from testsql.authors;
run;
Other Videos:
Getting Started with SAS OnDemand for Academics: • Intro to SAS Studio (S...
Libraries in SAS: • SAS Libraries (Libname...

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

 

30 июн 2024

Поделиться:

Ссылка:

Скачать:

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

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 4   
@joannaj.9020
@joannaj.9020 3 месяца назад
As always, Jelly, you are the best teacher ever! Thank you for your great work of preparing a lot of valuable videos! ❤
@learningwithjelly
@learningwithjelly 3 месяца назад
Thank you so much for the kind words :)
@PhillyDog
@PhillyDog 4 месяца назад
Great content
@pamplus4392
@pamplus4392 4 месяца назад
Thanks!
Далее
6 SQL Joins you MUST know! (Animated + Practice)
9:47
Просмотров 111 тыс.
Learn SQL Basics in Just 15 Minutes!
16:57
Просмотров 119 тыс.
Zero to Snowflake in 58 minutes
58:41
Просмотров 99 тыс.
SAS MACROS (Part 1):  SAS for Beginners (Lesson 29)
15:02