1
I need to create conditions for the attribute nome and idade, which are:
- For the name: Reject
nomescontaining the word%mentiroso%. - For Age: Reject
idades< 1 || > 130.
Follow the creation of my table:
create table exemplo(id int PRIMARY KEY,
nome char(30) not null....,
idade ....,
sexo enum('m', 'M', 'f', 'F'));
You won’t be able to do this only with mysql. I’d like to suggest you do the tour to understand how the community works; then read the How to ask to check how you can improve your question, it is also worth giving a read on How to create a Minimum, Complete and Verifiable example. After that post your full code so the community can help you
– Vinicius.Silva