Home > database >  Why didn't database tuples constraints and? For big solutions
Why didn't database tuples constraints and? For big solutions

Time:01-13

? (T? T)?

CodePudding user response:

you can't just want male students, and you have to satisfy both the,
On a line of mean - to meet one of the following two conditions: (1) sex as' female '[or] (2) name the beginning not Ms.
The next row mean - at the same time satisfy the following two conditions: (1) sex as' male '[and] (2) name the beginning not Ms.

If, in accordance with the following line to write, that if I want to new gender as female of data

CodePudding user response:

CHECK ((SEX + NAME) NOT LIKE 'male Ms. %')
I guess you may be the meaning, so that sex is'?? 'when can also use' Ms. 'the beginning of the
  • Related