Home  >  Article  >  Backend Development  >  How to query users without orders in Mysql?

How to query users without orders in Mysql?

WBOY
WBOYOriginal
2016-09-24 09:03:181223browse

Suppose there is an Order table and a User table. How should I query all users who do not have orders in one statement?

Statement:
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