Skip to content
Sharp

Data Access · interview question

Which naming or modeling choice is strongest for basic sqlite queries?

Multiple choiceMediumchapter-11-curatedpremiumdata-accessbasic-sqlite-queries
python
import sqlite3

connection = sqlite3.connect("orders.db")
rows = connection.execute("SELECT id, subtotal_cents FROM orders").fetchall()
Choose one answer
Answer and explanation

Correct answer

D. Use names and structures that describe the business fact directly instead of temporary implementation noise.

Why

Clear naming and modeling shorten debugging, review, and onboarding time.

Test yourself on Data Access

A free test with instant, explained results. No account needed.

Start free test
All Data Access questions →