SQL INTERVIEW QUESTION #2
users has 10 rows. 3 of them have email = NULL.
SELECT COUNT(*), COUNT(email)
FROM users;
What two numbers come back?
A) 10, 10
B) 10, 7
C) 7, 7
Reply with your answer.
Answer #2: B) 10, 7
COUNT(*) counts rows. COUNT(email) counts only non-NULL emails.
Same trap with AVG(col): NULLs are skipped, not treated as 0. That can quietly change your averages.
Messy spreadsheet? Don't ask AI to clean it. Ask it to write the cleaning script.
Paste 10 sample rows and say:
"Write a pandas script that trims spaces, fixes date formats and removes duplicate rows. Explain each step."
Now it works on 10 rows or 100,000.
PYTHON QUIZ
x = [1, 2, 3]
y = x
y.append(4)
print(x)
What does this print?
A) [1, 2, 3]
B) [1, 2, 3, 4]
C) Error
Answer in the replies. No running it first.
Stop turning meeting notes into action items by hand.
Paste the raw notes into ChatGPT or Claude and add:
"List the decisions, the action items with owner and due date, and the open questions. Use only what is in the notes."
Then check it in 2 minutes. Done.
Why AI gives you generic answers at work:
Weak: "Write an email to my client."
Strong: "Write a 120-word email to a client who missed 2 deadlines. Firm but friendly. Goal: agree a new date this week. Sign as the project lead."
Role. Goal. Tone. Length. Facts.
Starting today: one real SQL interview question every day this week.
The kind analysts actually get asked: joins, NULLs, GROUP BY, window functions.
New question at 9am New York / 2pm London. Answer the next day.
Follow so you don't miss #1.

