/*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,'2026-08-08','Design och programering av Hans Engfeldt Copyright © 2026','V.2.5',6,33);
/*!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=62 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'),
(19,'539085','GÖRAN BLOMQVIST','Ja'),
(21,'750157','JAN CRONQVIST','Ja'),
(22,'607249','BRITA DRAYCOTT FERNLID','Ja'),
(23,'149680','ANDERS FERNLID','Ja'),
(24,'355542','KATE GLANTZ','Ja'),
(26,'516456','EVA GUSTAVSSON','Ja'),
(28,'350363','CAMILLA JOHANSSON','Ja'),
(29,'444458','FREDRIK JOHANSSON','Ja'),
(30,'815872','AGNETA JÖNSSON','Ja'),
(32,'859306','KARIN LYDOW','Ja'),
(33,'668321','PETER LYDOW','Ja'),
(39,'702705','SIV SIMONSSON','Ja'),
(41,'567560','FREDRIKA VESTMAN','Ja'),
(44,'646625','HANS ENGFELDT','Ja'),
(45,'507522','PAUL ALM','Ja'),
(46,'321660','LINDA ALM','Ja'),
(47,'559264','MARGOT ALM','Ja'),
(48,'374932','TIMMY','Ja'),
(49,'524629','IRENE','Ja'),
(50,'651546','MAYLIS','Ja'),
(51,'250076','SUSANNE LUNDBLAD','Ja'),
(52,'997828','MONICA FLINCK','Ja'),
(53,'896229','PERNILLA','Ja'),
(54,'311005','JAN','Ja'),
(55,'593201','JERRY BRÖNHEIM','Ja'),
(56,'906026','MADELEINE BRÖNHEIM','Ja'),
(57,'775004','LINDA B','Ja'),
(58,'454803','PELLE','Ja'),
(59,'326903','ANNETTE','Ja'),
(60,'643392','THOMAS','Ja'),
(61,'918544','PIA','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=62 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,1,0,0,0,1,1,0,0,0,0,4400,4895,4960,4120,5025,5455,0,0,0,0,7,0),
(13,'CHRISTER PERSSON',357990,0,1,0,0,1,1,0,0,0,0,4180,5225,4190,3730,5790,4455,0,0,0,0,7,0),
(18,'GÖRAN BLOMQVIST',539085,1,0,0,1,0,0,0,0,0,0,5260,4895,2535,5535,3090,3605,0,0,0,0,7,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,1,0,0,1,0,1,0,0,0,0,4180,2740,2895,5340,3090,5330,0,0,0,0,7,0),
(22,'ANDERS FERNLID',149680,0,1,0,0,0,0,0,0,0,0,4330,6205,4730,2855,2910,4240,0,0,0,0,7,0),
(23,'KATE GLANTZ',355542,0,0,1,0,0,1,0,0,0,0,4285,2905,5005,3785,3465,4105,0,0,0,0,7,0),
(25,'EVA GUSTAVSSON',516456,1,0,0,1,1,1,0,0,0,0,4885,3865,3475,3865,4215,5085,0,0,0,0,7,0),
(27,'CAMILLA JOHANSSON',350363,1,0,1,1,1,1,0,0,0,0,5425,4485,5325,3865,4215,5225,0,0,0,0,7,0),
(28,'FREDRIK JOHANSSON',444458,0,0,1,0,0,1,0,0,0,0,3420,3865,5465,4765,4535,4325,0,0,0,0,7,0),
(29,'AGNETA JÖNSSON',815872,1,1,1,0,0,0,0,0,0,0,5350,5730,4395,3785,3770,3715,0,0,0,0,7,0),
(31,'KARIN LYDOW',859306,0,0,1,1,1,1,0,0,0,0,2980,3240,5005,5200,4275,4325,0,0,0,0,7,0),
(32,'PETER LYDOW',668321,0,1,1,0,1,1,0,0,0,0,3205,5000,5045,3785,5025,4455,0,0,0,0,7,0),
(38,'SIV SIMONSSON',702705,1,1,0,0,0,1,0,0,0,0,4285,5000,3475,3000,5375,4105,0,0,0,0,7,0),
(40,'FREDRIKA VESTMAN',567560,1,1,0,1,1,0,0,0,0,0,4400,5730,4960,5340,4790,3030,0,0,0,0,7,0),
(44,'HANS ENGFELDT',646625,0,1,1,1,1,0,0,0,0,0,3485,5375,5580,4685,5575,2505,0,0,0,0,7,0),
(45,'PAUL ALM',507522,1,1,0,1,0,1,0,0,0,0,5350,6205,4190,5120,5375,5330,0,0,0,0,7,0),
(46,'LINDA ALM',321660,0,0,0,1,1,1,0,0,0,0,4415,2580,2535,5200,4790,5085,0,0,0,0,7,0),
(47,'MARGOT ALM',559264,1,1,1,0,0,0,0,0,0,0,4180,5000,5365,3385,4535,3605,0,0,0,0,7,0),
(48,'TIMMY',374932,0,0,0,0,1,0,0,0,0,0,2980,3230,3005,3730,4110,3030,0,0,0,0,7,0),
(49,'IRENE',524629,0,0,0,1,0,0,0,0,0,0,3205,2905,4045,4135,2910,2505,0,0,0,0,7,0),
(50,'MAYLIS',651546,0,1,1,0,1,0,0,0,0,0,3485,5520,5045,3000,4275,3170,0,0,0,0,7,0),
(51,'SUSANNE LUNDBLAD',250076,0,1,1,0,1,1,0,0,0,0,4415,5220,5580,2855,4110,4755,0,0,0,0,7,0),
(52,'MONICA FLINCK',997828,0,0,0,1,0,0,0,0,0,0,4180,3240,2895,4685,3065,3835,0,0,0,0,7,0),
(53,'PERNILLA',896229,1,1,1,1,0,0,0,0,0,0,4325,5520,5325,4900,4255,3715,0,0,0,0,7,0),
(54,'JAN',311005,1,0,0,1,0,0,0,0,0,0,3755,2740,4730,4135,3770,4240,0,0,0,0,7,0),
(55,'JERRY BRÖNHEIM',593201,0,1,1,1,1,0,0,0,0,0,4330,5375,5365,5535,5790,3835,0,0,0,0,7,0),
(56,'MADELEINE BRÖNHEIM',906026,1,1,1,0,1,1,0,0,0,0,5425,5220,4755,3385,5165,5455,0,0,0,0,7,0),
(57,'LINDA B',775004,1,1,0,0,0,1,0,0,0,0,4325,5000,3005,3785,4255,5225,0,0,0,0,7,0),
(58,'PELLE',454803,0,1,1,1,1,1,0,0,0,0,3420,5225,5465,4900,5165,4755,0,0,0,0,7,0),
(59,'ANNETTE',326903,1,0,1,0,1,0,0,0,0,0,5260,3230,4755,4120,5575,3755,0,0,0,0,1,0),
(60,'THOMAS',643392,1,0,0,0,0,0,0,0,0,0,3755,4485,4045,4765,3065,3170,0,0,0,0,7,0),
(61,'PIA',918544,0,0,1,1,0,0,0,0,0,0,4285,2580,4395,5120,3465,3755,0,0,0,0,7,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-08-11 16:00:02
