-- phpMyAdmin SQL Dump
-- version 5.2.0
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 24, 2023 at 12:03 AM
-- Server version: 10.4.24-MariaDB
-- PHP Version: 8.1.6

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
START TRANSACTION;
SET time_zone = "+00:00";


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

--
-- Database: `sports_2023`
--

-- --------------------------------------------------------

--
-- Table structure for table `scores`
--

CREATE TABLE `scores` (
  `id` int(11) NOT NULL,
  `game_name` varchar(255) NOT NULL,
  `points` int(11) NOT NULL,
  `1` int(11) NOT NULL,
  `2` int(11) NOT NULL,
  `3` int(11) NOT NULL,
  `4` int(11) NOT NULL,
  `5` int(11) NOT NULL,
  `6` int(11) NOT NULL,
  `7` int(11) NOT NULL,
  `8` int(11) NOT NULL,
  `9` int(11) NOT NULL,
  `10` int(11) NOT NULL,
  `11` int(11) NOT NULL,
  `12` int(11) NOT NULL,
  `13` int(11) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `scores`
--

INSERT INTO `scores` (`id`, `game_name`, `points`, `1`, `2`, `3`, `4`, `5`, `6`, `7`, `8`, `9`, `10`, `11`, `12`, `13`) VALUES
(1, 'Sack Race', 1, 72, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(2, '3 Legged Race', 1, 33, 0, 0, 1, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(3, 'Lemon & Spoon', 1, 0, 0, 0, 0, 1, 0, 10, 0, 0, 1, 0, 0, 0),
(4, 'Slow Cycling', 1, 0, 0, 0, 1, 0, 0, 10, 0, 0, 0, 0, 0, 0),
(5, 'Race 100 mtr', 1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(6, 'Relay', 1, 0, 0, 0, 0, 0, 0, 30, 0, 0, 0, 0, 0, 0),
(7, 'Volley Ball', 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0),
(8, 'Throw Ball', 10, 0, 0, 0, 0, 0, 0, 0, 0, 150, 0, 0, 0, 20),
(9, 'Tug of War', 10, 0, 70, 0, 0, 0, 0, 0, 0, 0, 0, 20, 0, 40);

-- --------------------------------------------------------

--
-- Table structure for table `teams`
--

CREATE TABLE `teams` (
  `id` int(2) NOT NULL,
  `name` varchar(255) DEFAULT NULL,
  `color` varchar(30) NOT NULL,
  `total_score` int(11) NOT NULL,
  `image` varchar(500) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;

--
-- Dumping data for table `teams`
--

INSERT INTO `teams` (`id`, `name`, `color`, `total_score`, `image`) VALUES
(1, 'Black Blizzards', 'Black', 105, 'Black_blizzards.png'),
(2, 'Blomming Valconos', 'unknown', 70, 'Blooming_Valconos.png'),
(3, 'Blue Falcons', 'Blue', 1, 'Blue_Falcons.png'),
(4, 'Blue Rangers', 'Blue', 2, 'Blue_Rangers.png'),
(5, 'Gray Hounds', 'Gray', 1, 'Gray_Hounds.png'),
(6, 'Green Spartans', 'Green', 0, 'Green-Spartans.png'),
(7, 'Kings legacy', 'unknown', 50, 'Kings-legacy.png'),
(8, 'Pink Panthers', 'Pink', 0, 'Pink_Panthers.png'),
(9, 'Purple Dragons', 'Purple', 150, 'Purple_Dragons.png'),
(10, 'Red Knights', 'Red', 1, 'Red_Knights.png'),
(11, 'White Tiger', 'White', 20, 'White_Tiger.png'),
(12, 'White Walkers', 'White', 0, 'White_Walkers.png'),
(13, 'Yellow Marvels', 'Yellow', 60, 'Yellow_Marvels.png');

--
-- Indexes for dumped tables
--

--
-- Indexes for table `scores`
--
ALTER TABLE `scores`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `game_name` (`game_name`);

--
-- Indexes for table `teams`
--
ALTER TABLE `teams`
  ADD PRIMARY KEY (`id`);

--
-- AUTO_INCREMENT for dumped tables
--

--
-- AUTO_INCREMENT for table `scores`
--
ALTER TABLE `scores`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;

--
-- AUTO_INCREMENT for table `teams`
--
ALTER TABLE `teams`
  MODIFY `id` int(2) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=14;
COMMIT;

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