# Select All

Query all columns (attributes) for every row in the **CITY** table.

{% embed url="<https://www.hackerrank.com/challenges/select-all-sql/problem?isFullScreen=true>" %}

The **CITY** table is described as follows:\
![CITY.jpg](https://s3.amazonaws.com/hr-challenge-images/8137/1449729804-f21d187d0f-CITY.jpg)

Solution:

SELECT \* FROM CITY;

Explanation:

This query retrieves all columns from the CITY table, fetching all the data stored in that table without any conditions or filters applied.


---

# 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://pavithrasundaram091097s-organiza.gitbook.io/my-space/skills/hackerrank/select-all.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.
