Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Based on the following database: MEMBER(last_name, first_name, email, password, user ,street, city, state, zip, card_type, card_no, expiration, name_on_card) book_SALE( listing_no, seller, isbn , condition, price)

Based on the following database:

MEMBER(last_name, first_name, email, password, user,street, city, state, zip, card_type, card_no, expiration, name_on_card)

book_SALE(listing_no, seller, isbn, condition, price)

ORDERS(order_no, buyer, order_date, tot)

ITEMS(order_no, listing_no)

BOOK(isbn, title, author, edition, publisher, keywords)

The bold attribute(s) in a relation is the primary key of that relation. The italized attributes in some relations denote foreign keys.

Create a program when the option 1 is selected to: If a member wants to post books for sale, they select this option. When option is selected, the program asks for ISBN first. If ISBN entered isn't found in the BOOK releation, the program asks the member to enter the ISBN again. Once ISBN found, the program continues to ask the member to enter the condition of the book and sale. The program will confirm the member before infromation is inserted into book_SALE relation. After insertion, the program asks the memeber whether or not, they want to post another book for sale. If yes, the seller repeat the process to post book for sale, otherwise the program returns to main menu.

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

Step: 3

blur-text-image

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

Data Analysis In Microsoft Excel

Authors: Alex Holloway

1st Edition

B0CCCPKTTX, 979-8852388452

More Books

Students also viewed these Databases questions

Question

How is a deceased partners equity determined?

Answered: 1 week ago

Question

2. What are your challenges in the creative process?

Answered: 1 week ago