Answered step by step
Verified Expert Solution
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
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 ActivationDateStep 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