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
How can you know if the person or organization providing the information has the credentials and knowledge to speak on this topi
Minchanka [31]

Answer:

The affiliation of the writer is that She is on the staff at the Center for Food Safety (CFS).

Explanation:

CFS stands for the Center for Food Safety which is the national non-profitable public environmental and interest advocacy organization that is working for protect the human health and environment by the curbing use of the harmful food productions technologies and by the promoting an organic and other form of the sustainable agriculture.

7 0
2 years ago
*hacked*
galben [10]

Hey Litz06,

Sorry that happened to you.

Try changing your password to something complicated so it’s more secure.

5 0
3 years ago
What is the legal right granted to all authors and artists that gives them sole ownership and use of their words, software, pict
ICE Princess25 [194]

Answer:

copyright

Explanation:

3 0
3 years ago
Cual es el procedimientos para asistir en el transporte publico a personas discapacitadas
artcher [175]

Answer:

Una discapacidad física o motora en una o más partes del cuerpo obstaculiza las acciones y / o movimientos de la persona con discapacidad. La discapacidad puede surgir porque las partes del cuerpo no han crecido completamente o están dañadas (anomalías físicas) o porque las funciones físicas están alteradas (anomalías funcionales).

En la mayoría de los casos, se proporciona una ayuda a las personas con discapacidades físicas graves para que puedan desenvolverse más fácilmente en la sociedad. Alguien con una discapacidad motora severa en las piernas a menudo usa una silla de ruedas. Las personas con una discapacidad motora de las manos (pérdida de la motricidad fina) o de los brazos pueden compensar esto con un manipulador o ayudas especializadas en tareas, como un dispositivo para comer o un dispositivo para girar las hojas.

Así, todos estos elementos deben ser posibles de ser insertados en los medios de transporte público como forma de ayudar a estas personas a trasladarse por estos medios, es decir, los autobuses, trenes, etc., deben estar adaptados para poder recibir allí a pasajeros en sillas de ruedas o con necesidades motoras especiales.

7 0
2 years ago
Select the correct answer. Marie uses a browser to visit a blog. How is the blog uniquely identified? A. web page B. website C.
damaskus [11]

Answer:

I belive the answer is E

Explanation:

8 0
2 years ago
Other questions:
  • What does this say:<br> √ans
    6·2 answers
  • What internet service provider first dominated the internet in the 1990s?
    15·1 answer
  • URLs are directions that browsers follow in order to find specific web page files. What is the first part of the URL that is the
    14·1 answer
  • If you want to open the Navigation pane to do a Find, what should you first click on the Home tab? Paragraph, Editing, Styles, o
    15·1 answer
  • When entering a expressway using a weave lane you must do what
    7·1 answer
  • The list method reverse reverses the elements in the list. Define a function named reverse that reverses the elements in its lis
    10·1 answer
  • You are a running cable in a new network. You are running a series of cables from the wiring closet to the RJ-45 ports for the c
    6·1 answer
  • TRUE AND FALSE
    10·1 answer
  • You are sending Secret information to a colleague located at another office. You want to give him some background information an
    15·1 answer
  • Create a function that takes an integer array as input and a value and returns a POINTER to the number of times the value appear
    13·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!