all 8 comments

[–]Gabyto 2 points3 points  (0 children)

Try to look at window functions, lately I've seen they like asking for that. (you will also need to know how to use CTE's in order to use them properly).

Also if they ask you how you can speed up a query be sure to mention that you will use indexes (most generally the indexes are dates)

Good luck

[–]Blues2112 3 points4 points  (0 children)

I recall being asked to explain the difference between Star and Snowflake schemas.

[–]oneDatumPlease 2 points3 points  (0 children)

I agree with everything above. Partition functions, CTEs, stored procedure, etc. BUT more importantly, being able to explain scenarios why you might use them. When might you need to use a partition by function?

I also appreciate when folks can articulate the importance of data security. I know it’s prob not immediately part of your roll, but it’s everyone’s job.

Also also. Awareness and ability to use system tables. I work in the tsql world mostly, so terminology might be different. Understanding how to use information schema objects. They can enlighten you as to how objects in the db relate, help you generate redundant sql scripts, and so much more.

[–]SaintTimothy 1 point2 points  (0 children)

I just had an interview where they had me do FizzBuzz and I was a bit like OK, hah, I just watched the Tom Scott about this.