> i have a simple query
>
> select u.*,p.* from users u, profiles p
> where u.uname = p.uname
> and u.level != 0
>
> Is there any tricks to make this use an index. If i do level=0 is uses an
> index , but != does not.
MySQL only uses an index if it will return less than approx. 30% of the
record
Hello
i have a simple query
select u.*,p.* from users u, profiles p
where u.uname = p.uname
and u.level != 0
Is there any tricks to make this use an index. If i do level=0 is uses an
index , but != does not.
--
MySQL General Mailing List
For list archives: http://lists.mysql.com