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

# Translate Trino SQL

> From v3.3.9, the database supports translating Trino SQL statements into the database SQL statements.

**Beta feature**

[Advice on use of Beta features](/documents/4.2/maturity/features.md)

From v3.3.9, the database supports translating Trino SQL statements into the database SQL statements.

## Syntax

```SQL theme={null}
TRANSLATE TRINO <SELECT_statement>
```

## Parameters

`SELECT_statement`: The Trino SQL statement you want to translate.

## Return

Returns the database SQL statement.

## Examples

```Plain theme={null}
mysql> TRANSLATE TRINO SELECT id, name, category FROM products WHERE name = 'Dell XPS 13'  AND category = "Electronics"  AND `price` > 500;
+---------------------------------------------------------------------------------------------------------------------------------------+
| Translated SQL                                                                                                                        |
+---------------------------------------------------------------------------------------------------------------------------------------+
| SELECT `id`, `name`, `category`
FROM `products`
WHERE ((`name` = 'Dell XPS 13') AND (`category` = 'Electronics')) AND (`price` > 500) |
+---------------------------------------------------------------------------------------------------------------------------------------+
1 row in set (0.30 sec)
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.