> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cloud.cdata.com/llms.txt
> Use this file to discover all available pages before exploring further.

# CREATE DERIVED VIEW ステートメント

> 新しい派生ビューを作成するには、CREATE DERIVED VIEW ステートメントを使用します。

## CREATE DERIVED VIEW 構文

CREATE DERIVED VIEW ステートメントでは、ビュー名と SQL クエリの内容を指定します。以下の例を参照してください。

```sql theme={null}
CREATE DERIVED VIEW [<view_name>] AS <sql_query_contents>
```

次のサンプルステートメントは、クエリ `SELECT * FROM Customers LIMIT 20;` を使用して MyViewName という派生ビューを作成します。

```sql theme={null}
CREATE DERIVED VIEW [MyViewName] AS SELECT * FROM Customers LIMIT 20;
```
