O'Reilly logo

MySQL 8 Cookbook by Karthik Appigatla

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

Performing transactions

Create dummy tables and sample data to understand this recipe:

mysql> CREATE DATABASE bank;mysql> USE bank;mysql> CREATE TABLE account(account_number varchar(10) PRIMARY KEY, balance int);mysql> INSERT INTO account VALUES('A',600),('B',400);

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