FastPrepCustomers Who Never Ordered
Problems/Customers Who Never Ordered

Customers Who Never Ordered

Accenture logoAccenture● EasyINTERNOA

Updated Nov 2026

QuestionConstraints

Problem statement

Source note: The report says directly that the task is to list customers who have never placed an order. We chose the table layout, a fixed row order, and the test data. Our version is about 94% the same as the reported question.

You are given two tables, customers and orders.

Return the customer_id and customer_name of every customer who has never placed an order.

Return the rows in ascending order by customer_id.

Table schema

MySQLPostgreSQLPandas

Use the same input data with any supported language. Open the Schema tab in the editor to see the generated SQL setup or Pandas DataFrames.

customers

ColumnTypeNullableDescription
customer_idPKIntegerNoUnique customer identifier.
customer_nameTextNoCustomer display name.

orders

ColumnTypeNullableDescription
order_idPKIntegerNoUnique order identifier.
customer_idIntegerNoCustomer who placed the order.

Foreign key: customer_id → customers(customer_id)

Expected result

Your query or function must return these columns.

ColumnTypeNullableDescription
customer_idIntegerNo—
customer_nameTextNo—

Row order: must match exactly. Numeric tolerance: 0.

Constraints

  • Each customers.customer_id is unique.
  • Each orders.order_id is unique.
  • Every orders.customer_id references an existing customer.
  • A customer may have zero, one, or many orders.
  • Return each qualifying customer exactly once in ascending customer_id order.

More Accenture interview questions

  • Nearest Composite NumberOA · Seen Sep 2026
  • Minimum Password IncrementsOA · Seen Sep 2026
  • Reduce a Number to One DigitOA · Seen Sep 2026
  • Candy DistributionOA · Seen Sep 2026
  • Economical TripOA · Seen Sep 2026
  • Coin ChangeOA · Seen Sep 2026
  • Validate Email AddressOA · Seen Sep 2026
  • Closest Rhyming WordOA · Seen Aug 2026
  • Array Leader ElementsOA · Seen Nov 2025
  • Alternating Index Square SumONSITE INTERVIEW · Seen Sep 2026

Similar questions at other companies

  • Build Taxi Driver Performance FeaturesBoston Consulting Group · OABoston Consulting Group interview questions
  • Students Scoring Above AverageCapstone Investment Advisors · OA
  • Bond Interest Summary Above 3%Wells Fargo · OAWells Fargo interview questions
  • Employee Promotion OpportunitiesIntuit · OAIntuit interview questions
  • Students and Their SubjectsBirla Pivot · OA
  • Companies with Average Salary Above 40000AT&T · OAAT&T interview questions
  • Weekend Appointments for Consular Services ReschedulingMcKinsey & Company · OAMcKinsey & Company interview questions
  • Companies Above a Salary ThresholdVerisk · OA
  • Customer Resource Usage AnalysisIBM · OAIBM interview questions
  • First Duplicate Transaction Within Ten MinutesLenskart · OA

Accenture interview experiences

  • Accenture New Grad ASE OA Questions: 15 Experiences
All Accenture interview questionsSee Accenture hiring insights