Primary keys - the basics
Single-column primary keys
Multicolumn primary keys
Auto-increment columns and sequences
22. IDENTITY parameters - continued
Revision

Instruction

Good! Now, we should only have odd numbers as ids in our table cinema. Let's check that.

Exercise

Add a few rows to our table cinema and see how the column cinema_id is generated.

Console

Code editor

Result

TableConsole