SlashAI

Your AI Command Vault

Summoning the AI overlords…

Query Authoring

Databases & SQL

Query Authoring

66 commands

/ParameterizeAggregateQuery

Parameterize and secure against injection an aggregation query — e.g. total revenue by region and month.

Databases & SQLadvanced#aggregate#groupby

/ExplainStoredProcedure

Explain step by step what a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLmedium#stored-procedure#plsql

/DebugSlowQuery

Find and fix the bug in a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLeasy#performance#slow-query

/OptimizePivotQuery

Optimize the performance of a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLadvanced#pivot#reshape

/WriteRecursiveCte

Write an efficient SQL query for a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLmedium#cte#recursive

/ParameterizeMigrationScript

Parameterize and secure against injection a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLmedium#migration#etl

/ConvertDeduplicationQuery

Convert to a different SQL dialect a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLeasy#dedupe#cleanup

/ExplainUpsertStatement

Explain step by step what an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLadvanced#upsert#merge

/DebugSubqueryChain

Find and fix the bug in a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLmedium#subquery#nested

/OptimizeAggregateQuery

Optimize the performance of an aggregation query — e.g. total revenue by region and month.

Databases & SQLeasy#aggregate#groupby

/ParameterizeRecursiveCte

Parameterize and secure against injection a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLadvanced#cte#recursive

/ConvertWindowFunctionQuery

Convert to a different SQL dialect a window function query — e.g. running totals of daily signups per week.

Databases & SQLmedium#window-function#analytics

/ExplainJoinQuery

Explain step by step what a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLeasy#join#sql

/OptimizeMigrationScript

Optimize the performance of a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLadvanced#migration#etl

/WriteDeduplicationQuery

Write an efficient SQL query for a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLmedium#dedupe#cleanup

/ConvertStoredProcedure

Convert to a different SQL dialect a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLeasy#stored-procedure#plsql

/ExplainSlowQuery

Explain step by step what a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLadvanced#performance#slow-query

/DebugPivotQuery

Find and fix the bug in a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLmedium#pivot#reshape

/OptimizeRecursiveCte

Optimize the performance of a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLeasy#cte#recursive

/WriteWindowFunctionQuery

Write an efficient SQL query for a window function query — e.g. running totals of daily signups per week.

Databases & SQLadvanced#window-function#analytics

/ParameterizeDeduplicationQuery

Parameterize and secure against injection a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLadvanced#dedupe#cleanup

/ConvertUpsertStatement

Convert to a different SQL dialect an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLmedium#upsert#merge

/ExplainSubqueryChain

Explain step by step what a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLeasy#subquery#nested

/DebugAggregateQuery

Find and fix the bug in an aggregation query — e.g. total revenue by region and month.

Databases & SQLadvanced#aggregate#groupby

/WriteStoredProcedure

Write an efficient SQL query for a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLmedium#stored-procedure#plsql

/ParameterizeWindowFunctionQuery

Parameterize and secure against injection a window function query — e.g. running totals of daily signups per week.

Databases & SQLeasy#window-function#analytics

/ConvertJoinQuery

Convert to a different SQL dialect a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLadvanced#join#sql

/DebugMigrationScript

Find and fix the bug in a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLmedium#migration#etl

/OptimizeDeduplicationQuery

Optimize the performance of a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLeasy#dedupe#cleanup

/WriteUpsertStatement

Write an efficient SQL query for an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLadvanced#upsert#merge

/ParameterizeStoredProcedure

Parameterize and secure against injection a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLadvanced#stored-procedure#plsql

/ConvertSlowQuery

Convert to a different SQL dialect a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLmedium#performance#slow-query

/ExplainPivotQuery

Explain step by step what a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLeasy#pivot#reshape

/DebugRecursiveCte

Find and fix the bug in a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLadvanced#cte#recursive

/OptimizeWindowFunctionQuery

Optimize the performance of a window function query — e.g. running totals of daily signups per week.

Databases & SQLmedium#window-function#analytics

/WriteJoinQuery

Write an efficient SQL query for a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLeasy#join#sql

/ParameterizeUpsertStatement

Parameterize and secure against injection an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLeasy#upsert#merge

/ConvertSubqueryChain

Convert to a different SQL dialect a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLadvanced#subquery#nested

/ExplainAggregateQuery

Explain step by step what an aggregation query — e.g. total revenue by region and month.

Databases & SQLmedium#aggregate#groupby

/OptimizeStoredProcedure

Optimize the performance of a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLeasy#stored-procedure#plsql

/WriteSlowQuery

Write an efficient SQL query for a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLadvanced#performance#slow-query

/ParameterizeJoinQuery

Parameterize and secure against injection a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLmedium#join#sql

/ExplainMigrationScript

Explain step by step what a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLeasy#migration#etl

/DebugDeduplicationQuery

Find and fix the bug in a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLadvanced#dedupe#cleanup

/OptimizeUpsertStatement

Optimize the performance of an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLmedium#upsert#merge

/WriteSubqueryChain

Write an efficient SQL query for a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLeasy#subquery#nested

/ParameterizeSlowQuery

Parameterize and secure against injection a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLeasy#performance#slow-query

/ConvertPivotQuery

Convert to a different SQL dialect a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLadvanced#pivot#reshape

/ExplainRecursiveCte

Explain step by step what a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLmedium#cte#recursive

/DebugWindowFunctionQuery

Find and fix the bug in a window function query — e.g. running totals of daily signups per week.

Databases & SQLeasy#window-function#analytics

/OptimizeJoinQuery

Optimize the performance of a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLadvanced#join#sql

/ParameterizeSubqueryChain

Parameterize and secure against injection a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLmedium#subquery#nested

/ConvertAggregateQuery

Convert to a different SQL dialect an aggregation query — e.g. total revenue by region and month.

Databases & SQLeasy#aggregate#groupby

/DebugStoredProcedure

Find and fix the bug in a stored procedure — e.g. a procedure that recalculates loyalty points nightly.

Databases & SQLadvanced#stored-procedure#plsql

/OptimizeSlowQuery

Optimize the performance of a slow-running production query — e.g. a report query that now takes 40 seconds instead of.

Databases & SQLmedium#performance#slow-query

/WritePivotQuery

Write an efficient SQL query for a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLeasy#pivot#reshape

/ConvertMigrationScript

Convert to a different SQL dialect a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLadvanced#migration#etl

/ExplainDeduplicationQuery

Explain step by step what a deduplication query — e.g. removing duplicate customer records keeping the most recent.

Databases & SQLmedium#dedupe#cleanup

/DebugUpsertStatement

Find and fix the bug in an upsert (insert-or-update) statement — e.g. syncing a nightly product feed into a catalog table.

Databases & SQLeasy#upsert#merge

/OptimizeSubqueryChain

Optimize the performance of a nested subquery — e.g. finding customers whose spend is above their region's average.

Databases & SQLadvanced#subquery#nested

/WriteAggregateQuery

Write an efficient SQL query for an aggregation query — e.g. total revenue by region and month.

Databases & SQLmedium#aggregate#groupby

/ParameterizePivotQuery

Parameterize and secure against injection a pivot/unpivot query — e.g. turning monthly rows into columns for a dashboard.

Databases & SQLmedium#pivot#reshape

/ConvertRecursiveCte

Convert to a different SQL dialect a recursive common table expression — e.g. traversing an employee-manager hierarchy.

Databases & SQLeasy#cte#recursive

/ExplainWindowFunctionQuery

Explain step by step what a window function query — e.g. running totals of daily signups per week.

Databases & SQLadvanced#window-function#analytics

/DebugJoinQuery

Find and fix the bug in a multi-table join query — e.g. joining orders, customers and products for a sales report.

Databases & SQLmedium#join#sql

/WriteMigrationScript

Write an efficient SQL query for a data migration SQL script — e.g. moving legacy order data into a new normalized schema.

Databases & SQLeasy#migration#etl