Is there any material to learn?
For example:
I have a pet shop:
Let's say that in my HTML I have several select boxes (animal, breed, sex, age, etc.), in it I can
- select the dog or
- select puppy > race or
- select puppy > race > sex or
- select puppy > race > age or
- select puppy > age > sex or
-
etc
and vice versa for multiple options.
How is a query made for each one of them, and will the choices vary greatly?
select * from nomeTabela WHERE animal='cachorro' AND raca='pintcher'