-- MariaDB dump 10.19  Distrib 10.5.23-MariaDB, for Linux (x86_64)
--
-- Host: localhost    Database: user204
-- ------------------------------------------------------
-- Server version	10.5.23-MariaDB

/*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
/*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
/*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
/*!40101 SET NAMES utf8mb4 */;
/*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
/*!40103 SET TIME_ZONE='+00:00' */;
/*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
/*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
/*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
/*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;

--
-- Table structure for table `age_rating`
--

DROP TABLE IF EXISTS `age_rating`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `age_rating` (
  `id` int(11) DEFAULT NULL,
  `name_age_rating` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `age_rating`
--

LOCK TABLES `age_rating` WRITE;
/*!40000 ALTER TABLE `age_rating` DISABLE KEYS */;
INSERT INTO `age_rating` VALUES (1,'G'),(2,'PG'),(3,'PG-13'),(4,'R'),(5,'NC-17');
/*!40000 ALTER TABLE `age_rating` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `genre`
--

DROP TABLE IF EXISTS `genre`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `genre` (
  `id` int(11) DEFAULT NULL,
  `name_genre` text DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `genre`
--

LOCK TABLES `genre` WRITE;
/*!40000 ALTER TABLE `genre` DISABLE KEYS */;
INSERT INTO `genre` VALUES (1,'Comedy'),(2,'Horror'),(3,'Action'),(4,'Drama'),(5,'Sci-Fi'),(6,'Thriller'),(7,'Romance'),(8,'Adventure');
/*!40000 ALTER TABLE `genre` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `kino`
--

DROP TABLE IF EXISTS `kino`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8 */;
CREATE TABLE `kino` (
  `id` int(11) DEFAULT NULL,
  `name_film` text DEFAULT NULL,
  `id_genre` int(11) DEFAULT NULL,
  `id_age_rating` int(11) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `kino`
--

LOCK TABLES `kino` WRITE;
/*!40000 ALTER TABLE `kino` DISABLE KEYS */;
INSERT INTO `kino` VALUES (1,'The Shawshank Redemption',4,1),(2,'The Godfather',4,1),(3,'The Dark Knight',5,3),(4,'Schindler\'s List',4,2),(5,'The Lord of the Rings: The Return of the King',5,3),(6,'Pulp Fiction',4,4),(7,'Forrest Gump',4,1),(8,'The Matrix',5,3),(9,'Interstellar',5,5),(10,'Inception',5,5),(11,'The Silence of the Lambs',4,2),(12,'Avengers: Endgame',5,3),(13,'Titanic',4,4),(14,'Gladiator',5,3),(15,'The Lion King',3,6),(16,'Fight Club',5,4),(17,'The Departed',4,7),(18,'The Prestige',5,5),(19,'The Green Mile',4,2),(20,'The Avengers',5,3),(21,'The Social Network',4,4),(22,'The Revenant',5,4),(23,'La La Land',4,7),(24,'Inglourious Basterds',5,2),(25,'The Sixth Sense',4,2),(26,'The Shawshank Redemption',4,1),(27,'The Godfather',4,1),(28,'The Dark Knight',5,3),(29,'Schindler\'s List',4,2),(30,'The Lord of the Rings: The Return of the King',5,3),(31,'Pulp Fiction',4,4),(32,'Forrest Gump',4,1),(33,'The Matrix',5,3),(34,'Interstellar',5,5);
/*!40000 ALTER TABLE `kino` ENABLE KEYS */;
UNLOCK TABLES;
/*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;

/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;

-- Dump completed on 2024-05-02  9:11:51
