Antevasin

DB Ripetizioni (Docente)

Dec 4th, 2020 (edited)
475
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.9.5
  3. -- https://www.phpmyadmin.net/
  4. --
  5. -- Host: localhost:8889
  6. -- Generation Time: Dec 04, 2020 at 11:09 AM
  7. -- Server version: 5.7.30
  8. -- PHP Version: 7.4.9
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `ripetizioni`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `DOCENTE`
  21. --
  22.  
  23. CREATE TABLE `DOCENTE` (
  24.   `idDocente` INT(11) NOT NULL,
  25.   `nomeDocente` VARCHAR(30) DEFAULT NULL,
  26.   `cognomeDocente` VARCHAR(30) DEFAULT NULL
  27. ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
  28.  
  29. --
  30. -- Dumping data for table `DOCENTE`
  31. --
  32.  
  33. INSERT INTO `DOCENTE` (`idDocente`, `nomeDocente`, `cognomeDocente`) VALUES
  34. (12, 'Mariastella', 'Vittoria'),
  35. (13, 'Giosue', 'Gullotta'),
  36. (16, 'Franco', 'Alberio'),
  37. (17, 'Mariaconcetta', 'Distefano'),
  38. (18, 'Nino', 'Reina'),
  39. (19, 'Mariagrazia', 'Distefano'),
  40. (20, 'Agata', 'Garraffo'),
  41. (21, 'Annamaria', 'Cultraro');
  42.  
  43. --
  44. -- Indexes for dumped tables
  45. --
  46.  
  47. --
  48. -- Indexes for table `DOCENTE`
  49. --
  50. ALTER TABLE `DOCENTE`
  51.   ADD PRIMARY KEY (`idDocente`);
  52.  
  53. --
  54. -- AUTO_INCREMENT for dumped tables
  55. --
  56.  
  57. --
  58. -- AUTO_INCREMENT for table `DOCENTE`
  59. --
  60. ALTER TABLE `DOCENTE`
  61.   MODIFY `idDocente` INT(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=22;
  62.  
RAW Paste Data