using or in mysql and merging columns
- by Pradyut Bhattacharya
I can select using or with the sql statement
select f.userid, f.friend_userid from friends f where userid = 1 or friend_userid = 1;
now in the output i have to merge the two rows(userid and friend_userid) into one row such that only the rows without 1 are displayed
I m using mysql....
Thanks
Pradyut
India