The ‘\c’ option means ‘clear’ and is used to clear the current input. Suppose if we don't want to execute the command being entered, then we can use the clear \c option to clear the current input. For example, the \c option can be used as follows -
mysql> Select * -> from\c
In the above example, when we use \c in a statement, MySQL clears the current input and returns to the MySQL prompt to accept other statements.
The above is the detailed content of What is the use of the 'c' option when writing MySQL statements?. For more information, please follow other related articles on the PHP Chinese website!