Need a unique gift idea?
A Pastebin account makes a great Christmas gift
SHARE
TWEET

pvo

a guest Dec 7th, 2018 70 Never
Upgrade to PRO!
ENDING IN00days00hours00mins00secs
 
  1.  
  2. SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
  3. SET AUTOCOMMIT = 0;
  4. START TRANSACTION;
  5. SET time_zone = "+00:00";
  6.  
  7.  
  8. /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
  9. /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
  10. /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
  11. /*!40101 SET NAMES utf8mb4 */;
  12.  
  13. --
  14. -- Database: `dbcoba`
  15. --
  16.  
  17. -- --------------------------------------------------------
  18.  
  19. --
  20. -- Table structure for table `ci_sessions`
  21. --
  22.  
  23.  
  24. CREATE TABLE `daerah` (
  25.   `iddaerah` int(11) NOT NULL,
  26.   `namadaerah` varchar(50) NOT NULL
  27. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  28.  
  29. --
  30. -- Dumping data for table `daerah`
  31. --
  32.  
  33. INSERT INTO `daerah` (`iddaerah`, `namadaerah`) VALUES
  34. (1, 'Kabupaten Agam'),
  35. (2, 'Kota Bukittinggi'),
  36. (3, 'Kabupaten Dharmasraya'),
  37. (4, 'Kabupaten Kepulauan Mentawai'),
  38. (5, 'Kabupaten Lima Puluh Kota'),
  39. (6, 'Kota Padang'),
  40. (7, 'Kota Padang Panjang'),
  41. (8, 'PADANG PARIAMAN KAB'),
  42. (9, 'PARIAMAN KOTA'),
  43. (10, 'PASAMAN BARAT KAB'),
  44. (11, 'PASAMAN KAB'),
  45. (12, 'PAYAKUMBUH KOTA'),
  46. (13, 'PESISIR SELATAN KAB'),
  47. (14, 'PROV. SUMATERA BARAT'),
  48. (15, 'SAWAHLUNTO KOTA'),
  49. (16, 'SIJUNJUNG KAB'),
  50. (17, 'SOLOK KAB'),
  51. (18, 'SOLOK KOTA'),
  52. (19, 'SOLOK SELATAN KAB'),
  53. (20, 'TANAH DATAR KAB');
  54.  
  55. -- --------------------------------------------------------
  56.  
  57. --
  58. -- Table structure for table `infrastruktur`
  59. --
  60.  
  61. CREATE TABLE `infrastruktur` (
  62.   `idinfrastruktur` int(11) NOT NULL,
  63.   `namainfrastruktur` text NOT NULL
  64. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  65.  
  66. --
  67. -- Dumping data for table `infrastruktur`
  68. --
  69.  
  70. INSERT INTO `infrastruktur` (`idinfrastruktur`, `namainfrastruktur`) VALUES
  71. (9, 'Jalan'),
  72. (10, 'Irigasi'),
  73. (11, 'Drainase'),
  74. (12, 'Lainnya'),
  75. (13, 'Bangunan'),
  76. (14, 'Jembatan');
  77.  
  78. -- --------------------------------------------------------
  79.  
  80. --
  81. -- Table structure for table `input`
  82. --
  83.  
  84. CREATE TABLE `input` (
  85.   `idinput` int(11) NOT NULL,
  86.   `daerah_i` int(11) NOT NULL,
  87.   `pekerjaan_i` int(11) NOT NULL,
  88.   `jasa_i` int(11) NOT NULL,
  89.   `infrastruktur_i` int(11) NOT NULL,
  90.   `tahun` varchar(10) NOT NULL,
  91.   `jmltahli` varchar(10) NOT NULL,
  92.   `jmltterampil` varchar(10) NOT NULL,
  93.   `nilai` varchar(30) NOT NULL,
  94.   `operator` varchar(30) NOT NULL
  95. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  96.  
  97. --
  98. -- Dumping data for table `input`
  99. --
  100.  
  101. INSERT INTO `input` (`idinput`, `daerah_i`, `pekerjaan_i`, `jasa_i`, `infrastruktur_i`, `tahun`, `jmltahli`, `jmltterampil`, `nilai`, `operator`) VALUES
  102. (28, 6, 3, 14, 9, '2013', '0', '0', '370000000', 'anton joni saputra'),
  103. (29, 6, 3, 14, 10, '2013', '0', '0', '317000000', 'anton joni saputra'),
  104. (30, 6, 3, 14, 11, '2013', '0', '0', '450000000', 'anton joni saputra'),
  105. (31, 6, 3, 14, 13, '2014', '0', '0', '323000000', 'anton joni saputra'),
  106. (32, 6, 3, 14, 9, '2014', '0', '0', '550000000', 'anton joni saputra'),
  107. (33, 6, 3, 14, 11, '2014', '0', '0', '450000000', 'anton joni saputra'),
  108. (34, 6, 3, 14, 13, '2015', '0', '0', '655500000', 'anton joni saputra'),
  109. (35, 6, 3, 14, 14, '2015', '0', '0', '127500000', 'anton joni saputra'),
  110. (36, 6, 3, 14, 9, '2015', '0', '0', '467500000', 'anton joni saputra'),
  111. (37, 6, 3, 14, 10, '2015', '0', '0', '226163950', 'anton joni saputra'),
  112. (38, 6, 3, 14, 11, '2015', '0', '0', '471000000', 'anton joni saputra'),
  113. (39, 6, 3, 14, 12, '2015', '0', '0', ' 4191200000 ', 'anton joni saputra'),
  114. (40, 6, 3, 14, 13, '2016', '0', '0', ' 145340000 ', 'anton joni saputra'),
  115. (41, 6, 3, 14, 14, '2016', '0', '0', ' 239488750 ', 'anton joni saputra'),
  116. (42, 6, 2, 10, 13, '2015', '0', '0', '55000000', 'anton joni saputra');
  117.  
  118. -- --------------------------------------------------------
  119.  
  120. --
  121. -- Table structure for table `jasa`
  122. --
  123.  
  124. CREATE TABLE `jasa` (
  125.   `idjasa` int(11) NOT NULL,
  126.   `jenispekerjaan` int(11) NOT NULL,
  127.   `jenisjasapekerjaan` text NOT NULL
  128. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  129.  
  130. --
  131. -- Dumping data for table `jasa`
  132. --
  133.  
  134. INSERT INTO `jasa` (`idjasa`, `jenispekerjaan`, `jenisjasapekerjaan`) VALUES
  135. (10, 2, 'Pembangunan'),
  136. (11, 2, 'Peningkatan'),
  137. (12, 2, 'Pemeliharaan'),
  138. (13, 3, 'Pengawasan'),
  139. (14, 3, 'Perencanaan'),
  140. (15, 3, 'Study / kajian'),
  141. (16, 4, 'Pengadaan');
  142.  
  143. -- --------------------------------------------------------
  144.  
  145. --
  146. -- Table structure for table `pekerjaan`
  147. --
  148.  
  149. CREATE TABLE `pekerjaan` (
  150.   `idjenispekerjaan` int(11) NOT NULL,
  151.   `jenis_pekerjaan` text NOT NULL
  152. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  153.  
  154. --
  155. -- Dumping data for table `pekerjaan`
  156. --
  157.  
  158. INSERT INTO `pekerjaan` (`idjenispekerjaan`, `jenis_pekerjaan`) VALUES
  159. (2, 'Kontruksi'),
  160. (3, ' Konsultan'),
  161. (4, 'Barang dan Jasa');
  162.  
  163. -- --------------------------------------------------------
  164.  
  165. --
  166. -- Table structure for table `user`
  167. --
  168.  
  169. CREATE TABLE `user` (
  170.   `id` int(2) NOT NULL,
  171.   `username` varchar(30) NOT NULL,
  172.   `password` text NOT NULL,
  173.   `nama` text NOT NULL,
  174.   `level` varchar(11) NOT NULL
  175. ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
  176.  
  177. --
  178. -- Dumping data for table `user`
  179. --
  180.  
  181. INSERT INTO `user` (`id`, `username`, `password`, `nama`, `level`) VALUES
  182. (1, 'admin', '1a1d7066fdc41001b876363c2f8daba891c3ab42b449500aadd363cbb917de95c57d96ede9461c41810dc192bdf232f463dc0e20b6ca5768aef244fb4f1ae892', 'anton joni saputra', 'admin'),
  183. (6, 'male', '374144bdd07a201e995e9a4ed236a4c63297a501172267ee3f785112832429faef4e8a257f5e7fc8ad9ab0df6fef83cdb423d2d77d1007ca3a9cfabcd313eae9', 'agus', 'operator'),
  184. (7, 'bogil', '6e842fb9c7bb330f748231bb4798866e7325070964a54ee8d34a64046f270b046fb8f1bd22aee9c427aded5304ef29cf6cabc1af3a9bc642641325b0611209a7', 'antonx', 'operator');
  185.  
  186. --
  187. -- Indexes for dumped tables
  188. --
  189.  
  190. --
  191. -- Indexes for table `daerah`
  192. --
  193. ALTER TABLE `daerah`
  194.   ADD PRIMARY KEY (`iddaerah`);
  195.  
  196. --
  197. -- Indexes for table `infrastruktur`
  198. --
  199. ALTER TABLE `infrastruktur`
  200.   ADD PRIMARY KEY (`idinfrastruktur`);
  201.  
  202. --
  203. -- Indexes for table `input`
  204. --
  205. ALTER TABLE `input`
  206.   ADD PRIMARY KEY (`idinput`);
  207.  
  208. --
  209. -- Indexes for table `jasa`
  210. --
  211. ALTER TABLE `jasa`
  212.   ADD PRIMARY KEY (`idjasa`);
  213.  
  214. --
  215. -- Indexes for table `pekerjaan`
  216. --
  217. ALTER TABLE `pekerjaan`
  218.   ADD PRIMARY KEY (`idjenispekerjaan`);
  219.  
  220. --
  221. -- Indexes for table `user`
  222. --
  223. ALTER TABLE `user`
  224.   ADD PRIMARY KEY (`id`);
  225.  
  226. --
  227. -- AUTO_INCREMENT for dumped tables
  228. --
  229.  
  230. --
  231. -- AUTO_INCREMENT for table `daerah`
  232. --
  233. ALTER TABLE `daerah`
  234.   MODIFY `iddaerah` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=21;
  235.  
  236. --
  237. -- AUTO_INCREMENT for table `infrastruktur`
  238. --
  239. ALTER TABLE `infrastruktur`
  240.   MODIFY `idinfrastruktur` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=16;
  241.  
  242. --
  243. -- AUTO_INCREMENT for table `input`
  244. --
  245. ALTER TABLE `input`
  246.   MODIFY `idinput` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=43;
  247.  
  248. --
  249. -- AUTO_INCREMENT for table `jasa`
  250. --
  251. ALTER TABLE `jasa`
  252.   MODIFY `idjasa` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=17;
  253.  
  254. --
  255. -- AUTO_INCREMENT for table `pekerjaan`
  256. --
  257. ALTER TABLE `pekerjaan`
  258.   MODIFY `idjenispekerjaan` int(11) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=5;
  259.  
  260. --
  261. -- AUTO_INCREMENT for table `user`
  262. --
  263. ALTER TABLE `user`
  264.   MODIFY `id` int(2) NOT NULL AUTO_INCREMENT, AUTO_INCREMENT=8;
  265. COMMIT;
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