The mysqli_multi_query() function executes one or more queries on the database. The commands must
be in a single string and separated by semicolons (;).
Practical use: This function is extremely efficient when you want to retrieve data from several different tables in a single step or execute multiple operations at once (e.g., an INSERT followed by a SELECT). Below, take a look at how we process a triple result set:
do...while loop.mysqli_next_result() and mysqli_store_result().