1
# Copyright (C) 2008-2009 Sun Microsystems, Inc. All rights reserved.
2
# Use is subject to license terms.
4
# This program is free software; you can redistribute it and/or modify
5
# it under the terms of the GNU General Public License as published by
6
# the Free Software Foundation; version 2 of the License.
8
# This program is distributed in the hope that it will be useful, but
9
# WITHOUT ANY WARRANTY; without even the implied warranty of
10
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
11
# General Public License for more details.
13
# You should have received a copy of the GNU General Public License
14
# along with this program; if not, write to the Free Software
15
# Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301
19
select | select | select | select | select |
20
select | select | select | select | select |
21
select | select | select | select | select |
22
dml | dml | dml | dml | dml |
26
update | insert | delete ;
29
SELECT * FROM _table where;
33
WHERE _field sign value ;
34
# WHERE _field BETWEEN value AND value |
35
# WHERE _field IN ( value , value , value , value , value , value ) ;
41
INSERT INTO _table ( _field , _field ) VALUES ( value , value ) ;
44
UPDATE _table AS X SET _field = value where ;
47
DELETE FROM _table where LIMIT digit ;
49
transaction: START TRANSACTION | COMMIT | ROLLBACK ;
52
ALTER ONLINE TABLE _table DROP KEY letter |
53
ALTER ONLINE TABLE _table DROP KEY _field |
54
ALTER ONLINE TABLE _table ADD KEY letter ( _field ) |
55
ALTER ONLINE TABLE _table ADD KEY letter ( _field ) ;
58
_digit | _tinyint_unsigned ;
60
# Use only indexed fields: