首页 > 数据库 > Oracle > 复合索引的列顺序判断

select * from userresult_f where askid=800808 and uid=110996854;
mysql> select sum(askid=800808),sum(uid=110996854) from userresult_f\G; *************************** 1. row *************************** sum(askid=800808): 6 sum(uid=110996854): 2 1 row in set (0.00 sec)
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/26515977/viewspace-1208277/ ,如需转载,请注明出处,否则将追究法律责任。