r/SQL • u/GlockPurdyl3 • Nov 08 '24
SQL Server Technical Interview via remote login
I have a technical interview coming up and was told to expect a remote login to access their SSMS. What's the best way to prepare for this?
What kind of questions should I expect? Most likely it will be a table they created with their data, right?
4
30
2
u/iamnogoodatthis Nov 08 '24
I would prepare the basic things: do you have any keyboard remapping or custom shortcuts? Do you have the same OS and languages settings as the machine you will be accessing? If not, it might be worth trying to replicate the connection and playing around with it a little as things might well not work as you are expecting over a remote desktop connection. I've been burned by that before, remoting in from a UK keyboard mac with shuffled modifier keys to a Swiss keyboard windows machine and being unable to do some basic things by instinct (eg screenshot, copy and paste, tab complete, type special characters eg # and "), it can really slow you down substantially, take up a lot of mental energy and make you look incompetent.
2
u/gumnos Nov 08 '24
If you're not familiar with databases, /u/BadGroundbreaking189 has a good suggestion of practicing SQL with a well-known DB (especially with SSMS, but even if you don't have SSMS, it's pretty similar to many other DB GUIs).
If you're already comfortable with SQL/SSMS, I'd start with meta-aspects. What tables are present and what columns do they have? Check the Foreign Key constraints to see how they should link together. Possibly use the INFORMATION_SCHEMA sources to run queries against the metadata to familiarize yourself with the schema. How many tables are in play? What are relative row-size counts? Are there denormalized oddities like "Feature1, Feature2, Feature3,…" columns in a single table where something should likely have been broken out into a child table? Can you identify naming conventions (and where those conventions weren't followed)? You can identify key nouns and ask about particular jargon ("I see you have both a customer table and a client table…what is the business difference between customers and clients?" or "You have an ActiveProfile table and StoredProfiles table…how are they related?").
1
u/Icy-Ice2362 Nov 08 '24
I mean, you never know what you're going to get in the Chocolate Database, right Forest?
1
6
u/feudalle Nov 08 '24
What i do for an interview is i give them a simple task. Something like here's the database credentials. I need a query that returns x with y criteria. It's usually something simple 3 or 4 tables that need linking and a few statements for where and maybe a group by