How to do it...

We have already seen an INSERT statement. Here is an example of other types of statements:

The preceding SELECT statement brings up the values from all the columns of all the rows of the table. To limit the amount of returned data, a WHERE clause can be added:

The following screenshot captures three statements:

The first one is an UPDATE statement that changes values in the value column to NEW, but only in the rows where the ...

Get Java 11 Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.