Skip to content
This repository has been archived by the owner on Sep 27, 2022. It is now read-only.

inserts #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 32 additions & 0 deletions class2016/c4_5/Velislav_Kostov_12b/creates.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
create database calendar;

create table users(
id int PRIMARY KEY NOT NULL AUTO_INCREMENT,
name varchar(20),
email varchar(20)
);

create table groups(
id int PRIMARY KEY NOT NULL AUTO_INCREMENT,
name varchar(20),
date_founded_on datetime
);

create table events(
id int PRIMARY KEY NOT NULL AUTO_INCREMENT,
name varchar(20),
date datetime,
location varchar(20)
);

create table usergroups(
id int PRIMARY KEY NOT NULL AUTO_INCREMENT,
user_id int NOT NULL,
group_id int NOT NULL
);

create table groupevents(
id intPRIMARY KEY NOT NULL AUTO_INCREMENT,
group_id int not null,
event_id int not null
);
Binary file removed exam_2013/Screenshot from 2013-04-10 00:20:48.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 00:22:48.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:27:29.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:28:14.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:28:18.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:28:25.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:29:57.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:30:04.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-10 22:30:28.png
Binary file not shown.
Binary file removed exam_2013/Screenshot from 2013-04-11 10:31:12.png
Binary file not shown.