mirror of
https://github.com/MariaDB/server.git
synced 2025-01-28 09:44:17 +01:00
Forth batch of Howard's changes
Docs/manual.texi: Fourth batch of Howard's changes
This commit is contained in:
parent
f0251d62b5
commit
dcf4e49369
1 changed files with 5 additions and 4 deletions
|
@ -16270,8 +16270,9 @@ mysql> SELECT something FROM table
|
|||
@findex DAYOFWEEK()
|
||||
@item DAYOFWEEK(date)
|
||||
Returns the weekday index
|
||||
for @code{date} (@code{1} = Sunday, @code{2} = Monday, ... @code{7} = Saturday).
|
||||
These index values correspond to the ODBC standard:
|
||||
|
||||
for @code{date} (@code{1} = Sunday, @code{2} = Monday, ... @code{7} =
|
||||
Saturday). These index values correspond to the ODBC standard:
|
||||
|
||||
@example
|
||||
mysql> select DAYOFWEEK('1998-02-03');
|
||||
|
@ -16886,7 +16887,7 @@ This is an "RSA Data Security, Inc. MD5 Message-Digest Algorithm".
|
|||
@item LAST_INSERT_ID([expr])
|
||||
Returns the last automatically generated value that was inserted into an
|
||||
@code{AUTO_INCREMENT} column.
|
||||
@xref{mysql_insert_id,, @code{mysql_insert_id()}}.
|
||||
@xref{mysql_insert_id,, @code{mysql_insert_id()}}:
|
||||
|
||||
@example
|
||||
mysql> select LAST_INSERT_ID();
|
||||
|
@ -17105,7 +17106,7 @@ mysql> select student_name, AVG(test_score)
|
|||
@itemx MAX(expr)
|
||||
Returns the minimum or maximum value of @code{expr}. @code{MIN()} and
|
||||
@code{MAX()} may take a string argument; in such cases they return the
|
||||
minimum or maximum string value. @xref{MySQL indexes}.
|
||||
minimum or maximum string value. @xref{MySQL indexes}:
|
||||
|
||||
@example
|
||||
mysql> select student_name, MIN(test_score), MAX(test_score)
|
||||
|
|
Loading…
Add table
Reference in a new issue