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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.