/*M!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: mck
-- ------------------------------------------------------
-- Server version	10.11.14-MariaDB-0ubuntu0.24.04.1

/*!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 */;

--
-- Current Database: `mck`
--

CREATE DATABASE /*!32312 IF NOT EXISTS*/ `mck` /*!40100 DEFAULT CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci */;

USE `mck`;

--
-- Table structure for table `medlemmar`
--

DROP TABLE IF EXISTS `medlemmar`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `medlemmar` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `fornamn` text NOT NULL,
  `efternamn` text NOT NULL,
  `adress` text NOT NULL,
  `postnr` text NOT NULL,
  `ort` text NOT NULL,
  `mail` text DEFAULT NULL,
  `telefon` text DEFAULT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=10 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `medlemmar`
--

LOCK TABLES `medlemmar` WRITE;
/*!40000 ALTER TABLE `medlemmar` DISABLE KEYS */;
INSERT INTO `medlemmar` VALUES
(1,'Christer','Persson','Strandgatan 10','23142','Trelleborg','chrispers51@gmail.com','0705913029'),
(2,'Hans','Engfeldt','Hylievångsvägen 15','21625','Malmö','hansengfeldt@gmail.com','0762673267'),
(3,'Annette','Persson','Strandgatan 10','23142','Trelleborg','','0701234567'),
(4,'Marianne','Olsson','Söderto 3261','24293','Hörby','macline_2000@hotmail.com','0720101000'),
(5,'Göran','Blomqvist','Hammartorpsvägen 9d','23637','Höllviken','','0708199488'),
(6,'Monica','Flink','Norrbäcksgatan 33','21624','Malmö','','0709924825'),
(7,'Susanne','Lundbladh','Höjeågatan 265','23433','Lomma','',''),
(8,'Brita','Draycott Fernlid','Ekåsgatan 10','21565','Malmö',NULL,NULL),
(9,'Sirin','Öncü','Möllevångsgatan 36','21420','Malmö',NULL,'0708765358');
/*!40000 ALTER TABLE `medlemmar` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `placering`
--

DROP TABLE IF EXISTS `placering`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `placering` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `lagnr` int(11) NOT NULL,
  `spelare1` text NOT NULL,
  `spelare2` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=5 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `placering`
--

LOCK TABLES `placering` WRITE;
/*!40000 ALTER TABLE `placering` DISABLE KEYS */;
INSERT INTO `placering` VALUES
(1,1,'Hans Engfeldt','Annika Gjäls'),
(2,4,'Marianne Olsson','Göran Blomqvist'),
(3,2,'Christer Persson','Annette Persson'),
(4,3,'Susanne Lundbladh','Monica Flink');
/*!40000 ALTER TABLE `placering` 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 2026-07-13  8:00:02
