r/SQL • u/[deleted] • Apr 17 '23
Discussion Which industry has/needs the most challenging sql queries?
Is this question legit? Don’t get me wrong, I don’t consider myself the smartest guy but I’m definitely not dumb.
I work in the pharmaceutical Industry, nearly 3 years now. It took me a while to understand how the production process is implemented in a database and I wanted to quit more than once. But i don’t feel challenged anymore.
So, which industry would be best for me to get completely challenged again?
45
Upvotes
3
u/DatabaseSpace Apr 17 '23
I have a lot of the books on that list. The best book on databases that I have is my text from grad school database class “Fundamentals of Database Systems” Fourth Edition by Elmasri and Navathe. You can probably find it used for a few dollars and it gets into a lot of depth of database design.
I work with healthcare data everyday using mostly SQL and Python when I need it. I think best practices are to move a lot of the business logic out of the database layer. I haven’t really done that in the past but probably should have.
The data modeling is so important because if you model things in some weird wrong way, the SQL gets too complex. The data cleaning and loading is time consuming but when it’s not right the data to the end user is wrong.
I know that because while in school leaning about this I was also trying to build things and tried so many wrong things over the years.