> Documentation index: https://www.gooddata.ai/docs/gooddata-ui/llms.txt lists every page of these docs as Markdown.

# IDeclarativeDatasetSql

- Package: [@gooddata/sdk-model](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/index.md)
- Kind: interface
- Stability: alpha
- Source: https://github.com/gooddata/gooddata-ui-sdk/blob/rel/11.64/libs/sdk-model/src/ldm/declarativeModel/index.ts

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

SQL statement that a dataset maps to.

**Signature:**

```typescript
export interface IDeclarativeDatasetSql 
```

## Properties

| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [dataSourceId](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ideclarativedatasetsql/index.md#ideclarativedatasetsqldatasourceid) |  | string | **_(ALPHA)_** |
| [statement](https://www.gooddata.ai/docs/gooddata-ui/latest/api-reference/sdk-model/sdk-model.ideclarativedatasetsql/index.md#ideclarativedatasetsqlstatement) |  | string | **_(ALPHA)_** |

## Property details

### IDeclarativeDatasetSql.dataSourceId

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
dataSourceId: string;
```

### IDeclarativeDatasetSql.statement

> **Alpha API.** Initial API, highly likely to change outside SemVer. Don't build on it in production. See [API maturity](https://www.gooddata.ai/docs/gooddata-ui/latest/integrations/platform/api-maturity/index.md).
> 

**Signature:**

```typescript
statement: string;
```
