mysqlphpmyadminmysqlcommand

MySQL command, without using Manual input


How to create a table which is included this by MySQL command without using Manual input, see the pic blow:

enter image description here


Solution

  • You can use this SQL to create a table name as: published

    CREATE TABLE published (
      `is_published` BOOLEAN NOT NULL DEFAULT true
    ) ENGINE=InnoDB;