-- phpMyAdmin SQL Dump -- version 4.9.0.1 -- https://www.phpmyadmin.net/ -- -- Host: 127.0.0.1 -- Generation Time: Oct 15, 2019 at 12:29 PM -- Server version: 10.3.16-MariaDB -- PHP Version: 7.3.7 SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO"; SET AUTOCOMMIT = 0; START TRANSACTION; SET time_zone = "+00:00"; /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */; /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */; /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */; /*!40101 SET NAMES utf8mb4 */; -- -- Database: `meubelfabriek_oj` -- CREATE DATABASE IF NOT EXISTS `meubelfabriek_oj` DEFAULT CHARACTER SET latin1 COLLATE latin1_swedish_ci; USE `meubelfabriek_oj`; -- -------------------------------------------------------- -- -- Table structure for table `artikel` -- DROP TABLE IF EXISTS `artikel`; CREATE TABLE `artikel` ( `id` int(11) NOT NULL, `naam` varchar(45) DEFAULT NULL, `prijs` decimal(2,0) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `artikel` -- INSERT INTO `artikel` (`id`, `naam`, `prijs`) VALUES (1020, 'ladenbak', '52'), (1060, 'kastplank', '4'), (1061, 'afdekplank', '3'), (1081, 'zijpaneel', '7'), (1082, 'dwars balk', '5'), (1090, 'front', '8'), (1320, 'handvat', '2'); -- -------------------------------------------------------- -- -- Table structure for table `product` -- DROP TABLE IF EXISTS `product`; CREATE TABLE `product` ( `id` int(11) NOT NULL, `naam` varchar(45) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `product` -- INSERT INTO `product` (`id`, `naam`) VALUES (521, 'Bovenkast'), (526, 'Onderkast'), (532, 'Lade'), (538, 'Deur'), (544, 'Wipstoel'); -- -------------------------------------------------------- -- -- Table structure for table `product_bestaat_uit` -- DROP TABLE IF EXISTS `product_bestaat_uit`; CREATE TABLE `product_bestaat_uit` ( `product_id` int(11) NOT NULL, `artikel_id` int(11) NOT NULL, `aantal` int(11) DEFAULT NULL ) ENGINE=InnoDB DEFAULT CHARSET=latin1; -- -- Dumping data for table `product_bestaat_uit` -- INSERT INTO `product_bestaat_uit` (`product_id`, `artikel_id`, `aantal`) VALUES (521, 1060, 2), (521, 1081, 4), (526, 1020, 1), (526, 1060, 4), (526, 1081, 3), (532, 1018, 2), (532, 1060, 6), (532, 1090, 1), (538, 1090, 2), (538, 1310, 6), (538, 1320, 2); COMMIT; /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */; /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */; /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;