Question


group by sust.cida Q2 (7 Points) Show customer id (CID) for customers who have spent 30,000 or more with the company in 2019.

Team Tools Window Help Welcome Page * DISM 6000 K CUSTOMER ISMG 6080 ISMG 6080-2 ISMG 6080 Worksheet Query Builder select wor

I need the answer to #2 listed above. This is the code I have come up with, and it is wrong. I am new to this and need help.

26. ORD.custid is the customer id of the customer who placed the order. SQL> select * from ard; ORDID ORDERDATE C CUSTID SHIPSELECT FROM workorder Script Output Query... x SQL | All Rows Fetched: 7 in 0.215 seconds ORDID CREATEDATE REQUIREDDATE COMPL

0 0
Add a comment Improve this question Transcribed image text
Answer #1

Question 2:

Answer:

Select workorder.custid from workorder, ord where where workorder.custid = ord.custid and total>=30000 and to_char(completiondate, ‘yyyy’)=2019;

[ Only Q #2 was answered as you mentioned ]

Add a comment
Know the answer?
Add Answer to:
I need the answer to #2 listed above. This is the code I have come up...
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. Our experts will answer your question WITHIN MINUTES for Free.
Similar Homework Help Questions
  • What is the major product for each reaction? Could you please draw the mechanism? JAN FEB...

    What is the major product for each reaction? Could you please draw the mechanism? JAN FEB MAR APR MAY 01 02 03 04 05 06 07 08 09 10 11 12 13 JUN 14 15 16 JUL AUG SEP O 17 18 19 20 21 22 23 24 25

  • Date Gasoline Crude Oil Jan 01, 2010 2.031 79.07 Jan 08, 2010 2.124 82.34 Jan 15,...

    Date Gasoline Crude Oil Jan 01, 2010 2.031 79.07 Jan 08, 2010 2.124 82.34 Jan 15, 2010 2.079 80.06 Jan 22, 2010 2.010 76.62 Jan 29, 2010 1.942 73.94 Feb 05, 2010 1.885 74.57 Feb 12, 2010 1.908 73.88 Feb 19, 2010 2.031 78.25 Feb 26, 2010 2.042 79.22 Mar 05, 2010 2.127 80.19 Mar 12, 2010 2.154 81.76 Mar 19, 2010 2.150 81.44 Mar 26, 2010 2.118 80.65 Apr 02, 2010 2.191 83.01 Apr 09, 2010 2.238 85.66 Apr...

  • On Blackboard under "Course Content / Homeworks and Practice Tests" there is an Excel file titled...

    On Blackboard under "Course Content / Homeworks and Practice Tests" there is an Excel file titled "HW 6 Data" with monthly stock return data to be used for this question: What is Deckers Outdoor Corporation's [DECK] beta? Round to two decimal places. [Hint: Take S&P 500 as a proxy for the market, and use the beta formula from the book. You will need to use two Excel functions: STDEV.S and CORREL] Numeric Answer S&PS00 DECK NKE SBUX -1.5% Ос-19 7.4%...

  • I need to write a SQL procedure that will look for sections with an enrollment less...

    I need to write a SQL procedure that will look for sections with an enrollment less than 6 with the following information: course.course_no, course.course_description, section.section_no, CountOfEnrollment (which is less than 6) Given the following tables: Course: Section: Enrollment: NM + ON OO COURSE_NO DESCRIPTION 10 Test Course 20 Intro to Information Systems 25 Intro to Programming 80 Programming Techniques 100 Hands-On Windows 120 Intro to Java Programming 122 Intermediate Java Programming 124 Advanced Java Programming 125 Java Developer I 130...

  • Code with Java using arrays and Scanner only ( input should end with 0 to terminate...

    Code with Java using arrays and Scanner only ( input should end with 0 to terminate the program) Everyone loves to be celebrated on their birthdays. Birthday celebration can encourage positive social interaction among co-workers, foster friendship among classmates or even strengthen bond between families. Birthday graph can be display in many forms. It can a creative drawing consists of cupcakes, balloons, candles with names, or it can be in the form of simple bar chart to indicate the birthday...

  • 9. Coupon Mat. date Bid$ Yld% Corporat AGT Lt Air Ca AssCap Avco Bell Bell BMO7.000-Jan...

    9. Coupon Mat. date Bid$ Yld% Corporat AGT Lt Air Ca AssCap Avco Bell Bell BMO7.000-Jan 28/10-106.55 BNS BNS CardTr Cdn Pa Clearn 8.800 Sep 22/25 100.46 8.75 6.750 Feb 02/04 94.00 9.09 5.400 Sep 04/01 100.01 5.38 5.750 Jun 02/03 100.25 5.63 6.250 Dec 01/03 101.59 5.63 6.500 May 09/05 102.01 5.95 6.04 5.400 Apr 01/03 100.31 5.24 6.250 Jul 16/07 101.56 5.95 5.510 Jun 21/03 100.52 5.27 850 Mar 30/09 93.93 6.83 0.000 May 15/08 88.50 8.61 5.625...

  • Use SQL statements to create this table and populate it with this data. Also design and...

    Use SQL statements to create this table and populate it with this data. Also design and clearly explain at least ten query scenarios that may be useful on your database. Write SQL syntax to answer each query. A query like this: select count(*) from tableOne, can only be used as one of the ten. Strongly suggested to include some queries using Table Joins, Aggregates, Group By, Order By, and Having. At least one query must use a view Order Details...

  • Physical Geography Laboratory Manal Annual: 21 C (70 F); 161.8 cm (63.6" 3. New Orleans, Louisiana (30 N, 90 w FEB MAR JAN 3.7 14.7em 9.4 m 10.2 om11.9 4.0 46 u. Caroline Islands (SN, 137E) A...

    Physical Geography Laboratory Manal Annual: 21 C (70 F); 161.8 cm (63.6" 3. New Orleans, Louisiana (30 N, 90 w FEB MAR JAN 3.7 14.7em 9.4 m 10.2 om11.9 4.0 46 u. Caroline Islands (SN, 137E) Average Annual: 27-C (51℉: 3962 cmus JAN FEB | MARI APR | MAY | JUN | JUL | AUG | SEP | (OT 14.8" l i1.8-1127 m) 30,0 сн" | 32.3 cm | 19.9. | .14.0. |15.7- 50.5 crn | 35.6 cm | |...

  • integrated mini-case: Disney’s Beta When you go on the web to find a firm’s beta, you...

    integrated mini-case: Disney’s Beta When you go on the web to find a firm’s beta, you do not know how recently it was computed, what index was used as a proxy for the market portfolio, or which time series of returns the calculations used. Earlier in this chapter, it was shown that when we went on the Web to find a beta for Disney, we found the following: MSN Money (1.29) and Yahoo! Finance (1.18). An alternative is to compute...

  • The monthly sales for Yazici Batteries, Inc., were as follows:

    The monthly sales for Yazici Batteries, Inc., were as follows:                                                                                                                                        Month Jan       Feb      Mar     Apr      May     Jun       Jul        Aug      Sept     Oct      Nov      DecSales    19        21        17        14        11        18        16        19        20        20        23        23b) The forecast for the next month (Jan) using the naive method (round your response to a whole number)The forecast for the next period (Jan) using a 3-month moving average approach =(round your response to two decimal places)The forecast for the next period (Jan) using a 6-month weighted average with weights ofandwhere the heaviest weights are applied to the most recent month = (round your response to one decimalplace)Using...

ADVERTISEMENT
Free Homework Help App
Download From Google Play
Scan Your Homework
to Get Instant Free Answers
Need Online Homework Help?
Ask a Question
Get Answers For Free
Most questions answered within 3 hours.
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT