Answered step by step
Verified Expert Solution
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 Member's email and login name the primary key
LastName varchar Member last name
FirstName varchar 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 Member's email and login name
joined withPostID to form the primary key
Post varchar 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 Member's email and login name
joined with FriendEmail to form the primary key
FriendEmail varchar A friend's email 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
Relationships.png
When you have completed items # and # above, you should manually enter some data records for the Members tables in Microsoft SQL Server or Microsoft Access or MySQL; in fact for the purposes of this assignment, this is the only way to insert records into this table.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started