This MySQL and SQL Online Test
Separates Good From Bad Hires

Check our public questions below

Solve questions to get feedback or
take a practice test and get a free certificate.

Screen with work-sample questions

Work-samples are the best predictor of work performance. 8,000+ companies use TestDome premium questions.

About the test

The MySQL and SQL online test assesses candidates' knowledge of SQL queries, relational database concepts, and specific MySQL features.

It's an ideal test for pre-employment screening. A good database admin or back-end developer working exclusively on a MySQL server database needs to be able to use features specific to MySQL to interface efficiently with the database.

This online test requires candidates to answer multiple-choice questions about MySQL, write queries and stored procedures for MySQL, and write SQL queries that extract, combine, or manipulate data.

Sample public questions

Easy
3 min
mca
Public
MySQL
Pagination

Consider the following table:

CREATE TABLE users (
  id BIGINT NOT NULL AUTO_INCREMENT PRIMARY KEY,
  username VARCHAR(50) NOT NULL
);

The following query is used to paginate the table:

SELECT * FROM users ORDER BY username LIMIT 5 OFFSET 15;

Select all the true statements about this method of pagination.

Easy
3 min
code
Public
SQL
Aggregation
Select

Given the following data definition, write a query that returns the number of students whose first name is John.

TABLE students
   id INTEGER PRIMARY KEY,
   firstName VARCHAR(30) NOT NULL,
   lastName VARCHAR(30) NOT NULL

For jobseekers: get certified

Earn a free certificate by achieving top 25% on the MySQL and SQL test with public questions.

Take a Certification Test

For companies: premium questions

Buy TestDome to access premium questions that can't be practiced.
Get money back if you find any premium question answered online.

Sign Up to Offer this Test

53 more premium MySQL and SQL questions

Dot Items, Cargo Concat, JSON Stock, Employee Sales, Roads, Authors, Autocomplete, Bank Branches, Cheapest Product, Countries, Developers, Hospital Patients, Index Performance, Menu Items, Movies, Projects, Rectangles, Restaurant Menu, Retirees, SMS Messages, Poll, Users and Accounts, Matching Clothes, Student Max Score, Agents, Manager Sales, Bill Discount, Cultivated Fields, Reservations Report, Accounts Trigger, Root Menu, Sales, Employee Manager, Auto Show, Delete Orders, Welfare Organization, Tasks, Manager Sales, Student Rankings, Student Activities, Youngest Child, Movies Live, Department Report, Ingredients, Average Salary, Movie Genres, River Discharge, ATM Locations, Customer Paging, Transactions, Merge Stock Index, Ban Users, Employee Tree.

Skills and topics tested

  • MySQL
  • String Functions
  • Aggregation
  • JSON
  • Window Functions
  • SQL
  • Conditions
  • Views
  • Select
  • Create Index
  • Database Schema
  • Performance Tuning
  • Constraints
  • Create Table
  • Subqueries
  • Ordering
  • Bug Fixing
  • Indexes
  • Alter Table
  • Group by
  • Update
  • Insert
  • Joins
  • Left Join
  • Right Join
  • CTE
  • Cursors
  • Stored Procedure
  • Date Functions
  • Triggers
  • Recursion
  • Delete
  • SQL CASE
  • Union
  • Database Normalization
  • Pagination

For job roles

  • Data Analyst
  • Database Administrator
  • MySQL Database Administrator
  • MySQL Developer
  • SQL Developer

Solve all your skill testing needs

150+ Pre-made tests

From web development and database administration to project management and customer support. See all pre-made tests.

Multi-skills Test

Mix questions for different skills or even custom questions in one test. See an example.

How TestDome works

1

Choose a pre-made test
or create a custom test

2

Invite candidates via
email, URL or your ATS

3

Candidates take
a test remotely

4

Sort candidates and
get individual reports

Want to know more?

Not exactly what you're looking for?

Related MySQL and SQL Programming Tests: