Skip to main content
PreparationZone Logo
PreparationZone
Back to Fundamentals

Fundamentals · Easy · Free

Explain tables, rows, columns, and schemas with an example.

FresherFundamentalsDatabase Fundamentals
Model answer

Relational model

For Explain tables, rows, columns, and schemas with an example., interviewers listen for a crisp definition, how the pieces interact in a real system, and one trade-off or failure mode you have seen or would guard against.

sql
CREATE TABLE students (
  id INT PRIMARY KEY,
  name VARCHAR(100) NOT NULL,
  dept VARCHAR(50)
);
-- row = one student record; column = attribute
Schema = blueprint; rows are instances.