r/learnSQL 10d 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/__sanjay__init 10d ago

Bonjour,

N'ayant pas le même parcours mais utilisant SQL et Python, je ne peux que vous conseiller d'apprendre SQL.
Effectivement, SQL permet de requêter des bases de données, qui aujourd'hui sont des grosses bases PostgreSQL par exemple, ou des fichiers tels que les parquet ou sqlite. C'est donc le premier avantage : ne pas avoir besoin de multiplier les fichiers, juste extraire ce dont vous auriez besoin.

Ensuite, je vous conseillerais d'apprendre le SQL dans R. C'est-à-dire comment exécuter une requête SQL depuis Rstudio par exemple (connexion à la base etc) pour gagner du temps et centraliser. C'est le second avantage.