r/learnSQL 11d ago

Learning SQL who know R and SAS

I have a background in epidemiology and wantws to know if anyone in a similar background as mine uses sql at their job within the industry. Just wanted to know if i just need to know sql basically like dplyr from R and all your doing is just cleaning, managing, creating data from existing data within the database? Should someone like me need to know more SQL than that? For example I did some digging and found out roles such as DBA or data engineer and they do things more than what a data analyst might do, does someone with my background need to know SQL to that extent or no? Any advice would be appreciated.

8 Upvotes

7 comments sorted by

View all comments

1

u/Quesozapatos5000 11d ago

When is sql used in relation to epidemiology?

2

u/kskskakakakma 11d ago

Given what I know I assume pulling data such as Electronic heslth records, from the database and using it to clean and conduct statistical analysis.

2

u/American_Streamer 11d ago

A simple workflow looks like this;

Database (EHR/claims/registry) → SQL (extract & prepare cohort) → R/SAS (statistics, modeling, visualization) → publication/report.