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]
2 years 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]2 years 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
Body LanguageWhat are the nonverbal communications mentioned in the video? And how the video explained the meaning of these?
Fittoniya [83]

Answer:

Body language is a type of nonverbal communication in which physical behaviors, as opposed to words, are used to express or convey the information. Such behavior includes facial expressions, body posture, gestures, eye movement, touch and the use of space.

Explanation:

hope this helps

3 0
3 years ago
What do you think is the most fascinating aspect of the internet
kari74 [83]
The 20th century seemed to be the year of a complete freedom once the Internet has been spread worldwidely. Unfortunately, it only seemed to be a trial to see various reactions. The 21st century will change this gradually.
6 0
3 years ago
What is the difference between closed and open questions????
Juliette [100K]
Here is some information for you about the difference between open and closed questions. :)

7 0
3 years ago
What is shortcuts to launch spelling in ​
hichkok12 [17]

Answer:

Just hit Alt + F7 on your keyboard and it will start with the first misspelled word. If the first highlighted word at the top of the list is correct, just hit Enter. Or you can arrow to the correct one, ignore it, or Add to Dictionary.

5 0
3 years ago
Coding help, if you give my the correct answer I'll give brainliest, plus 30 points...
otez555 [7]

Answer:

Flavors [4]..............

7 0
3 years ago
Other questions:
  • Describe how you center text.
    7·2 answers
  • With which type of social engineering attack are users asked to respond to an email or are directed to a website where they are
    9·1 answer
  • To save a file so that it can be opened on most computers, select the ____ option.
    10·2 answers
  • What are the benefits of team collaboration?
    13·2 answers
  • If you see a diamond-shaped sign, it will be what type of sign?
    14·2 answers
  • Rachel needs to include a new organizational chart in her project. Which type of illustration should she use?: *
    11·1 answer
  • What is the highest numeral in a binary code?
    5·1 answer
  • ____________________________ and _________________________ are 2 positive impacts of the internet on businesses.
    14·2 answers
  • Who is the father of computer ethics?​
    7·1 answer
  • Who is the best basketball player ever... if you do not say lebron do not comment
    5·1 answer
Add answer
Login
Not registered? Fast signup
Signup
Login Signup
Ask question!