/*M!999999\- enable the sandbox mode */ 
-- MariaDB dump 10.19  Distrib 10.11.14-MariaDB, for debian-linux-gnu (x86_64)
--
-- Host: localhost    Database: canasta
-- ------------------------------------------------------
-- 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: `canasta`
--

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

USE `canasta`;

--
-- Table structure for table `admin`
--

DROP TABLE IF EXISTS `admin`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `admin` (
  `id` int(20) NOT NULL AUTO_INCREMENT,
  `senaste` date NOT NULL,
  `footer` longtext NOT NULL,
  `version` text NOT NULL,
  `match` int(25) NOT NULL,
  `priser` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=2 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `admin`
--

LOCK TABLES `admin` WRITE;
/*!40000 ALTER TABLE `admin` DISABLE KEYS */;
INSERT INTO `admin` VALUES
(1,'2024-11-26','Design och programering av Hans Engfeldt Copyright © 2024 för Malmö Canasta Klubb','V.2.5',6,32);
/*!40000 ALTER TABLE `admin` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `spelare`
--

DROP TABLE IF EXISTS `spelare`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `spelare` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `spelid` text NOT NULL,
  `namn` text NOT NULL,
  `aktiv` text NOT NULL,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `spelare`
--

LOCK TABLES `spelare` WRITE;
/*!40000 ALTER TABLE `spelare` DISABLE KEYS */;
INSERT INTO `spelare` VALUES
(13,'420036','ANNETTE PERSSON','Ja'),
(14,'357990','CHRISTER PERSSON','Ja'),
(15,'714330','GUDRUN NILSSON','Ja'),
(16,'262899','STEFAN ANDERSSON','Ja'),
(17,'595103','MARIANNE ARCHENHOLTZ','Ja'),
(18,'673893','ÅSA BLADH','Ja'),
(19,'539085','GÖRAN BLOMQVIST','Ja'),
(20,'153552','INGEGERD CHRISTOFFERSSON','Ja'),
(21,'750157','JAN QRONQVIST','Ja'),
(22,'607249','BRITA DRAYCOTT FERNLID','Ja'),
(23,'149680','ANDERS FERNLID','Ja'),
(24,'355542','KATE GLANTZ','Ja'),
(25,'408220','LINDA GUDBRAND','Ja'),
(26,'516456','EVA GUSTAVSSON','Ja'),
(27,'008330','INGER HANSSON','Ja'),
(28,'350363','CAMILLA JOHANSSON','Ja'),
(29,'444458','FREDRIK JOHANSSON','Ja'),
(30,'815872','AGNETA JÖNSSON','Ja'),
(31,'601810','LEIF LELLKY','Ja'),
(32,'859306','KARIN LYDOW','Ja'),
(33,'668321','PETER LYDOW','Ja'),
(34,'540217','MICHAEL MIKKELSEN','Ja'),
(35,'955309','GUNILLA MULLIN','Ja'),
(36,'702905','INGAKARIN NYBERG','Ja'),
(37,'924926','LISBETH OLSSON','Ja'),
(38,'650263','MARIANNE OLSSON','Ja'),
(39,'702705','SIV SIMONSSON','Ja'),
(40,'797002','YLVA SVENSSON','Ja'),
(41,'567560','FREDRIKA VESTMAN','Ja'),
(42,'909938','JAN WENDT','Ja'),
(43,'787420','SIRIN ÖNCÜ','Ja'),
(44,'646625','HANS ENGFELDT','Ja');
/*!40000 ALTER TABLE `spelare` ENABLE KEYS */;
UNLOCK TABLES;

--
-- Table structure for table `statistik`
--

DROP TABLE IF EXISTS `statistik`;
/*!40101 SET @saved_cs_client     = @@character_set_client */;
/*!40101 SET character_set_client = utf8mb4 */;
CREATE TABLE `statistik` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `namn` varchar(100) NOT NULL,
  `spelid` int(11) NOT NULL,
  `vinst1` int(11) DEFAULT 0,
  `vinst2` int(11) DEFAULT 0,
  `vinst3` int(11) DEFAULT 0,
  `vinst4` int(11) DEFAULT 0,
  `vinst5` int(11) DEFAULT 0,
  `vinst6` int(11) DEFAULT 0,
  `vinst7` int(11) DEFAULT 0,
  `vinst8` int(11) DEFAULT 0,
  `vinst9` int(11) DEFAULT 0,
  `vinst10` int(11) DEFAULT 0,
  `poang1` int(11) DEFAULT 0,
  `poang2` int(11) DEFAULT 0,
  `poang3` int(11) DEFAULT 0,
  `poang4` int(11) DEFAULT 0,
  `poang5` int(11) DEFAULT 0,
  `poang6` int(11) DEFAULT 0,
  `poang7` int(11) DEFAULT 0,
  `poang8` int(11) DEFAULT 0,
  `poang9` int(11) DEFAULT 0,
  `poang10` int(11) DEFAULT 0,
  `spel` int(11) NOT NULL DEFAULT 1,
  `pris` int(11) NOT NULL DEFAULT 0,
  PRIMARY KEY (`id`)
) ENGINE=InnoDB AUTO_INCREMENT=45 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;
/*!40101 SET character_set_client = @saved_cs_client */;

--
-- Dumping data for table `statistik`
--

LOCK TABLES `statistik` WRITE;
/*!40000 ALTER TABLE `statistik` DISABLE KEYS */;
INSERT INTO `statistik` VALUES
(12,'ANNETTE PERSSON',420036,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(13,'CHRISTER PERSSON',357990,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(14,'GUDRUN NILSSON',714330,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(15,'STEFAN ANDERSSON',262899,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(16,'MARIANNE ARCHENHOLTZ',595103,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(17,'ÅSA BLADH',673893,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(18,'GÖRAN BLOMQVIST',539085,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(19,'INGEGERD CHRISTOFFERSSON',153552,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(20,'JAN QRONQVIST',750157,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(21,'BRITA DRAYCOTT FERNLID',607249,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(22,'ANDERS FERNLID',149680,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(23,'KATE GLANTZ',355542,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(24,'LINDA GUDBRAND',408220,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(25,'EVA GUSTAVSSON',516456,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(26,'INGER HANSSON',8330,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(27,'CAMILLA JOHANSSON',350363,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(28,'FREDRIK JOHANSSON',444458,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(29,'AGNETA JÖNSSON',815872,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(30,'LEIF LELLKY',601810,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(31,'KARIN LYDOW',859306,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(32,'PETER LYDOW',668321,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(33,'MICHAEL MIKKELSEN',540217,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(34,'GUNILLA MULLIN',955309,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(35,'INGAKARIN NYBERG',702905,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(36,'LISBETH OLSSON',924926,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(37,'MARIANNE OLSSON',650263,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(38,'SIV SIMONSSON',702705,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(39,'YLVA SVENSSON',797002,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(40,'FREDRIKA VESTMAN',567560,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(41,'JAN WENDT',909938,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(42,'SIRIN ÖNCÜ',787420,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0),
(44,'HANS ENGFELDT',646625,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0);
/*!40000 ALTER TABLE `statistik` 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-23 16:00:02
