Advertisement
arijulianto

tbl profil

Feb 25th, 2018
206
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
MySQL 1.40 KB | None | 0 0
  1. -- phpMyAdmin SQL Dump
  2. -- version 4.2.7.1
  3. -- http://www.phpmyadmin.net
  4. --
  5. -- Host: localhost
  6. -- Generation Time: Feb 26, 2018 at 11:31 AM
  7. -- Server version: 5.6.20
  8. -- PHP Version: 5.5.15
  9.  
  10. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  11. SET time_zone = "+00:00";
  12.  
  13. --
  14. -- Database: `webhozz_app_server`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `profil`
  21. --
  22.  
  23. DROP TABLE IF EXISTS `profil`;
  24. CREATE TABLE IF NOT EXISTS `profil` (
  25. `idprofil` int(8) NOT NULL,
  26.   `foto` varchar(100) NOT NULL,
  27.   `nama` varchar(75) NOT NULL,
  28.   `jkelamin` varchar(1) NOT NULL,
  29.   `alamat` text NOT NULL,
  30.   `no_telp` varchar(20) NOT NULL
  31. ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=7 ;
  32.  
  33. --
  34. -- Dumping data for table `profil`
  35. --
  36.  
  37. INSERT INTO `profil` (`idprofil`, `foto`, `nama`, `jkelamin`, `alamat`, `no_telp`) VALUES
  38. (2, '', 'Ari Julianto', 'L', 'Abdi Negara Rancaekek', '089657206089'),
  39. (3, 'people.png', 'Deni', 'L', 'Cileunyi', '12345'),
  40. (4, '', 'Vina', 'P', 'Rancabangoo', '0899999'),
  41. (6, 'man.png', 'Sri', 'P', 'Tanjungsari', '082211111');
  42.  
  43. --
  44. -- Indexes for dumped tables
  45. --
  46.  
  47. --
  48. -- Indexes for table `profil`
  49. --
  50. ALTER TABLE `profil`
  51.  ADD PRIMARY KEY (`idprofil`);
  52.  
  53. --
  54. -- AUTO_INCREMENT for dumped tables
  55. --
  56.  
  57. --
  58. -- AUTO_INCREMENT for table `profil`
  59. --
  60. ALTER TABLE `profil`
  61. MODIFY `idprofil` int(8) NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=7;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement