Advertisement
Guest User

Untitled

a guest
Nov 16th, 2018
131
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.27 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.8.3
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: 127.0.0.1
  6. -- Generation Time: Nov 16, 2018 at 09:39 AM
  7. -- Server version: 10.1.36-MariaDB
  8. -- PHP Version: 7.2.11
  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. -- Database: `kibutz`
  17. --
  18.  
  19. -- --------------------------------------------------------
  20.  
  21. --
  22. -- Table structure for table `users`
  23. --
  24.  
  25. CREATE TABLE `users` (
  26. `ID` int(11) NOT NULL,
  27. `Name` varchar(100) DEFAULT NULL,
  28. `email` varchar(255) NOT NULL,
  29. `AGE` tinyint(3) UNSIGNED NOT NULL
  30. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  31.  
  32. --
  33. -- Dumping data for table `users`
  34. --
  35.  
  36. INSERT INTO `users` (`ID`, `Name`, `email`, `AGE`) VALUES
  37. (1, 'OLEG', 'oleg@gmail.com', 18),
  38. (2, 'SASHA', 'sasha@gmail.com', 28),
  39. (3, 'PETYA', 'nobody@mail.ru', 55),
  40. (6, 'MASHA', 'maria@yandex.ru', 19),
  41. (7, 'OLYA', 'olga.super@mail.ru', 23),
  42. (8, 'ILYA', 'ilya@gmail.com', 32),
  43. (9, 'IGOR', 'igor@tel-ran.com', 54);
  44.  
  45. --
  46. -- Indexes for dumped tables
  47. --
  48.  
  49. --
  50. -- Indexes for table `users`
  51. --
  52. ALTER TABLE `users`
  53. ADD PRIMARY KEY (`ID`);
  54.  
  55. --
  56. -- AUTO_INCREMENT for dumped tables
  57. --
  58. ALTER TABLE `users`
  59. MODIFY `ID` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=10;
  60. COMMIT;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement