/ParameterizeAggregateQuery
Parameterize and secure against injection an aggregation query — e.g. total revenue by region and month.
Your AI Command Vault
Searching for the meaning of life… try /RootCause.
Databases & SQL
183 commands · 3 subcategories
Parameterize and secure against injection an aggregation query — e.g. total revenue by region and month.
Write data-dictionary documentation for an e-commerce database schema — e.g. products, orders, customers and inventory tables.
Review and reduce the running cost of a production database cluster — e.g. a Postgres cluster serving a checkout system.
Explain step by step what a stored procedure — e.g. a procedure that recalculates loyalty points nightly.
Design a partitioning strategy for a graph-like relational structure — e.g. modeling friendships in a social app using a relational database.
Set up health monitoring for a failover and disaster recovery plan — e.g. switching to a standby region within five minutes of an.