# Survey Sampling | Aced

Aced (formerly Exponent) publishes a public search API over its indexed pages; the guide is at https://www.aced.io/agents/agent-access.

Source: https://www.aced.io/questions/3070/survey-sampling
Source observed: 2026-11-04T23:34:36.013Z
Last checked: 2026-11-04T23:34:36.013+00:00
Indexed: 2026-11-06T15:57:41.969+00:00

---

# Survey Sampling

**Difficulty:** Easy  
**Category:** [Coding](https://www.aced.io/questions?type=coding) · [SQL](https://www.aced.io/questions?type=sql)  
**Interview frequency:** 1 interview  
**Reported last asked:** 3 years ago

## Question

Nielsen is a global measurement and data analytics company. Its databases contain information about products, customers, and buying behaviors.

You are given a table named `customers` with these columns:

| Column | Type | Description |
|---|---|---|
| `customer_id` | integer | A unique identifier for each customer. |
| `customer_name` | string | The customer's name. |
| `products_bought` | integer | The number of products bought by the customer in the last year. |
| `last_survey_date` | date | The date the customer was last surveyed. |

The company wants to regularly survey a subset of customers while gathering a diverse set of opinions. It selects every 3rd customer based on the customer's row index in the database.

Write an SQL query that returns the `customer_id` and `customer_name` of every 3rd customer based on row index in the `customers` table.

## Practice interface

We provide Question, Solution, and Community tabs, along with an editor, output panel, test-results panel, and console. The solution is available through the interface. No community answers have been contributed yet.

Running code requires an account: [Sign up to run code](https://www.aced.io/signup?src=lesson).

## Aced learning resources

We are Aced, formerly Exponent. We offer interview preparation through courses and practice questions, including:

- [Product Management](https://www.aced.io/courses/pm?src=nav): Ace product interviews from strategy cases to technical skills.
- [Forward Deployed](https://www.aced.io/courses/forward-deployed-engineering?src=nav): Prepare for FDE loops at Anthropic, OpenAI, Palantir, and more.
- [Engineering Management](https://www.aced.io/courses/engineering-management?src=nav): Review leadership and people-management skills.
- [Software Engineering](https://www.aced.io/courses/software-engineering?src=nav): Learn strategies for coding problems and more.
- [System Design](https://www.aced.io/courses/system-design-interviews?src=nav): Define architectures, interfaces, and databases in a time crunch.
- [Data Science](https://www.aced.io/courses/data-science?src=nav): Execute statistical techniques and experimentation effectively.
- [Machine Learning](https://www.aced.io/courses/ml-engineer?src=nav): Review building, evaluating, and deploying AI/ML models.
- [Data Engineering](https://www.aced.io/courses/data-engineering?src=nav): Design complex data models and ETL pipelines.
- [AI Engineering](https://www.aced.io/courses/ai-engineering?src=nav)
- [Investment Banking](https://www.aced.io/ib?src=nav)
- [Generative AI](https://www.aced.io/courses/gen-ai-interviews?src=nav)
- [Security Engineer](https://www.aced.io/courses/security-engineer?src=nav)
- [TPM](https://www.aced.io/courses/tpm?src=nav)
- [Solutions Architect](https://www.aced.io/courses/solution-architect-interview?src=nav)
- [UX / Product Design](https://www.aced.io/courses/product-designer-interview?src=nav)
- [BizOps & Strategy](https://www.aced.io/courses/bizops?src=nav)

Other practice resources include [Loops](https://www.aced.io/guides?src=nav), [Experiences](https://www.aced.io/experiences?src=nav), [all questions](https://www.aced.io/questions?src=nav), [coaching](https://www.aced.io/coaching?src=nav), and [pricing](https://www.aced.io/upgrade?src=nav).

---

[Read this page’s summary](https://www.aced.io/agents/api/public/v1/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3070%2Fsurvey-sampling&trace=t_679ff9ab98f3)

## Ask a follow-up about this page

Need a more specific answer? Ask the exact question you have. It returns a fresh, cited answer from Aced (formerly Exponent)’s knowledge base. No account or API key required.

Open this URL with your own question, URL-encoded. Include your question in q. All research inputs are optional; no account or setup.

`GET https://www.aced.io/agents/agent/faq?q={question}&trace=t_679ff9ab98f3`

[Tool guide and examples](https://www.aced.io/agents/agent-access) · [OpenAPI](https://www.aced.io/agents/api/public/v1/openapi.json) · [Page TLDR form](https://www.aced.io/agents/agent-tools/page-tldr?url=https%3A%2F%2Fwww.aced.io%2Fquestions%2F3070%2Fsurvey-sampling). Opening a form does not execute a tool.