<!--
  ~ Licensed to the Apache Software Foundation (ASF) under one
  ~ or more contributor license agreements.  See the NOTICE file
  ~ distributed with this work for additional information
  ~ regarding copyright ownership.  The ASF licenses this file
  ~ to you under the Apache License, Version 2.0 (the
  ~ "License"); you may not use this file except in compliance
  ~ with the License.  You may obtain a copy of the License at
  ~
  ~   http://www.apache.org/licenses/LICENSE-2.0
  ~
  ~ Unless required by applicable law or agreed to in writing,
  ~ software distributed under the License is distributed on an
  ~ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
  ~ KIND, either express or implied.  See the License for the
  ~ specific language governing permissions and limitations
  ~ under the License.
-->

---
description: Manage queries on your databases with Hasura
title: Queries Overview
sidebar_label: Overview
keywords:
  - hasura
  - docs
  - query
hide_table_of_contents: true
sidebar_position: 1
---

import Thumbnail from '@site/src/components/Thumbnail';
import VersionedLink from '@site/src/components/VersionedLink';
import Queries from '@site/static/icons/features/queries.svg';

# <Queries /> Queries

<div className="overview-header">
  <div className="overview-text">
    <p>
      With the Hasura GraphQL Engine, you get powerful, full-coverage queries right out of the box. As soon as you
      connect your database, you'll be able to query all your related and deeply nested data easily with the power of
      GraphQL. You'll also be able to aggregate, filter, sort, and paginate results.
    </p>
    <p>
      All of this is auto-generated and is available over a single GraphQL endpoint - all you have to do is paste in
      your database connection string and you're good to go!
    </p>
    <h4>Quick Links</h4>
    <ul>
      <li>
        <VersionedLink to="/queries/quickstart">Write your first query in 30 seconds.</VersionedLink>
      </li>
    </ul>
  </div>
  <iframe
    src="https://www.youtube.com/embed/TW7_F376D3g"
    frameBorder="0"
    allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture"
    allowFullScreen
  />
</div>

## Using Queries

<div className="overview-gallery">
  <VersionedLink to="/queries/postgres/filters/index/">
    <div className="card">
      <h3>Filter query results</h3>
      <p>
        Learn how to filter query results using <code>where</code> arguments.
      </p>
    </div>
  </VersionedLink>
  <VersionedLink to="/queries/postgres/sorting/">
    <div className="card">
      <h3>Sort query results</h3>
      <p>
        Learn how to sort query results using <code>order_by</code> and <code>limit</code> arguments.
      </p>
    </div>
  </VersionedLink>
  <VersionedLink to="/queries/postgres/aggregation-queries/">
    <div className="card">
      <h3>Aggregate query results</h3>
      <p>
        Learn how to use aggregation functions like <code>count</code>, <code>sum</code>, <code>avg</code>, and
        <code>max</code> to aggregate query results.
      </p>
    </div>
  </VersionedLink>
</div>
