A relation in a relational database is also known as:

2025

A relation in a relational database is also known as:

  1. A.

    A data type

  2. B.

    An attribute

  3. C.

    A schema

  4. D.

    A table

Attempted by 2584 students.

Show answer & explanation

Correct answer: D

In a relational database, a relation refers to a structured set of data organized in rows and columns. This structure is commonly represented as a table. Let's analyze each option: Option A: A data type defines the kind of data that can be stored, such as integer, string, or date. It is not the same as a relation, which is a collection of data. Option B: An attribute refers to a column in a table, representing a specific property of an entity. It is a component of a relation, not the relation itself. Option C: A schema defines the overall structure of the database, including tables, relationships, and constraints. It is a blueprint, not the actual data. Option D: A relation in a relational database is a set of tuples (rows) with attributes (columns), which is visually and logically represented as a table. This is the correct term used in practice.

Explore the full course: Bpsc