Skip to content
Home
Tutorials
Top Tutorials
PHP Tutorial
HTML Tutorial
SEO Tutorial
C Tutorial
CSS Tutorial
WordPress Tutorial
Latest Tutorials
Python Tutorial
PHP REST API
jQuery Tutorial
JavaScript Tutorial
Bootstrap Tutorial
Java Tutorial
Popular Tutorials
PHP Tutorial
HTML Tutorial
SEO Tutorial
C Tutorial
CSS Tutorial
WordPress Tutorial
Other Tutorials
Python Tutorial
PHP REST API
jQuery Tutorial
JavaScript Tutorial
Bootstrap Tutorial
Java Tutorial
Exercises
PHP Exercise
PHP All Exercises & Assignments
PHP Top Exercises
PHP String
PHP Loops
PHP Variables
PHP Decision Making
PHP/HTML Exercise
PHP Functions
PHP Syntax
PHP Array
PHP MySQL
HTML Top Exercises
HTML Basics
PHP Popular Exercise
Write a PHP program to check whether a number is positive, negative or zero
Write a PHP program to check if a person is eligible to vote
Write a simple calculator program in PHP using switch case
Write a program to calculate Electricity bill in PHP
Write a program to create Chess board in PHP using for loop
Write a factorial program using for loop in php
HTML Popular Exercise
Program to see difference between paragraphs & normal text with line break
Steps to Create a Webpage in HTML using Notepad
Interview FAQs
Top Interview Questions Categories
All PHP Interview Questions & Answers
PHP Interview Questions & Answers for Freshers
WordPress Interview Questions & Answers
Top GIT Interview Questions & Answers
All HTML Interview Questions & Answers
PHP Functions Interview Questions & Answers
Top PHP Interview Questions
All PHP Interview Questions & Answers
PHP Interview Questions & Answers for Freshers
PHP Functions Interview Questions & Answers
PHP String Interview Questions & Answers
PHP Array Interview Questions & Answers
PHP Interview Questions & Answers for experienced
Most Popular Interview Questions
Codes
Code, Script & Snippets Categories
HTML
PHP
PHP Login Registration Scripts
Top PHP Code, Script and Snippets
PHP Simple Login and Registration Script
PHP simple Login & Remember me script using Cookies
PHP Simple CRUD Application Script
Top HTML Code, Script and Snippets
HTML Contact Form Template
Basic HTML Page layout using Div tags
Basic HTML Page layout using table tag
Blog
Article Categories
Career
Tools & Resources
PHP
Top Articles
Latest Articles
Content Writing Tips for beginners
List of totally free website templates (No link back)
Steps for jQuery Plugin Integration into Website
Top Articles
Importance of PHP Self Learning & Exploring PHP Resources
List of jQuery amazing content sliders
List of Free HTML template websites
Home
»
Exercises
»
MySQL Exercises
MySQL Exercises
Write a query to show the total balance using debit and credit entries
Write a query to show the count of students by city
Write a query to show the student name who has the second highest marks
Write a query to show the average marks of each city
Write a query to get all column names of a database table
Write a query to get data of selected columns from a table
Write a query to select the student with the maximum marks
Write a query to select top 3 students by marks
Write a query to find the cities that have more than one student
Write a query to update a column based on a condition
Write a query to update the value of a column using concatenation
Write a query to select the rows if a column has no value
Write a query to fetch the names of the students in upper case
Write a query to fetch the number of students from Delhi
Write a query to retrieve the first four characters of the name
Write a query to create a new table with the data and structure of another table
Write a query to find the names of students that begin with ‘A’
Write a query to fetch the top 2 records
Write a query to show the names of students with their course names
Write a query to count the students of each course, including empty courses
MySQL Exercises Categories
MySQL All Exercises & Assignments
MySQL Select and Filter
MySQL Top Exercises
MySQL Aggregate and Group
MySQL Joins and Subqueries
MySQL Insert, Update and Delete