I noticed that sometimes there may be an overwhelming amount of unorganized information in the Uber database regarding the users. I have developed a query to simplify a few things, to display only some of the important user information.
Display All:
Notes:Code:SELECT u.id AS 'User ID', u.ip_last AS 'User IP Address', u.username AS 'Username', u.gender AS 'Sex', r.name AS 'Rank', u.credits AS 'Credits', u.activity_points AS 'Pixels', u.online AS 'Online Status' FROM users u INNER JOIN ranks r ON u.rank = r.id ORDER BY u.id ASC
The reason I did not do "SELECT DISTINCT" is because the id column in the users table is set to be automatically incrementing. If I put DISTINCT it would be kind of redundant seeing as each id is unique.
Credits:
Saia (saia.zurchmora@gmail.com).



![[Uber] User-Information [SQL]](http://ragezone.com/hyper728.png)



