Skip to content
Back to skills

Databases Sql

ASecurity

SQL database querying, optimization, and data management for analytics

  • 666 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added February 8, 2026
databasespythonsqldatabase

Security analysis

A100/100

Scanned February 12, 2026

npx -y skills add majiayu000/claude-skill-registry --skill databases-sql --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Databases Sql?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Databases Sql
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/majiayu000-databases-sql/badge)](https://www.skillsdirectory.com/skills/majiayu000-databases-sql)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: databases-sql
description: SQL database querying, optimization, and data management for analytics
version: "2.0.0"
sasmp_version: "2.0.0"
bonded_agent: 02-sql-databases-expert
bond_type: PRIMARY_BOND

# Skill Configuration
config:
  atomic: true
  retry_enabled: true
  max_retries: 3
  backoff_strategy: exponential
  query_timeout: 120

# Parameter Validation
parameters:
  database_type:
    type: string
    required: true
    enum: [postgresql, mysql, sqlserver, sqlite, bigquery, snowflake]
    default: postgresql
  skill_level:
    type: string
    required: true
    enum: [beginner, intermediate, advanced, expert]
    default: beginner
  focus_area:
    type: string
    required: false
    enum: [queries, optimization, design, warehousing, all]
    default: all

# Observability
observability:
  logging_level: info
  metrics: [query_count, execution_time, optimization_score]
  query_logging: true
---

# Databases & SQL Skill

## Overview
Master SQL and database concepts essential for data analysts, from basic queries to advanced optimization and data warehousing.

## Core Topics

### SQL Fundamentals
- SELECT, FROM, WHERE, ORDER BY
- JOINs (INNER, LEFT, RIGHT, FULL)
- GROUP BY and aggregate functions
- Subqueries and CTEs

### Advanced SQL
- Window functions (ROW_NUMBER, RANK, LAG, LEAD)
- Recursive queries
- Query optimization and execution plans
- Index strategies

### Database Concepts
- Relational database design principles
- Normalization and denormalization
- Data warehousing concepts (star schema, snowflake)
- ETL processes

### Popular Platforms
- PostgreSQL
- MySQL
- SQL Server
- BigQuery, Redshift, Snowflake

## Learning Objectives
- Write efficient SQL queries for data extraction
- Understand database design and optimization
- Work with cloud data warehouses
- Implement ETL processes for analytics pipelines

## Error Handling

| Error Type | Cause | Recovery |
|------------|-------|----------|
| Syntax error | Invalid SQL | Validate query syntax before execution |
| Timeout | Long-running query | Add indexes, optimize query |
| Connection failed | Network/auth issue | Retry with exponential backoff |
| Permission denied | Access rights | Request appropriate permissions |
| Deadlock | Concurrent transactions | Retry transaction |

## Related Skills
- foundations (for data concepts)
- programming (for SQL with Python/R)
- advanced (for big data processing)

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.