I want to be able to select values from either column, where column a or b is not the value I specify.
Let me explain more.
I have a table, of buddies on a website, like this:
columna | columnb
6774 887
887 2423
3434 887
3434 6774
887 3455
887 33444
343434 2343
Columna tells you who sent the request.
Our user is currently 887, how using MySQL can I find out who he is friends with?
Thanks