You have a 𝑆 𝑡 𝑢 𝑑 𝑒 𝑛 𝑡 𝑠 table with an 𝐴 ≥ column. You need to enforce a rule that the age must be between 18 and 30, inclusive. Which constraint should you use and how?单项选择题

A

A 𝐷 𝐸 𝐹 𝐴 𝑈 𝐿 𝑇 constraint to set the age to 18 if it is not within the range.

B

A 𝐶 𝐻 𝐸 𝐶 𝐾 constraint defined as 𝐴 𝐿 𝑇 𝐸 𝑅 𝑇 𝐴 𝐵 𝐿 𝐸 𝑆 𝑡 𝑢 𝑑 𝑒 𝑛 𝑡 𝑠 𝐴 𝐷 𝐷 𝐶 𝐻 𝐸 𝐶 𝐾 ( 𝐴 ≥ 𝐵 𝐸 𝑇 𝑊 ∃ 𝑁 18 𝐴 𝑁 𝐷 30 ) ;

C

A 𝑁 𝑂 𝑇 𝑁 𝑈 𝐿 𝐿 constraint to prevent null values in the 𝐴 ≥ column.

D

A 𝑈 𝑁 𝐼 𝑄 𝑈 𝐸 constraint to ensure no two students have the same age.

登录即可查看完整答案

我们收录了全球超50000道真实原题与详细解析,现在登录,立即获得答案。

更多留学生实用工具

加入我们,立即解锁 海量真题独家解析,让复习快人一步!