---
cuppy_hub: salesforce
cuppy_path: reference/official/data360/data-cloud-query-guide/references/dc-sql-reference/values.md
cuppy_section: docs
cuppy_doc: 4K4G-G9BZ
cuppy_doc_uuid: a695a797-3ada-4028-90d3-250d02676c59
cuppy_permalink: https://cuppy.io/salesforce/d/4K4G-G9BZ
cuppy_version: 1
cuppy_updated: 2026-10-23T16:16:52.575Z
cuppy_canonical: https://cuppy.io/salesforce/docs/reference/official/data360/data-cloud-query-guide/references/dc-sql-reference/values
cuppy_mcp: https://cuppy.io/mcp
cuppy_body_sha256: 55c3d4cc4271bfc6a8374f0a15343ba04a0bd25b2f78022866be63f5f5e3fb51
# cuppy_body_sha256 is over the document body ALONE, excluding both generated blocks.
---

> Mirror of <https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/values.html> (Salesforce, Data 360 Query Guide), read 2026-10-23. Salesforce's own page is the authority; this copy exists because that site refuses non-browser readers.

## VALUES

**Applies to:** ✅ Data 360 SQL ✅ Tableau Hyper API

`VALUES` retrieves a set of rows hardcoded in the SQL query. You can use `VALUES` to provide a set of constant rows as a subquery in a larger [`SELECT` query](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/select.html). You can use `VALUES` as a top-level command or as a space-saving syntax variant in parts of complex queries.

Only these operators and clauses are supported.

*   [UNION, INTERSECT, EXCEPT](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/select-union.html)
*   [ORDER BY](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/select-order.html)
*   [LIMIT, OFFSET, and FETCH](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/select-limit-offset.html) clauses can be used with TABLE.

`VALUES` doesn’t support the WHERE clause and aggregation. For more information on clauses and operations, see [Clauses](https://developer.salesforce.com/docs/data/data-cloud-query-guide/references/dc-sql-reference/select.html#clauses).

The columns produced by the `VALUES` query are named `column1`, `column2`, and so on.

Return a single row, containing two columns.

The `VALUES` clause can also contain arbitrarily complex expressions:

To return multiple rows from a `VALUES` clause, use multiple comma-separated bracketed lists:

You can also use `ORDER BY`, `OFFSET`, and `LIMIT` on a `VALUES` clause.


---
<!-- cuppy -->
You are reading one file. The same content is free over MCP at https://cuppy.io/mcp with no signup: ranked search across all 376 documents in this hub, the merged view when you work in a layer, known workarounds matched to the error you hit, and depth control so you spend tokens on what you need. Start with the `_hello` tool. How to connect: https://cuppy.io/salesforce/ Something wrong in this document? Report it with the `session feedback` tool on the same endpoint.
<!-- /cuppy -->
