Go Back   EQEmulator Home > EQEmulator Forums > Support > Support::Windows Servers

Support::Windows Servers Support forum for Windows EQEMu users.

Reply
 
Thread Tools Display Modes
  #1  
Old 10-24-2014, 11:07 PM
Figback65
Discordant
 
Join Date: Aug 2009
Location: 2131231231
Posts: 255
Default

Oh and I tried to build off this Faction query i found somewhere on these forums, but hell it just confused the shit outta me, Looks like it makes a temp table or something then merges the info with INNER JOIN but that is still beyond me.

Code:
SELECT
   npc_faction.id AS FactionTableID,
   npc_faction.name AS FactionTableName,
   primaryfaction AS PrimaryFactionID,
   factionA.name AS PrimaryFactionName,
   npc_faction_entries.faction_id AS FactionEntryID,
   factionB.name AS FactionEntryName,
   npc_faction_entries.value AS FactionEntryValue,
   npc_faction_entries.npc_value AS FactionEntryNpcValue
FROM
   npc_faction
   INNER JOIN faction_list factionA
     ON factionA.id=primaryfaction
   INNER JOIN npc_faction_entries
     ON npc_faction_entries.npc_faction_id=npc_faction.id
   INNER JOIN faction_list factionB
     ON factionB.id=npc_faction_entries.faction_id
WHERE
   npc_faction.id=112
__________________
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

   

All times are GMT -4. The time now is 09:04 PM.


 

Everquest is a registered trademark of Daybreak Game Company LLC.
EQEmulator is not associated or affiliated in any way with Daybreak Game Company LLC.
Except where otherwise noted, this site is licensed under a Creative Commons License.
       
Powered by vBulletin®, Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Template by Bluepearl Design and vBulletin Templates - Ver3.3