SHARE
TWEET

Untitled

a guest Dec 6th, 2019 75 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.9.1
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Gazdă: 127.0.0.1
  6. -- Timp de generare: dec. 06, 2019 la 10:01 AM
  7. -- Versiune server: 10.4.8-MariaDB
  8. -- Versiune PHP: 7.3.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. /*!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. -- Bază de date: `laborator`
  23. --
  24.  
  25. -- --------------------------------------------------------
  26.  
  27. --
  28. -- Structură tabel pentru tabel `student`
  29. --
  30.  
  31. CREATE TABLE `student` (
  32.   `id` int(11) NOT NULL,
  33.   `nume` text NOT NULL,
  34.   `varsta` int(11) NOT NULL,
  35.   `media` double NOT NULL
  36. ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4;
  37.  
  38. --
  39. -- Eliminarea datelor din tabel `student`
  40. --
  41.  
  42. INSERT INTO `student` (`id`, `nume`, `varsta`, `media`) VALUES
  43. (4, 'Vancea Corina', 22, 9),
  44. (5, 'Mutter Roland', 23, 10);
  45.  
  46. --
  47. -- Indexuri pentru tabele eliminate
  48. --
  49.  
  50. --
  51. -- Indexuri pentru tabele `student`
  52. --
  53. ALTER TABLE `student`
  54.   ADD PRIMARY KEY (`id`);
  55.  
  56. --
  57. -- AUTO_INCREMENT pentru tabele eliminate
  58. --
  59.  
  60. --
  61. -- AUTO_INCREMENT pentru tabele `student`
  62. --
  63. ALTER TABLE `student`
  64.   MODIFY `id` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=7;
  65. COMMIT;
  66.  
  67. /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
  68. /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
  69. /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top