然后,可以使用多个组合中的多个WHERE ...AND...AND...etc条件进行查询。例如,a AND b AND e、a AND f AND g或e AND f AND g。因此,要考虑所有组合,您必须创建多个复合索引,但如果a,b,c,d,e,f,g的范围从1,10,因此没有零,该怎么办?是否可以简单地为每个起始变量创建一个复合,比如a,b,c,d,e,f,g和b,a,c,d,e,f,g等。=0 AND f=1 AND g=9
#I think you g
ERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQLERROR 1064 (42000): You have an error in your SQL syntax; check the manual that corresponds to your MySQL