FastPrepCompanies Above a Salary Threshold
Problems/Companies Above a Salary Threshold

Companies Above a Salary Threshold

Verisk logoVerisk● EasyFULLTIMEOA

Updated Oct 2026

QuestionConstraints

Problem statement

Source note: The interview report supplies company and salary records linked by company ID, a strict average-salary threshold of 40000, company-name output, and company-ID ordering. Column names, nullability, and the unused reported employee-table mention are resolved by the disclosed schema. Approximate source match: 92%.

The companies table stores canonical company names, and salaries stores employee salaries linked by company identifier.

Return the name of every company whose average salary is strictly greater than 40000. Order rows by company_id ascending.

TableColumns
companiescompany_id, company_name
salariesemployee_id, company_id, salary

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.

companies

One row per company.

ColumnTypeNullableDescription
company_idPKIntegerNo—
company_nameTextNo—

salaries

One salary row per employee.

ColumnTypeNullableDescription
employee_idPKIntegerNo—
company_idIntegerNo—
salaryIntegerNo—

Expected result

Your query or function must return these columns.

ColumnTypeNullableDescription
company_nameTextNo—

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

Constraints

  • Each table contains between 1 and 100000 rows.
  • Identifiers and names are non-null; every salary row references a company.
  • 0 <= salary <= 1000000000.

More Verisk Online Assessment questions

  • Meandering ArrayOA · Seen Oct 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
  • Customer Resource Usage AnalysisIBM · OAIBM interview questions
  • Customers Who Never OrderedAccenture · OAAccenture interview questions
  • First Duplicate Transaction Within Ten MinutesLenskart · OA
See Verisk hiring insights