Database Metadata
Examples: Table names, column names, data types, keys, relationships, and schema structure.
Purpose: Used to understand database structure and provide context for schema-aware SQL generation.
Trust
SQL Mocker uses database structure and query context to help generate and review SQL. This page explains the different types of information involved and how they are used.
Examples: Table names, column names, data types, keys, relationships, and schema structure.
Purpose: Used to understand database structure and provide context for schema-aware SQL generation.
Examples: For example: ‘Show active construction projects by contractor.’
Purpose: Used with the selected schema context to determine the intended result and generate SQL.
Examples: SQL that a user pastes or uploads to the Imported SQL workspace.
Purpose: Processed to explain, review, update, optimize, identify joins, or check query structure.
Examples: Generated sample values based on the reviewed schema and selected locale.
Purpose: Used for previews and query checks inside the workspace. It is generated data, not a copy of production rows.
Examples: Customer records, transactions, operational notes, and other values stored in real tables.
Purpose: Not required by schema-based SQL generation. Users should avoid manually submitting private or sensitive rows unless authorised to do so.
You choose and review the context that enters the workspace. SQL Mocker sends the relevant schema context and request to the AI, then returns SQL for you to inspect.
These are workflow requirements, not a technical block on manual input. Review prompts, files, SQL, and support messages so you do not submit credentials or sensitive records.