For community websites like Facebook, myspace, etc.. They have a feature called "Friendship", means you can add friends, send "add friends request", etc..
How to structure it in database? I means, what tables required? What are the columns for each table required?