Nick Holt’s Post

Question 1: How do you select all columns from a table named 'employees'?" Level: Basic. Roles: Data analyst or any junior role. Interviewer's Goal: Verifying that you know the absolute basics of SQL querying. Comment: OK, as SQL questions go, this is the very basics. In a driving test, this is the equivalent of ‘Are you able to get in the car and sit facing the right way?’ If you don’t know this, you do really need to go and study from the very beginning. Any ‘intro to SQL’ on YouTube will do the trick. Answer: SELECT * FROM employees; For additional bonus points, you could mention that using SELECT * isn't best practice in production code. It’s better for maintenance and performance to explicitly list the actual columns needed. The above is the first of 33 common SQL questions you might be asked in a technical interview for a SQL-based role. There are 32 more like these - although to be fair, the rest should be a bit more challenging than this! There's a link in the comments to get your free copy today. #sql #learnsql #sqlbook #freebook #sqlinterview

To view or add a comment, sign in

Explore content categories