---
title: "Discussion on \"SQL Query Activity in SFMC: Joins, Archives, and Segmentation\" | Hashnode"
description: "Discussion on \"SQL Query Activity in SFMC: Joins, Archives, and Segmentation\". SQL Query is the only Automation Studio Activity that can join multiple Data Extensions, aggregate data, or do anything a Filter Activity can't. Here are the three patterns we use most on production builds."
url: "https://hashnode.com/posts/sql-query-activity-in-sfmc-joins-archives-and-segmentation/6a127dc1fd145682d6d6e9fa"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [SQL Query Activity in SFMC: Joins, Archives, and Segmentation](https://sapotacorpvn.hashnode.dev/sql-query-activity-in-sfmc-joins-archives-and-segmentation?utm_source=hashnode&utm_medium=feed)

SQL Query is the only Automation Studio Activity that can join multiple Data Extensions, aggregate data, or do anything a Filter Activity can't. Here are the three patterns we use most on production builds.

May 24 · 3 min read · sapotacorpvn.hashnode.dev  
Read the article

-   [#salesforce](https://hashnode.com/tag/salesforce)
-   [#sfmc](https://hashnode.com/tag/sfmc)
-   [#marketing-cloud](https://hashnode.com/tag/marketing-cloud)
-   [#automation-studio](https://hashnode.com/tag/automation-studio)
-   [#sql](https://hashnode.com/tag/sql)

## Written by

[SapotaCorp](https://hashnode.com/@sapotacorpvn)

@sapotacorpvn · Hanoi, Vietnam

  
[View profile](https://hashnode.com/@sapotacorpvn)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
