How JustAnswer Works:

  • Ask an Expert
    Experts are full of valuable knowledge and are ready to help with any question. Credentials confirmed by a Fortune 500 verification firm.
  • Get a Professional Answer
    Via email, text message, or notification as you wait on our site.
    Ask follow up questions if you need to.
  • 100% Satisfaction Guarantee
    Rate the answer you receive.

Ask John Your Own Question

John, Engineer
Category: Homework
Satisfied Customers: 798
Experience:  Bachelors Degree
Type Your Homework Question Here...
John is online now
A new question is answered every 9 seconds

Assignment 3COSC 2307Assignment 3 Due date: Nov 10thPart

This answer was rated:

Assignment 3
COSC 2307
Assignment 3
Due date: Nov 10th
Part 1 (total 30 marks)
1. You are asked to create a new table called “part2” which has the same column definitions as the table “part” you created in assignment2. However, you should not copy the data contained in the course. How do you create a copy of the “part” table without copying its data contents (4 marks)?
1. What is the length of values defined for city column. Modify the length of “city” in the table “suppliers” (4 marks).
1. Are there any constraints defined for the above tables (table suppliers (S), supplier-part (SP), parts? (P) In order to find out, try to search through the USER_CONSTRAINTS table. ( 4 marks)
1. Add the following constraints for the tables (each 3 marks, total 18 marks):
- s# ***** ***** primary key for table “S”
- s#, p# ***** ***** primary key for the table “SP”
-p# ***** table “P” should be unique
- the primary key of the “S” table is posted as foreign key in the tables “SP”
- SNAME in table “S” may not be NULL
- the columns “qty” in table “SP”, “weight” in table “P” should be larger than 0.
Part 2: Write appropriate SQL for the following English queries. Use the SPJ datasheet for reference (each carries 5 marks, total 70 marks)
1. Get the names of parts whose weight is between 10 and 15
2. Which supplier supplied what parts to the 'Sorter' job?
3. Which jobs require red parts?
4. Get the names of the suppliers who never supplied anything in 1999
5. Which supplier supplied the most parts ever?
6. What is the total quantity of parts ordered for the 'Sorter' job?
7. What are the parts that 'Adam' ever supplied?
8. What is the most recently shipped job?
9. What is the total weight of a 'Terminal'?
10. Which supplier has the lowest status?
11. What is the total weight of all the parts?
12. Which of the jobs had all the parts from the same city?
13. Get the names of the parts required to finish the 'Tape' job
14. Which city had the maximum number of parts originating from it?
For part 1, turn in a copy of all of your SQL commands, along with a script illustrating their execution (by using paste your terminal output and save it in a file or any other way). Your script should be sufficient to convince us that your commands run successfully.
For part 2, you only need to type in your SQL statements into word file. No needed for the execution screen.
At the bottom of this screen you will see a text field and two buttons, one labeled 'Browse' and the other labeled 'Upload this File'. Use the Browse button first to locate the Word document file which you are ready to submit. Then use the Upload button to submit it to the system for grading.
Note: The CMS permits only one file to be uploaded for each project. Be aware that if you choose later to upload a second file for the same project, the new one will overwrite the existing one.
thanks for your question
I am John
I will help you

upload all files and details to and send me the Download link or file id
Customer: replied 2 years ago.


Table SPJ

the deadline on Wednesday, 13 November 2013, 2:50 PM

i will do this , when do you need this
Customer: replied 2 years ago.

tonight if you can

Customer: replied 2 years ago.


see you
Customer: replied 2 years ago.

how's everything so far ?

i just wanna remind you that the deadline on 13 NOV 2013 at 1 P.M


going to finish
Customer: replied 2 years ago.

okay i'm waiting you


ok then
Customer: replied 2 years ago.
how's everything so far ?

You need to spend $3 to view this post. Add Funds to your account and buy credits.
John, Engineer
Category: Homework
Satisfied Customers: 798
Experience: Bachelors Degree
John and 2 other Homework Specialists are ready to help you
Customer: replied 1 year ago.

can you re-upload it

the above answer
Customer: replied 1 year ago.

Can you help me wiith this assignment

i will check this
Customer: replied 1 year ago.


JustAnswer in the News:

Ask-a-doc Web sites: If you've got a quick question, you can try to get an answer from sites that say they have various specialists on hand to give quick answers... seen a spike since October in legal questions from readers about layoffs, unemployment and severance.
Web sites like
...leave nothing to chance.
Traffic on JustAnswer rose 14 percent...and had nearly 400,000 page views in 30 days...inquiries related to stress, high blood pressure, drinking and heart pain jumped 33 percent.
Tory Johnson, GMA Workplace Contributor, discusses work-from-home jobs, such as JustAnswer in which verified Experts answer people’s questions.
I will tell you that...the things you have to go through to be an Expert are quite rigorous.

What Customers are Saying:

  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
< Previous | Next >
  • Wonderful service, prompt, efficient, and accurate. Couldn't have asked for more. I cannot thank you enough for your help. Mary C. Freshfield, Liverpool, UK
  • This expert is wonderful. They truly know what they are talking about, and they actually care about you. They really helped put my nerves at ease. Thank you so much!!!! Alex Los Angeles, CA
  • Thank you for all your help. It is nice to know that this service is here for people like myself, who need answers fast and are not sure who to consult. GP Hesperia, CA
  • I couldn't be more satisfied! This is the site I will always come to when I need a second opinion. Justin Kernersville, NC
  • Just let me say that this encounter has been entirely professional and most helpful. I liked that I could ask additional questions and get answered in a very short turn around. Esther Woodstock, NY
  • Thank you so much for taking your time and knowledge to support my concerns. Not only did you answer my questions, you even took it a step further with replying with more pertinent information I needed to know. Robin Elkton, Maryland
  • He answered my question promptly and gave me accurate, detailed information. If all of your experts are half as good, you have a great thing going here. Diane Dallas, TX

Meet The Experts:

  • LogicPro



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
< Last | Next >
  • LogicPro's Avatar



    Satisfied Customers:

    Expert in Java C++ C C# VB Javascript Design SQL HTML
  • Manal Elkhoshkhany's Avatar

    Manal Elkhoshkhany


    Satisfied Customers:

    More than 5000 online tutoring sessions.
  • Linda_us's Avatar


    Finance, Accounts & Homework Tutor

    Satisfied Customers:

    Post Graduate Diploma in Management (MBA)
  • Chris M.'s Avatar

    Chris M.

    M.S.W. Social Work

    Satisfied Customers:

    Master's Degree, strong math and writing skills, experience in one-on-one tutoring (college English)
  • F. Naz's Avatar

    F. Naz

    Chartered Accountant

    Satisfied Customers:

    Experience with chartered accountancy
  • Bizhelp's Avatar



    Satisfied Customers:

    Bachelors Degree and CPA with Accounting work experience
  • Seanna's Avatar



    Satisfied Customers:

    3,000+ satisfied customers, all topics, A+ work