Developing Online Score system

I'm interested in adding this feature.

How do I go about connecting to a database? Sending a query to the database to add a score?

I guess I'm interested in knowing how to go about it in unity?

http://wiki.unity3d.com/index.php?title=Server_Side_Highscores

Script/Tut for simple Server Side Highscores. Thats the basic of it.

Peace, Aaron Lewis

That unify wiki link works great; there's also a walkthrough of the process on design3: http://www.design3.com/unity/fundamentals/unity-networking-scripting-i

Check out this one : GitHub - rankpin/rankpin: Free ranking service for Unity mobile game development

top/friends/weekly unity ranking system.