Advertisement
Guest User

Untitled

a guest
Dec 12th, 2019
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.60 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.9.0.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Gegenereerd op: 12 dec 2019 om 15:13
  7. -- Serverversie: 10.4.6-MariaDB
  8. -- PHP-versie: 7.3.8
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET AUTOCOMMIT = 0;
  12. START TRANSACTION;
  13. SET time_zone = "+00:00";
  14.  
  15.  
  16. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  17. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  18. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  19. /*!40101 SET NAMES utf8mb4 */;
  20.  
  21. --
  22. -- Database: `wideworldimporters`
  23. --
  24.  
  25. -- --------------------------------------------------------
  26.  
  27. --
  28. -- Tabelstructuur voor tabel `discount`
  29. --
  30.  
  31. CREATE TABLE `discount` (
  32. `discountID` int(11) NOT NULL,
  33. `discountpercentage` int(11) NOT NULL,
  34. `discountcode` varchar(20) DEFAULT NULL
  35. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  36.  
  37. --
  38. -- Gegevens worden geëxporteerd voor tabel `discount`
  39. --
  40.  
  41. INSERT INTO `discount` (`discountID`, `discountpercentage`, `discountcode`) VALUES
  42. (1, 20, 'JULIAN20');
  43.  
  44. --
  45. -- Indexen voor geëxporteerde tabellen
  46. --
  47.  
  48. --
  49. -- Indexen voor tabel `discount`
  50. --
  51. ALTER TABLE `discount`
  52. ADD PRIMARY KEY (`discountID`);
  53.  
  54. --
  55. -- AUTO_INCREMENT voor geëxporteerde tabellen
  56. --
  57.  
  58. --
  59. -- AUTO_INCREMENT voor een tabel `discount`
  60. --
  61. ALTER TABLE `discount`
  62. MODIFY `discountID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=2;
  63. COMMIT;
  64.  
  65. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  66. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  67. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement