Jump to content

Recommended Posts

Posted

Hello! :D :D This is my first share!!!  :-*

 

I would like to share with you a very simple and clean query which can be very usefull for online scripts.

 

SELECT character_skills.charId, character_skills.skill_id, character_skills.skill_level,character_skills.class_index, characters.charid, characters.classid
FROM characters
LEFT JOIN character_skills ON characters.charid = character_skills.charId
LEFT JOIN characters_
WHERE characters.char_name = '$name' and character_skills.class_index in (select character_subclasses.class_index, character_subclasses.class_id, characters.classid from character_subclasses left join characters on character_subclasses.class_id = characters.classid)

 

Credits: ME  :D :D :D :D :D :D :D :D :D :D :D :D :D :D :D

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...