· 4 years ago · Mar 05, 2021, 09:48 PM
1
2DROP TABLE IF EXISTS `sottocategorie`;
3/*!40101 SET @saved_cs_client = @@character_set_client */;
4/*!50503 SET character_set_client = utf8mb4 */;
5CREATE TABLE `sottocategorie` (
6 `nome` varchar(30) NOT NULL,
7 `cat_padre` int NOT NULL,
8 PRIMARY KEY (`nome`,`cat_padre`)
9) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci;
10/*!40101 SET character_set_client = @saved_cs_client */;
11
12--
13-- Dumping data for table `sottocategorie`
14--
15
16LOCK TABLES `sottocategorie` WRITE;
17/*!40000 ALTER TABLE `sottocategorie` DISABLE KEYS */;
18INSERT INTO `sottocategorie` VALUES ('Accessori',18),('Accessori',20),('Apparecchiature',18),('Apparecchiature',20),('Arredo e attrezzature',18),('Arredo e attrezzature',20),('Colorazione',18),('Epilazione',20),('Manicure e pedicure',20),('Prodotti cabina',20),('Pulizia e cura',18),('Rasatura',18),('Trucco',20);
19/*!40000 ALTER TABLE `sottocategorie` ENABLE KEYS */;
20UNLOCK TABLES;