### 1.7.2 MySQL Differences from Standard SQL

[1.7.2.1 SELECT INTO TABLE Differences](ansi-diff-select-into-table.html)
[1.7.2.2 UPDATE Differences](ansi-diff-update.html)
[1.7.2.3 FOREIGN KEY Constraint Differences](ansi-diff-foreign-keys.html)
[1.7.2.4 '--' as the Start of a Comment](ansi-diff-comments.html)

[]()

 We try to make MySQL Server follow the ANSI SQL standard and the ODBC SQL standard, but MySQL Server performs operations differently in some cases:

* There are several differences between the MySQL and standard SQL privilege systems. For example, in MySQL, privileges for a table are not automatically revoked when you delete a table. You must explicitly issue a [`REVOKE`](revoke.html) statement to revoke privileges for a table. For more information, see [Section 13.7.1.8, “REVOKE Statement”](revoke.html).

* The [`CAST()`](cast-functions.html#function_cast) function does not support cast to [`REAL`](floating-point-types.html) or [`BIGINT`](integer-types.html). See [Section 12.11, “Cast Functions and Operators”](cast-functions.html).

