diff --git a/docs/_sidebar.md b/docs/_sidebar.md index 7aa658e..6564b43 100644 --- a/docs/_sidebar.md +++ b/docs/_sidebar.md @@ -40,10 +40,8 @@ - Release Notes - WoW 3.3.5 Client Patcher - Getting Started - - Configuration - Deploying Patches - File hosting -- Guides - - Coming soon. -- Developer Articles +- Useful SQL + - [Creatures](./useful-sql/creatures.sql diff --git a/docs/useful-sql/creatures.md b/docs/useful-sql/creatures.md new file mode 100644 index 0000000..76e68a7 --- /dev/null +++ b/docs/useful-sql/creatures.md @@ -0,0 +1,13 @@ +## Creatures Sql + +Get Heroic Creature Entries for a Map + +```sql +SELECT DISTINCT c.entry,c2.name, c2.entry, cr.map, cr.Comment, cr.zoneId +from creature_template c join creature_template c2 on c.difficulty_entry_1 = c2.entry +join creature cr on cr.id1 = c.entry + +where cr.map = 543 +``` + +