Describe briefly four built-in functions in sql with example

Assignment Help Computer Engineering
Reference no: EM131493118

Assignment

1. List and describe briefly 4 Built-in functions (aggregate functions) in SQL with examples.

Note: You are required to show how to use these functions inside a SQL query by using an example.

2. You are required to download the database file called "Colonial Adventure Tours" (which is available in Moodle Learning management system), on to your hard drive.

Write SQL queries (do not use QBE) for the following questions and execute the queries using the above database on MS Access. Include screen shots of the outputs and all SQL statements you used to answer following questions (2(a) - 2(e)).

a. List the name, distance and start location for each trip that has the type Hiking and that has the distance greater than 8 miles.

b. List the name of each trip and distance that has the type Paddling or that is located in Poland.

c. Find how many reservations include a trip with a Total price (TripPrice+otherfees ) that is greater than $20 but less than $75.

d. Count the number of trips originate in each state.

e. Create a new table maned "Hiking" that includes TripID, NumPersons from Reservation table and Trip Type, Trip Name columns from Trip table where Trip type is "Hiking" .

3.

a. Describe types of anomalies that may occur on the following table that has redundant data.

b. Propose a suitable solution to overcome anomalies identified in 3(a).

Reference no: EM131493118

Questions Cloud

Discuss neglect channel-length modulation : Determine the noise figure of each circuit in Fig. with respect to a source impedance RS. Neglect channel-length modulation and body effect.
How can the major risks be mitigated : ITEC 602 : MANAGEMENT OF IT SYSTEMS -what are the factors that contribute to a complex project's success and how can the major risks be mitigated?
Determine various project milestones that are within project : determine the various project milestones that are within the project. Describe the review process that will take place at each of these milestones.
What is the marginal utility of each of the goods : Suppose Mary is in consumer equilibrium. The marginal utility of good A is 30, and the price of good A is $2.
Describe briefly four built-in functions in sql with example : List and describe briefly 4 Built-in functions (aggregate functions) in SQL with examples. Propose a suitable solution to overcome anomalies identified in 3(a).
At what price the demand for the good is unitary elastic : Demand Function for a good is given by: P=2000- 50Q At what price the demand for the good is unitary elastic?
Identifying visual data displays : Identifying Visual Data Displays Consider your proposed performance indicators and associated units of measurement
Cost cash balance according to baumol model : What is the total cost for one year of holding the minimum cost cash balance according to the Baumol model?
Draw and explain the effect on the isocost curve : When there are 2 inputs K, L, given the price of capital (PK)= 10 and price of labour (PL)=20. Total Expenditure C=100. Draw and explain the effect.

Reviews

Write a Review

Computer Engineering Questions & Answers

  Mathematics in computing

Binary search tree, and postorder and preorder traversal Determine the shortest path in Graph

  Ict governance

ICT is defined as the term of Information and communication technologies, it is diverse set of technical tools and resources used by the government agencies to communicate and produce, circulate, store, and manage all information.

  Implementation of memory management

Assignment covers the following eight topics and explore the implementation of memory management, processes and threads.

  Realize business and organizational data storage

Realize business and organizational data storage and fast access times are much more important than they have ever been. Compare and contrast magnetic tapes, magnetic disks, optical discs

  What is the protocol overhead

What are the advantages of using a compiled language over an interpreted one? Under what circumstances would you select to use an interpreted language?

  Implementation of memory management

Paper describes about memory management. How memory is used in executing programs and its critical support for applications.

  Define open and closed loop control systems

Define open and closed loop cotrol systems.Explain difference between time varying and time invariant control system wth suitable example.

  Prepare a proposal to deploy windows server

Prepare a proposal to deploy Windows Server onto an existing network based on the provided scenario.

  Security policy document project

Analyze security requirements and develop a security policy

  Write a procedure that produces independent stack objects

Write a procedure (make-stack) that produces independent stack objects, using a message-passing style, e.g.

  Define a suitable functional unit

Define a suitable functional unit for a comparative study between two different types of paint.

  Calculate yield to maturity and bond prices

Calculate yield to maturity (YTM) and bond prices

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