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

Popular posts from this blog

java - How to specify maven bin in eclipse maven plugin? -

single sign on - Logging into Plone site with credentials passed through HTTP -

php - Why does AJAX not process login form? -