A relational database stores data in a structured format using tables, with rows representing records and columns representing attributes of those records. These tables can be linked using keys, making relational databases highly efficient for managing and querying data.
- Data stored in key-value pairs (A) is a characteristic of NoSQL databases, such as key-value stores.
- Data stored in a hierarchical structure (C) is characteristic of hierarchical databases, which organize data in a tree-like structure.
- Data stored as a graph (D) refers to graph databases, which represent data as nodes and edges.
Therefore, the correct answer is (B), relational databases use tables to store data.