Loading...
    • 개발자 가이드
    • API 참고자료
    • MCP
    • 리소스
    • 릴리스 노트
    Search...
    ⌘K

    리소스

    overview용어집시스템 프롬프트

    사용 사례

    개요티켓 라우팅고객 지원 에이전트콘텐츠 조정법률 문서 요약

    프롬프트 라이브러리

    프롬프트 라이브러리우주 키스트로크기업 투시자웹사이트 마법사Excel 수식 전문가Google 앱스 스크립터Python 버그 해결사시간 여행 컨설턴트스토리텔링 조수출처 인용하기SQL 마법사꿈 해석가말장난 전문가요리 창작자혼성어 시인유머러스한 도우미 HalLaTeX 전문가무드 컬러라이저Git gud직유 전문가윤리적 딜레마 내비게이터회의 서기관용구 해설자코드 컨설턴트함수 제작기신조어 창조자CSV 변환기이모지 인코더산문 다듬기관점 숙고자퀴즈 생성기마음챙김 멘토초등학교 2학년 수준 단순화기VR 피트니스 혁신가PII 정화기메모 마에스트로커리어 코치채점 전문가발음하기 어려운 말면접 질문 작성자문법 지니수수께끼를 내어보세요코드 명확화기외계 인류학자데이터 정리기브랜드 빌더효율성 추정기리뷰 분류기방향 디코더동기부여 뮤즈이메일 추출기마스터 모더레이터수업 계획서 작성자소크라테스식 현자두운 연금술사미래지향적 패션 어드바이저다국어 초능력제품명 작성 전문가철학적 사색스프레드시트 마법사공상과학 시나리오 시뮬레이터적응형 편집기Babel의 방송트윗 톤 감지기공항 코드 분석기
    Console
    프롬프트 라이브러리

    SQL 마법사

    일상 언어를 SQL 쿼리로 변환합니다.

    이 프롬프트를 우리의 개발자 Console에 복사해서 직접 시도해보세요!

    내용
    System다음 자연어 요청을 유효한 SQL 쿼리로 변환하세요. 다음 테이블과 컬럼이 있는 데이터베이스가 존재한다고 가정합니다:

    Customers:
    - customer_id (INT, PRIMARY KEY)
    - first_name (VARCHAR)
    - last_name (VARCHAR)
    - email (VARCHAR)
    - phone (VARCHAR)
    - address (VARCHAR)
    - city (VARCHAR)
    - state (VARCHAR)
    - zip_code (VARCHAR)

    Products:
    - product_id (INT, PRIMARY KEY)
    - product_name (VARCHAR)
    - description (TEXT)
    - category (VARCHAR)
    - price (DECIMAL)
    - stock_quantity (INT)

    Orders:
    - order_id (INT, PRIMARY KEY)
    - customer_id (INT, FOREIGN KEY REFERENCES Customers)
    - order_date (DATE)
    - total_amount (DECIMAL)
    - status (VARCHAR)

    Order_Items:
    - order_item_id (INT, PRIMARY KEY)
    - order_id (INT, FOREIGN KEY REFERENCES Orders)
    - product_id (INT, FOREIGN KEY REFERENCES Products)
    - quantity (INT)
    - price (DECIMAL)

    Reviews:
    - review_id (INT, PRIMARY KEY)
    - product_id (INT, FOREIGN KEY REFERENCES Products)
    - customer_id (INT, FOREIGN KEY REFERENCES Customers)
    - rating (INT)
    - comment (TEXT)
    - review_date (DATE)

    Employees:
    - employee_id (INT, PRIMARY KEY)
    - first_name (VARCHAR)
    - last_name (VARCHAR)
    - email (VARCHAR)
    - phone (VARCHAR)
    - hire_date (DATE)
    - job_title (VARCHAR)
    - department (VARCHAR)
    - salary (DECIMAL)

    자연어 요청을 기반으로 데이터를 검색할 SQL 쿼리를 제공하세요.
    User주문을 한 적이 있지만 리뷰를 제공하지 않은 고객 목록과 그들이 주문에 지출한 총 금액을 가져오세요.

    예시 출력

    SELECT c.first_name, c.last_name, SUM(o.total_amount) AS total_spent
    FROM Customers c
    INNER JOIN Orders o ON c.customer_id = o.customer_id
    LEFT JOIN Reviews r ON c.customer_id = r.customer_id
    WHERE r.review_id IS NULL
    GROUP BY c.customer_id, c.first_name, c.last_name;
    

    API 요청


    • API 요청
    © 2025 ANTHROPIC PBC

    Products

    • Claude
    • Claude Code
    • Max plan
    • Team plan
    • Enterprise plan
    • Download app
    • Pricing
    • Log in

    Features

    • Claude and Slack
    • Claude in Excel

    Models

    • Opus
    • Sonnet
    • Haiku

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Claude Developer Platform

    • Overview
    • Developer docs
    • Pricing
    • Amazon Bedrock
    • Google Cloud’s Vertex AI
    • Console login

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Help and security

    • Availability
    • Status
    • Support center

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy

    Products

    • Claude
    • Claude Code
    • Max plan
    • Team plan
    • Enterprise plan
    • Download app
    • Pricing
    • Log in

    Features

    • Claude and Slack
    • Claude in Excel

    Models

    • Opus
    • Sonnet
    • Haiku

    Solutions

    • AI agents
    • Code modernization
    • Coding
    • Customer support
    • Education
    • Financial services
    • Government
    • Life sciences

    Claude Developer Platform

    • Overview
    • Developer docs
    • Pricing
    • Amazon Bedrock
    • Google Cloud’s Vertex AI
    • Console login

    Learn

    • Blog
    • Catalog
    • Courses
    • Use cases
    • Connectors
    • Customer stories
    • Engineering at Anthropic
    • Events
    • Powered by Claude
    • Service partners
    • Startups program

    Company

    • Anthropic
    • Careers
    • Economic Futures
    • Research
    • News
    • Responsible Scaling Policy
    • Security and compliance
    • Transparency

    Help and security

    • Availability
    • Status
    • Support center

    Terms and policies

    • Privacy policy
    • Responsible disclosure policy
    • Terms of service: Commercial
    • Terms of service: Consumer
    • Usage policy
    © 2025 ANTHROPIC PBC