Chuyển đến nội dung
Skillpedia
Cơ sở dữ liệu33k · #8714

bigquery-basics

Skill này làm gì

Skill này giúp AI của bạn dùng Google BigQuery, một nền tảng dữ liệu serverless để phân tích dữ liệu lớn bằng SQL. Nó dành cho nhà phân tích và lập trình viên làm việc với tập dữ liệu lớn trên Google Cloud.

Khi nào nên dùng

  • ✓Khi bạn cần chạy một truy vấn SQL trên tập dữ liệu lớn trong BigQuery.
  • ✓Khi bạn muốn tạo dataset hoặc bảng cho dữ liệu của mình trên Google Cloud.
  • ✓Khi bạn muốn dùng BigQuery ML hoặc các tính năng AI để phân tích.

Liên kết skill

https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/bigquery-basics/SKILL.md

Sao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.

Cách dùng

Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.

Tin nhắn có sẵn để dán

Hãy dùng skill này để giúp tôi: https://github.com/davila7/claude-code-templates/blob/main/cli-tool/components/skills/database/bigquery-basics/SKILL.md Đọc tệp SKILL.md tại liên kết đó và làm theo hướng dẫn cho việc của tôi.
Bạn muốn AI tự tìm những skill như thế này?Cài MCP Skillpedia miễn phí: chỉ một dòng, và AI sẽ tìm trong 15.000+ skill trước mỗi việc.Cài đặt trong 1 phút →

Ví dụ cách nhờ AI

“Hãy tạo một bảng BigQuery từ file CSV bán hàng của tôi và cho tôi xem tổng theo khu vực.”

5 skill mới mỗi tuần. Đọc chỉ 1 phút.

Cách hoạt động

Agent dùng công cụ dòng lệnh bq và các truy vấn SQL để tạo dataset và bảng, rồi chạy phân tích. Nó làm theo hướng dẫn của skill về schema và định dạng truy vấn.

Nội dung kỹ thuật (SKILL.md gốc)

Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.

BigQuery Basics

BigQuery is a serverless, AI-ready data platform that enables high-speed analysis of large datasets using SQL and Python. Its disaggregated architecture separates compute and storage, allowing them to scale independently while providing built-in machine learning, geospatial analysis, and business intelligence capabilities.

Setup and Basic Usage

  1. Enable the BigQuery API:

    gcloud services enable bigquery.googleapis.com --quiet
    
  2. Create a Dataset:

    bq mk --dataset --location=US my_dataset
    
  3. Create a Table:

    Create a file named schema.json with your table schema:

    [
      {
        "name": "name",
        "type": "STRING",
        "mode": "REQUIRED"
      },
      {
        "name": "post_abbr",
        "type": "STRING",
        "mode": "NULLABLE"
      }
    ]
    

    Then create the table with the bq tool:

    bq mk --table my_dataset.mytable schema.json
    
  4. Run a Query:

    bq query --use_legacy_sql=false \
    'SELECT name FROM `bigquery-public-data.usa_names.usa_1910_2013` \
    WHERE state = "TX" LIMIT 10'
    

Reference Directory

  • Core Concepts: Storage types, analytics workflows, and BigQuery Studio features.

  • CLI Usage: Essential bq command-line tool operations for managing data and jobs.

  • Client Libraries: Using Google Cloud client libraries for Python, Java, Node.js, and Go.

  • MCP Usage: Using the BigQuery remote MCP server and Gemini CLI extension.

  • Infrastructure as Code: Terraform examples for datasets, tables, and reservations.

  • IAM & Security: Roles, permissions, and data governance best practices.

If you need product information not found in these references, use the Developer Knowledge MCP server search_documents tool.

Related Skills

Câu hỏi thường gặp

Tôi bắt đầu với BigQuery như thế nào?

Trước tiên hãy bật API BigQuery trong dự án Google Cloud, sau đó tạo dataset bằng công cụ bq.

Tôi có cần biết SQL không?

Biết một chút SQL sẽ có ích, nhưng agent có thể viết truy vấn dựa trên câu hỏi của bạn.

Nó có làm việc được với Python không?

Có. Skill lưu ý rằng BigQuery hoạt động với cả SQL và Python.

Chi tiết

Mô tả gốc của tác giả

Manages datasets, tables, and jobs in BigQuery, and integrates with BigQuery ML and Gemini for advanced data analytics and AI-driven insights. Use for SQL queries, resource management, data ingestion, or AI applications on BigQuery.

repo: davila7/claude-code-templates

Độ phổ biến

Sao GitHub
33k
Vị trí xếp hạng
#8714
Giấy phép
MIT
Cập nhật
2/11/2026

Skill này có hữu ích không?

0

Đăng nhập để bình chọn.

Bình luận

  • …

Thêm skill từ kho mã này

Skill tương tự