Oracle 5.0 Reference Manual page 42

Table of Contents

Advertisement

• The
clause of the
DELAYED
• The
LOW_PRIORITY
• Use of
INTO OUTFILE
Syntax".
• Options such as
STRAIGHT_JOIN
• You don't need to name all selected columns in the
performance for some very specific, but quite normal queries. See
Modifiers for Use with
• You can specify
ASC
• The ability to set variables in a statement with the
Defined
Variables".
• Data types
• The MEDIUMINT, SET, and
• The AUTO_INCREMENT, BINARY, NULL, UNSIGNED, and
• Functions and operators
• To make it easier for users who migrate from other SQL environments, MySQL Server supports
aliases for many functions. For example, all string functions support both standard SQL syntax and
ODBC syntax.
• MySQL Server understands the
as in the C programming language. In MySQL Server,
as are
[880]
and
&&
the standard SQL
Because
CONCAT()
[881]
operator to MySQL Server.
||
• Use of
COUNT(DISTINCT value_list)
element.
• String comparisons are case-insensitive by default, with sort ordering determined by the collation
of the current character set, which is
this, you should declare your columns with the
causes comparisons to be done using the underlying character code values rather than a lexical
ordering.
The
[911]
operator is a synonym for
%
[911].
MOD(N,M)
%
PostgreSQL.
• The
[875],
[876],
=
<>
[876],
[880],
<=>
AND
output column list (to the left of the FROM) in
mysql>
SELECT col1=1 AND col2=2 FROM my_table;
• The
LAST_INSERT_ID()
Section 12.13, "Information
[896]
is permitted on numeric values.
LIKE
MySQL Extensions to Standard SQL
and
INSERT
clause of the INSERT, REPLACE, DELETE, and
or
INTO DUMPFILE
or
SQL_SMALL_RESULT
Clauses".
GROUP BY
and
with
DESC
GROUP
data types, and the various
ENUM
[881]
||
[880]. Because of this nice syntax, MySQL Server doesn't support
AND
[881]
operator for string concatenation; use
||
[887]
takes any number of arguments, it is easy to convert use of the
latin1
MOD()
[911]
is supported for C programmers and for compatibility with
[876],
[876],
<=
<
>=
[881], or
[896]
OR
LIKE
[961]
function returns the most recent
Functions".
22
statements.
REPLACE
in
statements. See
SELECT
in
SELECT
clause. This gives better
GROUP BY
BY, not just with
ORDER
assignment operator. See
:=
BLOB
ZEROFILL
and
[880]
operators to mean logical OR and AND,
&&
[881]
and
||
[970]
where
value_list
(cp1252 West European) by default. If you don't like
attribute or use the
BINARY
[911]. That is,
N % M
[876],
[876],
[951],
>
<<
operators may be used in expressions in the
statements. For example:
SELECT
statements.
UPDATE
Section 13.2.8,
statements.
Section 12.15, "Functions and
BY.
Section 9.4, "User-
and
data types.
TEXT
data type attributes.
[881]
are synonyms,
OR
[887]
instead.
CONCAT()
has more than one
cast, which
BINARY
is equivalent to
[951],
>>
value. See
AUTO_INCREMENT
"SELECT

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mysql 5.0

Table of Contents