Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

GIFT_CARD(CardNo, StoreName, Value, ActivationDate) PURCHASE(TransactionID, tDate, Amt, Balance, CardNo ) Construct the SQL statement to answer this query: 1. List all information about the gift

image text in transcribed

GIFT_CARD(CardNo, StoreName, Value, ActivationDate)

PURCHASE(TransactionID, tDate, Amt, Balance,CardNo)

Construct the SQL statement to answer this query:

1. List all information about the gift card with card number of 8907.

2.What stores have gift cards that still have money on them a balance above zero? List the storename, cardNo and balance.

GIFT CARD PURCHASE TransactionID Tdate Amt Balance CardNo image of tables StoreName Value ActivationDate

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

Temporal Databases Research And Practice Lncs 1399

Authors: Opher Etzion ,Sushil Jajodia ,Suryanarayana Sripada

1st Edition

3540645195, 978-3540645191

Students also viewed these Databases questions

Question

What information does the statement of owner's equity contain?

Answered: 1 week ago

Question

how would you have done things differently?

Answered: 1 week ago

Question

What were the reasons for your conversion or resistance?

Answered: 1 week ago