Provide the sql to amend the original table design

Assignment Help Database Management System
Reference no: EM13335062

a. Provide ALL of the SQL statements required to insert the details of the following: A customer, John Smith, of 47 Moodle Street, Highwater, WA, 6709, Australia (email: [email protected]) has sold a work of art called "Gorillas in the Mist" by the renowned French artist, Gallic Symbol (b. 1973) to the Gallery (i.e., the Gallery purchased it from him). It is a unique Watercolour on Paper and is 45 * 30cm signed by the Artist. The purchase price was $4500 and the transaction took place on 27th July 2013.

32_table.png


b. You have been given the following specifications of a simple database for a netball association that keeps record of players, teams and matches.

Give the SQL to create the Match table. You may assume that the Player and Team tables have already been created, and that the MatchID,  PlayerID and TeamID colums are of the data type VARCHAR2(5). The result of the match refers to the result for the HomeTeam and can be only W, L or D (win, lose or draw).

c. Your match table must also include a column that records the scores of both teams in the match. Provide the SQL to amend the original table design to allow for this change in requirement. It is most unlikely (impossible) that a team would ever score more than 999 goals in a
match.

Reference no: EM13335062

Questions Cloud

Human capital management and human resources management. : Discuss the key elements in the definition of Human Capital (HC) in relation to differentiating between the study of Human Capital Management and Human Resources Management.
Determine the taxable year of the llc : Determine the taxable year of the LLC under the Code and Regulations and two years after formation of the LLC, Barney sells half of his interest (25%) to Aldrin, Inc. Can the LLC retain the taxable year determined in part (a)? Why or why not?
Will both julia and jacque be better off if she pays him : Julia can fix a meal in 1 hour, and her opportunity cost of one hour is $50. Jacque can fix the same kind of meal in 2 hours, and his opportunity cost of one hour is $20. Will both Julia and Jacque be better off if she pays him $45 per meal to fix he..
State structures for the major monobromination : Write the structures (or name the structures) for the major monobromination products that would be formed from each of the following substrates used. Explain your predictions.
Provide the sql to amend the original table design : You have been given the following specifications of a simple database for a netball association that keeps record of players, teams and matches.
What is the effect of inflation on the financial assets : What is the historic risk of different financial assets of the U.S. economy and what can we do with their historic risk premium. What is the effect of inflation on our financial assets.
Compute price and usage variances for direct materials : Compute price and usage variances for direct materials and compute the direct labor rate and labor efficiency variances - compute the fixed overhead spending and volume variances. Intercept the volume variance
Determine what is the firms after-tax cost of debt : MS Energy has a target capital structure of 30% debt, 10% preferred stock, and 60% common equity. The company's after-tax cost of debt is 5%, its cost of preferred stock is 8%, and its cost of retained earnings is 12%.
What must be the rate of technological progress : If the marginal product of capital net of depreciation equals 10 percent and the rate of population growth equals 2 percent what must be the rate of technological progress for the economy to be at the Golden Rule steady state?

Reviews

Write a Review

Database Management System Questions & Answers

  Prepare table which is in first normal form

Prepare the example of table which is in first normal form but not in second normal form and example of a table which is in second normal form but not in third normal form.

  Describing the select statement

Data processing needs taking or receiving the data from a source and doing something with it. The same can be said about the transaction processing. When working along with a file, whether it be a fixed length.

  Find the entities from the functional requirements

Find the entities from the functional requirements. Entities can come from Nouns in the text, they may also come from forms, reports and legacy code.

  Determine columns that make up the primary key

Carry out the following tasks below by using the correct SQL statements. Create the statements in Oracle by using the following steps (SQL > SQL commands > Enter Command). Determine the columns that make up the primary key of the l_lunch_items tabl..

  Explain the architecture of a system for serving up

Draw a diagram of, and explain the architecture of a system for serving up dynamic pages from a database. Show the protocols involved, the flow of messages and what types of information the messages contain.

  Explain implementing its erp system

As an external consultant, you have been hired by Overstock.com to evaluate the effectiveness of the processes they undertook in implementing its ERP system and to present your evaluation in report format to the CEO Patrick Byrne

  Determine airports with late flights to toronto-database

Determine airports with late flights to Toronto on a big plane. "Late" means departing after 9:00pm; "big" means with capacity 150 passengers or more

  Find average number of books borrowed per member

Find the average number of books borrowed per member. Take into account that if a member does not borrow any books, then that member does not appear in the borrowed relation at all.

  Create database to keep information of movies

Create a database for Ray. He is interested in movies and wants to keep information on movies, actors, and directors in a database. The only user is Ray, and he needs to produce reports.

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Data analysis and definition

What is the business implications that can be drawn from the process of building and comparing these models, and has this practice helped resolve the business issue? Why or why not?

  Which group functions can be used on date values

If the "greater than" comparison operator is used with a multiple-row subquery, what type of result will be returned?

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd