horsegen: generate skill groups
This commit is contained in:
14
horsegen/skill-group.sql
Normal file
14
horsegen/skill-group.sql
Normal file
@@ -0,0 +1,14 @@
|
||||
WITH skill_names AS (
|
||||
SELECT
|
||||
"index" AS "id",
|
||||
"text" AS "name"
|
||||
FROM text_data
|
||||
WHERE category = 47
|
||||
)
|
||||
SELECT
|
||||
group_id,
|
||||
name
|
||||
FROM skill_data d
|
||||
JOIN skill_names n ON d.id = n.id
|
||||
WHERE d.group_rate = 1
|
||||
ORDER BY group_id
|
||||
Reference in New Issue
Block a user