Question

Assuming the field names are correct, if we were asked to only return records where an...

Assuming the field names are correct, if we were asked to only return records where an Xbox Series X or a PS5 was purchased between September 2020 and October 2020, which of the following WHERE clauses would make logical sense?

Select one:

a.

WHERE purchaseDate BETWEEN “09-01-2020” AND “10-31-2020” AND itemDescription IN (“PS5”, “XBOX SERIES X”)

b.

WHERE purchaseDate < “09-01-2020” AND purchaseDate > “10-31-2020” AND itemDescription = “PS5” AND itemDescription = “XBOX SERIES X”

c.

WHERE purchaseDate < “09-01-2020” AND > “10-31-2020” AND itemDescription = “PS5” OR “XBOX SERIES X”

d.

WHERE purchaseDate <> “09-01-2020” AND > “10-31-2020” AND itemDescription IN (“PS5”, “XBOX SERIES X”)

Homework Answers

Answer #1

ANSWER: A) WHERE purchaseDate BETWEEN “09-01-2020” AND “10-31-2020” AND itemDescription IN (“PS5”,  “XBOX SERIES X”)

Explanation :

Option A :Correct -

This will return the correct answer as stated in Quetion, where an Xbox Series X or a PS5 was purchased between September 2020 and October 2020

Option B : Wrong

As the WHERE clause contains Xbox AND PS5, it will return records which have both Xbox and PS5 (Both should be there)

Option C: Wrong

This will return records with the date less than September 2020 and greater than October 31, therefore it is wrong.

Option D :

Wrong - This will return the records with date not equal to September 1st and date after October 31st. Therefore it is wrong.

Know the answer?
Your Answer:

Post as a guest

Your Name:

What's your source?

Earn Coins

Coins can be redeemed for fabulous gifts.

Not the answer you're looking for?
Ask your own homework help question
Similar Questions
The following selected transactions relate to investment activities of Ornamental Insulation Corporation during 2021. The company...
The following selected transactions relate to investment activities of Ornamental Insulation Corporation during 2021. The company buys debt securities, intending to profit from short-term differences in price and maintaining them in an active trading portfolio. Ornamental’s fiscal year ends on December 31. No investments were held by Ornamental on December 31, 2020. Mar. 31 Acquired 8% Distribution Transformers Corporation bonds costing $400,000 at face value. Sep. 1 Acquired $900,000 of American Instruments’ 10% bonds at face value. Sep. 30 Received...
Now that you have reviewed information about The Adrenaline Hut, you are ready to begin the...
Now that you have reviewed information about The Adrenaline Hut, you are ready to begin the first step in the accounting cycle, recording transactions. On this page of the practice set, you are asked to record transactions that occurred during the first week of June into the company's journals and post the appropriate entries to the ledger accounts. The following transactions occurred throughout the first week of June: Week 1 Date Transaction description 1 Issued Cheque No. 646 for $8,800...
During the trial, lawyers for the accused said that the men believed that the accounting decisions...
During the trial, lawyers for the accused said that the men believed that the accounting decisions they made were appropriate at the time, and that the accounting treatment was approved by Nortel’s auditors from Deloitte & Touche. Judge Marrocco accepted these arguments. Marrocco added he was “not satisfied beyond a reasonable doubt” that the trio (i.e., Dunn, Beatty, and Gollogly) had “deliberately misrepresented” financial results. Given the facts of the case, do you believe Judge Marrocco’s decision was justified? Explain....
What tools could AA leaders have used to increase their awareness of internal and external issues?...
What tools could AA leaders have used to increase their awareness of internal and external issues? ???ALASKA AIRLINES: NAVIGATING CHANGE In the autumn of 2007, Alaska Airlines executives adjourned at the end of a long and stressful day in the midst of a multi-day strategic planning session. Most headed outside to relax, unwind and enjoy a bonfire on the shore of Semiahmoo Spit, outside the meeting venue in Blaine, a seaport town in northwest Washington state. Meanwhile, several members of...
In February 2012, the Pepsi Next product was launched into the US market. This case study...
In February 2012, the Pepsi Next product was launched into the US market. This case study provides students with an interesting insight into PepsiCo’s new product process and some of the challenging decisions that they faced along the way. Pepsi Next Case Study Introduction Pepsi Next was launched by PepsiCo into the US market in February 2012, and has since been rolled out to various international markets (for instance, it was launched in Australia in September 2012). The new product...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From...
Sign In INNOVATION Deep Change: How Operational Innovation Can Transform Your Company by Michael Hammer From the April 2004 Issue Save Share 8.95 In 1991, Progressive Insurance, an automobile insurer based in Mayfield Village, Ohio, had approximately $1.3 billion in sales. By 2002, that figure had grown to $9.5 billion. What fashionable strategies did Progressive employ to achieve sevenfold growth in just over a decade? Was it positioned in a high-growth industry? Hardly. Auto insurance is a mature, 100-year-old industry...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how...
Delta airlines case study Global strategy. Describe the current global strategy and provide evidence about how the firms resources incompetencies support the given pressures regarding costs and local responsiveness. Describe entry modes have they usually used, and whether they are appropriate for the given strategy. Any key issues in their global strategy? casestudy: Atlanta, June 17, 2014. Sea of Delta employees and their families swarmed between food trucks, amusement park booths, and entertainment venues that were scattered throughout what would...
ADVERTISEMENT
Need Online Homework Help?

Get Answers For Free
Most questions answered within 1 hours.

Ask a Question
ADVERTISEMENT