-- phpMyAdmin SQL Dump
-- version 4.8.5
-- https://www.phpmyadmin.net/
--
-- Host: 127.0.0.1
-- Generation Time: Feb 16, 2020 at 02:03 AM
-- Server version: 10.1.38-MariaDB
-- PHP Version: 7.3.3

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET AUTOCOMMIT = 0;
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: `test`
--

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

--
-- Table structure for table `clubs`
--

CREATE TABLE `clubs` (
  `id` int(11) NOT NULL,
  `title` varchar(50) NOT NULL,
  `country` varchar(45) DEFAULT NULL,
  `address` text,
  `location` text,
  `logo` longblob
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `clubs`
--

INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(1, 'Bahrain TaeKwonDo School (A)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(2, 'Warrior TaeKwonDo Academy', '17', NULL, NULL, [encoded data, 262146 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(3, 'Emperor TaeKwonDo Academy (A)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(4, 'Aces TaeKwonDo Academy', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(5, 'Legend TaeKwonDo Academy', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(6, 'DLQ TaeKwonDo Jins', '169', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(7, 'Bahrain TaeKwonDo School (B)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(8, 'Emperor TaeKwonDo Academy (B)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(9, 'Bahrain TaeKwonDo School (C)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(10, 'Bahrain TaeKwonDo School (D)', '17', NULL, NULL, [encoded data, 1048578 characters]);
INSERT INTO `clubs` (`id`, `title`, `country`, `address`, `location`, `logo`) VALUES
(11, 'Phoenix TaeKwonDo Academy', '17', NULL, NULL, [encoded data, 1048578 characters]);

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

--
-- Table structure for table `countries`
--

CREATE TABLE `countries` (
  `id` int(11) NOT NULL COMMENT 'Auto Generated Record Number',
  `name` varchar(80) NOT NULL COMMENT 'Country Name',
  `flag` longblob COMMENT 'Real Flag Image Data',
  `flatFlag` varchar(45) DEFAULT NULL COMMENT 'image link to country flag',
  `shinyFlag` varchar(45) DEFAULT NULL COMMENT 'shiny image link to country flag',
  `iso` char(2) NOT NULL COMMENT 'The Two Letter Country Code',
  `iso3` char(3) DEFAULT NULL COMMENT 'The Three Letter Country Code',
  `numcode` smallint(6) DEFAULT NULL COMMENT 'The Country Serial Number',
  `callcode` smallint(6) NOT NULL COMMENT 'The Country Calling Code',
  `currency` varchar(10) NOT NULL COMMENT 'The Letters That Represent The Currency'
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

--
-- Dumping data for table `countries`
--

INSERT INTO `countries` (`id`, `name`, `flag`, `flatFlag`, `shinyFlag`, `iso`, `iso3`, `numcode`, `callcode`, `currency`) VALUES
(1, 'AFGHANISTAN', [encoded data, 60670 characters], 'https://www.countryflags.io/af/flat/64.png', 'https://www.countryflags.io/af/shiny/64.png', 'AF', 'AFG', 4, 93, '');
INSERT INTO `countries` (`id`, `name`, `flag`, `flatFlag`, `shinyFlag`, `iso`, `iso3`, `numcode`, `callcode`, `currency`) VALUES
(2, 'ALBANIA', NULL, 'https://www.countryflags.io/al/flat/64.png', 'https://www.countryflags.io/al/shiny/64.png', 'AL', 'ALB', 8, 355, ''),
(3, 'ALGERIA', NULL, 'https://www.countryflags.io/dz/flat/64.png', 'https://www.countryflags.io/dz/shiny/64.png', 'DZ', 'DZA', 12, 213, ''),
(4, 'AMERICAN SAMOA', NULL, 'https://www.countryflags.io/as/flat/64.png', 'https://www.countryflags.io/as/shiny/64.png', 'AS', 'ASM', 16, 1684, ''),
(5, 'ANDORRA', NULL, 'https://www.countryflags.io/ad/flat/64.png', 'https://www.countryflags.io/ad/shiny/64.png', 'AD', 'AND', 20, 376, ''),
(6, 'ANGOLA', NULL, 'https://www.countryflags.io/ao/flat/64.png', 'https://www.countryflags.io/ao/shiny/64.png', 'AO', 'AGO', 24, 244, ''),
(7, 'ANGUILLA', NULL, 'https://www.countryflags.io/ai/flat/64.png', 'https://www.countryflags.io/ai/shiny/64.png', 'AI', 'AIA', 660, 1264, ''),
(8, 'ANTARCTICA', NULL, 'https://www.countryflags.io/aq/flat/64.png', 'https://www.countryflags.io/aq/shiny/64.png', 'AQ', 'ATA', NULL, 0, ''),
(9, 'ANTIGUA AND BARBUDA', NULL, 'https://www.countryflags.io/ag/flat/64.png', 'https://www.countryflags.io/ag/shiny/64.png', 'AG', 'ATG', 28, 1268, ''),
(10, 'ARGENTINA', NULL, 'https://www.countryflags.io/ar/flat/64.png', 'https://www.countryflags.io/ar/shiny/64.png', 'AR', 'ARG', 32, 54, ''),
(11, 'ARMENIA', NULL, 'https://www.countryflags.io/am/flat/64.png', 'https://www.countryflags.io/am/shiny/64.png', 'AM', 'ARM', 51, 374, ''),
(12, 'ARUBA', NULL, 'https://www.countryflags.io/aw/flat/64.png', 'https://www.countryflags.io/aw/shiny/64.png', 'AW', 'ABW', 533, 297, ''),
(13, 'AUSTRALIA', NULL, 'https://www.countryflags.io/au/flat/64.png', 'https://www.countryflags.io/au/shiny/64.png', 'AU', 'AUS', 36, 61, ''),
(14, 'AUSTRIA', NULL, 'https://www.countryflags.io/at/flat/64.png', 'https://www.countryflags.io/at/shiny/64.png', 'AT', 'AUT', 40, 43, ''),
(15, 'AZERBAIJAN', NULL, 'https://www.countryflags.io/az/flat/64.png', 'https://www.countryflags.io/az/shiny/64.png', 'AZ', 'AZE', 31, 994, ''),
(16, 'BAHAMAS', NULL, 'https://www.countryflags.io/bs/flat/64.png', 'https://www.countryflags.io/bs/shiny/64.png', 'BS', 'BHS', 44, 1242, ''),
(17, 'BAHRAIN', [encoded data, 15780 characters], 'https://www.countryflags.io/bh/flat/64.png', 'https://www.countryflags.io/bh/shiny/64.png', 'BH', 'BHR', 48, 973, ''),
(18, 'BANGLADESH', NULL, 'https://www.countryflags.io/bd/flat/64.png', 'https://www.countryflags.io/bd/shiny/64.png', 'BD', 'BGD', 50, 880, ''),
(19, 'BARBADOS', NULL, 'https://www.countryflags.io/bb/flat/64.png', 'https://www.countryflags.io/bb/shiny/64.png', 'BB', 'BRB', 52, 1246, ''),
(20, 'BELARUS', NULL, 'https://www.countryflags.io/by/flat/64.png', 'https://www.countryflags.io/by/shiny/64.png', 'BY', 'BLR', 112, 375, ''),
(21, 'BELGIUM', NULL, 'https://www.countryflags.io/be/flat/64.png', 'https://www.countryflags.io/be/shiny/64.png', 'BE', 'BEL', 56, 32, ''),
(22, 'BELIZE', NULL, 'https://www.countryflags.io/bz/flat/64.png', 'https://www.countryflags.io/bz/shiny/64.png', 'BZ', 'BLZ', 84, 501, ''),
(23, 'BENIN', NULL, 'https://www.countryflags.io/bj/flat/64.png', 'https://www.countryflags.io/bj/shiny/64.png', 'BJ', 'BEN', 204, 229, ''),
(24, 'BERMUDA', NULL, 'https://www.countryflags.io/bm/flat/64.png', 'https://www.countryflags.io/bm/shiny/64.png', 'BM', 'BMU', 60, 1441, ''),
(25, 'BHUTAN', NULL, 'https://www.countryflags.io/bt/flat/64.png', 'https://www.countryflags.io/bt/shiny/64.png', 'BT', 'BTN', 64, 975, ''),
(26, 'BOLIVIA', NULL, 'https://www.countryflags.io/bo/flat/64.png', 'https://www.countryflags.io/bo/shiny/64.png', 'BO', 'BOL', 68, 591, ''),
(27, 'BOSNIA AND HERZEGOVINA', NULL, 'https://www.countryflags.io/ba/flat/64.png', 'https://www.countryflags.io/ba/shiny/64.png', 'BA', 'BIH', 70, 387, ''),
(28, 'BOTSWANA', NULL, 'https://www.countryflags.io/bw/flat/64.png', 'https://www.countryflags.io/bw/shiny/64.png', 'BW', 'BWA', 72, 267, ''),
(29, 'BOUVET ISLAND', NULL, 'https://www.countryflags.io/bv/flat/64.png', 'https://www.countryflags.io/bv/shiny/64.png', 'BV', 'BVT', NULL, 0, ''),
(30, 'BRAZIL', NULL, 'https://www.countryflags.io/br/flat/64.png', 'https://www.countryflags.io/br/shiny/64.png', 'BR', 'BRA', 76, 55, ''),
(31, 'BRITISH INDIAN OCEAN TERRITORY', NULL, 'https://www.countryflags.io/io/flat/64.png', 'https://www.countryflags.io/io/shiny/64.png', 'IO', 'IOT', NULL, 246, ''),
(32, 'BRUNEI DARUSSALAM', NULL, 'https://www.countryflags.io/bn/flat/64.png', 'https://www.countryflags.io/bn/shiny/64.png', 'BN', 'BRN', 96, 673, ''),
(33, 'BULGARIA', NULL, 'https://www.countryflags.io/bg/flat/64.png', 'https://www.countryflags.io/bg/shiny/64.png', 'BG', 'BGR', 100, 359, ''),
(34, 'BURKINA FASO', NULL, 'https://www.countryflags.io/bf/flat/64.png', 'https://www.countryflags.io/bf/shiny/64.png', 'BF', 'BFA', 854, 226, ''),
(35, 'BURUNDI', NULL, 'https://www.countryflags.io/bi/flat/64.png', 'https://www.countryflags.io/bi/shiny/64.png', 'BI', 'BDI', 108, 257, ''),
(36, 'CAMBODIA', NULL, 'https://www.countryflags.io/kh/flat/64.png', 'https://www.countryflags.io/kh/shiny/64.png', 'KH', 'KHM', 116, 855, ''),
(37, 'CAMEROON', NULL, 'https://www.countryflags.io/cm/flat/64.png', 'https://www.countryflags.io/cm/shiny/64.png', 'CM', 'CMR', 120, 237, ''),
(38, 'CANADA', NULL, 'https://www.countryflags.io/ca/flat/64.png', 'https://www.countryflags.io/ca/shiny/64.png', 'CA', 'CAN', 124, 1, ''),
(39, 'CAPE VERDE', NULL, 'https://www.countryflags.io/cv/flat/64.png', 'https://www.countryflags.io/cv/shiny/64.png', 'CV', 'CPV', 132, 238, ''),
(40, 'CAYMAN ISLANDS', NULL, 'https://www.countryflags.io/ky/flat/64.png', 'https://www.countryflags.io/ky/shiny/64.png', 'KY', 'CYM', 136, 1345, ''),
(41, 'CENTRAL AFRICAN REPUBLIC', NULL, 'https://www.countryflags.io/cf/flat/64.png', 'https://www.countryflags.io/cf/shiny/64.png', 'CF', 'CAF', 140, 236, ''),
(42, 'CHAD', NULL, 'https://www.countryflags.io/td/flat/64.png', 'https://www.countryflags.io/td/shiny/64.png', 'TD', 'TCD', 148, 235, ''),
(43, 'CHILE', NULL, 'https://www.countryflags.io/cl/flat/64.png', 'https://www.countryflags.io/cl/shiny/64.png', 'CL', 'CHL', 152, 56, ''),
(44, 'CHINA', NULL, 'https://www.countryflags.io/cn/flat/64.png', 'https://www.countryflags.io/cn/shiny/64.png', 'CN', 'CHN', 156, 86, ''),
(45, 'CHRISTMAS ISLAND', NULL, 'https://www.countryflags.io/cx/flat/64.png', 'https://www.countryflags.io/cx/shiny/64.png', 'CX', 'CXR', NULL, 61, ''),
(46, 'COCOS (KEELING) ISLANDS', NULL, 'https://www.countryflags.io/cc/flat/64.png', 'https://www.countryflags.io/cc/shiny/64.png', 'CC', 'CCK', NULL, 672, ''),
(47, 'COLOMBIA', NULL, 'https://www.countryflags.io/co/flat/64.png', 'https://www.countryflags.io/co/shiny/64.png', 'CO', 'COL', 170, 57, ''),
(48, 'COMOROS', NULL, 'https://www.countryflags.io/km/flat/64.png', 'https://www.countryflags.io/km/shiny/64.png', 'KM', 'COM', 174, 269, ''),
(49, 'CONGO', NULL, 'https://www.countryflags.io/cg/flat/64.png', 'https://www.countryflags.io/cg/shiny/64.png', 'CG', 'COG', 178, 242, ''),
(50, 'CONGO, THE DEMOCRATIC REPUBLIC OF THE', NULL, 'https://www.countryflags.io/cd/flat/64.png', 'https://www.countryflags.io/cd/shiny/64.png', 'CD', 'COD', 180, 242, ''),
(51, 'COOK ISLANDS', NULL, 'https://www.countryflags.io/ck/flat/64.png', 'https://www.countryflags.io/ck/shiny/64.png', 'CK', 'COK', 184, 682, ''),
(52, 'COSTA RICA', NULL, 'https://www.countryflags.io/cr/flat/64.png', 'https://www.countryflags.io/cr/shiny/64.png', 'CR', 'CRI', 188, 506, ''),
(53, 'COTE D\'IVOIRE', NULL, 'https://www.countryflags.io/ci/flat/64.png', 'https://www.countryflags.io/ci/shiny/64.png', 'CI', 'CIV', 384, 225, ''),
(54, 'CROATIA', NULL, 'https://www.countryflags.io/hr/flat/64.png', 'https://www.countryflags.io/hr/shiny/64.png', 'HR', 'HRV', 191, 385, ''),
(55, 'CUBA', NULL, 'https://www.countryflags.io/cu/flat/64.png', 'https://www.countryflags.io/cu/shiny/64.png', 'CU', 'CUB', 192, 53, ''),
(56, 'CYPRUS', NULL, 'https://www.countryflags.io/cy/flat/64.png', 'https://www.countryflags.io/cy/shiny/64.png', 'CY', 'CYP', 196, 357, ''),
(57, 'CZECH REPUBLIC', NULL, 'https://www.countryflags.io/cz/flat/64.png', 'https://www.countryflags.io/cz/shiny/64.png', 'CZ', 'CZE', 203, 420, ''),
(58, 'DENMARK', NULL, 'https://www.countryflags.io/dk/flat/64.png', 'https://www.countryflags.io/dk/shiny/64.png', 'DK', 'DNK', 208, 45, ''),
(59, 'DJIBOUTI', NULL, 'https://www.countryflags.io/dj/flat/64.png', 'https://www.countryflags.io/dj/shiny/64.png', 'DJ', 'DJI', 262, 253, ''),
(60, 'DOMINICA', NULL, 'https://www.countryflags.io/dm/flat/64.png', 'https://www.countryflags.io/dm/shiny/64.png', 'DM', 'DMA', 212, 1767, ''),
(61, 'DOMINICAN REPUBLIC', NULL, 'https://www.countryflags.io/do/flat/64.png', 'https://www.countryflags.io/do/shiny/64.png', 'DO', 'DOM', 214, 1809, ''),
(62, 'ECUADOR', NULL, 'https://www.countryflags.io/ec/flat/64.png', 'https://www.countryflags.io/ec/shiny/64.png', 'EC', 'ECU', 218, 593, ''),
(63, 'EGYPT', NULL, 'https://www.countryflags.io/eg/flat/64.png', 'https://www.countryflags.io/eg/shiny/64.png', 'EG', 'EGY', 818, 20, ''),
(64, 'EL SALVADOR', NULL, 'https://www.countryflags.io/sv/flat/64.png', 'https://www.countryflags.io/sv/shiny/64.png', 'SV', 'SLV', 222, 503, ''),
(65, 'EQUATORIAL GUINEA', NULL, 'https://www.countryflags.io/gq/flat/64.png', 'https://www.countryflags.io/gq/shiny/64.png', 'GQ', 'GNQ', 226, 240, ''),
(66, 'ERITREA', NULL, 'https://www.countryflags.io/er/flat/64.png', 'https://www.countryflags.io/er/shiny/64.png', 'ER', 'ERI', 232, 291, ''),
(67, 'ESTONIA', NULL, 'https://www.countryflags.io/ee/flat/64.png', 'https://www.countryflags.io/ee/shiny/64.png', 'EE', 'EST', 233, 372, ''),
(68, 'ETHIOPIA', NULL, 'https://www.countryflags.io/et/flat/64.png', 'https://www.countryflags.io/et/shiny/64.png', 'ET', 'ETH', 231, 251, ''),
(69, 'FALKLAND ISLANDS (MALVINAS)', NULL, 'https://www.countryflags.io/fk/flat/64.png', 'https://www.countryflags.io/fk/shiny/64.png', 'FK', 'FLK', 238, 500, ''),
(70, 'FAROE ISLANDS', NULL, 'https://www.countryflags.io/fo/flat/64.png', 'https://www.countryflags.io/fo/shiny/64.png', 'FO', 'FRO', 234, 298, ''),
(71, 'FIJI', NULL, 'https://www.countryflags.io/fj/flat/64.png', 'https://www.countryflags.io/fj/shiny/64.png', 'FJ', 'FJI', 242, 679, ''),
(72, 'FINLAND', NULL, 'https://www.countryflags.io/fi/flat/64.png', 'https://www.countryflags.io/fi/shiny/64.png', 'FI', 'FIN', 246, 358, ''),
(73, 'FRANCE', NULL, 'https://www.countryflags.io/fr/flat/64.png', 'https://www.countryflags.io/fr/shiny/64.png', 'FR', 'FRA', 250, 33, ''),
(74, 'FRENCH GUIANA', NULL, 'https://www.countryflags.io/gf/flat/64.png', 'https://www.countryflags.io/gf/shiny/64.png', 'GF', 'GUF', 254, 594, ''),
(75, 'FRENCH POLYNESIA', NULL, 'https://www.countryflags.io/pf/flat/64.png', 'https://www.countryflags.io/pf/shiny/64.png', 'PF', 'PYF', 258, 689, ''),
(76, 'FRENCH SOUTHERN TERRITORIES', NULL, 'https://www.countryflags.io/tf/flat/64.png', 'https://www.countryflags.io/tf/shiny/64.png', 'TF', 'ATF', NULL, 0, ''),
(77, 'GABON', NULL, 'https://www.countryflags.io/ga/flat/64.png', 'https://www.countryflags.io/ga/shiny/64.png', 'GA', 'GAB', 266, 241, ''),
(78, 'GAMBIA', NULL, 'https://www.countryflags.io/gm/flat/64.png', 'https://www.countryflags.io/gm/shiny/64.png', 'GM', 'GMB', 270, 220, ''),
(79, 'GEORGIA', NULL, 'https://www.countryflags.io/ge/flat/64.png', 'https://www.countryflags.io/ge/shiny/64.png', 'GE', 'GEO', 268, 995, ''),
(80, 'GERMANY', NULL, 'https://www.countryflags.io/de/flat/64.png', 'https://www.countryflags.io/de/shiny/64.png', 'DE', 'DEU', 276, 49, ''),
(81, 'GHANA', NULL, 'https://www.countryflags.io/gh/flat/64.png', 'https://www.countryflags.io/gh/shiny/64.png', 'GH', 'GHA', 288, 233, ''),
(82, 'GIBRALTAR', NULL, 'https://www.countryflags.io/gi/flat/64.png', 'https://www.countryflags.io/gi/shiny/64.png', 'GI', 'GIB', 292, 350, ''),
(83, 'GREECE', NULL, 'https://www.countryflags.io/gr/flat/64.png', 'https://www.countryflags.io/gr/shiny/64.png', 'GR', 'GRC', 300, 30, ''),
(84, 'GREENLAND', NULL, 'https://www.countryflags.io/gl/flat/64.png', 'https://www.countryflags.io/gl/shiny/64.png', 'GL', 'GRL', 304, 299, ''),
(85, 'GRENADA', NULL, 'https://www.countryflags.io/gd/flat/64.png', 'https://www.countryflags.io/gd/shiny/64.png', 'GD', 'GRD', 308, 1473, ''),
(86, 'GUADELOUPE', NULL, 'https://www.countryflags.io/gp/flat/64.png', 'https://www.countryflags.io/gp/shiny/64.png', 'GP', 'GLP', 312, 590, ''),
(87, 'GUAM', NULL, 'https://www.countryflags.io/gu/flat/64.png', 'https://www.countryflags.io/gu/shiny/64.png', 'GU', 'GUM', 316, 1671, ''),
(88, 'GUATEMALA', NULL, 'https://www.countryflags.io/gt/flat/64.png', 'https://www.countryflags.io/gt/shiny/64.png', 'GT', 'GTM', 320, 502, ''),
(89, 'GUINEA', NULL, 'https://www.countryflags.io/gn/flat/64.png', 'https://www.countryflags.io/gn/shiny/64.png', 'GN', 'GIN', 324, 224, ''),
(90, 'GUINEA-BISSAU', NULL, 'https://www.countryflags.io/gw/flat/64.png', 'https://www.countryflags.io/gw/shiny/64.png', 'GW', 'GNB', 624, 245, ''),
(91, 'GUYANA', NULL, 'https://www.countryflags.io/gy/flat/64.png', 'https://www.countryflags.io/gy/shiny/64.png', 'GY', 'GUY', 328, 592, ''),
(92, 'HAITI', NULL, 'https://www.countryflags.io/ht/flat/64.png', 'https://www.countryflags.io/ht/shiny/64.png', 'HT', 'HTI', 332, 509, ''),
(93, 'HEARD ISLAND AND MCDONALD ISLANDS', NULL, 'https://www.countryflags.io/hm/flat/64.png', 'https://www.countryflags.io/hm/shiny/64.png', 'HM', 'HMD', NULL, 0, ''),
(94, 'HOLY SEE (VATICAN CITY STATE)', NULL, 'https://www.countryflags.io/va/flat/64.png', 'https://www.countryflags.io/va/shiny/64.png', 'VA', 'VAT', 336, 39, ''),
(95, 'HONDURAS', NULL, 'https://www.countryflags.io/hn/flat/64.png', 'https://www.countryflags.io/hn/shiny/64.png', 'HN', 'HND', 340, 504, ''),
(96, 'HONG KONG', NULL, 'https://www.countryflags.io/hk/flat/64.png', 'https://www.countryflags.io/hk/shiny/64.png', 'HK', 'HKG', 344, 852, ''),
(97, 'HUNGARY', NULL, 'https://www.countryflags.io/hu/flat/64.png', 'https://www.countryflags.io/hu/shiny/64.png', 'HU', 'HUN', 348, 36, ''),
(98, 'ICELAND', NULL, 'https://www.countryflags.io/is/flat/64.png', 'https://www.countryflags.io/is/shiny/64.png', 'IS', 'ISL', 352, 354, ''),
(99, 'INDIA', NULL, 'https://www.countryflags.io/in/flat/64.png', 'https://www.countryflags.io/in/shiny/64.png', 'IN', 'IND', 356, 91, ''),
(100, 'INDONESIA', NULL, 'https://www.countryflags.io/id/flat/64.png', 'https://www.countryflags.io/id/shiny/64.png', 'ID', 'IDN', 360, 62, ''),
(101, 'IRAN, ISLAMIC REPUBLIC OF', NULL, 'https://www.countryflags.io/ir/flat/64.png', 'https://www.countryflags.io/ir/shiny/64.png', 'IR', 'IRN', 364, 98, ''),
(102, 'IRAQ', NULL, 'https://www.countryflags.io/iq/flat/64.png', 'https://www.countryflags.io/iq/shiny/64.png', 'IQ', 'IRQ', 368, 964, ''),
(103, 'IRELAND', NULL, 'https://www.countryflags.io/ie/flat/64.png', 'https://www.countryflags.io/ie/shiny/64.png', 'IE', 'IRL', 372, 353, ''),
(104, 'ISRAEL', NULL, 'https://www.countryflags.io/il/flat/64.png', 'https://www.countryflags.io/il/shiny/64.png', 'IL', 'ISR', 376, 972, ''),
(105, 'ITALY', NULL, 'https://www.countryflags.io/it/flat/64.png', 'https://www.countryflags.io/it/shiny/64.png', 'IT', 'ITA', 380, 39, ''),
(106, 'JAMAICA', NULL, 'https://www.countryflags.io/jm/flat/64.png', 'https://www.countryflags.io/jm/shiny/64.png', 'JM', 'JAM', 388, 1876, ''),
(107, 'JAPAN', NULL, 'https://www.countryflags.io/jp/flat/64.png', 'https://www.countryflags.io/jp/shiny/64.png', 'JP', 'JPN', 392, 81, ''),
(108, 'JORDAN', NULL, 'https://www.countryflags.io/jo/flat/64.png', 'https://www.countryflags.io/jo/shiny/64.png', 'JO', 'JOR', 400, 962, ''),
(109, 'KAZAKHSTAN', NULL, 'https://www.countryflags.io/kz/flat/64.png', 'https://www.countryflags.io/kz/shiny/64.png', 'KZ', 'KAZ', 398, 7, ''),
(110, 'KENYA', NULL, 'https://www.countryflags.io/ke/flat/64.png', 'https://www.countryflags.io/ke/shiny/64.png', 'KE', 'KEN', 404, 254, ''),
(111, 'KIRIBATI', NULL, 'https://www.countryflags.io/ki/flat/64.png', 'https://www.countryflags.io/ki/shiny/64.png', 'KI', 'KIR', 296, 686, ''),
(112, 'KOREA, DEMOCRATIC PEOPLE\'S REPUBLIC OF', NULL, 'https://www.countryflags.io/kp/flat/64.png', 'https://www.countryflags.io/kp/shiny/64.png', 'KP', 'PRK', 408, 850, ''),
(113, 'KOREA, REPUBLIC OF', NULL, 'https://www.countryflags.io/kr/flat/64.png', 'https://www.countryflags.io/kr/shiny/64.png', 'KR', 'KOR', 410, 82, ''),
(114, 'KUWAIT', NULL, 'https://www.countryflags.io/kw/flat/64.png', 'https://www.countryflags.io/kw/shiny/64.png', 'KW', 'KWT', 414, 965, ''),
(115, 'KYRGYZSTAN', NULL, 'https://www.countryflags.io/kg/flat/64.png', 'https://www.countryflags.io/kg/shiny/64.png', 'KG', 'KGZ', 417, 996, ''),
(116, 'LAO PEOPLE\'S DEMOCRATIC REPUBLIC', NULL, 'https://www.countryflags.io/la/flat/64.png', 'https://www.countryflags.io/la/shiny/64.png', 'LA', 'LAO', 418, 856, ''),
(117, 'LATVIA', NULL, 'https://www.countryflags.io/lv/flat/64.png', 'https://www.countryflags.io/lv/shiny/64.png', 'LV', 'LVA', 428, 371, ''),
(118, 'LEBANON', NULL, 'https://www.countryflags.io/lb/flat/64.png', 'https://www.countryflags.io/lb/shiny/64.png', 'LB', 'LBN', 422, 961, ''),
(119, 'LESOTHO', NULL, 'https://www.countryflags.io/ls/flat/64.png', 'https://www.countryflags.io/ls/shiny/64.png', 'LS', 'LSO', 426, 266, ''),
(120, 'LIBERIA', NULL, 'https://www.countryflags.io/lr/flat/64.png', 'https://www.countryflags.io/lr/shiny/64.png', 'LR', 'LBR', 430, 231, ''),
(121, 'LIBYAN ARAB JAMAHIRIYA', NULL, 'https://www.countryflags.io/ly/flat/64.png', 'https://www.countryflags.io/ly/shiny/64.png', 'LY', 'LBY', 434, 218, ''),
(122, 'LIECHTENSTEIN', NULL, 'https://www.countryflags.io/li/flat/64.png', 'https://www.countryflags.io/li/shiny/64.png', 'LI', 'LIE', 438, 423, ''),
(123, 'LITHUANIA', NULL, 'https://www.countryflags.io/lt/flat/64.png', 'https://www.countryflags.io/lt/shiny/64.png', 'LT', 'LTU', 440, 370, ''),
(124, 'LUXEMBOURG', NULL, 'https://www.countryflags.io/lu/flat/64.png', 'https://www.countryflags.io/lu/shiny/64.png', 'LU', 'LUX', 442, 352, ''),
(125, 'MACAO', NULL, 'https://www.countryflags.io/mo/flat/64.png', 'https://www.countryflags.io/mo/shiny/64.png', 'MO', 'MAC', 446, 853, ''),
(126, 'MACEDONIA, THE FORMER YUGOSLAV REPUBLIC OF', NULL, 'https://www.countryflags.io/mk/flat/64.png', 'https://www.countryflags.io/mk/shiny/64.png', 'MK', 'MKD', 807, 389, ''),
(127, 'MADAGASCAR', NULL, 'https://www.countryflags.io/mg/flat/64.png', 'https://www.countryflags.io/mg/shiny/64.png', 'MG', 'MDG', 450, 261, ''),
(128, 'MALAWI', NULL, 'https://www.countryflags.io/mw/flat/64.png', 'https://www.countryflags.io/mw/shiny/64.png', 'MW', 'MWI', 454, 265, ''),
(129, 'MALAYSIA', NULL, 'https://www.countryflags.io/my/flat/64.png', 'https://www.countryflags.io/my/shiny/64.png', 'MY', 'MYS', 458, 60, ''),
(130, 'MALDIVES', NULL, 'https://www.countryflags.io/mv/flat/64.png', 'https://www.countryflags.io/mv/shiny/64.png', 'MV', 'MDV', 462, 960, ''),
(131, 'MALI', NULL, 'https://www.countryflags.io/ml/flat/64.png', 'https://www.countryflags.io/ml/shiny/64.png', 'ML', 'MLI', 466, 223, ''),
(132, 'MALTA', NULL, 'https://www.countryflags.io/mt/flat/64.png', 'https://www.countryflags.io/mt/shiny/64.png', 'MT', 'MLT', 470, 356, ''),
(133, 'MARSHALL ISLANDS', NULL, 'https://www.countryflags.io/mh/flat/64.png', 'https://www.countryflags.io/mh/shiny/64.png', 'MH', 'MHL', 584, 692, ''),
(134, 'MARTINIQUE', NULL, 'https://www.countryflags.io/mq/flat/64.png', 'https://www.countryflags.io/mq/shiny/64.png', 'MQ', 'MTQ', 474, 596, ''),
(135, 'MAURITANIA', NULL, 'https://www.countryflags.io/mr/flat/64.png', 'https://www.countryflags.io/mr/shiny/64.png', 'MR', 'MRT', 478, 222, ''),
(136, 'MAURITIUS', NULL, 'https://www.countryflags.io/mu/flat/64.png', 'https://www.countryflags.io/mu/shiny/64.png', 'MU', 'MUS', 480, 230, ''),
(137, 'MAYOTTE', NULL, 'https://www.countryflags.io/yt/flat/64.png', 'https://www.countryflags.io/yt/shiny/64.png', 'YT', 'MYT', NULL, 269, ''),
(138, 'MEXICO', NULL, 'https://www.countryflags.io/mx/flat/64.png', 'https://www.countryflags.io/mx/shiny/64.png', 'MX', 'MEX', 484, 52, ''),
(139, 'MICRONESIA, FEDERATED STATES OF', NULL, 'https://www.countryflags.io/fm/flat/64.png', 'https://www.countryflags.io/fm/shiny/64.png', 'FM', 'FSM', 583, 691, ''),
(140, 'MOLDOVA, REPUBLIC OF', NULL, 'https://www.countryflags.io/md/flat/64.png', 'https://www.countryflags.io/md/shiny/64.png', 'MD', 'MDA', 498, 373, ''),
(141, 'MONACO', NULL, 'https://www.countryflags.io/mc/flat/64.png', 'https://www.countryflags.io/mc/shiny/64.png', 'MC', 'MCO', 492, 377, ''),
(142, 'MONGOLIA', NULL, 'https://www.countryflags.io/mn/flat/64.png', 'https://www.countryflags.io/mn/shiny/64.png', 'MN', 'MNG', 496, 976, ''),
(143, 'MONTSERRAT', NULL, 'https://www.countryflags.io/ms/flat/64.png', 'https://www.countryflags.io/ms/shiny/64.png', 'MS', 'MSR', 500, 1664, ''),
(144, 'MOROCCO', NULL, 'https://www.countryflags.io/ma/flat/64.png', 'https://www.countryflags.io/ma/shiny/64.png', 'MA', 'MAR', 504, 212, ''),
(145, 'MOZAMBIQUE', NULL, 'https://www.countryflags.io/mz/flat/64.png', 'https://www.countryflags.io/mz/shiny/64.png', 'MZ', 'MOZ', 508, 258, ''),
(146, 'MYANMAR', NULL, 'https://www.countryflags.io/mm/flat/64.png', 'https://www.countryflags.io/mm/shiny/64.png', 'MM', 'MMR', 104, 95, ''),
(147, 'NAMIBIA', NULL, 'https://www.countryflags.io/na/flat/64.png', 'https://www.countryflags.io/na/shiny/64.png', 'NA', 'NAM', 516, 264, ''),
(148, 'NAURU', NULL, 'https://www.countryflags.io/nr/flat/64.png', 'https://www.countryflags.io/nr/shiny/64.png', 'NR', 'NRU', 520, 674, ''),
(149, 'NEPAL', NULL, 'https://www.countryflags.io/np/flat/64.png', 'https://www.countryflags.io/np/shiny/64.png', 'NP', 'NPL', 524, 977, ''),
(150, 'NETHERLANDS', NULL, 'https://www.countryflags.io/nl/flat/64.png', 'https://www.countryflags.io/nl/shiny/64.png', 'NL', 'NLD', 528, 31, ''),
(151, 'NETHERLANDS ANTILLES', NULL, 'https://www.countryflags.io/an/flat/64.png', 'https://www.countryflags.io/an/shiny/64.png', 'AN', 'ANT', 530, 599, ''),
(152, 'NEW CALEDONIA', NULL, 'https://www.countryflags.io/nc/flat/64.png', 'https://www.countryflags.io/nc/shiny/64.png', 'NC', 'NCL', 540, 687, ''),
(153, 'NEW ZEALAND', NULL, 'https://www.countryflags.io/nz/flat/64.png', 'https://www.countryflags.io/nz/shiny/64.png', 'NZ', 'NZL', 554, 64, ''),
(154, 'NICARAGUA', NULL, 'https://www.countryflags.io/ni/flat/64.png', 'https://www.countryflags.io/ni/shiny/64.png', 'NI', 'NIC', 558, 505, ''),
(155, 'NIGER', NULL, 'https://www.countryflags.io/ne/flat/64.png', 'https://www.countryflags.io/ne/shiny/64.png', 'NE', 'NER', 562, 227, ''),
(156, 'NIGERIA', NULL, 'https://www.countryflags.io/ng/flat/64.png', 'https://www.countryflags.io/ng/shiny/64.png', 'NG', 'NGA', 566, 234, ''),
(157, 'NIUE', NULL, 'https://www.countryflags.io/nu/flat/64.png', 'https://www.countryflags.io/nu/shiny/64.png', 'NU', 'NIU', 570, 683, ''),
(158, 'NORFOLK ISLAND', NULL, 'https://www.countryflags.io/nf/flat/64.png', 'https://www.countryflags.io/nf/shiny/64.png', 'NF', 'NFK', 574, 672, ''),
(159, 'NORTHERN MARIANA ISLANDS', NULL, 'https://www.countryflags.io/mp/flat/64.png', 'https://www.countryflags.io/mp/shiny/64.png', 'MP', 'MNP', 580, 1670, ''),
(160, 'NORWAY', NULL, 'https://www.countryflags.io/no/flat/64.png', 'https://www.countryflags.io/no/shiny/64.png', 'NO', 'NOR', 578, 47, ''),
(161, 'OMAN', NULL, 'https://www.countryflags.io/om/flat/64.png', 'https://www.countryflags.io/om/shiny/64.png', 'OM', 'OMN', 512, 968, ''),
(162, 'PAKISTAN', NULL, 'https://www.countryflags.io/pk/flat/64.png', 'https://www.countryflags.io/pk/shiny/64.png', 'PK', 'PAK', 586, 92, ''),
(163, 'PALAU', NULL, 'https://www.countryflags.io/pw/flat/64.png', 'https://www.countryflags.io/pw/shiny/64.png', 'PW', 'PLW', 585, 680, ''),
(164, 'PALESTINIAN TERRITORY, OCCUPIED', NULL, 'https://www.countryflags.io/ps/flat/64.png', 'https://www.countryflags.io/ps/shiny/64.png', 'PS', 'PSE', 275, 970, ''),
(165, 'PANAMA', NULL, 'https://www.countryflags.io/pa/flat/64.png', 'https://www.countryflags.io/pa/shiny/64.png', 'PA', 'PAN', 591, 507, ''),
(166, 'PAPUA NEW GUINEA', NULL, 'https://www.countryflags.io/pg/flat/64.png', 'https://www.countryflags.io/pg/shiny/64.png', 'PG', 'PNG', 598, 675, ''),
(167, 'PARAGUAY', NULL, 'https://www.countryflags.io/py/flat/64.png', 'https://www.countryflags.io/py/shiny/64.png', 'PY', 'PRY', 600, 595, ''),
(168, 'PERU', NULL, 'https://www.countryflags.io/pe/flat/64.png', 'https://www.countryflags.io/pe/shiny/64.png', 'PE', 'PER', 604, 51, '');
INSERT INTO `countries` (`id`, `name`, `flag`, `flatFlag`, `shinyFlag`, `iso`, `iso3`, `numcode`, `callcode`, `currency`) VALUES
(169, 'PHILIPPINES', [encoded data, 21686 characters], 'https://www.countryflags.io/ph/flat/64.png', 'https://www.countryflags.io/ph/shiny/64.png', 'PH', 'PHL', 608, 63, ''),
(170, 'PITCAIRN', NULL, 'https://www.countryflags.io/pn/flat/64.png', 'https://www.countryflags.io/pn/shiny/64.png', 'PN', 'PCN', 612, 0, ''),
(171, 'POLAND', NULL, 'https://www.countryflags.io/pl/flat/64.png', 'https://www.countryflags.io/pl/shiny/64.png', 'PL', 'POL', 616, 48, ''),
(172, 'PORTUGAL', NULL, 'https://www.countryflags.io/pt/flat/64.png', 'https://www.countryflags.io/pt/shiny/64.png', 'PT', 'PRT', 620, 351, ''),
(173, 'PUERTO RICO', NULL, 'https://www.countryflags.io/pr/flat/64.png', 'https://www.countryflags.io/pr/shiny/64.png', 'PR', 'PRI', 630, 1787, ''),
(174, 'QATAR', NULL, 'https://www.countryflags.io/qa/flat/64.png', 'https://www.countryflags.io/qa/shiny/64.png', 'QA', 'QAT', 634, 974, ''),
(175, 'REUNION', NULL, 'https://www.countryflags.io/re/flat/64.png', 'https://www.countryflags.io/re/shiny/64.png', 'RE', 'REU', 638, 262, ''),
(176, 'ROMANIA', NULL, 'https://www.countryflags.io/ro/flat/64.png', 'https://www.countryflags.io/ro/shiny/64.png', 'RO', 'ROM', 642, 40, ''),
(177, 'RUSSIAN FEDERATION', NULL, 'https://www.countryflags.io/ru/flat/64.png', 'https://www.countryflags.io/ru/shiny/64.png', 'RU', 'RUS', 643, 70, ''),
(178, 'RWANDA', NULL, 'https://www.countryflags.io/rw/flat/64.png', 'https://www.countryflags.io/rw/shiny/64.png', 'RW', 'RWA', 646, 250, ''),
(179, 'SAINT HELENA', NULL, 'https://www.countryflags.io/sh/flat/64.png', 'https://www.countryflags.io/sh/shiny/64.png', 'SH', 'SHN', 654, 290, ''),
(180, 'SAINT KITTS AND NEVIS', NULL, 'https://www.countryflags.io/kn/flat/64.png', 'https://www.countryflags.io/kn/shiny/64.png', 'KN', 'KNA', 659, 1869, ''),
(181, 'SAINT LUCIA', NULL, 'https://www.countryflags.io/lc/flat/64.png', 'https://www.countryflags.io/lc/shiny/64.png', 'LC', 'LCA', 662, 1758, ''),
(182, 'SAINT PIERRE AND MIQUELON', NULL, 'https://www.countryflags.io/pm/flat/64.png', 'https://www.countryflags.io/pm/shiny/64.png', 'PM', 'SPM', 666, 508, ''),
(183, 'SAINT VINCENT AND THE GRENADINES', NULL, 'https://www.countryflags.io/vc/flat/64.png', 'https://www.countryflags.io/vc/shiny/64.png', 'VC', 'VCT', 670, 1784, ''),
(184, 'SAMOA', NULL, 'https://www.countryflags.io/ws/flat/64.png', 'https://www.countryflags.io/ws/shiny/64.png', 'WS', 'WSM', 882, 684, ''),
(185, 'SAN MARINO', NULL, 'https://www.countryflags.io/sm/flat/64.png', 'https://www.countryflags.io/sm/shiny/64.png', 'SM', 'SMR', 674, 378, ''),
(186, 'SAO TOME AND PRINCIPE', NULL, 'https://www.countryflags.io/st/flat/64.png', 'https://www.countryflags.io/st/shiny/64.png', 'ST', 'STP', 678, 239, ''),
(187, 'SAUDI ARABIA', NULL, 'https://www.countryflags.io/sa/flat/64.png', 'https://www.countryflags.io/sa/shiny/64.png', 'SA', 'SAU', 682, 966, ''),
(188, 'SENEGAL', NULL, 'https://www.countryflags.io/sn/flat/64.png', 'https://www.countryflags.io/sn/shiny/64.png', 'SN', 'SEN', 686, 221, ''),
(189, 'SERBIA AND MONTENEGRO', NULL, 'https://www.countryflags.io/cs/flat/64.png', 'https://www.countryflags.io/cs/shiny/64.png', 'CS', 'SCG', NULL, 381, ''),
(190, 'SEYCHELLES', NULL, 'https://www.countryflags.io/sc/flat/64.png', 'https://www.countryflags.io/sc/shiny/64.png', 'SC', 'SYC', 690, 248, ''),
(191, 'SIERRA LEONE', NULL, 'https://www.countryflags.io/sl/flat/64.png', 'https://www.countryflags.io/sl/shiny/64.png', 'SL', 'SLE', 694, 232, ''),
(192, 'SINGAPORE', NULL, 'https://www.countryflags.io/sg/flat/64.png', 'https://www.countryflags.io/sg/shiny/64.png', 'SG', 'SGP', 702, 65, ''),
(193, 'SLOVAKIA', NULL, 'https://www.countryflags.io/sk/flat/64.png', 'https://www.countryflags.io/sk/shiny/64.png', 'SK', 'SVK', 703, 421, ''),
(194, 'SLOVENIA', NULL, 'https://www.countryflags.io/si/flat/64.png', 'https://www.countryflags.io/si/shiny/64.png', 'SI', 'SVN', 705, 386, ''),
(195, 'SOLOMON ISLANDS', NULL, 'https://www.countryflags.io/sb/flat/64.png', 'https://www.countryflags.io/sb/shiny/64.png', 'SB', 'SLB', 90, 677, ''),
(196, 'SOMALIA', NULL, 'https://www.countryflags.io/so/flat/64.png', 'https://www.countryflags.io/so/shiny/64.png', 'SO', 'SOM', 706, 252, ''),
(197, 'SOUTH AFRICA', NULL, 'https://www.countryflags.io/za/flat/64.png', 'https://www.countryflags.io/za/shiny/64.png', 'ZA', 'ZAF', 710, 27, ''),
(198, 'SOUTH GEORGIA AND THE SOUTH SANDWICH ISLANDS', NULL, 'https://www.countryflags.io/gs/flat/64.png', 'https://www.countryflags.io/gs/shiny/64.png', 'GS', 'SGS', NULL, 0, ''),
(199, 'SPAIN', NULL, 'https://www.countryflags.io/es/flat/64.png', 'https://www.countryflags.io/es/shiny/64.png', 'ES', 'ESP', 724, 34, ''),
(200, 'SRI LANKA', NULL, 'https://www.countryflags.io/lk/flat/64.png', 'https://www.countryflags.io/lk/shiny/64.png', 'LK', 'LKA', 144, 94, ''),
(201, 'SUDAN', NULL, 'https://www.countryflags.io/sd/flat/64.png', 'https://www.countryflags.io/sd/shiny/64.png', 'SD', 'SDN', 736, 249, ''),
(202, 'SURINAME', NULL, 'https://www.countryflags.io/sr/flat/64.png', 'https://www.countryflags.io/sr/shiny/64.png', 'SR', 'SUR', 740, 597, ''),
(203, 'SVALBARD AND JAN MAYEN', NULL, 'https://www.countryflags.io/sj/flat/64.png', 'https://www.countryflags.io/sj/shiny/64.png', 'SJ', 'SJM', 744, 47, ''),
(204, 'SWAZILAND', NULL, 'https://www.countryflags.io/sz/flat/64.png', 'https://www.countryflags.io/sz/shiny/64.png', 'SZ', 'SWZ', 748, 268, ''),
(205, 'SWEDEN', NULL, 'https://www.countryflags.io/se/flat/64.png', 'https://www.countryflags.io/se/shiny/64.png', 'SE', 'SWE', 752, 46, ''),
(206, 'SWITZERLAND', NULL, 'https://www.countryflags.io/ch/flat/64.png', 'https://www.countryflags.io/ch/shiny/64.png', 'CH', 'CHE', 756, 41, ''),
(207, 'SYRIAN ARAB REPUBLIC', NULL, 'https://www.countryflags.io/sy/flat/64.png', 'https://www.countryflags.io/sy/shiny/64.png', 'SY', 'SYR', 760, 963, ''),
(208, 'TAIWAN, PROVINCE OF CHINA', NULL, 'https://www.countryflags.io/tw/flat/64.png', 'https://www.countryflags.io/tw/shiny/64.png', 'TW', 'TWN', 158, 886, ''),
(209, 'TAJIKISTAN', NULL, 'https://www.countryflags.io/tj/flat/64.png', 'https://www.countryflags.io/tj/shiny/64.png', 'TJ', 'TJK', 762, 992, ''),
(210, 'TANZANIA, UNITED REPUBLIC OF', NULL, 'https://www.countryflags.io/tz/flat/64.png', 'https://www.countryflags.io/tz/shiny/64.png', 'TZ', 'TZA', 834, 255, ''),
(211, 'THAILAND', NULL, 'https://www.countryflags.io/th/flat/64.png', 'https://www.countryflags.io/th/shiny/64.png', 'TH', 'THA', 764, 66, ''),
(212, 'TIMOR-LESTE', NULL, 'https://www.countryflags.io/tl/flat/64.png', 'https://www.countryflags.io/tl/shiny/64.png', 'TL', 'TLS', NULL, 670, ''),
(213, 'TOGO', NULL, 'https://www.countryflags.io/tg/flat/64.png', 'https://www.countryflags.io/tg/shiny/64.png', 'TG', 'TGO', 768, 228, ''),
(214, 'TOKELAU', NULL, 'https://www.countryflags.io/tk/flat/64.png', 'https://www.countryflags.io/tk/shiny/64.png', 'TK', 'TKL', 772, 690, ''),
(215, 'TONGA', NULL, 'https://www.countryflags.io/to/flat/64.png', 'https://www.countryflags.io/to/shiny/64.png', 'TO', 'TON', 776, 676, ''),
(216, 'TRINIDAD AND TOBAGO', NULL, 'https://www.countryflags.io/tt/flat/64.png', 'https://www.countryflags.io/tt/shiny/64.png', 'TT', 'TTO', 780, 1868, ''),
(217, 'TUNISIA', NULL, 'https://www.countryflags.io/tn/flat/64.png', 'https://www.countryflags.io/tn/shiny/64.png', 'TN', 'TUN', 788, 216, ''),
(218, 'TURKEY', NULL, 'https://www.countryflags.io/tr/flat/64.png', 'https://www.countryflags.io/tr/shiny/64.png', 'TR', 'TUR', 792, 90, ''),
(219, 'TURKMENISTAN', NULL, 'https://www.countryflags.io/tm/flat/64.png', 'https://www.countryflags.io/tm/shiny/64.png', 'TM', 'TKM', 795, 7370, ''),
(220, 'TURKS AND CAICOS ISLANDS', NULL, 'https://www.countryflags.io/tc/flat/64.png', 'https://www.countryflags.io/tc/shiny/64.png', 'TC', 'TCA', 796, 1649, ''),
(221, 'TUVALU', NULL, 'https://www.countryflags.io/tv/flat/64.png', 'https://www.countryflags.io/tv/shiny/64.png', 'TV', 'TUV', 798, 688, ''),
(222, 'UGANDA', NULL, 'https://www.countryflags.io/ug/flat/64.png', 'https://www.countryflags.io/ug/shiny/64.png', 'UG', 'UGA', 800, 256, ''),
(223, 'UKRAINE', NULL, 'https://www.countryflags.io/ua/flat/64.png', 'https://www.countryflags.io/ua/shiny/64.png', 'UA', 'UKR', 804, 380, ''),
(224, 'UNITED ARAB EMIRATES', NULL, 'https://www.countryflags.io/ae/flat/64.png', 'https://www.countryflags.io/ae/shiny/64.png', 'AE', 'ARE', 784, 971, ''),
(225, 'UNITED KINGDOM', NULL, 'https://www.countryflags.io/gb/flat/64.png', 'https://www.countryflags.io/gb/shiny/64.png', 'GB', 'GBR', 826, 44, ''),
(226, 'UNITED STATES', NULL, 'https://www.countryflags.io/us/flat/64.png', 'https://www.countryflags.io/us/shiny/64.png', 'US', 'USA', 840, 1, ''),
(227, 'UNITED STATES MINOR OUTLYING ISLANDS', NULL, 'https://www.countryflags.io/um/flat/64.png', 'https://www.countryflags.io/um/shiny/64.png', 'UM', 'UMI', NULL, 1, ''),
(228, 'URUGUAY', NULL, 'https://www.countryflags.io/uy/flat/64.png', 'https://www.countryflags.io/uy/shiny/64.png', 'UY', 'URY', 858, 598, ''),
(229, 'UZBEKISTAN', NULL, 'https://www.countryflags.io/uz/flat/64.png', 'https://www.countryflags.io/uz/shiny/64.png', 'UZ', 'UZB', 860, 998, ''),
(230, 'VANUATU', NULL, 'https://www.countryflags.io/vu/flat/64.png', 'https://www.countryflags.io/vu/shiny/64.png', 'VU', 'VUT', 548, 678, ''),
(231, 'VENEZUELA', NULL, 'https://www.countryflags.io/ve/flat/64.png', 'https://www.countryflags.io/ve/shiny/64.png', 'VE', 'VEN', 862, 58, ''),
(232, 'VIET NAM', NULL, 'https://www.countryflags.io/vn/flat/64.png', 'https://www.countryflags.io/vn/shiny/64.png', 'VN', 'VNM', 704, 84, ''),
(233, 'VIRGIN ISLANDS, BRITISH', NULL, 'https://www.countryflags.io/vg/flat/64.png', 'https://www.countryflags.io/vg/shiny/64.png', 'VG', 'VGB', 92, 1284, ''),
(234, 'VIRGIN ISLANDS, U.S.', NULL, 'https://www.countryflags.io/vi/flat/64.png', 'https://www.countryflags.io/vi/shiny/64.png', 'VI', 'VIR', 850, 1340, ''),
(235, 'WALLIS AND FUTUNA', NULL, 'https://www.countryflags.io/wf/flat/64.png', 'https://www.countryflags.io/wf/shiny/64.png', 'WF', 'WLF', 876, 681, ''),
(236, 'WESTERN SAHARA', NULL, 'https://www.countryflags.io/eh/flat/64.png', 'https://www.countryflags.io/eh/shiny/64.png', 'EH', 'ESH', 732, 212, ''),
(237, 'YEMEN', NULL, 'https://www.countryflags.io/ye/flat/64.png', 'https://www.countryflags.io/ye/shiny/64.png', 'YE', 'YEM', 887, 967, ''),
(238, 'ZAMBIA', NULL, 'https://www.countryflags.io/zm/flat/64.png', 'https://www.countryflags.io/zm/shiny/64.png', 'ZM', 'ZMB', 894, 260, ''),
(239, 'ZIMBABWE', NULL, 'https://www.countryflags.io/zw/flat/64.png', 'https://www.countryflags.io/zw/shiny/64.png', 'ZW', 'ZWE', 716, 263, '');

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

--
-- Table structure for table `event`
--

CREATE TABLE `event` (
  `id` int(11) NOT NULL,
  `title` varchar(100) NOT NULL,
  `country` int(11) DEFAULT NULL,
  `address` varchar(150) DEFAULT NULL,
  `location` varchar(250) DEFAULT NULL,
  `organizor` varchar(50) DEFAULT NULL,
  `type` enum('PLAYOFF','LEAGUE') DEFAULT NULL,
  `courts` int(11) DEFAULT NULL,
  `enroll_start` date DEFAULT NULL,
  `enroll_end` date DEFAULT NULL,
  `weigh_in` date DEFAULT NULL,
  `event_start` date DEFAULT NULL,
  `event_end` date DEFAULT NULL,
  `rules` text,
  `fee` int(11) DEFAULT NULL COMMENT 'the amount paid for participation',
  `logo` longblob,
  `currency` varchar(5) DEFAULT NULL
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `event`
--

INSERT INTO `event` (`id`, `title`, `country`, `address`, `location`, `organizor`, `type`, `courts`, `enroll_start`, `enroll_end`, `weigh_in`, `event_start`, `event_end`, `rules`, `fee`, `logo`, `currency`) VALUES
(1, 'Warrior TaeKwonDo League', 17, 'Tubli', 'Warrior TaeKwonDo Academy', 'Ebrahim Haji, Ehab Ebrahim, Sayed Hussain Al Ghass', 'LEAGUE', 1, '2019-06-30', '2019-07-17', '2019-07-17', '2019-07-19', '2019-08-23', NULL, 20, [encoded data, 524290 characters], NULL);

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

--
-- Table structure for table `event_matches`
--

CREATE TABLE `event_matches` (
  `id` int(11) NOT NULL COMMENT 'Serial Numbering Of The Records',
  `eid` int(11) NOT NULL DEFAULT '0' COMMENT 'Event ID',
  `ern` int(11) DEFAULT '1' COMMENT 'Event Round Number',
  `ecn` int(11) NOT NULL DEFAULT '1' COMMENT 'Court Number',
  `emn` int(11) NOT NULL DEFAULT '0' COMMENT 'Match Serial Numbering OF The Event',
  `blue_fighter` int(11) DEFAULT NULL COMMENT 'Blue Fighter Person ID',
  `blue_score` int(11) NOT NULL DEFAULT '0' COMMENT 'Blue Fighter Final Score',
  `blue_foul` int(11) NOT NULL DEFAULT '0' COMMENT 'Blue Fighter Final Foul',
  `red_fighter` int(11) DEFAULT NULL COMMENT 'Red Fighter Person ID',
  `red_score` int(11) NOT NULL DEFAULT '0' COMMENT 'Red Fighter Final Score',
  `red_foul` int(11) NOT NULL DEFAULT '0' COMMENT 'Red Fighter Final Foul',
  `started` tinyint(4) NOT NULL DEFAULT '0',
  `ended` tinyint(1) NOT NULL DEFAULT '0' COMMENT 'Match Ended Flag',
  `winner` int(11) NOT NULL DEFAULT '0' COMMENT 'Match Winner Person ID',
  `court` int(11) DEFAULT '1' COMMENT 'Match Court Number',
  `date` date DEFAULT NULL COMMENT 'Date Of Game Play',
  `startTime` timestamp NULL DEFAULT NULL COMMENT 'Starting Date and Time Of The Match',
  `endTime` timestamp NULL DEFAULT NULL COMMENT 'Ending Date and Time Of The Match',
  `winnerBy` varchar(45) DEFAULT NULL COMMENT 'Methode Of Winning',
  `notes` varchar(45) DEFAULT NULL COMMENT 'Notes By Referee'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `event_matches`
--

INSERT INTO `event_matches` (`id`, `eid`, `ern`, `ecn`, `emn`, `blue_fighter`, `blue_score`, `blue_foul`, `red_fighter`, `red_score`, `red_foul`, `started`, `ended`, `winner`, `court`, `date`, `startTime`, `endTime`, `winnerBy`, `notes`) VALUES
(1, 1, 1, 1, 1, 1, 5, 3, 32, 15, 5, 1, 1, 32, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(2, 1, 1, 1, 2, 21, 7, 4, 22, 6, 3, 1, 1, 21, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(3, 1, 1, 1, 3, 34, 22, 0, 17, 4, 0, 1, 1, 34, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(4, 1, 1, 1, 4, 31, 5, 0, 8, 1, 0, 1, 1, 31, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(5, 1, 1, 1, 5, 44, 3, 1, 46, 23, 2, 1, 1, 46, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(6, 1, 1, 1, 6, 47, 14, 2, 54, 5, 3, 1, 1, 47, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(7, 1, 1, 1, 7, 43, 8, 1, 45, 5, 7, 1, 1, 43, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(8, 1, 1, 1, 8, 49, 19, 3, 16, 30, 3, 1, 1, 16, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(9, 1, 1, 1, 9, 41, 0, 1, 7, 0, 0, 1, 1, 41, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(10, 1, 1, 1, 10, 29, 21, 0, 19, 0, 0, 1, 1, 29, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(11, 1, 1, 1, 11, 24, 8, 2, 57, 4, 0, 1, 1, 24, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(12, 1, 1, 1, 12, 1, 20, 1, 36, 1, 1, 1, 1, 1, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(13, 1, 1, 1, 13, 21, 15, 1, 39, 1, 0, 1, 1, 21, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(14, 1, 1, 1, 14, 34, 20, 2, 17, 2, 0, 1, 1, 34, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(15, 1, 1, 1, 15, 31, 0, 0, 8, 0, 0, 1, 1, 31, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(16, 1, 1, 1, 16, 44, 6, 0, 48, 10, 3, 1, 1, 48, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(17, 1, 1, 1, 17, 47, 15, 3, 14, 5, 2, 1, 1, 47, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(18, 1, 1, 1, 18, 43, 0, 0, 28, 0, 0, 1, 1, 28, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(19, 1, 1, 1, 19, 49, 15, 1, 16, 16, 6, 1, 1, 16, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(20, 1, 1, 1, 20, 41, 0, 0, 7, 0, 0, 1, 1, 41, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(21, 1, 1, 1, 21, 29, 9, 0, 19, 0, 0, 1, 1, 29, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(23, 1, 1, 1, 23, 1, 10, 2, 38, 8, 4, 1, 1, 1, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(24, 1, 1, 1, 24, 21, 22, 1, 37, 5, 2, 1, 1, 21, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(25, 1, 1, 1, 25, 46, 35, 0, 48, 15, 0, 1, 1, 46, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(26, 1, 1, 1, 26, 47, 14, 3, 58, 5, 0, 1, 1, 47, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(27, 1, 1, 1, 27, 43, 9, 4, 18, 7, 6, 1, 1, 43, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(28, 1, 1, 1, 28, 32, 13, 0, 36, 0, 2, 1, 1, 32, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(29, 1, 1, 1, 29, 21, 9, 0, 35, 15, 1, 1, 1, 35, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(30, 1, 1, 1, 30, 54, 0, 0, 14, 0, 0, 1, 1, 54, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(31, 1, 1, 1, 31, 45, 0, 0, 28, 0, 0, 1, 1, 45, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(32, 1, 1, 1, 32, 32, 9, 0, 38, 6, 0, 1, 1, 32, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(33, 1, 1, 1, 33, 22, 8, 0, 39, 0, 2, 1, 1, 22, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(34, 1, 1, 1, 34, 54, 13, 5, 58, 7, 1, 1, 1, 54, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(35, 1, 1, 1, 35, 45, 2, 1, 18, 1, 2, 1, 1, 45, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(36, 1, 1, 1, 36, 36, 0, 0, 38, 0, 0, 1, 1, 38, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(37, 1, 1, 1, 37, 22, 21, 0, 37, 5, 1, 1, 1, 22, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(38, 1, 1, 1, 38, 14, 0, 0, 58, 0, 0, 1, 1, 58, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(39, 1, 1, 1, 39, 28, 0, 0, 18, 0, 0, 1, 1, 18, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(40, 1, 1, 1, 40, 22, 3, 2, 35, 23, 3, 1, 1, 35, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(41, 1, 1, 1, 41, 25, 21, 6, 51, 6, 4, 1, 1, 25, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(42, 1, 1, 1, 42, 23, 8, 2, 11, 16, 3, 1, 1, 11, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(45, 1, 1, 1, 43, 9, 1, 3, 59, 7, 1, 1, 1, 59, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(46, 1, 1, 1, 44, 25, 23, 1, 51, 3, 1, 1, 1, 25, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(47, 1, 1, 1, 45, 3, 5, 9, 20, 18, 1, 1, 1, 20, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(48, 1, 1, 1, 46, 39, 0, 0, 35, 0, 0, 1, 1, 35, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(49, 1, 1, 1, 48, 37, 0, 0, 35, 0, 0, 1, 1, 35, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(51, 1, 1, 1, 49, 59, 0, 0, 9, 0, 0, 1, 1, 59, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(52, 1, 1, 1, 50, 23, 7, 2, 26, 17, 1, 1, 1, 26, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(53, 1, 1, 1, 51, 3, 16, 5, 50, 8, 0, 1, 1, 3, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(54, 1, 1, 1, 52, 13, 0, 0, 53, 0, 0, 1, 1, 53, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(55, 1, 1, 1, 53, 20, 0, 0, 50, 0, 0, 1, 1, 20, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(56, 1, 1, 1, 54, 60, 30, 8, 52, 10, 4, 1, 1, 60, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(57, 1, 1, 1, 55, 11, 23, 6, 26, 30, 9, 1, 1, 26, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(58, 1, 1, 1, 47, 52, 5, 4, 60, 23, 5, 1, 1, 60, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(63, 1, 1, 1, 57, 39, 0, 0, 37, 0, 0, 1, 1, 39, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(65, 1, 1, 1, 22, 57, 0, 0, 24, 0, 0, 1, 1, 24, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(66, 1, 1, 1, 56, 13, 5, 0, 53, 17, 0, 1, 1, 53, 1, '2019-07-19', NULL, NULL, NULL, NULL),
(68, 1, 1, 1, 58, 5, 0, 0, 5, 0, 0, 1, 1, 5, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(70, 1, 1, 1, 59, 4, 0, 0, 4, 0, 0, 1, 1, 4, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(71, 1, 1, 1, 60, 42, 0, 0, 42, 0, 0, 1, 1, 42, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(72, 1, 1, 1, 61, 33, 0, 0, 33, 0, 0, 1, 1, 33, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(73, 1, 1, 1, 62, 15, 0, 0, 15, 0, 0, 1, 1, 15, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(74, 1, 1, 1, 63, 6, 0, 0, 6, 0, 0, 1, 1, 6, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(75, 1, 1, 1, 64, 55, 0, 0, 55, 0, 0, 1, 1, 55, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(76, 1, 1, 1, 65, 40, 0, 0, 40, 0, 0, 1, 1, 40, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(77, 1, 1, 1, 66, 10, 0, 0, 10, 0, 0, 1, 1, 10, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(78, 1, 1, 1, 67, 12, 0, 0, 12, 0, 0, 1, 1, 12, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(79, 1, 1, 1, 68, 56, 0, 0, 56, 0, 0, 1, 1, 56, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(80, 1, 1, 1, 69, 30, 0, 0, 30, 0, 0, 1, 1, 30, 1, '2019-07-19', NULL, NULL, 'Bye', NULL),
(81, 1, 2, 1, 1, 38, 15, 0, 32, 8, 0, 1, 1, 38, 1, NULL, NULL, NULL, NULL, NULL),
(82, 1, 2, 1, 2, 21, 15, 0, 22, 9, 0, 1, 1, 21, 1, NULL, NULL, NULL, NULL, NULL),
(83, 1, 2, 1, 3, 34, 29, 0, 17, 22, 0, 1, 1, 34, 1, NULL, NULL, NULL, NULL, NULL),
(84, 1, 2, 1, 4, 31, 0, 0, 8, 0, 0, 1, 1, 31, 1, NULL, NULL, NULL, NULL, 'Withdraw'),
(85, 1, 2, 1, 5, 44, 5, 0, 46, 28, 0, 1, 1, 46, 1, NULL, NULL, NULL, NULL, NULL),
(86, 1, 2, 1, 6, 47, 18, 0, 54, 12, 0, 1, 1, 47, 1, NULL, NULL, NULL, NULL, NULL),
(87, 1, 2, 1, 7, 43, 5, 0, 45, 7, 0, 1, 1, 45, 1, NULL, NULL, NULL, NULL, NULL),
(88, 1, 2, 1, 8, 49, 20, 0, 16, 21, 0, 1, 1, 16, 1, NULL, NULL, NULL, NULL, NULL),
(89, 1, 2, 1, 9, 41, 0, 0, 7, 0, 0, 1, 1, 41, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(90, 1, 2, 1, 10, 29, 23, 0, 19, 3, 0, 1, 1, 29, 1, NULL, NULL, NULL, NULL, NULL),
(91, 1, 2, 1, 11, 24, 9, 0, 57, 24, 0, 1, 1, 57, 1, NULL, NULL, NULL, NULL, NULL),
(92, 1, 2, 1, 12, 38, 31, 0, 36, 9, 0, 1, 1, 38, 1, NULL, NULL, NULL, NULL, NULL),
(93, 1, 2, 1, 13, 21, 18, 0, 39, 6, 0, 1, 1, 21, 1, NULL, NULL, NULL, NULL, NULL),
(94, 1, 2, 1, 14, 34, 21, 0, 17, 1, 0, 1, 1, 34, 1, NULL, NULL, NULL, NULL, NULL),
(95, 1, 2, 1, 15, 31, 0, 0, 8, 0, 0, 1, 1, 31, 1, NULL, NULL, NULL, NULL, 'Withdraw'),
(96, 1, 2, 1, 16, 44, 0, 0, 48, 0, 0, 1, 1, 44, 1, NULL, NULL, NULL, NULL, 'Not Attended WeighIn'),
(97, 1, 2, 1, 17, 47, 10, 0, 14, 0, 0, 1, 1, 47, 1, NULL, NULL, NULL, NULL, NULL),
(98, 1, 2, 1, 18, 43, 0, 0, 28, 0, 0, 1, 1, 43, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(99, 1, 2, 1, 19, 49, 15, 0, 16, 4, 0, 1, 1, 49, 1, NULL, NULL, NULL, NULL, NULL),
(100, 1, 2, 1, 20, 41, 0, 0, 7, 0, 0, 1, 1, 41, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(101, 1, 2, 1, 21, 29, 0, 0, 19, 0, 0, 1, 1, 29, 1, NULL, NULL, NULL, NULL, NULL),
(102, 1, 2, 1, 23, 1, 2, 0, 36, 26, 0, 1, 1, 36, 1, NULL, NULL, NULL, NULL, NULL),
(103, 1, 2, 1, 24, 21, 14, 0, 37, 5, 0, 1, 1, 21, 1, NULL, NULL, NULL, NULL, NULL),
(104, 1, 2, 1, 25, 46, 0, 0, 48, 0, 0, 1, 1, 46, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(105, 1, 2, 1, 26, 47, 0, 0, 58, 0, 0, 1, 1, 47, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(106, 1, 2, 1, 27, 43, 4, 0, 18, 7, 0, 1, 1, 18, 1, NULL, NULL, NULL, NULL, NULL),
(107, 1, 2, 1, 28, 32, 26, 0, 36, 2, 0, 1, 1, 32, 1, NULL, NULL, NULL, NULL, NULL),
(108, 1, 2, 1, 29, 21, 0, 0, 35, 4, 0, 1, 1, 35, 1, NULL, NULL, NULL, NULL, NULL),
(109, 1, 2, 1, 30, 54, 29, 0, 14, 8, 0, 1, 1, 54, 1, NULL, NULL, NULL, NULL, NULL),
(110, 1, 2, 1, 31, 45, 0, 0, 28, 0, 0, 1, 1, 45, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(111, 1, 2, 1, 32, 1, 8, 0, 32, 28, 0, 1, 1, 32, 1, NULL, NULL, NULL, NULL, NULL),
(112, 1, 2, 1, 33, 22, 20, 0, 39, 0, 0, 1, 1, 22, 1, NULL, NULL, NULL, NULL, NULL),
(113, 1, 2, 1, 34, 54, 0, 0, 58, 0, 0, 1, 1, 54, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(114, 1, 2, 1, 35, 45, 0, 0, 18, 1, 0, 1, 1, 18, 1, NULL, NULL, NULL, NULL, NULL),
(115, 1, 2, 1, 36, 1, 33, 0, 38, 15, 0, 1, 1, 1, 1, NULL, NULL, NULL, NULL, NULL),
(116, 1, 2, 1, 37, 22, 15, 0, 37, 6, 0, 1, 1, 22, 1, NULL, NULL, NULL, NULL, NULL),
(117, 1, 2, 1, 38, 14, 0, 0, 58, 0, 0, 1, 1, 14, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(118, 1, 2, 1, 39, 28, 0, 0, 18, 0, 0, 1, 1, 18, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(119, 1, 2, 1, 40, 22, 0, 0, 35, 0, 0, 1, 1, 35, 1, NULL, NULL, NULL, NULL, NULL),
(120, 1, 2, 1, 41, 25, 5, 0, 51, 4, 0, 1, 1, 25, 1, NULL, NULL, NULL, NULL, NULL),
(121, 1, 2, 1, 42, 23, 0, 0, 11, 0, 0, 1, 1, 11, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(122, 1, 2, 1, 43, 9, 0, 0, 59, 0, 0, 1, 1, 59, 1, NULL, NULL, NULL, NULL, 'Withdroaw'),
(123, 1, 2, 1, 44, 25, 0, 0, 51, 0, 0, 0, 0, 0, 1, NULL, NULL, NULL, NULL, NULL),
(124, 1, 2, 1, 45, 3, 0, 0, 20, 0, 0, 1, 1, 20, 1, NULL, NULL, NULL, NULL, NULL),
(125, 1, 2, 1, 46, 39, 0, 0, 35, 0, 0, 1, 1, 35, 1, NULL, NULL, NULL, NULL, 'Retreat'),
(126, 1, 2, 1, 48, 37, 0, 0, 35, 0, 0, 1, 1, 35, 1, NULL, NULL, NULL, NULL, 'Retreat'),
(127, 1, 2, 1, 49, 59, 0, 0, 9, 0, 0, 1, 1, 59, 1, NULL, NULL, NULL, NULL, NULL),
(128, 1, 2, 1, 50, 23, 0, 0, 26, 0, 0, 1, 1, 26, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(129, 1, 2, 1, 51, 3, 0, 0, 50, 0, 0, 1, 1, 3, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(130, 1, 2, 1, 52, 13, 0, 0, 53, 0, 0, 1, 1, 53, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(131, 1, 2, 1, 53, 20, 0, 0, 50, 0, 0, 1, 1, 20, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(132, 1, 2, 1, 54, 60, 0, 0, 52, 0, 0, 0, 0, 0, 1, NULL, NULL, NULL, NULL, NULL),
(133, 1, 2, 1, 55, 11, 17, 0, 26, 16, 0, 1, 1, 11, 1, NULL, NULL, NULL, NULL, NULL),
(134, 1, 2, 1, 47, 52, 25, 0, 60, 36, 0, 1, 1, 60, 1, NULL, NULL, NULL, NULL, NULL),
(135, 1, 2, 1, 57, 39, 0, 0, 37, 0, 0, 1, 1, 39, 1, NULL, NULL, NULL, NULL, NULL),
(136, 1, 2, 1, 22, 57, 17, 0, 24, 6, 0, 1, 1, 57, 1, NULL, NULL, NULL, NULL, NULL),
(137, 1, 2, 1, 56, 13, 0, 0, 53, 0, 0, 1, 1, 53, 1, NULL, NULL, NULL, NULL, 'Not Attended'),
(138, 1, 2, 1, 58, 5, 0, 0, 5, 0, 0, 1, 1, 5, 1, NULL, NULL, NULL, 'Bye', NULL),
(139, 1, 2, 1, 59, 4, 0, 0, 4, 0, 0, 1, 1, 4, 1, NULL, NULL, NULL, 'Bye', NULL),
(140, 1, 2, 1, 60, 42, 0, 0, 42, 0, 0, 1, 1, 42, 1, NULL, NULL, NULL, 'Bye', NULL),
(141, 1, 2, 1, 61, 33, 0, 0, 33, 0, 0, 1, 1, 33, 1, NULL, NULL, NULL, 'Bye', NULL),
(142, 1, 2, 1, 62, 15, 0, 0, 15, 0, 0, 1, 1, 15, 1, NULL, NULL, NULL, 'Bye', NULL),
(143, 1, 2, 1, 63, 6, 0, 0, 6, 0, 0, 1, 1, 6, 1, NULL, NULL, NULL, 'Bye', NULL),
(144, 1, 2, 1, 64, 55, 0, 0, 55, 0, 0, 1, 1, 55, 1, NULL, NULL, NULL, 'Bye', NULL),
(145, 1, 2, 1, 65, 40, 0, 0, 40, 0, 0, 1, 1, 40, 1, NULL, NULL, NULL, 'Bye', NULL),
(146, 1, 2, 1, 66, 10, 0, 0, 10, 0, 0, 1, 1, 10, 1, NULL, NULL, NULL, 'Bye', NULL),
(147, 1, 2, 1, 67, 12, 0, 0, 12, 0, 0, 1, 1, 12, 1, NULL, NULL, NULL, 'Bye', NULL),
(148, 1, 2, 1, 68, 56, 0, 0, 56, 0, 0, 1, 1, 56, 1, NULL, NULL, NULL, 'Bye', NULL),
(149, 1, 2, 1, 69, 30, 0, 0, 30, 0, 0, 1, 1, 30, 1, NULL, NULL, NULL, 'Bye', NULL),
(150, 1, 1, 1, 70, 2, 0, 0, 2, 0, 0, 1, 1, 2, 1, NULL, NULL, NULL, 'Bye', NULL),
(151, 1, 2, 1, 70, 2, 0, 0, 2, 0, 0, 1, 1, 2, 1, NULL, NULL, NULL, 'Bye', NULL),
(152, 1, 1, 1, 71, 27, 0, 0, 27, 0, 0, 1, 1, 27, 1, NULL, NULL, NULL, 'Bye', NULL),
(153, 1, 2, 1, 71, 27, 0, 0, 27, 0, 0, 1, 1, 27, 1, NULL, NULL, NULL, 'Bye', NULL),
(154, 1, 2, 1, 72, 57, 15, 0, 24, 11, 0, 1, 1, 57, 1, NULL, NULL, NULL, NULL, NULL),
(155, 1, 2, 1, 73, 18, 3, 0, 45, 2, 0, 1, 1, 18, 1, NULL, NULL, NULL, NULL, NULL),
(156, 1, 2, 1, 74, 11, 0, 0, 26, 0, 0, 1, 1, 11, 1, NULL, NULL, NULL, NULL, NULL);

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

--
-- Table structure for table `event_matches_scores`
--

CREATE TABLE `event_matches_scores` (
  `id` int(11) NOT NULL,
  `eid` int(11) DEFAULT '0' COMMENT 'Event ID',
  `ern` int(11) DEFAULT '0' COMMENT 'Event Round Number',
  `mid` int(11) DEFAULT '0' COMMENT 'The Match ID',
  `mrn` int(11) DEFAULT '0' COMMENT 'The Match Round Number',
  `pid` int(11) DEFAULT '0' COMMENT 'The Person ID (Fighter ID)',
  `score` int(11) NOT NULL DEFAULT '0' COMMENT 'Any poin that the person (fighter) scored',
  `gamjum` int(11) NOT NULL DEFAULT '0' COMMENT 'Any foul that the person (fighter) did',
  `scoreTime` timestamp(3) NOT NULL DEFAULT CURRENT_TIMESTAMP(3) ON UPDATE CURRENT_TIMESTAMP(3) COMMENT 'The Date And Time Of Scoring',
  `comment` varchar(45) DEFAULT NULL COMMENT 'Comment On the Point Taken Or Gamjum Given'
) ENGINE=InnoDB DEFAULT CHARSET=latin1 COMMENT='This holds the data of the match scores';

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

--
-- Table structure for table `event_participants`
--

CREATE TABLE `event_participants` (
  `id` int(11) NOT NULL COMMENT 'Serial Numbering',
  `eid` int(11) NOT NULL COMMENT 'Event ID',
  `pid` int(11) DEFAULT NULL COMMENT 'Person ID',
  `type` enum('Fighter','Referee','Admin','Medic','Coach','Organizor') NOT NULL DEFAULT 'Fighter',
  `paid` tinyint(1) DEFAULT '0' COMMENT 'Payment Flag',
  `weighed` tinyint(1) DEFAULT '0' COMMENT 'Weigh In Flag',
  `timeStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Time Of Record Creation'
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Dumping data for table `event_participants`
--

INSERT INTO `event_participants` (`id`, `eid`, `pid`, `type`, `paid`, `weighed`, `timeStamp`) VALUES
(1, 1, 1, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(2, 1, 3, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(3, 1, 4, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(4, 1, 5, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(5, 1, 6, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(6, 1, 7, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(7, 1, 8, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(8, 1, 9, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(9, 1, 10, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(10, 1, 11, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(11, 1, 12, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(12, 1, 13, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(13, 1, 14, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(14, 1, 15, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(15, 1, 16, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(16, 1, 17, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(17, 1, 18, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(18, 1, 19, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(19, 1, 20, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(20, 1, 21, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(21, 1, 22, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(22, 1, 23, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(23, 1, 24, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(24, 1, 25, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(25, 1, 26, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(26, 1, 28, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(27, 1, 29, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(28, 1, 30, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(29, 1, 31, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(30, 1, 32, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(31, 1, 33, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(32, 1, 34, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(33, 1, 35, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(34, 1, 36, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(35, 1, 37, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(36, 1, 38, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(37, 1, 39, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(38, 1, 40, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(39, 1, 41, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(40, 1, 42, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(41, 1, 43, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(42, 1, 44, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(43, 1, 45, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(44, 1, 46, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(45, 1, 47, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(46, 1, 48, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(47, 1, 49, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(48, 1, 50, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(49, 1, 51, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(50, 1, 52, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(51, 1, 53, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(52, 1, 54, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(53, 1, 55, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(54, 1, 56, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(55, 1, 57, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(56, 1, 58, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(57, 1, 59, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(58, 1, 60, 'Fighter', 1, 1, '2019-08-19 19:19:05'),
(64, 1, 2, 'Fighter', 1, 1, '2019-08-19 19:44:35'),
(65, 1, 27, 'Fighter', 1, 1, '2019-08-19 19:44:35');

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

--
-- Table structure for table `person`
--

CREATE TABLE `person` (
  `id` int(11) NOT NULL COMMENT 'Serial Numbering Of People',
  `rfid` varchar(100) DEFAULT NULL,
  `fname` varchar(25) NOT NULL COMMENT 'Person First Name',
  `mname` varchar(25) DEFAULT NULL COMMENT 'Person Middle Name',
  `lname` varchar(25) NOT NULL COMMENT 'Person Last Name',
  `date_of_birth` date NOT NULL COMMENT 'Person Date Of Birth',
  `gender` enum('MALE','FEMALE') NOT NULL COMMENT 'Person Gender',
  `weight` float DEFAULT NULL COMMENT 'Latest Person Weight',
  `wp` int(11) DEFAULT NULL,
  `cpr` varchar(9) DEFAULT NULL COMMENT 'Person National ID Number',
  `country` varchar(45) DEFAULT NULL COMMENT 'Person Origional Nationality',
  `mobile` varchar(25) DEFAULT NULL COMMENT 'Person Mobile Number',
  `email` varchar(50) DEFAULT NULL COMMENT 'Person Email',
  `address` varchar(150) DEFAULT NULL COMMENT 'Person Address',
  `belt` enum('White','Yellow','Green','Blue','Red','Poom','Black Dan 1','Black Dan 2','Black Dan 3','Black Dan 4','Black Dan 5','Black Dan 6','Black Dan 7','Black Dan 8','Black Dan 9','Black Dan 10') DEFAULT NULL COMMENT 'Person Belt Level',
  `club` int(11) DEFAULT NULL COMMENT 'Person Club ID',
  `picture` longblob COMMENT 'Player Picture'
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

--
-- Dumping data for table `person`
--

INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(1, NULL, 'Ali', '', 'Al Abed', '2012-01-01', 'MALE', 25.8, 69, '120405440', '17', NULL, NULL, NULL, NULL, 2, [encoded data, 1048578 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(2, NULL, 'Fatima', '', 'Al Abed', '2007-01-01', 'FEMALE', 80, 66, '070702969', '17', NULL, NULL, NULL, NULL, 2, [encoded data, 524290 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(3, NULL, 'Ebrahim', '', 'Al Abed', '2004-01-01', 'MALE', 55.9, 27, '041011643', '17', NULL, NULL, NULL, NULL, 2, [encoded data, 524290 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(4, NULL, 'Al Hanouf', 'Hassan', 'Majeed', '2012-01-01', 'FEMALE', 25.7, 70, '120507625', '17', NULL, NULL, NULL, NULL, 2, NULL),
(5, NULL, 'Hussain', 'Jameel', 'Ali', '2009-01-01', 'MALE', 38, 77, '090510682', '17', NULL, NULL, NULL, NULL, 2, NULL),
(6, NULL, 'Noof', 'Hassan', 'Majeed', '2008-01-01', 'FEMALE', 47.7, 82, '080894349', '17', NULL, NULL, NULL, NULL, 2, NULL),
(7, NULL, 'Nayef', 'Hassan', 'Majeed', '2007-01-01', 'MALE', 66.2, 65, '070303460', '17', NULL, NULL, NULL, NULL, 2, NULL),
(8, NULL, 'Yousif', 'Mohamed', 'Isa', '2008-01-01', 'MALE', 50.5, 86, '081107757', '17', NULL, NULL, NULL, NULL, 2, NULL),
(9, NULL, 'Ali', 'Ebrahim', 'Al Ghazal', '2003-01-01', 'MALE', 53.4, 25, '030405190', '17', NULL, NULL, NULL, NULL, 2, NULL),
(10, NULL, 'Fajer', 'Salman', 'Hassan', '2002-01-01', 'FEMALE', 80.1, 38, '021107874', '17', NULL, NULL, NULL, NULL, 2, NULL);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(11, NULL, 'Hassan', 'Jassim', 'Ali', '1998-01-01', 'MALE', 58, 3, '980801827', '17', NULL, NULL, NULL, NULL, 2, [encoded data, 1048578 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(12, NULL, 'Sayed Ali', 'Sayed Khadim', 'Saleh', '2000-01-01', 'MALE', 54, 1, '001102150', '17', NULL, NULL, NULL, NULL, 2, NULL),
(13, NULL, 'Hussain', 'Dawood', 'Salman', '1997-01-01', 'MALE', 59, 5, '070304013', '17', NULL, NULL, NULL, NULL, 2, NULL),
(14, NULL, 'Mohamed', 'Jalal', 'Yousif', '2007-01-01', 'MALE', 33.8, 49, '071212426', '17', NULL, NULL, NULL, NULL, 2, NULL),
(15, NULL, 'Jana', 'Hussain', 'Al Sayegh', '2008-01-01', 'FEMALE', 45.9, 82, '080301894', '17', NULL, NULL, NULL, NULL, 2, NULL);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(16, NULL, 'Reno', 'Angelus', 'E. Bisnar', '2006-01-01', 'MALE', 49, 55, '060116331', '169', NULL, NULL, NULL, NULL, 6, [encoded data, 524290 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(17, NULL, 'Mikhail', 'Abdurahman', 'A. Montaner', '2009-01-01', 'MALE', 31.5, 73, '090621425', '17', NULL, NULL, NULL, NULL, 6, NULL);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(18, NULL, 'Kyle', 'Panizales', '', '2006-01-01', 'MALE', 40.8, 51, '060708689', '17', NULL, NULL, NULL, NULL, 6, [encoded data, 524290 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(19, NULL, 'Sarah', 'Nicole', 'R. Enriquez', '2006-01-01', 'FEMALE', 37, 52, '061216354', '17', NULL, NULL, NULL, NULL, 6, NULL),
(20, NULL, 'Zuhair', 'Ahmed', 'Omar', '2004-01-01', 'MALE', 56, 27, '041006550', '17', NULL, NULL, NULL, NULL, 3, NULL),
(21, NULL, 'Ahmed', 'Basem', 'Ahmed', '2009-01-01', 'MALE', 30, 71, '091012929', '17', NULL, NULL, NULL, NULL, 3, NULL),
(22, NULL, 'Elias', 'Abdulla', 'Habib', '2010-01-01', 'MALE', 29.7, 71, '100202209', '17', NULL, NULL, NULL, NULL, 8, NULL),
(23, NULL, 'Akbar', 'Hassan', 'Ali', '2000-01-01', 'MALE', 57.7, 3, '000305383', '17', NULL, NULL, NULL, NULL, 3, NULL),
(24, NULL, 'Saira', 'Ahmed', 'Omar', '2006-01-01', 'FEMALE', 56.9, 64, '060603119', '17', NULL, NULL, NULL, NULL, 3, NULL),
(25, NULL, 'Ahmed', 'Yousif', 'Ahmed', '2004-01-01', 'MALE', 44.7, 19, '041112598', '17', NULL, NULL, NULL, NULL, 4, NULL),
(26, NULL, 'Mohsin', 'Mohamed', 'Hussain', '1999-01-01', 'MALE', 57.9, 3, '990700739', '17', NULL, NULL, NULL, NULL, 4, NULL),
(27, NULL, 'Noor', 'Adnan', 'Saleh', '2004-01-01', 'FEMALE', 44, 22, '040502473', '17', NULL, NULL, NULL, NULL, 4, NULL),
(28, NULL, 'Salem', 'Khalid', 'Al Doseri', '2006-01-01', 'MALE', 40.7, 51, '060309997', '17', NULL, NULL, NULL, NULL, 3, NULL),
(29, NULL, 'Zainab', 'Ebrahim ', 'Saleh', '2007-01-01', 'FEMALE', 36.6, 52, '071013695', '17', NULL, NULL, NULL, NULL, 1, NULL),
(30, NULL, 'Ali', 'Sayed Hasan', 'Yahya', '1999-01-01', 'MALE', 80.1, 15, '990507025', '17', NULL, NULL, NULL, NULL, 1, NULL),
(31, NULL, 'Mohamed', 'Ali', 'Saleh', '2008-01-01', 'MALE', 50, 86, '080203418', '17', NULL, NULL, NULL, NULL, 1, NULL),
(32, NULL, 'Hussain', 'Ali', 'Ahmed', '2010-01-01', 'MALE', 25.1, 69, '101209576', '17', NULL, NULL, NULL, NULL, 7, NULL),
(33, NULL, 'Fatima', 'Ali Ahmed', 'Maki', '2008-01-01', 'FEMALE', 39.5, 81, '080403972', '17', NULL, NULL, NULL, NULL, 7, NULL),
(34, NULL, 'Ali', 'Aqeel', 'Abdulaziz', '2009-01-01', 'MALE', 31.9, 73, '091007836', '17', NULL, NULL, NULL, NULL, 1, NULL),
(35, NULL, 'Sayed Ali', 'Hassan', 'Saleh', '2011-01-01', 'MALE', 28.8, 71, '110179390', '17', NULL, NULL, NULL, NULL, 1, NULL),
(36, NULL, 'Mohammed', 'Abdulamer', 'Juma', '2012-01-01', 'MALE', 24.8, 69, '120901277', '17', NULL, NULL, NULL, NULL, 7, NULL),
(37, NULL, 'Mohammed', 'Hussain', 'Juma Ahmed', '2009-01-01', 'MALE', 29.1, 71, '090401476', '17', NULL, NULL, NULL, NULL, 7, NULL),
(38, NULL, 'Salman', 'Nasser', 'Saleh', '2008-01-01', 'MALE', 26, 69, '080909175', '17', NULL, NULL, NULL, NULL, 1, NULL),
(39, NULL, 'Hassan', 'Mahmood', 'Khalil', '2010-01-01', 'MALE', 26.1, 71, '100512070', '17', NULL, NULL, NULL, NULL, 7, NULL),
(40, NULL, 'Noof', 'Abdulla', 'Aziz', '2002-01-01', 'FEMALE', 56.8, 32, '020202296', '17', NULL, NULL, NULL, NULL, 1, NULL),
(41, NULL, 'Malek', '', 'Feas', '2006-01-01', 'MALE', 69.7, 65, '060216182', '17', NULL, NULL, NULL, NULL, 1, NULL),
(42, NULL, 'Fajer', 'Ahmed', 'Yousif', '2008-01-01', 'FEMALE', 29.4, 72, '081014210', '17', NULL, NULL, NULL, NULL, 1, NULL),
(43, NULL, 'Ali', 'Hussain', 'Ali Ahmed', '2007-01-01', 'MALE', 38.4, 51, '070802246', '17', NULL, NULL, NULL, NULL, 8, NULL),
(44, NULL, 'Ali', 'Abdulameer', 'Juma', '2007-01-01', 'MALE', 29.9, 47, '070907889', '17', NULL, NULL, NULL, NULL, 10, NULL),
(45, NULL, 'Hussain', 'Ali', 'Saleh', '2006-01-01', 'MALE', 40, 51, '060502380', '17', NULL, NULL, NULL, NULL, 1, NULL),
(46, NULL, 'Mohamed', 'Jameel', 'Ali', '2006-01-01', 'MALE', 32.3, 47, '061203962', '17', NULL, NULL, NULL, NULL, 1, NULL),
(47, NULL, 'Ali', 'Hussain', 'Ali Fardan', '2006-01-01', 'MALE', 35.5, 49, '060800291', '17', NULL, NULL, NULL, NULL, 1, NULL),
(48, NULL, 'Yousif', 'Hussain', 'Ali Fardan', '2007-01-01', 'MALE', 31.1, 47, '071102564', '17', NULL, NULL, NULL, NULL, 9, NULL),
(49, NULL, 'Hussain', 'Yousif', 'Ebrahim', '2006-01-01', 'MALE', 47.9, 55, '060202693', '17', NULL, NULL, NULL, NULL, 1, NULL),
(50, NULL, 'Yusuf', 'Hamed', 'Abdulameer Ahmed', '2004-01-01', 'MALE', 57.6, 27, '041213157', '17', NULL, NULL, NULL, NULL, 1, NULL),
(51, NULL, 'Mohamed', 'Hussain', 'Abdulla', '2004-01-01', 'MALE', 39.6, 19, '040908259', '17', NULL, NULL, NULL, NULL, 1, NULL),
(52, NULL, 'Hussain', 'Khalil', 'Ebrahim Abdulla', '2000-01-01', 'MALE', 66.7, 7, '000901288', '17', NULL, NULL, NULL, NULL, 1, NULL),
(53, NULL, 'Ebrahim', 'Jameel', 'Ebrahim', '2001-01-01', 'MALE', 60.1, 5, '011005343', '17', NULL, NULL, NULL, NULL, 1, NULL),
(54, NULL, 'Shaheen', 'Shahid', 'Khan', '2006-01-01', 'MALE', 33.1, 49, '061103322', '17', NULL, NULL, NULL, NULL, 7, NULL),
(55, NULL, 'Sadeq', 'Jaffer', 'Kaddem', '2003-01-01', 'MALE', 80, 37, '031104703', '17', NULL, NULL, NULL, NULL, 1, NULL),
(56, NULL, 'Nasser', 'Abdulla', 'Ali Abdulla', '1995-01-01', 'MALE', 77.4, 13, '950103411', '17', NULL, NULL, NULL, NULL, 1, NULL),
(57, NULL, 'Balsam', 'Ali', 'Al Mukhareq', '2006-01-01', 'FEMALE', 55.7, 64, NULL, '17', NULL, NULL, NULL, NULL, 4, NULL);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(58, NULL, 'Adem', 'Bader', 'Ebrahim', '2007-01-01', 'MALE', 36.4, 49, NULL, '17', NULL, NULL, NULL, NULL, 9, [encoded data, 1048578 characters]);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(59, NULL, 'Elias', '', 'Mahdi', '2003-01-01', 'MALE', 55, 25, NULL, '17', NULL, NULL, NULL, NULL, 1, NULL);
INSERT INTO `person` (`id`, `rfid`, `fname`, `mname`, `lname`, `date_of_birth`, `gender`, `weight`, `wp`, `cpr`, `country`, `mobile`, `email`, `address`, `belt`, `club`, `picture`) VALUES
(60, NULL, 'Ali', 'Khalid', 'Janahi', '1995-01-01', 'MALE', 67.4, 7, NULL, '17', NULL, NULL, NULL, NULL, 4, [encoded data, 1048578 characters]);

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

--
-- Table structure for table `person_physique`
--

CREATE TABLE `person_physique` (
  `id` int(11) NOT NULL COMMENT 'Serial Data Keeper',
  `pid` int(11) NOT NULL COMMENT 'Person ID',
  `height` float NOT NULL COMMENT 'Person Height In Cm',
  `weight` float NOT NULL COMMENT 'Person Weight In KG',
  `bmi` float NOT NULL COMMENT 'Calculated BMI',
  `category` varchar(45) DEFAULT NULL COMMENT 'TaeKwonDo Weight Category',
  `weight_class` varchar(45) DEFAULT NULL COMMENT 'TaeKwonDo Weight Class',
  `timeStamp` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT 'Date Of The Record Entry'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table keeps track of weight, height and bmi of the person';

--
-- Dumping data for table `person_physique`
--

INSERT INTO `person_physique` (`id`, `pid`, `height`, `weight`, `bmi`, `category`, `weight_class`, `timeStamp`) VALUES
(1, 1, 0, 25.8, 0, 'YOUTH', 'UNDER 26', '2019-07-23 14:51:16'),
(2, 2, 0, 80, 0, 'CADET', 'OVER 59', '2019-07-23 14:51:16'),
(3, 3, 0, 55.9, 0, 'JUNIOR', 'UNDER 59', '2019-07-23 14:51:16'),
(4, 4, 0, 25.7, 0, 'YOUTH', 'UNDER 26', '2019-07-23 14:51:16'),
(5, 5, 0, 38, 0, 'YOUTH', 'UNDER 38', '2019-07-23 14:51:16'),
(6, 6, 0, 47.7, 0, 'YOUTH', 'UNDER 48', '2019-07-23 14:51:16'),
(7, 7, 0, 66.2, 0, 'CADET', 'OVER 65', '2019-07-23 14:51:16'),
(8, 8, 0, 50.5, 0, 'YOUTH', 'UNDER 53', '2019-07-23 14:51:16'),
(9, 9, 0, 53.4, 0, 'JUNIOR', 'UNDER 55', '2019-07-23 14:51:16'),
(10, 10, 0, 80.1, 0, 'JUNIOR', 'OVER 68', '2019-07-23 14:51:16'),
(11, 11, 0, 58, 0, 'SENIOR', 'UNDER 58', '2019-07-23 14:51:16'),
(12, 12, 0, 54, 0, 'SENIOR', 'UNDER 54', '2019-07-23 14:51:16'),
(13, 13, 0, 59, 0, 'SENIOR', 'UNDER 63', '2019-07-23 14:51:16'),
(14, 14, 0, 33.8, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(15, 15, 0, 45.9, 0, 'YOUTH', 'UNDER 48', '2019-07-23 14:51:16'),
(16, 16, 0, 49, 0, 'CADET', 'UNDER 49', '2019-07-23 14:51:16'),
(17, 17, 0, 31.5, 0, 'YOUTH', 'UNDER 34', '2019-07-23 14:51:16'),
(18, 18, 0, 40.8, 0, 'CADET', 'UNDER 41', '2019-07-23 14:51:16'),
(19, 19, 0, 37, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(20, 20, 0, 56, 0, 'JUNIOR', 'UNDER 59', '2019-07-23 14:51:16'),
(21, 21, 0, 30, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(22, 22, 0, 29.7, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(23, 23, 0, 57.7, 0, 'SENIOR', 'UNDER 58', '2019-07-23 14:51:16'),
(24, 24, 0, 56.9, 0, 'CADET', 'UNDER 59', '2019-07-23 14:51:16'),
(25, 25, 140, 44.7, 0, 'JUNIOR', 'UNDER 45', '2019-07-23 14:51:16'),
(26, 26, 0, 57.9, 0, 'SENIOR', 'UNDER 58', '2019-07-23 14:51:16'),
(27, 27, 0, 44, 0, 'JUNIOR', 'UNDER 44', '2019-07-23 14:51:16'),
(28, 28, 0, 40.7, 0, 'CADET', 'UNDER 41', '2019-07-23 14:51:16'),
(29, 29, 0, 36.6, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(30, 30, 0, 80.1, 0, 'SENIOR', 'UNDER 87', '2019-07-23 14:51:16'),
(31, 31, 0, 50, 0, 'YOUTH', 'UNDER 53', '2019-07-23 14:51:16'),
(32, 32, 0, 25.1, 0, 'YOUTH', 'UNDER 26', '2019-07-23 14:51:16'),
(33, 33, 0, 39.5, 0, 'YOUTH', 'UNDER 43', '2019-07-23 14:51:16'),
(34, 34, 0, 31.9, 0, 'YOUTH', 'UNDER 34', '2019-07-23 14:51:16'),
(35, 35, 0, 28.8, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(36, 36, 0, 24.8, 0, 'YOUTH', 'UNDER 26', '2019-07-23 14:51:16'),
(37, 37, 0, 29.1, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(38, 38, 0, 26, 0, 'YOUTH', 'UNDER 26', '2019-07-23 14:51:16'),
(39, 39, 0, 26.1, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(40, 40, 0, 56.8, 0, 'JUNIOR', 'UNDER 59', '2019-07-23 14:51:16'),
(41, 41, 0, 69.7, 0, 'CADET', 'OVER 65', '2019-07-23 14:51:16'),
(42, 42, 0, 29.4, 0, 'YOUTH', 'UNDER 30', '2019-07-23 14:51:16'),
(43, 43, 0, 38.4, 0, 'CADET', 'UNDER 41', '2019-07-23 14:51:16'),
(44, 44, 0, 29.9, 0, 'CADET', 'UNDER 33', '2019-07-23 14:51:16'),
(45, 45, 0, 40, 0, 'CADET', 'UNDER 41', '2019-07-23 14:51:16'),
(46, 46, 0, 32.3, 0, 'CADET', 'UNDER 33', '2019-07-23 14:51:16'),
(47, 47, 0, 35.5, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(48, 48, 0, 31.1, 0, 'CADET', 'UNDER 33', '2019-07-23 14:51:16'),
(49, 49, 0, 47.9, 0, 'CADET', 'UNDER 49', '2019-07-23 14:51:16'),
(50, 50, 0, 57.6, 0, 'JUNIOR', 'UNDER 59', '2019-07-23 14:51:16'),
(51, 51, 0, 39.6, 0, 'JUNIOR', 'UNDER 45', '2019-07-23 14:51:16'),
(52, 52, 0, 66.7, 0, 'SENIOR', 'UNDER 68', '2019-07-23 14:51:16'),
(53, 53, 0, 60.1, 0, 'SENIOR', 'UNDER 63', '2019-07-23 14:51:16'),
(54, 54, 0, 33.1, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(55, 55, 0, 80, 0, 'JUNIOR', 'OVER 78', '2019-07-23 14:51:16'),
(56, 56, 0, 77.4, 0, 'SENIOR', 'UNDER 80', '2019-07-23 14:51:16'),
(57, 57, 0, 55.7, 0, 'CADET', 'UNDER 59', '2019-07-23 14:51:16'),
(58, 58, 0, 36.4, 0, 'CADET', 'UNDER 37', '2019-07-23 14:51:16'),
(59, 59, 0, 55, 0, 'JUNIOR', 'UNDER 55', '2019-07-23 14:51:16'),
(60, 60, 0, 67.4, 0, 'SENIOR', 'UNDER 68', '2019-07-23 14:51:16');

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

--
-- Table structure for table `weight_divisions`
--

CREATE TABLE `weight_divisions` (
  `id` int(11) NOT NULL,
  `className` varchar(45) DEFAULT NULL,
  `gender` enum('MALE','FEMALE') DEFAULT NULL COMMENT 'gender of weight class and category',
  `category` enum('SENIOR','JUNIOR','ULTRA','CADET','YOUTH') DEFAULT NULL COMMENT 'weight category',
  `minAge` float DEFAULT NULL COMMENT 'min age of weight class',
  `maxAge` float DEFAULT NULL COMMENT 'max age of weight class',
  `minWeight` float DEFAULT NULL COMMENT 'min weight of weight class',
  `maxWeight` float DEFAULT NULL COMMENT 'max weight of weight class'
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='This table carries the values of all waight classes 7 categories';

--
-- Dumping data for table `weight_divisions`
--

INSERT INTO `weight_divisions` (`id`, `className`, `gender`, `category`, `minAge`, `maxAge`, `minWeight`, `maxWeight`) VALUES
(1, 'U54Kg', 'MALE', 'SENIOR', 18, 32, 0, 54),
(2, 'U46Kg', 'FEMALE', 'SENIOR', 18, 32, 0, 46),
(3, 'U58Kg', 'MALE', 'SENIOR', 18, 32, 54, 58),
(4, 'U49Kg', 'FEMALE', 'SENIOR', 18, 32, 46, 49),
(5, 'U63Kg', 'MALE', 'SENIOR', 18, 32, 58, 63),
(6, 'U53Kg', 'FEMALE', 'SENIOR', 18, 32, 49, 53),
(7, 'U68Kg', 'MALE', 'SENIOR', 18, 32, 63, 68),
(8, 'U57Kg', 'FEMALE', 'SENIOR', 18, 32, 53, 57),
(9, 'U74Kg', 'MALE', 'SENIOR', 18, 32, 68, 74),
(12, 'U62Kg', 'FEMALE', 'SENIOR', 18, 32, 57, 62),
(13, 'U80Kg', 'MALE', 'SENIOR', 18, 32, 74, 80),
(14, 'U67Kg', 'FEMALE', 'SENIOR', 18, 32, 62, 67),
(15, 'U87Kg', 'MALE', 'SENIOR', 18, 32, 80, 87),
(16, 'U73Kg', 'FEMALE', 'SENIOR', 18, 32, 67, 73),
(17, 'O87Kg', 'MALE', 'SENIOR', 18, 32, 87, 300),
(18, 'O73Kg', 'FEMALE', 'SENIOR', 18, 32, 73, 300),
(19, 'U45Kg', 'MALE', 'JUNIOR', 15, 17, 0, 45),
(20, 'U42Kg', 'FEMALE', 'JUNIOR', 15, 17, 0, 42),
(21, 'U48Kg', 'MALE', 'JUNIOR', 15, 17, 45, 48),
(22, 'U44Kg', 'FEMALE', 'JUNIOR', 15, 17, 42, 44),
(23, 'U51Kg', 'MALE', 'JUNIOR', 15, 17, 48, 51),
(24, 'U46Kg', 'FEMALE', 'JUNIOR', 15, 17, 44, 46),
(25, 'U55Kg', 'MALE', 'JUNIOR', 15, 17, 51, 55),
(26, 'U49Kg', 'FEMALE', 'JUNIOR', 15, 17, 46, 49),
(27, 'U59Kg', 'MALE', 'JUNIOR', 15, 17, 55, 59),
(28, 'U52Kg', 'FEMALE', 'JUNIOR', 15, 17, 49, 52),
(29, 'U63Kg', 'MALE', 'JUNIOR', 15, 17, 59, 63),
(30, 'U55Kg', 'FEMALE', 'JUNIOR', 15, 17, 52, 55),
(31, 'U68Kg', 'MALE', 'JUNIOR', 15, 17, 63, 68),
(32, 'U59Kg', 'FEMALE', 'JUNIOR', 15, 17, 55, 59),
(33, 'U73Kg', 'MALE', 'JUNIOR', 15, 17, 68, 73),
(34, 'U63Kg', 'FEMALE', 'JUNIOR', 15, 17, 59, 63),
(35, 'U78Kg', 'MALE', 'JUNIOR', 15, 17, 73, 78),
(36, 'U68Kg', 'FEMALE', 'JUNIOR', 15, 17, 63, 68),
(37, 'O78Kg', 'MALE', 'JUNIOR', 15, 17, 78, 300),
(38, 'O68Kg', 'FEMALE', 'JUNIOR', 15, 17, 68, 300),
(39, 'U58Kg', 'MALE', 'ULTRA', 33, 46, 0, 58),
(40, 'U49Kg', 'FEMALE', 'ULTRA', 33, 46, 0, 49),
(41, 'U68Kg', 'MALE', 'ULTRA', 33, 46, 58, 68),
(42, 'U57Kg', 'FEMALE', 'ULTRA', 33, 46, 49, 57),
(43, 'U80Kg', 'MALE', 'ULTRA', 33, 46, 68, 80),
(44, 'U67Kg', 'FEMALE', 'ULTRA', 33, 46, 57, 67),
(45, 'O80Kg', 'MALE', 'ULTRA', 33, 46, 80, 300),
(46, 'O67Kg', 'FEMALE', 'ULTRA', 33, 46, 67, 300),
(47, 'U33Kg', 'MALE', 'CADET', 12, 14, 0, 33),
(48, 'U29Kg', 'FEMALE', 'CADET', 12, 14, 0, 29),
(49, 'U37Kg', 'MALE', 'CADET', 12, 14, 33, 37),
(50, 'U33Kg', 'FEMALE', 'CADET', 12, 14, 29, 33),
(51, 'U41Kg', 'MALE', 'CADET', 12, 14, 37, 41),
(52, 'U37Kg', 'FEMALE', 'CADET', 12, 14, 33, 37),
(53, 'U45Kg', 'MALE', 'CADET', 12, 14, 41, 45),
(54, 'U41Kg', 'FEMALE', 'CADET', 12, 14, 37, 41),
(55, 'U49Kg', 'MALE', 'CADET', 12, 14, 45, 49),
(56, 'U44Kg', 'FEMALE', 'CADET', 12, 14, 41, 44),
(57, 'U53Kg', 'MALE', 'CADET', 12, 14, 49, 53),
(58, 'U47Kg', 'FEMALE', 'CADET', 12, 14, 44, 47),
(59, 'U57Kg', 'MALE', 'CADET', 12, 14, 53, 57),
(60, 'U51Kg', 'FEMALE', 'CADET', 12, 14, 47, 51),
(61, 'U61Kg', 'MALE', 'CADET', 12, 14, 57, 61),
(62, 'U55Kg', 'FEMALE', 'CADET', 12, 14, 51, 55),
(63, 'U65Kg', 'MALE', 'CADET', 12, 14, 61, 65),
(64, 'U59Kg', 'FEMALE', 'CADET', 12, 14, 55, 59),
(65, 'O65Kg', 'MALE', 'CADET', 12, 14, 65, 300),
(66, 'O59Kg', 'FEMALE', 'CADET', 12, 14, 59, 300),
(67, 'U23Kg', 'MALE', 'YOUTH', 6, 11, 20, 23),
(68, 'U20Kg', 'FEMALE', 'YOUTH', 6, 11, 0, 20),
(69, 'U26Kg', 'MALE', 'YOUTH', 6, 11, 23, 26),
(70, 'U26Kg', 'FEMALE', 'YOUTH', 6, 11, 23, 26),
(71, 'U30Kg', 'MALE', 'YOUTH', 6, 11, 26, 30),
(72, 'U30Kg', 'FEMALE', 'YOUTH', 6, 11, 26, 30),
(73, 'U34Kg', 'MALE', 'YOUTH', 6, 11, 30, 34),
(74, 'U34Kg', 'FEMALE', 'YOUTH', 6, 11, 30, 34),
(75, 'U20Kg', 'MALE', 'YOUTH', 6, 11, 0, 20),
(76, 'U23Kg', 'FEMALE', 'YOUTH', 6, 11, 20, 23),
(77, 'U38Kg', 'MALE', 'YOUTH', 6, 11, 34, 38),
(78, 'U43Kg', 'MALE', 'YOUTH', 6, 11, 38, 43),
(79, 'O53Kg', 'MALE', 'YOUTH', 6, 11, 53, 300),
(80, 'U38Kg', 'FEMALE', 'YOUTH', 6, 11, 34, 38),
(81, 'U43Kg', 'FEMALE', 'YOUTH', 6, 11, 38, 43),
(82, 'U48Kg', 'FEMALE', 'YOUTH', 6, 11, 43, 48),
(83, 'U53Kg', 'FEMALE', 'YOUTH', 6, 11, 48, 53),
(84, 'O53Kg', 'FEMALE', 'YOUTH', 6, 11, 53, 300),
(85, 'U48Kg', 'MALE', 'YOUTH', 6, 11, 43, 48),
(86, 'U53Kg', 'MALE', 'YOUTH', 6, 11, 48, 53);

--
-- Indexes for dumped tables
--

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

--
-- Indexes for table `countries`
--
ALTER TABLE `countries`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `iso` (`iso`),
  ADD UNIQUE KEY `iso3` (`iso3`);

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

--
-- Indexes for table `event_matches`
--
ALTER TABLE `event_matches`
  ADD PRIMARY KEY (`id`),
  ADD KEY `match_event` (`eid`),
  ADD KEY `blue_fighter` (`blue_fighter`),
  ADD KEY `red_fighter` (`red_fighter`);

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

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

--
-- Indexes for table `person`
--
ALTER TABLE `person`
  ADD PRIMARY KEY (`id`),
  ADD UNIQUE KEY `cpr` (`cpr`),
  ADD KEY `person_club` (`club`);

--
-- Indexes for table `person_physique`
--
ALTER TABLE `person_physique`
  ADD PRIMARY KEY (`id`),
  ADD KEY `person_weight` (`pid`);

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

--
-- AUTO_INCREMENT for dumped tables
--

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

--
-- AUTO_INCREMENT for table `countries`
--
ALTER TABLE `countries`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Auto Generated Record Number', AUTO_INCREMENT=240;

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

--
-- AUTO_INCREMENT for table `event_matches`
--
ALTER TABLE `event_matches`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Serial Numbering Of The Records', AUTO_INCREMENT=157;

--
-- AUTO_INCREMENT for table `event_matches_scores`
--
ALTER TABLE `event_matches_scores`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;

--
-- AUTO_INCREMENT for table `event_participants`
--
ALTER TABLE `event_participants`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Serial Numbering', AUTO_INCREMENT=66;

--
-- AUTO_INCREMENT for table `person`
--
ALTER TABLE `person`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Serial Numbering Of People', AUTO_INCREMENT=61;

--
-- AUTO_INCREMENT for table `person_physique`
--
ALTER TABLE `person_physique`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'Serial Data Keeper', AUTO_INCREMENT=61;

--
-- AUTO_INCREMENT for table `weight_divisions`
--
ALTER TABLE `weight_divisions`
  MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=87;
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 */;
