Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

The FacePamphlet database consists of the following three tables, to be created in Microsoft SQL Server ( or Microsoft Access or MySQL ) : The

The "FacePamphlet" database consists of the following three tables, to be created in Microsoft SQL Server (or Microsoft Access or MySQL):
The Members table:
Column name Data type Size Description
EMail varchar 40 Member's e-mail and login name (the primary key)
LastName varchar 20 Member last name
FirstName varchar 20 Member first name
The Posts table:
Column name Data type Size Description
PostID int Automatically generated sequence number
(Identity Specification: Yes)
(joined with EMail to form the primary key)
EMail varchar 40 Member's e-mail and login name
(joined withPostID to form the primary key)
Post varchar 255 Posting on almost any topic by a member
PostDate datetime Date and time when the post was entered
The Friends table:
Column name Data type Size Description
MyEMail varchar 40 Member's e-mail and login name
( joined with FriendEmail to form the primary key)
FriendEmail varchar 40 A friend's e-mail and login name
( joined with MyEmail to form the primary key)
(Optional): Set a CheckConstraint so that no record may contain a value for 'MyEmail' that is equal to 'FriendEmail'
Do not allow nulls for any column in any table in the database
The image below shows the relationships that must be created between the tables of the FacePamphlet database:
FK MyEmail (Friends table)-> Members (Email field)
FK FriendEmail (Friends table)-> Members (Email field)
FK Email (Posts table)-> Members (Email field)
do in VISUAL STUDIO 2022 WITH STEP BY STEP INSTRUCTION AND CODE WRITTEN OUT

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

50 Tips And Tricks For MongoDB Developers Get The Most Out Of Your Database

Authors: Kristina Chodorow

1st Edition

1449304613, 978-1449304614

More Books

Students also viewed these Databases questions

Question

What are the key events and dates in the dividend payment process?

Answered: 1 week ago

Question

Show that a sales margin of 10% is equal to 11% on sales.

Answered: 1 week ago

Question

Evaluate three pros and three cons of e-prescribing

Answered: 1 week ago