[Uber] User-Information [SQL]

Status
Not open for further replies.
Newbie Spellweaver
Joined
Apr 11, 2011
Messages
24
Reaction score
8
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:

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

Notes:

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 ([email protected]).
 
Last edited:
Oh thanks, uhm could you PM me your msn?

I left it on your profile.

For anyone who is looking through either this thread, or my other thread that I created earlier this morning. If you have any suggestions for queries or stuff that you need, let me know. I am new to the Habbo private server world and stuff, although I am ready to get started on a long stay.
 
Habmoon just to let you know thats not a girl

ontopic: WTF!

So basically you are saying that if a girl can develop better than you that it must be a guy? I understand now why you are spending all your time inside on your computer, because you can't get a girl friend in real life.

It must be hard having pimples all over your face. You are a very sad person. :ehh:
 
So basically you are saying that if a girl can develop better than you that it must be a guy? I understand now why you are spending all your time inside on your computer, because you can't get a girl friend in real life.

It must be hard having pimples all over your face. You are a very sad person. :ehh:


No Because in the Habbo section Girls are known as boys so i wouldnt be suprised your a guy. and Yes you are better then me at SQL but i dont do SQL do i? ^^ im a C# guy and lol i dont even have Pimples and im not sad im actually living the life lol. so dont take it wrong this section has a bad history of its girls:tongue:

and make sure you know the person it be embrassing for you if i was a sql expert. i can do querys but what ever lol.
 
Last edited:
PHP:
UPDATE ragezone_history SET fake_girls = fake_girls + 1
INSERT INTO ragezone_history (name, gender, fake_female) VALUES ('Saia', 'M', '1')

I know sql too l0l0l

Aren't you hilarious. If you knew SQL, you would of realized that those two queries would not work the way that you wrote them. It would be something more like...

Code:
INSERT INTO small_dicks (name, gender, penis_size) VALUES ('Jontycat', 'Male', '3cm');
 
Aren't you hilarious. If you knew SQL, you would of realized that those two queries would not work the way that you wrote them. It would be something more like...

Code:
INSERT INTO small_dicks (name, gender, penis_size) VALUES ('Jontycat', 'Male', '3cm');

Now this is an intellegent battle!

Oh, sorry, I forgot the semi-colon which doesn't really matter when I use navicat. I don't really give a **** about SQL, only use it when I have to.

However you're incorrect in saying my penis is 3cm, sorry :(
 
Now this is an intellegent battle!

Oh, sorry, I forgot the semi-colon which doesn't really matter when I use navicat. I don't really give a **** about SQL, only use it when I have to.

However you're incorrect in saying my penis is 3cm, sorry :(

As you are incorrect thinking I am guy. It is your choice to believe what you want, but it is unfortunate you are getting all upset over something you do not want to believe.

You should not rely on programs to fix up your shitty syntax Jontycat. No one hires lazy coders. Additionally, no one likes a skid who will not take the extra 2 seconds to end a coding line with a semicolon. :?:
 
As you are incorrect thinking I am guy. It is your choice to believe what you want, but it is unfortunate you are getting all upset over something you do not want to believe.

You should not rely on programs to fix up your shitty syntax Jontycat. No one hires lazy coders. Additionally, no one likes a skid who will not take the extra 2 seconds to end a coding line with a semicolon. :?:

Why would I want to be hired by anyone? Sorry, i'm not a lazy coder, infact, I coded an entire badge shop with security checks and a full dynamic system with a points system in an hour flat, just after I woke up.

Navicat has never fixed my SQL for me as I type my SQL all correct. It's not required to end a line with a semicolon unless there is more than one SQL statement (I think, I wouldn't know, don't really care) or if it's in a language like PHP for example:

PHP:
mysql_query("SELECT field1,field2 FROM database");

So yeah. You could probably prove that you're a female by taking a picture with a sign. Also, what's a skid? I'm not familiar with your style of speaking/typing.

To end this - i'm not upset, just going with the flow. We don't generally have _real_ females in here, pmsl.
 
As you are incorrect thinking I am guy. It is your choice to believe what you want, but it is unfortunate you are getting all upset over something you do not want to believe.

You should not rely on programs to fix up your shitty syntax Jontycat. No one hires lazy coders. Additionally, no one likes a skid who will not take the extra 2 seconds to end a coding line with a semicolon. :?:

Hypothetically speaking, with my knowledge of mySQL, you only need semi-colons in coding language-type programs. Do I need to list examples (visual basic, php, etc). Unfortunaetly, phpMyAdmin you need semi-colons as well, so "Saia" or "Steve from Asia" programs like Navicat, etc doesn't necessarily need a semi-colon. Just saying my two-cents since I do know about SQL. It's not really a big deal about SQL anyways.

Keyword: Hypothetically
 
Hypothetically speaking, with my knowledge of mySQL, you only need semi-colons in coding language-type programs. Do I need to list examples (visual basic, php, etc). Unfortunaetly, phpMyAdmin you need semi-colons as well, so "Saia" or "Steve from Asia" programs like Navicat, etc doesn't necessarily need a semi-colon. Just saying my two-cents since I do know about SQL. It's not really a big deal about SQL anyways.

Keyword: Hypothetically

Then based on everything you have just said it is fair to conclude you know nothing about SQL, nor how SQL Server works let alone MySQL, which is a lot simpler than SQL Server (not saying it is simple, just simpler). :?:

Sorry to break your heart, but "Number Twenty Six" is not in the movie "Number Four". You do not have special powers that can make your hands glow. So when you wake up from your little fantasy, let me know.

Keyword: Idiot.
 
Then based on everything you have just said it is fair to conclude you know nothing about SQL, nor how SQL Server works let alone MySQL, which is a lot simpler than SQL Server (not saying it is simple, just simpler). :?:

Sorry to break your heart, but "Number Twenty Six" is not in the movie "Number Four". You do not have special powers that can make your hands glow. So when you wake up from your little fantasy, let me know.

Keyword: Idiot.

If you feel that I'm wrong in anyway, then please correct me, I love the programming discussion, it makes me energetic when people says I am wrong, so how about you download Navicat and do it w/out semi-colons. However, I never spoke on the functions of a SQL Server. Your ability to prove people wrong is highly, highly incorrect. You may think you have all knowledge of MySQL, but realistically you don't. Number 26 and Number 4? You sound like a 5 year old who's just learning numbers, then you're talking about movies and fantasies like..... you for instance dreaming to know a lot about SQL, when you wake up and realize you have only tapped into the BASICS of SQL, then you let me know.

Keyword: He-SHE
 
Status
Not open for further replies.
Back