Skip to content

Commit

Permalink
Added useful sql scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
ben-of-codecraft committed Aug 1, 2024
1 parent ae85e88 commit 3d74353
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 4 deletions.
6 changes: 2 additions & 4 deletions docs/_sidebar.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

13 changes: 13 additions & 0 deletions docs/useful-sql/creatures.md
Original file line number Diff line number Diff line change
@@ -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
```


0 comments on commit 3d74353

Please sign in to comment.