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

  Convert table to equivalent collection of tables

determine the functional dependencies that exist in the following table. After determining the functional dependencies, convert this table to an equivalent collection of tables.

  When would creating an index reduce overall database perform

Indexing can affect the performance of a general-purpose database that has roughly equal numbers of fetches and changes. The decision to add an index can improve the performance of a system but can also degrade it.

  Number of leaf-level blocks needed if blocks are full

What is the order P of the B+-tree if B+-tree access structure on the key is constructed? What is the number of leaf-level blocks needed if blocks are approximately 69% full (round up for convenience)?

  Implement an application on an ipad and android tablet

Due to the tight deadline, the project team was assembled quickly with ten (10) team members of various backgrounds. There are three (3) offshore developers in India and two (2) QA testers in San Francisco, CA.

  Design a case for other student to investigate

You need to design a CASE for other student to investigate. As an example; at the end of this week you should generate the following materials: A case description.

  Create an employee database

Create a report that contains the above data - be sure to include a Hampton University logo in your report.

  Use javascript to ensure that an entry has been made

When the database is set up it should be populated with the data that you have chosen. Display this data as part of your documentation. Each table should have from 3 to 6 records initially.

  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.

  Create a function

Create a function that returns the day of the week for a specified date. Create a trigger that displays the message "Emp table updated" when an update to the employee table increases the employee's basic salary.

  Role and tasks performed by database administrator

In 250 - 300 words describe role of a database administrator and the tasks performed by this role. Also, describe why this role is important in Database Management.

  Write sql statements to calculate average salary

Write SQL statements that do the following: Calculate the average salary for all employees. Calculate the maximum salaries for exempt and non-exempt employees.

  Explain why data flow diagrams are developed in a hierarchy

Explain why data flow diagrams are developed in a hierarchy? What are the names of some levels in the hierarchy?

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