← DatabaseChallenges.com

Coding · Facts & stats

Database facts & stats

7 fact-checked facts about databases, each with the reason behind it. 5 more are in today's round and join this page after it closes.

Play today's round

The basics

In a relational database, data is stored in rows and columns inside what?

AnswerTables

Relational databases organize data in tables, with each row a record and each column a field.

Which SQL command retrieves data from a table?

AnswerSELECT

SELECT reads data, while INSERT adds rows and UPDATE changes existing rows.

Going deeper

Which SQL clause filters rows based on a condition?

AnswerWHERE

WHERE keeps only rows that meet a condition, such as WHERE age > 18.

Which type of join returns only rows that have matching values in both tables?

AnswerINNER JOIN

An inner join returns only rows with a match in both tables; outer joins also keep unmatched rows.

What is the main purpose of a database index?

AnswerTo speed up finding rows

An index works like a book's index, letting the database find rows without scanning the whole table.

Expert level

Who proposed the relational model of data in 1970?

AnswerEdgar F. Codd

IBM researcher Edgar F. Codd described the relational model in a 1970 paper, the basis of SQL databases.

In the ACID properties of database transactions, what does the I stand for?

AnswerIsolation

ACID stands for Atomicity, Consistency, Isolation and Durability.

Know these cold?Today's round is five questions like these, 20 seconds each. Your streak and level follow you to every arena.Play today's round