---
title: Standalone materialized views and streaming tables
description: Define standalone materialized views and streaming tables outside a pipeline with simple SQL, and refresh them from a SQL warehouse or serverless compute.
canonical_url: https://docs.databricks.com/aws/en/sql/mv-st/
---

# Standalone materialized views and streaming tables

Lakeflow pipelines are the most common way to build materialized views and streaming tables with Apache Spark™ Declarative Pipelines on Databricks. You can also define standalone materialized views and streaming tables outside of a Lakeflow pipeline using simple query syntax, and Databricks manages the underlying pipelines for you. Standalone tables can be created and refreshed from a Databricks SQL warehouse or from a notebook running on serverless general compute.

To decide between standalone tables and a Lakeflow pipeline, see [Standalone pipelines vs. Lakeflow pipelines](https://docs.databricks.com/aws/en/ldp/concepts/standalone-pipelines.md). To build materialized views and streaming tables as part of a managed pipeline, see [Spark Declarative Pipelines on Lakeflow](https://docs.databricks.com/aws/en/ldp/index.md).

> [!NOTE]
>
> This section was previously called "Pipelines for Databricks SQL." It was renamed to "Standalone materialized views and streaming tables" to reflect new support for creating standalone materialized views and streaming tables from a notebook running on serverless general compute, in addition to a Databricks SQL warehouse.

The following topics cover standalone materialized views and streaming tables.

| Topic                                                                                                                                   | Description                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
| [Requirements for standalone pipelines](https://docs.databricks.com/aws/en/sql/mv-st/compute.md)                                        | Learn about the compute options for standalone materialized views and streaming tables, including feature support and regional availability. |
| [Use standalone streaming tables](https://docs.databricks.com/aws/en/sql/mv-st/streaming.md)                                            | Create, refresh, configure, and monitor streaming tables.                                                                                    |
| [Use standalone materialized views](https://docs.databricks.com/aws/en/sql/mv-st/materialized.md)                                       | Create, refresh, and query materialized views.                                                                                               |
| [When to use REPLACE WHERE vs. materialized views](https://docs.databricks.com/aws/en/sql/mv-st/replace-where-vs-materialized-views.md) | Choose between REPLACE WHERE flows and materialized views for batch extract, transform, and load (ETL) workloads.                            |

To create and refresh standalone materialized views and streaming tables with Python from a notebook, see [Use Python with standalone pipelines](https://docs.databricks.com/aws/en/sql/mv-st/using-python.md).

## Additional resources

* [ETL in Databricks SQL](https://docs.databricks.com/aws/en/sql/get-started/sql-etl-tutorial.md)
* [Databricks SQL language reference](https://docs.databricks.com/aws/en/sql/language-manual/index.md)
* [Lakeflow pipelines SQL language reference](https://docs.databricks.com/aws/en/ldp/developer/sql-ref.md)
* [What are pipelines?](https://docs.databricks.com/aws/en/ldp/concepts/pipelines.md)
* [Use `ALTER` statements with pipeline datasets](https://docs.databricks.com/aws/en/ldp/using-alter-sql.md)
