function is the right answer because function is a block of code designed to perform a particular task
Answer:
Below is the required code:
Explanation:
SELECT Product_Finish AS "Desk Finish",
avg(Standard_Price) AS "Average Price"
FROM Product_T
WHERE "Average Price">200
ORDER BY "Average Price" DESC;
Answer:
Yep, saw her posts. Thanks for the warning though. I reported one of her posts. It's just another example of how desperate people are and what measures they will take to get attention. She'll probably be banned soon
Explanation:
Thank you for the warning though. I hope this reaches more people.
The program is correct: at the beginning, product = 0. Then, we start summing Y to that variable, and we sum Y exactly X times, because with each iteration we increase Count by 1, and check if Count=X so that we can exit the loop.