# Query

Zerve simplifies data access by removing the need for matching driver packages in Python, streamlining workflows for data manipulation and analysis. It supports native SQL query execution, GraphQL for vector database, and database connectivity through Query Blocks, allowing users to execute queries and save the results in a dataframe for use in subsequent operations.

<figure><img src="https://1018070783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQKNeqjEeOp9UwUcB9R9%2Fuploads%2Fg1UmYxrZ6TtI8K9XXJDY%2Fimage.png?alt=media&#x26;token=4a7a34f9-5962-44aa-adce-95261a2e6c1b" alt=""><figcaption></figcaption></figure>

**SQL On Pandas Dataframe:**

Zerve supports utilizing any pandas dataframe as a database source, enabling the execution of SQL queries directly on the dataframe. To leverage this feature, connect a Python block containing a dataframe to an SQL block.&#x20;

This integration allows you to perform SQL queries on the dataframe as if it were a traditional database, enhancing data manipulation and analysis capabilities within Zerve.

<figure><img src="https://1018070783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQKNeqjEeOp9UwUcB9R9%2Fuploads%2FHN76HU2ovFmbO97jlm8x%2Fimage.png?alt=media&#x26;token=eb4620b9-eff7-4117-afd6-693420ad0dab" alt=""><figcaption></figcaption></figure>

<figure><img src="https://1018070783-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FIQKNeqjEeOp9UwUcB9R9%2Fuploads%2FVV8qumNC2R4htf3AwYcK%2Fimage.png?alt=media&#x26;token=519b7160-3f1e-423e-b4e2-71a939863cd1" alt=""><figcaption></figcaption></figure>
