Added useful sql scripts

This commit is contained in:
2024-07-31 23:56:29 -04:00
parent ae85e8800d
commit 3d74353cd3
2 changed files with 15 additions and 4 deletions

View File

@@ -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

View File

@@ -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
```