Question: In this assignment, you need to create a simple database. Before starting this homework, make sure to watch the introduction to MySQL video. Here, we
In this assignment, you need to create a simple database. Before starting this homework, make sure to watch the introduction to MySQL video.
Here, we want to create a simple database with two tables for the following entities:
Authors
Books
We know that each author may publish one or more books. the attributes of the authors are as follows.
AID represents the Author's ID and its an integer number INT data type This column is the primary key of the table.
AFName represents the Author's First Name and its data type is a string varchar data type
ALName represents the Author's Last Name and its data type is a string varchar data type
AStAddress represents the Author's street address and its data type is a string varchar data type
ACity that represents the Author's City and its data type is a string varchar data type
AState that represents the Author's state and its data type is a string varchar data type
AZipcode that represents the Author's zip code and its data type is an integer.
ADOB represents the Author's date of birth and its data type is the date date data type
the attributes of the Book are as follows.
BID Book ID integer data type This column is the primary key of the table.
BName Book Name, varchar data type
BISBN Book ISBN, varchar data type
BPDate Book published date, date data type
AID Authors ID and its foreign key.
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
