Ranter
Join devRant
Do all the things like
++ or -- rants, post your own rants, comment on others' rants and build your customized dev avatar
Sign Up
Pipeless API
From the creators of devRant, Pipeless lets you power real-time personalized recommendations and activity feeds using a simple API
Learn More
Comments
-
Lensflare2126722dMaybe 3 but I fucking hate it and I will avoid having to deal with it at all costs. -
CaptainRant468722d@Lensflare And so, you could perhaps quickly understand a huge SQL query that doesn't even fit on a 4K res? I've seen such a query from a client. It was.. maddening to me. Multiple-table joins with tens of columns and dialect-specific syntax... and no formatting (but yeah, you can fix that one), or if they are a 'fun' client, they will ask you not to use any other client than their proprietary (crappy) one. lmao
As a level 1a, it would take me at least half a day to understand such a query. I admire those who can just glance at it and get it.
And yeah, I may understand your dislike for it. -
CaptainRant468722d@Lensflare This is what such a query would look like, by the way (I generated it with GenAI):
https://pastebin.com/SuzG7A7C
These would be the daily struggle us devs would have to deal with. I'd see colleagues of mine struggle three entire days on 1/10th of a query like that. I struggled as well. lol. That's what you get with the consulting scam, putting devs in positions they're not prepared for at all. -
Lensflare2126722d@CaptainRant imo, to be able to understand quickly what you described, you need to be legendary.
It‘s actually more like a wholly different skill altogether.
Proficiency in a language doesn’t mean ability to insta grasp convoluted crap that others wrote. -
CaptainRant468722d@Lensflare Yeah.. and then you have to go ask them, which isn't fun when they're densely conceited assholes... -
donkulator53822dI tend to start from the principle that if anything remotely complicated needs to be done, then it shouldn't be done in SQL unless there's a damn good reason.
So in terms of how flashy and advanced my DB stuff is, I probably score about 2.
But in terms of how rarely my databases shit the bed, I'm closer to 4. -
CaptainRant468722d@jestdotty @jestdotty lol. You're blazing fast.
It becomes difficult when you have to incrementally keep all that logic in your head. It becomes a bit easier when you treat it in chunks, but still.. If some senior dev decided to write it in their own way, you will spit out a lot of wtfs.
Ah yeah, configs - interesting to think about. Perhaps changing to utf8_collate or something? lol. The way I did it was setting indexes for my queries.
Yes, big queries are a matter of time, and it becomes frustrating when your manager is breathing down your neck they want a result by end of day because their responsible ass sold that to the client.
Designing data is indeed quite a skill on its own and I think it requires deep fundamentals and awareness, which is something I want to further develop. -
BordedDev301222d10 (You read it wrong ;P)
But that sql doesn't scare, now put it all in one line with (inner selects), that's a different story -
whimsical130421dCan't choose. I did everything like stored procedures, functions, extended it using C and stuff, but I don't know everything out my head anymore how to do certain stuff. Hmm.. I do prefer sql above or. Orms limit so hard and forces you to take less optimal queries what is in someway unacceptable.
-
BordedDev301221d@whimsical This is very true, it's just like C/C++ for some dumb reason people are scared of the languages -
AlgoRythm5019721dWork with it every day. Depends on the DBMS, but generally a 3a. Work with 300-400 line queries regularly.
Related Rants

I hope they know what they're doing!
So apparently this is an official company in the UK
Rate your SQL skillz:
1: beginner
1a between 1 and 2
2: intermediate
2a between 2 and 3
3: advanced
3a between 3 and 4
4: expert
4a between 4 and 5
5: legendary
I'll start: 1a
question
sql
skills
level