Jump to content

Recommended Posts

  • 4 weeks later...
Posted

Show me the sql and ill solve it, i dont have VIP status. PS one possibility is that it needs space between  c LEFT and as a ON

 

Here is the correct:

 

PreparedStatement statement = con.prepareStatement("" +

+                     "SELECT" +

+                     "   c.charId," +

+                     "   c.char_name" +

+                     " FROM" +

+                     "   characters AS c" +

+                     " LEFT JOIN" +

+                     "   accounts AS a" +

+                     " ON" +

+                     "   c.account_name = a.login" +

+                     " WHERE" +

+                     "   c.online > 0" +

+                     " GROUP BY" +

+                     "   a.lastIP" +

+                     " ORDER BY" +

+                     "   c.level" +

+                     " DESC");

 

PS: Whoever did this share bravos for using JOIN on tables. But he is a tard for making a useless vote shit. Servers should focus on becoming BETTER rather than trying to trick vote sites with silly reward scripts.

Posted

Show me the sql and ill solve it, i dont have VIP status. PS one possibility is that it needs space between  c LEFT and as a ON

 

Here is the correct:

 

PreparedStatement statement = con.prepareStatement("" +

+                     "SELECT" +

+                     "   c.charId," +

+                     "   c.char_name" +

+                     " FROM" +

+                     "   characters AS c" +

+                     " LEFT JOIN" +

+                     "   accounts AS a" +

+                     " ON" +

+                     "   c.account_name = a.login" +

+                     " WHERE" +

+                     "   c.online > 0" +

+                     " GROUP BY" +

+                     "   a.lastIP" +

+                     " ORDER BY" +

+                     "   c.level" +

+                     " DESC");

 

PS: Whoever did this share bravos for using JOIN on tables. But he is a tard for making a useless vote shit. Servers should focus on becoming BETTER rather than trying to trick vote sites with silly reward scripts.

 

Try now i edited it a bit, copy the quoted code.

  • 4 weeks later...
  • 2 weeks later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..