set mysql mode global query 1

set mysql mode global query

SET GLOBAL sql_mode=""

Here is what the above code is Doing:
1. Create a database called “my_database”
2. Create a table called “my_table” with two columns: “name” and “age”
3. Insert a row into the table with the name “John” and age “20”
4. Select all rows from the table
5. Set the sql_mode to “”

Similar Posts