Which of the following do you need to consider when you make a table in SQL?

Which of the following do you need to consider when you make a table in SQL?

A).  Data types
B).  Default values
C).  Constraints
D).  All of the above

This Question has 2 answers.

 All of the above

When we create a table in SQL, we are supposed to consider:

  1. Data types: To define what kind of data each column can store (e.g., INT, VARCHAR, DATE).
  2. Default values: To specify a value when no explicit value is provided during insertion.
  3. Constraints: To enforce rules on the data (e.g., PRIMARY KEY, NOT NULL, UNIQUE).

Optio (D)