What is a field?
A field in a database is a single column of a table, storing a specific kind of information for every record.
The main points
- Content: a field defines a characteristic of the object, for example, a name, age, date, or price.
- Data type: every field has a data type that restricts what it can hold, text, number, date, boolean, and so on.
- Repetition: the same field appears in every record of the table, keeping the information consistent.
- Example: in the "Employees" table, an
Agefield stores every employee's age, and aNamefield stores their names.
Put simply, a field is a single characteristic of an object, recorded for every entry in the table.
Short Answer
Interview readyPremium
A concise answer to help you respond confidently on this topic during an interview.