SQL查询助手:用自然语言写 SQL 与取数说明

SQL查询助手是 SkillHub 社区 Skill(@user_70c2f807/sql-query-assistant,v1.0.0,dev-programming,无需 API Key)。它将自然语言转为可执行 SQL,并给出逻辑解释与优化建议,支持 MySQL/PostgreSQL/SQL Server/Hive 等方言,但不连库、不执行语句,需用户提供表结构。文章说明安装 skillhub CLI、用 namespace 安装到 Cursor 等 skills 目录,以及写 SQL、迭代分组、慢查询优化等典型对话流程,并列出适用人群与误用风险。

Read More
SQL Report Generator:把 SQL 查询结果组织成可导出报告

SQL Report Generator 是 SkillHub 上面向 data-analysis 的报告层 Skill,将 SQL 结果、图表或 DataFrame 组织为含表格、矩阵、切片器等组件的可导出报告,并提供基于 pandas 的自动洞察。文章说明其与 sql-master、sql-dataviz 的协作关系,给出 skillhub 安装、Python 依赖及 ReportBuilder、quick_insights 等可复现用法,并标注平台下载与评分信息及官方地址。

Read More
数据库操作 Skill:把 MCP 数据库工具接进 Agent 工作流

SkillHub 社区 Skill「数据库操作」(@user_16c0d092/database-mcp v1.0.1)是一份 SKILL.md 指南,教 Agent 使用 @turingdance/database-mcp:connect_db、list_tables、describe_table、query 与 execute 五个工具,支持多种 SQL 库与环境变量配置。文章说明 SkillHub 与 npx 安装方式、MCP 配置示例、先测连再查询的工作流,以及写操作 confirm 与风险分级。适合在 Cursor 等环境规范数据库协作的开发者;无需 API Key。

Read More
智能数据分析:在 Agent 里用 DuckDB 查本地表格文件

智能数据分析是 SkillHub 社区 Skill(@user_af28adda/chat2duckdb-cloudcba,v1.0.0),基于 DuckDB 对 CSV、JSON、Parquet、Excel 等文件做 SQL 查询、数据分析与抽样,并支持查询自动纠错执行,标签 requires_api_key=false。文章说明其定位与核心能力,给出 skillhub CLI 安装步骤、各 Agent skills 目录及对话式典型用法,并提示社区来源与安装目录注意事项。

Read More
SQL Format Notes
2017-07-06 Backend SQL database

This content mainly introduces the basic SQL statements for creating, modifying, and deleting tables, as well as data querying, inserting, updating, and deleting. First, when creating a table, you need to define the data types and constraints of columns; for modifying a table, you can add or delete columns/constraints, or change the properties of columns; for deletion, you can directly use the `drop table` command and optionally cascade delete related dependencies. Query statements use the `select` keyword to retrieve data from specified tables and support grouping and sorting. In addition, various conditional expressions are also introduced, such as `like`, `insert into...value` (note: the original text may have an incomplete `insert into...value` statement, which has been retained as is).

Read More