O'Reilly logo

Java 11 Cookbook by Mohamed Sanaulla, Nick Samoylov

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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 ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required