### 11.4.6 Creating Spatial Columns

 MySQL provides a standard way of creating spatial columns for geometry types, for example, with [`CREATE TABLE`](create-table.html) or [`ALTER TABLE`](alter-table.html). Spatial columns are supported for [`MyISAM`](myisam-storage-engine.html), [`InnoDB`](innodb-storage-engine.html), [`NDB`](mysql-cluster.html), and [`ARCHIVE`](archive-storage-engine.html) tables. See also the notes about spatial indexes under [Section 11.4.10, “Creating Spatial Indexes”](creating-spatial-indexes.html).

 Columns with a spatial data type can have an SRID attribute, to explicitly indicate the spatial reference system (SRS) for values stored in the column. For implications of an SRID-restricted column, see [Section 11.4.1, “Spatial Data Types”](spatial-type-overview.html).

* Use the [`CREATE TABLE`](create-table.html) statement to create a table with a spatial column:

  ```
  CREATE TABLE geom (g GEOMETRY);
  ```

* Use the [`ALTER TABLE`](alter-table.html) statement to add or drop a spatial column to or from an existing table:

  ```
  ALTER TABLE geom ADD pt POINT;
  ALTER TABLE geom DROP pt;
  ```

