Home > Database > Mysql Tutorial > body text

What does 'empty set' in MySQL result set mean?

PHPz
Release: 2023-09-09 12:13:09
forward
962 people have browsed it

What does empty set in MySQL result set mean?

If there is an "empty set" in the result set of a MySQL query, it means that MySQL did not return any rows and there were no errors 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)
Copy after login

We can see the output is empty set and the execution time. This means the query is correct, but the MySQL table does not have the name "ABCD".

The above is the detailed content of What does 'empty set' in MySQL result set mean?. For more information, please follow other related articles on the PHP Chinese website!

source:tutorialspoint.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template