AI Resource Pro / website / scripts / check-existing-tags.sql
| 1 | -- Get all unique tags from the blog_posts table |
| 2 | SELECT DISTINCT unnest(tags) as tag |
| 3 | FROM blog_posts |
| 4 | WHERE tags IS NOT NULL |
| 5 | AND array_length(tags, 1) > 0 |
| 6 | ORDER BY tag; |
AI Resource Pro / website / scripts / check-existing-tags.sql
| 1 | -- Get all unique tags from the blog_posts table |
| 2 | SELECT DISTINCT unnest(tags) as tag |
| 3 | FROM blog_posts |
| 4 | WHERE tags IS NOT NULL |
| 5 | AND array_length(tags, 1) > 0 |
| 6 | ORDER BY tag; |