Database connect - SQL Statement
Posted: Thu Jun 02, 2016 5:43 pm
Hi
I'm looking for the SQL Statement to use in the Database connect.
I have found and used this;
INSERT table_name SET key1 = 'value1' , key2 = 'value2' ... ...
But can't I use 'update' and 'delete' to? Are there any more?
'Select' is used only in 'Define ..' / 'Database', or?
Have looked in the online manuals but have not find anything more..
And have anyone more trix or shortcuts to set SQL Statement, put them here to..
edit:
Tried some more and 'Delete' is this;
DELETE FROM table_name WHERE key = 'value'
If I find the rest I will update the post.
I'm looking for the SQL Statement to use in the Database connect.
I have found and used this;
INSERT table_name SET key1 = 'value1' , key2 = 'value2' ... ...
But can't I use 'update' and 'delete' to? Are there any more?
'Select' is used only in 'Define ..' / 'Database', or?
Have looked in the online manuals but have not find anything more..
And have anyone more trix or shortcuts to set SQL Statement, put them here to..
edit:
Tried some more and 'Delete' is this;
DELETE FROM table_name WHERE key = 'value'
If I find the rest I will update the post.