Notebook cells are the basic components for building content in a Notebook. You can add cells to a Notebook to create and organize content. Different types of cells support different operations and features. This topic describes the scenarios and management operations for each cell type.
Background information
For more information about the Markdown syntax supported in Markdown cells, see https://www.markdownguide.org/extended-syntax/ and https://www.markdownguide.org/basic-syntax/.
The following syntax is not supported:
HTML
Definition lists
Emoji
Highlight
Subscript
Superscript
Markdown cells
You can use Markdown cells to add text content to a Notebook using standard Markdown syntax.

Area | Description |
① Action area | After you select a Markdown cell, you can manage it in the action area. The operations include switching the cell type, adding a cell below the current one, copying the cell, moving the cell up, moving the cell down, and deleting the cell.
|
② Edit area | In the edit area, you can develop Notebook content using Markdown syntax. For more information about Markdown syntax, see Markdown Syntax. |
SQL cells
You can use SQL cells to add and run compute engine SQL statements in a Notebook.
For Spark SQL cells in a Hadoop compute engine, temporary tables are created using the default storage format specified in Management Center > System Settings > Development Platform > Table Management Settings.
For example, if the default storage format is set to hudi, the using hudi statement is added when a temporary table is created. If the default storage format is set to Engine Default, no specific storage format is used.

Area | Description |
① Action area | After you select an SQL cell, you can manage it in the action area. The operations include running SQL code, accelerating queries, collapsing the cell, formatting SQL, switching the cell type, adding a cell, copying the cell, moving the cell, and deleting the cell.
|
② Edit area | You can develop compute engine SQL in the edit area. |
Database SQL cells
You can use Database SQL cells to add and run database SQL statements in a Notebook.

Area | Description |
① Action area | After you select a database SQL cell, you can manage it in the action area. The operations include running database SQL code, collapsing the cell, formatting SQL, switching the cell type, adding a cell, copying the cell, moving the cell, and deleting the cell.
|
② Edit area | You can develop database SQL in the edit area. After you finish editing the database SQL code, click Run. The system parses all objects in the code to confirm if the current user has the required operation permissions. If the permission verification succeeds, the user has the necessary permissions for the checked objects. If the permission verification fails, the user does not have the required permissions. An access denied dialog box appears showing a list of objects for which the user lacks permissions. The access denied dialog box displays the object name, object type, permission type, and operation information.
|