The following examples refer to the "world" example which can be found at the mysql website: https://dev.mysql.com/doc/index-other.html
The following list gives examples for the statement types without inputs configured in the component:
SELECT * FROM City;
DELETE FROM City WHERE ID = 3076;
UPDATE City SET Population = 1000000 WHERE ID = 3071;
INSERT INTO City (ID, Name, CountryCode, District, Population) VALUES (4080, 'Cochem', 'DEU', 'Rheinland-Pfalz', 5213);
The following examples demonstrate the usage of inputs configured in the component:
SELECT * FROM City WHERE ID = ${in:id};
DELETE FROM City WHERE ID = ${in:id};
UPDATE City SET Population = ${in:population} WHERE ID = ${in:id};
INSERT INTO City (ID, Name, CountryCode, District, Population) VALUES(${in:id}, ${in:name}, ${in:code}, ${in:district}, ${in:population});
Considering inputs of type small table, the example above in the context of the world database would look as follows, assumed the input is properly defined:
INSERT INTO City (ID, Name, CountryCode, District, Population) VALUES ${in:smallTable};
For further information you may want to refer to the MySQL documentation: https://dev.mysql.com/doc/refman/5.7/en/sql-syntax.html