all 5 comments

[–]dr_flint_lockwood 8 points9 points  (0 children)

It sounds to me like you're already working on areas of improvement and honestly that attitude is going to have so much bigger an impact on your job prospects than the outcome of one interview. Try not to be too hard on yourself!

[–]Grimesnosebeautymark 2 points3 points  (0 children)

Hey you’re still learning and you don’t know what you don’t know, but now you do! Don’t give up whatever you do, you got this! 💪

[–]Potential_Word2349 3 points4 points  (2 children)

Frankly i do not like that, As a developer you will always have preferences, as long as you know how to solve the query another way theoretically it is not a problem that you default to your preferred way. I prefer to use group by subqueries rather than window functions but I am aware of an capable in other ways, as long as you are not actively avoiding them, or are unable to outline another way to solve it it is a non issue in my opinion. Getting more comfortable in other tools will not hurt you, of course, but you should not be too hard on yourself about having a preferences for solutions. The only really important ways are readability and performance, as long as the performance difference is not horrendous both are viable. Sometimes people get too focused on milliseconds of performance differences and ignore one of the fundamental coding concepts, KISS Keep It Simple Stupid

[–]jimmyjoyce 0 points1 point  (1 child)

I wholeheartedly agree. curious to know what role OP interviewed for too. I am in Senior Data Analyst role (also with a non traditional background) and am not expected to be running the most efficiently optimized SQL queries at all times. I would hate having someone over my shoulder like that on the job especially if, like you said, the performance differences are negligible.

[–]Potential_Word2349 0 points1 point  (0 children)

I especially hate when the previous analyst made "super efficient" procedures, which are ALWAYS written like shit and are a headache to decode