Which data type would you choose to store a person’s age?

SQL Fundamentals Easy

SQL Fundamentals — Easy

Which data type would you choose to store a person’s age?

Key points

  • INT is used for storing whole numbers like age
  • VARCHAR is not efficient for storing numerical data
  • DATE is used for dates, not age
  • BOOLEAN is for true/false values, not numerical data

Ready to go further?

Related questions