What is the meaning of ‘empty set’ in MySQL result set?

MySQLMySQLi Database

If there is ‘empty set’ in the result set of MySQL query then it means that MySQL is returning no rows and no error also in the query. It can be understood with the help of the following example −

mysql> Select * from Student_info WHERE Name = 'ABCD';
Empty set (0.00 sec)

We can see the empty set and execution time as output. It means that the query is correct but the MySQL table is not having the name ‘ABCD’.

Published on 22-Feb-2018 11:35:08