Add a new customer to the database.

Assignment Help Programming Languages
Reference no: EM13930271

4.1) Consider the insurance database below, where the primary keys are underlines. Construct the following SQL queries for this

relational database.

INSURANCE DATABASE

Person ( ss#, name, address)

Car (license, year, model)

Accident (data, driver, damage - amount)

Owns (ss#, license)

Log (license, date, driver)

a.) Find the total number of people whose cars were involved in accidents in 1989.

b.) Find the number of accidents in which the cars belonging to "John Smith" were involved.

c.) Add a new customer to the database.

d.) Delete the Mazda belonging to "John Smith".

e.) Add a new accident record for the Toyota belonging to "Jones".

Attachment:- MY SQL.docx

Reference no: EM13930271

Questions Cloud

What is limitations of the beck depression inventory ii : What is the usefulness and limitations of the Beck Depression Inventory II (BDI-II)? To whom would it be appropriate to administer this test and what changes could potentially be made to make this assessment more appropriate to use with a wider po..
Determine magnitude and direction of friction force : Determine the magnitude and direction of the friction force F exerted by the horizontal surface on the crate.
What type of join is used between the tables : Which tables are used in the query?
Identify challenges of being meyes briggs type isfp : Identify strengths, weakness, and challenges of being Meyes Briggs type ISFP. ISFP is a person who is quiet, friendly, sensitive, and kind. They enjoy the present moment and what's going on around them.
Add a new customer to the database. : Find the total number of people whose cars were involved in accidents in 1989.
Research project focused on how effective is osmotic : Create a "mini-proposal" which outlines a research project focused on how effective is osmotic communication. Utilize a case study qualitative method.
Statistics and histograms for the variables : In preparing your report you must address the following questions: (a) Obtain summary statistics and histograms for the variables WAGE and EDUC. Discuss the data characteristics.
What is the best instrument available to psychologists : What is the best instrument available to psychologists to test personality? Why? Can personality tests be skewed by the individual being tested? Why or why not?
Analyze the factors that affect perceptual learning : Explain the concept of habituation. Analyze the factors that affect perceptual learning. Examine the effects of stimulus exposure.

Reviews

Write a Review

Programming Languages Questions & Answers

  Write a program that receive the values of three boolean

Write a program that receive the values of three boolean varibles,a,b,and c,from standard input and determines if the value of the condition !(xx || xx) &&xx

  Create a program to draw image of archery target

Assume that you have been hired to produce a program which draws the image of the archery target-or, if you prefer commercial applications, a logo for national department store.

  Function to responds- to click anywhere on page-display box

Write a function that responds to a click anywhere on the page by displaying an alert dialog. display the event name if the user held shift during the mouse click.

  Compute and display number of miles per hour

Once correct data has been entered, the program muts compute and display number of miles per hour over the speed limit that the driver was doing.

  Write down a method which is passed string argument

Write down a method, getFirstLine, which is passed a String argument and that returns first line. (Recall that lines are terminated with the "n" character.)

  Implement class to simulate growth of roach population

Implement a class RoachPopulationthat simulates the growth of a roach population. The constructor takes the size of the initial roach population.

  Write temperature conversion application

Write down a temperature conversion application which converts from Fahrenheit to Celsius. Fahrenheit temperature must be entered from keyboard.

  Write program to instantiate objects of inherited classes

X-Y coordinate pairs for four endpoints of Quadrilateral. Write program which instantiates objects of the classes and outputs each object's area.

  Find out probability at any given time user transmitting

Assume there are 20 users. Determine probability that at any given time, exactly n users are transmitting simultaneously. Determine the probability that there are 11 or more users transmitting simultaneously.

  Develop program that simulates section of a restaurant menu

Develop a console program that simulates a section of a restaurant menu. Each item will have a different price and your program should define at least ten (10) items. You will need to obtain an order from the user who should provide their menu sel..

  Discuss what is meant by low-level programming

Discuss what is meant by "low-level" programming. What are the advantages of assembly language over higher-level languages for this type of programming?

  Write a program to enter any number of integers in array

Write a program which permits a user to enter any number of integers, which are then stored in the array. After user enters integers, perform the following operations on array.

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