What is Stack Exchange Data Explorer (SEDE)?

As a DBA, I’ve found Stack Exchange Data Explorer (SEDE) to be an invaluable tool for analyzing data from the Stack Exchange network. It’s essentially a web-based SQL playground, allowing you to run queries and uncover hidden insights without downloading any data. Just open the tool, write a query, and explore the results.

Why I Like SEDE
No setup required – It’s entirely web-based.
Pre-built queries – Use existing queries on topics like user activity, Q&A stats, and tag trends.
Easy sharing – Share your queries and visualizations with the Stack Exchange community.

The interface is smooth and intuitive. Each Stack Exchange site has its own database, and you can browse queries others have created or write your own.

Stack Exchange Data Explorer (SEDE)

The interesting content is way down at number 24 (Database Administrator site) 😉

Stack Exchange Data Explorer (SEDE) for SQL Server

A neat feature I discovered by accident: running a query creates a fork, allowing you to modify and build upon existing work.

Stack Exchange Data Explorer (SEDE) Test Queries

The top query above is my one. Here’s my example query that finds the top 10 most-viewed posts from the past year:

-- stack exchange data explorer, show top posts since last year
SELECT TOP 10 Title, ViewCount, Score, Tags, CommentCount
FROM Posts
WHERE CreationDate > DATEADD(year, -1, GETDATE())
ORDER BY ViewCount DESC
Stack Exchange Data Explorer My Query

This is a great way to see trending topics and refine your SQL skills.

If you’re a DBA, data analyst, or just someone who enjoys working with data, SEDE is worth checking out. It’s a fun, powerful tool that makes exploring Stack Exchange data easy and engaging. I hope this was useful for you and you have already navigated away to check it out!


Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

Recent Posts
Categories
Tags

Always On Availability Groups (AAG) (4) AWS (4) AWS Redshift (6) Database Admin (72) Database Backups & Recovery (14) Database Mirroring (2) Error Messages (5) Failover Cluster Instances (FCI) (1) Git Commands (6) Importing & Exporting Data (2) Linked Servers (3) Linux Administration (2) Logging & Monitoring (1) Microsoft Patching (2) MySQL (4) Postgres (6) PowerShell Scripts (2) SQL Certificates & Encryption (3) SQL Server Agent (5) SQL Server CDC (2) SQL Server Data Types (2) SQL Server Management Studio (SSMS) (17) SQL Server Networking (3) SQL Server on Linux (1) SQL Server Patching (2) SQL Server Performance Tuning (6) SQL Server Processes (SPIDs) (7) SQL Server Replication (2) SQL Server Scripts (13) SQL Server Security (4) SQL Server Storage (10) Windows Admin (20) Windows Authentication (2) Windows Automation (1) Windows Events (2) Windows Firewall (4) Windows Subsystem for Linux (WSL) (18)