The mysql query in phpmyadmin can be run in 2 ways.
The one way is click on the sql tab in the phpadmin and write the sql query code and click on the go button to execute it.
The other option is to construct a mysql query in the sql tab
In this area you can define different search conditions, sort the results and query multiple tables
select the table used in the query from the use tables list
In the cirteria field enter the cirteria to be searched.
In the modify field you can define the relations such as AND or OR logical operations.

