DBI::SQL::Nano
Supported syntax
DROP TABLE [IF EXISTS] <table_name>
CREATE TABLE <table_name> <col_def_list>
INSERT INTO <table_name> [<insert_col_list>] VALUES <val_list>
DELETE FROM <table_name> [<where_clause>]
UPDATE <table_name> SET <set_clause> [<where_clause>]
SELECT <select_col_list> FROM <table_name> [<where_clause>] [<order_clause>]
Where clause
- a single "[NOT] column/value <op> column/value" predicate
- multiple predicates combined with ORs or ANDs are not supported
- op may be one of: < > >= <= = <> LIKE CLIKE IS
-
If you need more functionality...
- Just install the SQL::Statement module