# Introduction

![](https://2883586225-files.gitbook.io/~/files/v0/b/gitbook-legacy-files/o/assets%2F-MWGLUXcek_KgwMLAO9R%2F-MWGM6G2ub42ZCrgxP3E%2F-MWGO0aHgUEPyY2jdXdw%2Fimage.png?alt=media\&token=c5d82193-5909-49be-a0c7-134a57580ea6)

HiveSQL is a **publicly available Microsoft SQL database** containing all the Hive blockchain data.

Data are structured and easily accessible from any application able to connect to an MS-SQL Server database. It allows you to easily access data contained in the Hive blockchain and perform analysis or find valuable information.

Browsing the blockchain over and over to retrieve and compute values is time and resource consuming.\
Instead of having a local copy of the blockchain or downloading the whole data from some external public node to process it, you will send your query to HiveSQL server and get the requested information.

HiveSQL makes it possible to produce quick answers to complex questions.

#### Why use a SQL database?

The main advantage of having such a database is the fact data are structured and easily accessible\
from any application able to connect to a SQL Server database. Having a SQL Server database makes\
it possible to produce quick answers to complex queries.

Simply put, a query is a question. You ask the server for something and it sends back an answer (the query result set).\
For example, when dealing with large amounts of data such as the Hive blockchain data, you might want to search for the following information:

* What was the Hive power-down volume during the past six weeks?
* Which are the top 10 most rewarded post ever?
* How many times have I been mentioned in a post or comment last 7 days?
* How many posts are talking about ants?


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.hivesql.io/master.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
