KỸ NĂNG LẬP TRÌNH

Bài kiểm tra truy vấn SQL trong tuyển dụng

See how candidates write and check an intermediate SQLite query against a realistic business scenario.

  • 30 phút
  • 1 bài tập
  • Trung cấp
  • Bài tập lập trình
  • Câu hỏi bằng Tiếng Anh
  • Chỉ dành cho máy tính để bàn

Câu trả lời ngắn gọn

The SQL Coding: Querying test is a single hands-on SQLite task set in a realistic business scenario. Candidates read a small database schema and write one query that combines tables, groups and summarizes data, filters groups and handles missing values. It takes 30 minutes and suits backend and full-stack developers, data engineers and analytics engineers.

Nội dung đánh giá

Writing a correct, medium-complexity SQLite query against a multi-table database.

Intermediate SQL querying

Covers writing a query that combines tables, summarizes grouped data, filters groups and handles missing values.

Các dạng câu hỏi

Bài tập lập trình

Ứng viên: Viết hoặc sửa mã trong trình soạn thảo rồi chạy thử với các ví dụ.

Bạn sẽ thấy: Mã chạy được, được kiểm tra bằng các trường hợp thử ẩn, không chỉ đánh giá kiến thức về cú pháp.

1 bài tập trong 30 phút.

Các vị trí phù hợp với bài đánh giá này

Backend and full-stack developers, data engineers, analytics engineers and other technical roles that write SQL against relational databases day to day.

What the SQL coding test shows that a resume does not

  1. A working query, not a list of keywords

    The candidate writes a real query against a multi-table database, so you see whether they can produce the requested result rather than name the clauses.

  2. Joins and grouping done right

    The task combines tables, groups and summarizes data and filters groups, the steps where plausible but wrong results usually start.

  3. Care with missing values

    Handling missing values correctly is part of the task, and it separates queries that look right from queries that are right.

Thông tin bạn nhận được về từng ứng viên

Báo cáo mẫu (dữ liệu hư cấu)Lập trình SQL: Truy vấn dữ liệu
71%Phân vị 46. Mốc tham chiếu: ứng viên HireValid, n = 2.031
Intermediate SQL querying71%
Integrity ScoreĐộ tin cậy cao
  • Luôn ở trên thẻ làm bài kiểm tra
  • Không dán câu trả lời
  • Trả lời với tốc độ ổn định

Điểm số, hồ sơ và tín hiệu về tính liêm chính là những bằng chứng để bạn xem xét cùng với buổi phỏng vấn, không bao giờ là căn cứ cho quyết định tự động.

Dùng thử bài kiểm tra này miễn phí

How the SQL coding test resists AI help

Each candidate gets a task drawn from a large pool, served from the server. The hidden test cases and the solutions never reach the browser: the query runs against several hidden versions of the data on the server, so it must work in general, not just on the sample rows shown. Timing runs on the server, so a reload returns the same task with the time left, and invitation links are personal and expire.

Task text cannot be copied, and a blocked copy is recorded. Pastes into the editor are recorded. Signals such as time away from the tab, pastes and very fast work are summarized in an Integrity Score with a timeline for the employer to review. The score never decides anything about the candidate.

Use the score with a follow-up conversation

The score is the share of hidden data versions the query answers correctly, and it comes from one task, so it reflects a single scenario. Read it as evidence alongside a short technical conversation and a structured interview, never on its own. Ask the candidate to walk through their query: someone who understands joins and missing values can explain why it returns what it does. Any query that returns the right result earns credit, so a different style from your own is never a reason to mark someone down.

Interview questions to ask after the SQL coding test

  1. Walk me through your query. Why did you choose that kind of join?

    Listen for which rows each join keeps or drops, and whether that matches the question.

  2. How do you check a query's result before you trust it?

    Strong answers mention checking row counts, looking for duplicates after a join, and testing with missing values.

  3. When do you filter rows before grouping, and when do you filter the groups?

    Listen for a clear difference between filtering rows and filtering groups, and why it changes totals.

Tính công bằng và các điều chỉnh phù hợp

Scenarios use everyday business data (orders, bookings, inventory, support tickets, staff schedules) with no money symbols, local holidays or culture-specific knowledge, and names from many backgrounds. Every task is drafted at the same intermediate difficulty, states the exact columns, order and rounding of the expected result, and runs on SQLite as described in the task, so candidates are not marked down for dialect details the task does not ask about.

Bạn có thể cho bất kỳ ứng viên nào thêm thời gian như một biện pháp hỗ trợ. Kết quả là bằng chứng để con người xem xét, không bao giờ là quyết định tự động.

Provisional: the score comes from one task, so it reflects a single scenario. Reliability is reported once 200 candidates have completed it.

Đọc cách tiếp cận của chúng tôi về tính công bằng

Chi tiết bài kiểm tra

A single hands-on SQL task set in a realistic business scenario. The candidate reads a small database schema with sample rows and writes one SQLite query that returns exactly the requested result, combining tables, grouping and summarizing data, filtering groups and handling missing values. The query is run against several hidden versions of the data, and the score is the share of those it answers correctly.

  • Câu hỏi bằng tiếng Anh.
  • Được phép sử dụng: Giấy nháp.
  • 1 bài tập luyện, 10 phút, trước bài kiểm tra tính giờ.
  • Được thực hiện trên máy tính để bàn hoặc máy tính xách tay.

SQLite là nhãn hiệu thuộc sở hữu của chủ sở hữu tương ứng. HireValid không liên kết với hoặc được chứng thực bởi nhãn hiệu này.

Câu hỏi thường gặp

What is on the SQL Coding: Querying test?+

One hands-on task in a realistic business scenario, with 30 minutes to complete it. The candidate reads a small database schema with sample rows and writes one SQLite query that returns exactly the requested result, combining tables, grouping and summarizing data, filtering groups and handling missing values.

Which SQL dialect does the SQL coding test use?+

SQLite. Each task states the exact columns, order and rounding of the expected result and runs on SQLite as the task describes, so candidates are not marked down for dialect details the task does not ask about. If the role relies on another database's features, check those in a follow-up conversation.

Does the SQL Coding: Querying test ask candidates to write queries?+

Yes. Candidates write one query rather than choosing from options. The query is run against several hidden versions of the data, which shows whether it works in general and not only on the sample rows.

How is the SQL coding test scored?+

The score is the share of the hidden data versions the query answers correctly. Any query that returns the right result earns credit, whatever its style. Because the score comes from one task, read it alongside a conversation about the query.

Can candidates take the SQL Coding: Querying test on a phone?+

No. The SQL Coding: Querying test is desktop-only. Candidates have 30 minutes for one coding task, may use scratch paper, and can try one practice task in 10 minutes before the timed task starts.

Bài kiểm tra liên quan

Sử dụng bài kiểm tra Lập trình SQL: Truy vấn dữ liệu trong đợt tuyển dụng tiếp theo

Mọi gói, kể cả Free, đều có đầy đủ thư viện bài kiểm tra.

Dùng thử bài kiểm tra này miễn phíGói Free. Không cần thẻ tín dụng.
Gói Free. Không cần thẻ tín dụng.Dùng thử bài kiểm tra này miễn phí

Giới thiệu đội ngũ biên tập

Được đội ngũ biên tập HireValid biên soạn và kiểm chứng thông tin. Nguồn đã kiểm tra . Đọc chính sách biên tập.