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

  Knowledge and data warehousing

Design a dimensional model for analysing Purchases for Adventure Works Cycles and implement it as cubes using SQL Server Analysis Services. The AdventureWorks OLTP sample database is the data source for you BI analysis.

  Design a database schema

Design a Database schema

  Entity-relationship diagram

Create an entity-relationship diagram and design accompanying table layout using sound relational modeling practices and concepts.

  Implement a database of courses and students for a school

Implement a database of courses and students for a school.

  Prepare the e-r diagram for the movie database

Energy in the home, personal energy use and home energy efficiency and Efficient use of ‘waste' heat and renewable heat sources

  Design relation schemas for the entire database

Design relation schemas for the entire database.

  Prepare the relational schema for database

Prepare the relational schema for database

  Data modeling and normalization

Data Modeling and Normalization

  Use cases perform a requirements analysis for the case study

Use Cases Perform a requirements analysis for the Case Study

  Knowledge and data warehousing

Knowledge and Data Warehousing

  Stack and queue data structure

Identify and explain the differences between a stack and a queue data structure

  Practice on topic of normalization

Practice on topic of Normalization

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