1
# Copyright (C) 2008 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
20
transaction | update | insert | delete | select | replace ;
23
START TRANSACTION | COMMIT | ROLLBACK | SAVEPOINT A | ROLLBACK TO SAVEPOINT A ;
26
SELECT field_list FROM _table where group_by having order_by limit ;
29
* | _field , _field , _field , _field ;
32
UPDATE _table SET _field_no_pk = value where order_by limit ;
35
INSERT INTO _table ( _field_no_pk ) VALUES ( value ) ;
38
DELETE FROM _table where order_by LIMIT _digit ;
41
REPLACE INTO _table ( _field_no_pk ) VALUES ( value ) ;
45
WHERE _field operator value ;
57
HAVING _field operator value ;
64
> | < | >= | <= | <> ;
67
_digit | _timestamp | _english ;