SQL is useful for all whose work is related to data like Data analyst, Data scientist, Data engineer. They should learn one of the query languages of MySQL, MS SQL, or Oracle along with Python or R programming. It is difficult to use spreadsheets for large datasets, Data scientists use relational databases for a large volume of data and handle easily using SQL.
Data scientists’ work starts with retrieving the data from databases. So, they should know how to retrieve, manipulate, alter the data from the database. They can use SQL for preprocessing steps like finding outliers, replacing missing values, making visualizations by integrating with Python.
You can watch this to know more about how SQL is useful for Data science: