Home > Database > Mysql Tutorial > body text

Write a MySQL query that shows an inequality condition?

PHPz
Release: 2023-09-09 10:01:03
forward
1145 people have browsed it

写出显示不等式条件的 MySQL 查询?

Inequality means NOT EQUAL TO. MySQL has two inequality operators, ‘’ and ‘!=’. The following MySQL query shows the inequality condition

mysql> Select tender_value From estimated_cost1 WHERE Name_company != 'Chd Ltd.';
Copy after login

The above query shows the inequality condition because it has the != operator.

mysql> Select tender_value From estimated_cost1 WHERE Name_company <> &#39;Chd Ltd.&#39;;
Copy after login

The above query shows the inequality condition because it has the operator.

The above is the detailed content of Write a MySQL query that shows an inequality condition?. 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