1answer.
Ask question
Login Signup
Ask question
All categories
  • English
  • Mathematics
  • Social Studies
  • Business
  • History
  • Health
  • Geography
  • Biology
  • Physics
  • Chemistry
  • Computers and Technology
  • Arts
  • World Languages
  • Spanish
  • French
  • German
  • Advanced Placement (AP)
  • SAT
  • Medicine
  • Law
  • Engineering
MAXImum [283]
1 year ago
6

Write and execute a query that will determine the average number of days that automobiles are rented. Show your result broken ou

t by makes. Do not include an automobile if it has not yet been returned.
Computers and Technology
1 answer:
denpristay [2]1 year ago
7 0

Using the knowledge in computational language in SQL it is possible to write a code that query that will determine the average number of days that automobiles are rented

<h3>Writting in SQL:</h3>

<em>select Customer.CID,CName,Age,Resid_City,BirthPlace,</em>

<em>Rentcost.Make,Cost,Rentals.Rtn,Date_Out,Pickup,Date_returned,Return_city</em>

<em>from Customer,Rentcost,Rentals where</em>

<em>Customer.CID=Rentals.CID and Rentcost.Make=Rentals.Make</em>

<em>order by Customer.CID, Rentcost.Make asc;</em>

<em />

<em>select Customer.CID,CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Pickup='Cary';</em>

<em />

<em>select distinct(CName),age from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Return_city='Erie' order by CName asc;</em>

<em />

<em>select Customer.CID,CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Return_city is null;</em>

<em />

<em>select CName from Customer,Rentals where Customer.CID=Rentals.CID</em>

<em>and Resid_City=Pickup;</em>

See more about SQL at brainly.com/question/13068613

#SPJ1

You might be interested in
Draw the 2-3 tree that results when you insert the keys E A S Y Q U T I O N in that order into an initially empty tree
mr_godi [17]

Answer:

If its any easy question, answer it yourself.

Explanation:

:)

6 0
2 years ago
What is shouting pertaining to the internet
Ludmilka [50]
Hi!

What is considered shouting on the internet is when WHEN YOU TYPE IN ALL CAPS LIKE THIS!!! Doing this seems to make the words appear louder and more prominent. You can also add more emphasis to ALL CAP words by adding ***ASTERISKS***.
8 0
3 years ago
Which of the following is not a use of a hash function
soldi70 [24.7K]

Answer:

the answer would be there

Explanation:

7 0
2 years ago
What is the name of the book farrah gray published in 2005??
seropon [69]
He wrote Reallionaire
8 0
3 years ago
An Inspect and Adapt (I&amp;A) event is occurring and a program is trying to address a long-existing problem (WIP)?"unreliable P
ASHA 777 [7]

The aspect Of the program that causes uncontrollable amounts of work in process is that Teams do not do a good job of task switching.

<h3>What is task switching?</h3>

Task switching or task interleaving is known to often take place if a task is voluntarily or involuntarily stopped so as to listen  to another task.

In the case above, The aspect Of the program that causes uncontrollable amounts of work in process is that Teams do not do a good job of task switching.

Learn more about task switching from

brainly.com/question/12977989

#SPJ1

7 0
1 year ago
Other questions:
  • When an object is selected, it is surrounded by ________, which allow you to change the size of the object.?
    5·1 answer
  • ______________ is only one of the marketing mix tools that acompany uses to achieve its marketing objectives.
    7·1 answer
  • What can I do if my mouse on my laptop keeps freezing on me for 5 minutes
    11·1 answer
  • You don't have policies that force settings for the look of users' computer desktops. Each user's chosen desktop settings are ap
    15·2 answers
  • Kelly is a college sophomore majoring in computer science. She is interested in gaining exposure to the most useful and current
    13·1 answer
  • Assume that strikeCounter has already been declared to be a "pointer to int". Assume further that strikeCounter has been initial
    5·1 answer
  • How many nibbles make one kilobyte​
    7·2 answers
  • Can you move it like this? I can shake it like that
    6·1 answer
  • Which of the following statements about interpreting colors are true? Select 3 options.
    11·1 answer
  • Which of the following is not a reason to choose a community college?
    14·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!