SQL extension features and usage
This section details the various features of the JupyterLab SQL extension in Studio, and provides instructions on how to use them. Before you can use the SQL extension to access and query data from your JupyterLab notebooks, an administrator must first configure the connection to your data sources. For information on how administrators can create connections to data sources, see SQL extension data source connections.
Note
To use the SQL extension, your JupyterLab application must run on a SageMaker AI
distribution
The extension provides two components to help you access, discover, query, and analyze data from pre-configured data sources.
-
Use the user interface of the SQL extension to discover and explore your data sources. The UI capabilities can be further divided into the following subcategories.
-
With the data exploration UI element, you can browse your data sources and explore their tables, columns, and metadata. For details on the data exploration features of the SQL extension, see Browse data using SQL extension.
-
The connection caching element caches connections for quick access. For details on connection caching in the SQL extension, see SQL extension connection caching.
-
-
Use the SQL Editor and Executor to write, edit, and run SQL queries against connected data sources.
-
With the SQL editor element, you can write, format, and validate SQL statements within the notebooks of your JupyterLab application in Studio. For details on the SQL editor features, see SQL editor features of the JupyterLab SQL extension.
-
With the SQL execution element, you can run your SQL queries and visualize their results from the notebooks of your JupyterLab application in Studio. For details on the SQL execution capabilities, see SQL execution features of the JupyterLab SQL extension.
-