A

Admin • 833.24K Points
Coach

Q. Which among the following is the correct syntax for defining "Constraint Check" in Mysql?

  • (A) gender char(1) check( gender IN ('M', 'F')),
  • (B) $rv
  • (C) gender char (1) check ( gender ),
  • (D) none of the mentioned
  • Correct Answer - Option(A)
  • Views: 40
  • Filed under category MySQL
  • Hashtags:

Explanation by: Admin

This question asks about the way to define a "Constraint Check" in MySQL. A constraint check is like a rule that makes sure the data you put into a table is correct.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.