-- phpMyAdmin SQL Dump
-- version 5.2.1-1.el7.remi
-- https://www.phpmyadmin.net/
--
-- Počítač: localhost
-- Vytvořeno: Pon 15. led 2024, 12:25
-- Verze serveru: 5.5.68-MariaDB
-- Verze PHP: 8.0.30

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

--
-- Databáze: `shonth22`
--

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

--
-- Struktura tabulky `placedbet`
--

CREATE TABLE `placedbet` (
  `ID` int(11) NOT NULL,
  `selected_odds` float NOT NULL,
  `bet_amount` int(11) NOT NULL,
  `possible_profit` float NOT NULL,
  `match_date` date NOT NULL,
  `match_time` time NOT NULL,
  `home_team` varchar(80) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL,
  `away_team` varchar(80) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL,
  `user_username` varchar(50) CHARACTER SET utf8 COLLATE utf8_czech_ci NOT NULL,
  `evaluation` varchar(5) NOT NULL
) ENGINE=InnoDB DEFAULT CHARSET=latin1;

--
-- Vypisuji data pro tabulku `placedbet`
--

INSERT INTO `placedbet` (`ID`, `selected_odds`, `bet_amount`, `possible_profit`, `match_date`, `match_time`, `home_team`, `away_team`, `user_username`, `evaluation`) VALUES
(1, 1.44, 100, 144, '2024-01-15', '20:45:00', 'Atalanta BC', 'Frosinone Calcio', 'ThominOSS', 'W'),
(2, 1.41, 44, 62.04, '2024-01-16', '20:45:00', 'Juventus FC', 'US Sassuolo Calcio', 'ThominOSS', 'W'),
(3, 1.41, 50, 70.5, '2024-01-16', '20:45:00', 'Juventus FC', 'US Sassuolo Calcio', 'Michalka', 'W'),
(4, 1.44, 21, 30.24, '2024-01-15', '20:45:00', 'Atalanta BC', 'Frosinone Calcio', 'Michalka', 'L'),
(5, 1.41, 12, 16.92, '2024-01-16', '20:45:00', 'Juventus FC', 'US Sassuolo Calcio', 'ThominOSS', 'L'),
(6, 1.63, 40, 65.2, '2024-01-13', '13:30:00', 'Chelsea FC', 'Fulham FC', 'Michalka', 'W'),
(7, 1.64, 35, 57.4, '2024-01-13', '18:30:00', 'Newcastle United FC', 'Manchester City FC', 'Michalka', 'W'),
(8, 1.79, 40, 71.6, '2024-01-13', '17:00:00', 'AS Monaco FC', 'Stade de Reims', 'Michalka', 'W'),
(9, 2.47, 30, 74.1, '2024-01-13', '21:00:00', 'Stade Rennais FC 1901', 'OGC Nice', 'Michalka', 'W'),
(10, 4.34, 123, 533.82, '2024-01-13', '13:30:00', 'Chelsea FC', 'Fulham FC', 'Michalka', 'W'),
(11, 1.48, 150, 222, '2024-01-13', '20:45:00', 'AC Monza', 'FC Internazionale Milano', 'ThominOSS', 'W'),
(12, 1.63, 50, 81.5, '2024-01-13', '13:30:00', 'Chelsea FC', 'Fulham FC', 'abysnezakop', 'W'),
(13, 1.63, 50, 81.5, '2024-01-13', '13:30:00', 'Chelsea FC', 'Fulham FC', 'abysnezakop', 'L');

--
-- Indexy pro exportované tabulky
--

--
-- Indexy pro tabulku `placedbet`
--
ALTER TABLE `placedbet`
  ADD PRIMARY KEY (`ID`);

--
-- AUTO_INCREMENT pro tabulky
--

--
-- AUTO_INCREMENT pro tabulku `placedbet`
--
ALTER TABLE `placedbet`
  MODIFY `ID` int(11) 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 */;
