标签: mysql sql indexing
我的表level和endtime中有两列,我正在选择所需的信息
level
endtime
SELECT *, `level` * UNIX_TIMESTAMP(`endtime`) as `bonusTime` FROM `localhost-testing` WHERE `Active` = 1 LIMIT 10
是否可以为这种类型的选择创建索引?