php - MySQL query combining tables runs too slowly -
i usinga combined table query same time , have large database query runs when live php, times out.
here query. can tell me problem query?
select id,userid,name,pic,uid,act users u, friends f u.uid=f.friend_one , f.friend_two='17' , f.role='fri' order f.friend_id desc limit 10
i have tried on 2 servers , both far slow.
Comments
Post a Comment