I would like to perform a SELECT query with MySQL. My goal is to select all the dogs in a vet database that would be sex=male and fur=short
SELECT
sex=male
fur=short
The way you use parentheses in the description of your goal is correct. The syntax is:
SELECT name, sex, fur, color FROM dogs WHERE sex="male" AND fur="short" AND (color="black" OR size="big");