SQL query generator from a plain-English request
Converts a natural-language data requirement plus a table schema into a syntactically correct SQL query for a named database, with its assumptions stated up front.
Compare datasets by agreed keys and tolerances, preserving duplicates and separating missing rows from value differences.
No public result for version 1 yet
Version 1 · 3 variables · 3 required
Fill in the values below — the customized prompt updates as you type. marks a required value.
First dataset and its source/time-window description. Default: Illustrative CSV: order_id,total A1,25.00 A2,10.00 A3,18.50
Second dataset and its source/time-window description. Default: Illustrative CSV: order_id,total A1,25.00 A2,10.50 A4,18.50
Keys, units, exclusions and allowed tolerances. Default: One row per order. Match exact order_id. Totals are USD; allow an absolute difference no greater than 0.01. Treat files as samples.
Reconcile these two datasets.
Export A: Illustrative CSV:
order_id,total
A1,25.00
A2,10.00
A3,18.50
Export B: Illustrative CSV:
order_id,total
A1,25.00
A2,10.50
A4,18.50
Matching and comparison rules: One row per order. Match exact order_id. Totals are USD; allow an absolute difference no greater than 0.01. Treat files as samples.
Confirm the row grain, keys, time window and units before comparing. Test whether the proposed keys are unique in each supplied dataset; do not silently collapse duplicates.
Report matched rows, rows present only in A, rows present only in B, conflicting values and ambiguous matches. For each mismatch, show the key, both original values, the applicable comparison rule and a likely investigation step. Apply tolerances only where specified.
Provide counts that reconcile to the input row totals and explain how duplicate or excluded records affect those counts. Preserve original data and do not merge uncertain identities by guesswork. If the inputs are only samples, label all findings as sample-scoped.No public examples yet for version 1
Converts a natural-language data requirement plus a table schema into a syntactically correct SQL query for a named database, with its assumptions stated up front.
No public results yet
Check join cardinality and aggregation grain to explain duplicate rows or double-counted measures before changing a reporting query.
No public results yet
Specify temporal evaluation, leakage checks, baselines and business-relevant metrics before judging a forecasting model.
No public results yet
Review a chart's scales, labels, aggregation and claims, separating visual issues from data questions that need verification.
No public results yet
Label supplied comments consistently while preserving mixed opinions, unclear cases and the exact words supporting each label.
No public results yet
Produce a deterministic transformation from repeated measure columns to tidy rows with explicit keys, types and missing-value rules.
Oldest first · one level of replies
Sign in to join the discussion. Share what you learned or made with this prompt.
No comments yet
Be the first to share how this prompt worked for you.