liveBook · Manning

Instructing method

As explained in AI for Everyday IT

The instructing method is a prompting approach that specifies a desired database query directly using concise instructions and pseudocode.

The instructing method expresses a database task as a direct, concise request. It can use a data dictionary or DDL to help a chatbot understand the available schema and produce a query. section 10.6.2

Converting memory settings for analysis

A memory-configuration task can provide a query and sample row containing values such as 2000M and 6G. The resulting SQL uses a CTE to convert those values to megabytes and calculate total memory in use.

Complex queries may require several attempts. Comparing direct instructions with an explaining approach helps identify which prompting style produces the most useful result. section 10.6.2

How AI for Everyday IT covers it

How deep it goes
Defines the direct approach and illustrates its database use, but does not detail a complete prompting workflow.
Examples
Uses Oracle memory configurations, sample query results, unit conversion, and CTE-based calculations.
What it assumes
Assumes a database task and available schema information, while contrasting direct instructions with explanatory prompting.
What you can do after
Build database queries from concise instructions and supplied schema information.
How it connects
Connects prompting with database queries, schemas, data dictionaries, DDL, and explaining.

This explainer was generated by Manning's knowledge graph from the text of AI for Everyday IT. The section links point to the parts of the book it draws on.