Tools
- Sandbox
- Paste Code
- Snippets
- Generators
- Checks
- Convertors
[sql] hosp
Viewer
- CREATE DATABASE `hosp`;
- -- MySQL Script generated by MySQL Workbench
- -- Thu Jan 20 09:28:16 2022
- -- Model: New Model Version: 1.0
- -- MySQL Workbench Forward Engineering
- CREATE TABLE Hospital(
- hospID INT,
- city VARCHAR(16), adress VARCHAR(30), patients INT, aparats INT, supplies INT
- );
- CREATE TABLE Aparats(
- ApID INT,
- name VARCHAR(16), YEAR INT,
- purpose VARCHAR(16), price FLOAT, quantity INT
- );
- CREATE TABLE Office(
- hospID INT,
- apID INT, tID INT
- );
- CREATE TABLE Sponsor(
- spID INT,
- spName VARCHAR(16)
- );
Editor
Share
Do you find this tool useful? Then share it with your friends or colleagues. This will help us to make our free web tools better.
You can edit this paste and save as new:
Information about embedding
In order to embed this content into your website or blog, simply copy and paste one of the codes provided below.
1. JavaScript Embedding (shows full code, full height depending on amount of lines in paste)
<script src="https://wtools.io/code/embed-js/b8Vj"></script>
2. Iframe Embedding (you can set the frame height by adding the CSS value 'height:100px;' for example)
<iframe src="https://wtools.io/code/embed-iframe/b8Vj" style="border:none;width:100%"></iframe>