SQL Select Statement with WHERE, AND, OR

前端 未结 5 706
春和景丽
春和景丽 2021-02-05 19:05

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

5条回答
  •  一个人的身影
    2021-02-05 19:56

    select name, sex, fur,color from dogs where sex ='male' and fur = 'short' and (color ='black' or size ='big');

提交回复
热议问题