Changes between Version 5 and Version 6 of GROUPReplicate2


Ignore:
Timestamp:
06/14/22 09:47:21 (2 years ago)
Author:
krit
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GROUPReplicate2

    v5 v6  
    8686Query OK, 1 row affected (0.01 sec)
    8787}}}
     88
     89    Or we can create auto increment key
     90{{{
     91mysql> CREATE TABLE products (
     92  product_id int(11) NOT NULL AUTO_INCREMENT,
     93  product_name varchar(150) NOT NULL,
     94  PRIMARY KEY (`product_id`)
     95);
     96
     97mysql> INSERT INTO products(product_name) VALUES("Shoes"),("Shirt"),("Trouser");
     98}}}