Back to Browse

MySQL: AUTO_INCREMENT is awesome

97.2K views
Oct 25, 2022
3:55

#MySQL #tutorial #course – AUTO_INCREMENT keyword used to automatically create a sequence of a column when inserting data. Applied to a column set as a ‘key’. CREATE TABLE transactions ( transaction_id INT PRIMARY KEY AUTO_INCREMENT, amount DECIMAL(5, 2) ); ALTER TABLE transactions AUTO_INCREMENT = 1000;

Download

0 formats

No download links available.

MySQL: AUTO_INCREMENT is awesome | NatokHD