|
|||||||||||
|
can I optimize this query?
From: Patrick Aljord <patcito(at)gmail.com>
Date: Mon Jun 25 2007 - 12:22:02 EDT
friend_id and befriender_id represent profiles ids. I want to find all the profiles that are neither friends neither befrienders with a given profile. this is the query I use with profile id=1:
select * from profiles
is there a better, faster way to do so? thanx in advance Pat -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe: http://lists.mysql.com/mysql?unsub=lists@pantek.comReceived on Mon Jun 25 12:31:13 2007 This archive was generated by hypermail 2.1.8 : Mon Jun 25 2007 - 12:40:03 EDT |
||||||||||
|
|||||||||||