# How do I query a OneLake shortcut inside a Fabric KQL database?

Exam: DP-600 — Implementing Analytics Solutions Using Microsoft Fabric
Knowledge domain: Prepare data (45–50%)
Updated: 2026-11-19T05:35:25.588461+00:00
HTML: https://learningpathx.com/faq/DP-600/dp600-query-kql-shortcut.html

## Also asked as

- Which KQL function reads data exposed by a OneLake shortcut?
- How can a KQL database query lakehouse data without first ingesting it?

Create a supported OneLake shortcut in the KQL database, then query it with external\_table(). The shortcut is an external-table access path, so it does not turn the source into natively ingested KQL data.

With the required Fabric capacity and KQL database editing permissions, open the database and select New, then OneLake shortcut. Choose a supported internal or external source, supply the connection details, and select the table or folder to expose. Confirm access to both the shortcut and its source.

For a shortcut named SalesShortcut, this read-only query returns up to 100 rows:

```kusto
external_table('SalesShortcut')
| take 100
```

Check the returned schema and representative values before adding filters or aggregations. Delta-to-KQL type mappings can change how columns are represented. Use a shortcut when in-place access meets your source-availability and performance needs; choose managed ingestion when independent storage or different operational behavior is required.

[Create and query KQL database shortcuts](https://learn.microsoft.com/en-us/fabric/real-time-intelligence/onelake-shortcuts).

Source: [DP-600: OneLake Shortcuts and Integration Patterns for Fabric Analytics](https://learningpathx.com/news/dp-600-onelake-shortcuts-and-integration-patterns-for-fabric-analytics.html)
