---
title: Query builder: NRQL mode
source: https://docs.newrelic.com/docs/query-your-data/explore-query-data/query-builder/use-advanced-nrql-mode-query-data
---

You can learn about how to form NRQL queries in the [NRQL docs](https://docs.newrelic.com/docs/insights/nrql-new-relic-query-language/using-nrql/introduction-nrql). The following table gives some additional tips for using NRQL in the query builder.

| Item                  | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| --------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| Prompts               | For each statement or function in your query, you can view a list of valid options, with tooltips. ![crop-prompt-nrql.png](https://docs.newrelic.com/images/queries-nrql_screenshot-crop_query-builder-prompts.webp "crop-prompt-nrql.png") Example of a prompt in NRQL mode.                                                                                                                                                                                 |
| Events                | You can use multiple event types in an NRQL query.                                                                                                                                                                                                                                                                                                                                                                                                            |
| Attributes            | You can use multiple attributes per event type in an NRQL query.                                                                                                                                                                                                                                                                                                                                                                                              |
| View previous queries | Once you run an NRQL query, use the **My recent queries** dropdown to view up the last 1,000 queries that you ran. The dropdown has a search box to help you find your query.                                                                                                                                                                                                                                                                                 |
| Autocompleter         | The query builder's autocompleter will display events and attributes reported within the last 60 minutes. An example of this is a process that runs once a day, such as a standard system health check that kicks off every morning at 6:00am. If you attempt to query the event at 7:05am, the event and subsequent attributes will not be visible in the autocomplete dropdown. These events and attributes are still queryable by typing the exact string. |
| Multi query           | When using the [`TIMESERIES`](https://docs.newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/nrql-syntax-clauses-functions#sel-timeseries) clause you can run and compare up to 10 queries from different accounts. To use multi query, enter your first query with `TIMESERIES` and run it. Once the results are rendered, the **Add another query** button is activated and you can add another query.                             |
