From 33613a85afc4b1481367fbe92a17ee59c240250b Mon Sep 17 00:00:00 2001
From: Sven Eisenhauer <sven@sven-eisenhauer.net>
Date: Fri, 10 Nov 2023 15:11:48 +0100
Subject: add new repo

---
 .../Praktikum5_6/t_pizza.sql                       | 51 ++++++++++++++++++++++
 1 file changed, 51 insertions(+)
 create mode 100644 Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/t_pizza.sql

(limited to 'Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/t_pizza.sql')

diff --git a/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/t_pizza.sql b/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/t_pizza.sql
new file mode 100644
index 0000000..54b33aa
--- /dev/null
+++ b/Bachelor/Entwicklung webbasierter Anwendungen/Praktikum5_6/t_pizza.sql	
@@ -0,0 +1,51 @@
+-- phpMyAdmin SQL Dump
+-- version 2.7.0-pl1
+-- http://www.phpmyadmin.net
+--
+-- Host: localhost
+-- Generation Time: Jun 12, 2006 at 12:23 PM
+-- Server version: 5.0.18
+-- PHP Version: 5.1.1
+--
+-- Database: `pizza`
+--
+
+-- --------------------------------------------------------
+
+drop table if exists `t_bestellung`;
+drop table if exists `t_pizza`;
+
+--
+-- Table structure for table `t_pizza`
+--
+
+CREATE TABLE `t_pizza` (
+  `PizNr` int(11) NOT NULL,
+  `Bild` varchar(100) collate latin1_german1_ci NOT NULL,
+  `Bezeichnung` varchar(100) collate latin1_german1_ci NOT NULL,
+  `Preis` float NOT NULL,
+  PRIMARY KEY  (`PizNr`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci;
+
+--
+-- Dumping data for table `t_pizza`
+--
+
+INSERT INTO `t_pizza` (`PizNr`, `Bild`, `Bezeichnung`, `Preis`) VALUES (1, 'pizza.gif', 'Salami', 4.99);
+INSERT INTO `t_pizza` (`PizNr`, `Bild`, `Bezeichnung`, `Preis`) VALUES (2, 'pizza.gif', 'Speciale', 5.49);
+INSERT INTO `t_pizza` (`PizNr`, `Bild`, `Bezeichnung`, `Preis`) VALUES (3, 'pizza.gif', 'Tonno', 5.49);
+INSERT INTO `t_pizza` (`PizNr`, `Bild`, `Bezeichnung`, `Preis`) VALUES (4, 'pizza.gif', 'Hawaii', 5.99);
+
+CREATE TABLE `t_bestellung` (
+  `AuftragNr` int(11) NOT NULL AUTO_INCREMENT,
+  `PizNr` int(11) NOT NULL,
+  `Zeitpunkt` varchar(100),
+  `Lieferadresse` varchar(100) NOT NULL,
+  `SessionID` varchar(100) NOT NULL,
+  `Zustand` varchar(10) NOT NULL,
+  PRIMARY KEY  (`AuftragNr`),
+  FOREIGN KEY (`PizNr`) REFERENCES t_pizza(`PizNr`)
+) ENGINE=InnoDB DEFAULT CHARSET=latin1 COLLATE=latin1_german1_ci;
+
+--
+
-- 
cgit v1.3

