Home >Database >Mysql Tutorial >In a query, which clause among 'SELECT', 'WHERE', and 'FROM' does the database server evaluate last, and why?

In a query, which clause among 'SELECT', 'WHERE', and 'FROM' does the database server evaluate last, and why?

王林
王林forward
2023-08-31 09:05:021162browse

In a query, which clause among SELECT, WHERE, and FROM does the database server evaluate last, and why?

As we all know, the SELECT clause is used to display all rows and columns, so the database server evaluates the SELECT clause last.

The above is the detailed content of In a query, which clause among 'SELECT', 'WHERE', and 'FROM' does the database server evaluate last, and why?. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:tutorialspoint.com. If there is any infringement, please contact admin@php.cn delete