c24165b8bc
에이전트 8종(대화형/프로그래머 C·S/디자이너/설계자/기획자/QA/PD/PM)에게 [공통 기본 능력 + 롤별 Specialty] 2층으로 지식을 주입하기 위한 재분류. 문서 내용·포맷은 무수정, 폴더 이동만 (6,372개 문서 수 보존 확인). - Topic_Programming → Domain_Programming (내부 구조 보존) - Topic_Graphic → Domain_Design - Topic_Business → Domain_Product - Topic_General → Domain_General - _Common 신설: Math(구 Topic_Math_Specialty), Reasoning(구 General/From_Thinking & Reasoning), Reasoning_Creativity(구 General/From_창의성), Communication(Poetic_Blog_Writing + From_writing) - 타 도메인의 From_* 폴더는 유지 (출처 표기일 뿐, 이미 도메인에 맞게 분류된 문서) - 빈 폴더 정리 (memory/procedures) - 에이전트→폴더 매핑은 workspace의 .astra/agent-knowledge-map.json (9개 에이전트) Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
4.6 KiB
4.6 KiB
id, title, category, status, verification_status, canonical_id, aliases, duplicate_of, source_trust_level, confidence_score, created_at, updated_at, review_reason, merge_history, tags, raw_sources, applied_in, github_commit
| id | title | category | status | verification_status | canonical_id | aliases | duplicate_of | source_trust_level | confidence_score | created_at | updated_at | review_reason | merge_history | tags | raw_sources | applied_in | github_commit | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| sql-syntax | SQL Syntax | Database | draft | conceptual |
|
B | 0.9 | 2026-07-04 | 2026-07-04 |
|
|
SQL Syntax
🎯 한 줄 통찰 (One-line insight)
Most database actions are performed with SQL statements built from easy-to-understand keywords, which are case-insensitive but conventionally written in upper-case and terminated with a semicolon. [S1]
🧠 핵심 개념 (Core concepts)
- SQL statements — the unit of action against a database; consist of keywords such as
SELECT,UPDATE,DELETE,INSERT INTO. [S1] - Database tables — a database most often contains one or more named tables (e.g. "Customers"), each holding records (rows) with data; this tutorial uses the well-known Northwind sample database. [S1]
- Case insensitivity — SQL keywords are NOT case sensitive (
selectis the same asSELECT); convention favors upper-case keywords. [S1] - Semicolons — some database systems require a semicolon to separate multiple SQL statements sent in the same call to the server. [S1]
- Most important SQL commands —
SELECT,UPDATE,DELETE,INSERT INTO,CREATE DATABASE,ALTER DATABASE,CREATE TABLE,ALTER TABLE,DROP TABLE,CREATE INDEX,DROP INDEX. [S1]
🧩 추출된 패턴 (Extracted patterns)
- Upper-case keyword convention — writing keywords in upper-case (even though not required) improves readability and is the convention followed throughout the tutorial. [S1]
- Statement-terminator discipline — always ending statements with
;avoids ambiguity when multiple statements are sent together, even on systems where it isn't strictly required. [S1]
⚖️ 비교 및 선택 기준 (Comparison & decision criteria)
| 항목 (Option) | 장점 | 단점 | 언제 선택 |
|---|---|---|---|
| 세미콜론 사용 | 여러 SQL문을 한 번에 보낼 때 구분이 명확함 | 세미콜론을 요구하지 않는 시스템에서는 불필요해 보일 수 있음 | 다중 statement 전송이 필요하거나 이식성을 고려할 때 |
| 세미콜론 생략 | 단일 statement 실행 시 더 간결함 | 시스템에 따라 오류가 날 수 있음 | 세미콜론을 명시적으로 요구하지 않는 단일 statement 환경 |
📖 세부 내용 (Details)
- The following statement selects all records from the "Customers" table: [S1]
SELECT * FROM Customers;
- A sample from the Customers table has columns
CustomerID, CustomerName, ContactName, Address, City, PostalCode, Countrywith rows like1 | Alfreds Futterkiste | Maria Anders | Obere Str. 57 | Berlin | 12209 | Germany. [S1] - Most important SQL commands (grouped by purpose): [S1]
- Data:
SELECT,UPDATE,DELETE,INSERT INTO - Database:
CREATE DATABASE,ALTER DATABASE - Table:
CREATE TABLE,ALTER TABLE,DROP TABLE - Index:
CREATE INDEX,DROP INDEX
- Data:
⚖️ 모순 및 업데이트 (Contradictions & updates)
소스에서 모순되는 정보는 발견되지 않음. 다만 "일부 데이터베이스 시스템만 세미콜론을 요구한다"는 서술 자체가 시스템마다 동작이 다를 수 있음을 명시하고 있다. [S1]
🛠️ 적용 사례 (Applied in summary)
현재 발견된 실제 적용 사례가 없습니다 — 이 문서에서 정의한 대문자 키워드/세미콜론 컨벤션은 튜토리얼 전체 예제에서 일관되게 사용된다. [S1]
💻 코드 패턴 (Code patterns)
Select all records (SQL):
SELECT * FROM Customers;
✅ 검증 상태 및 신뢰도
- 상태: draft
- 검증 단계: conceptual
- 출처 신뢰도: B (W3Schools — widely used educational reference, not a primary standards body)
- 신뢰 점수: 0.90
- 중복 검사 결과: 신규 생성 (New discovery)
🔗 지식 그래프 (Knowledge Graph)
- 상위/루트: SQL Tutorial
- 관련 개념: SQL Intro, SQL Select, SQL Comments
- 참조 맥락: 이후 모든 SQL 예제가 따르는 표기 관례(대문자 키워드, 세미콜론)를 정의하는 문서.
📚 출처 (Sources)
- [S1] W3Schools — SQL Syntax — https://www.w3schools.com/sql/sql_syntax.asp
📝 변경 이력 (Change history)
- 2026-07-04: Initial draft synthesized from the W3Schools "SQL Syntax" page (Astra wiki-curation, P-Reinforce v3.1 format).