Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

Tuple/Domain Calculus Functions

Posted on 2011-03-06
2
449 Views
Last Modified: 2012-05-11
In tuple/domain calculus, can I use the functions AVERAGE, COUNT, SUM, MAXIMUM, and MINIMUM, or do I need to do something else?
0
Comment
Question by:JCW2
2 Comments
 
LVL 15

Accepted Solution

by:
derekkromm earned 500 total points
ID: 35051172
sure

you typically use them in conjunction with groupings

so, for example, if you want a list of employees and their total expenses, it'd look like

select employeeid, sum(expense) from expenses group by employeeid

0
 

Author Closing Comment

by:JCW2
ID: 35059483
Thank you for your help.
0

Featured Post

Resolve Critical IT Incidents Fast

If your data, services or processes become compromised, your organization can suffer damage in just minutes and how fast you communicate during a major IT incident is everything. Learn how to immediately identify incidents & best practices to resolve them quickly and effectively.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
New and Previous Values in a Query 7 30
MySQL Query Using Up Memory 6 43
SQL Syntax 24 43
Current Month Filter in Visual Studio 10 19
Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
This article provides a brief introduction to tissue engineering, the process by which organs can be grown artificially. It covers the problems with organ transplants, the tissue engineering process, and the current successes and problems of the tec…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

808 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question