Solved

Is there a division operator in PostgreSQL?

Posted on 2004-03-29
5
1,885 Views
Last Modified: 2006-11-17
Hi experts,

I am a postgresql newbie and i just wondering what is the division operator in postgresql (7.3.2).
I would like to use in a statement that can select person who has completed all the tasks.

thank you

r6
0
Comment
Question by:R6
[X]
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
5 Comments
 
LVL 22

Accepted Solution

by:
Helena Marková earned 25 total points
ID: 10711581
In Oracle it is
/
you can try ...
0
 
LVL 8

Assisted Solution

by:HaydnH
HaydnH earned 25 total points
ID: 10711938
Yes it is "/", for more mathmatical operators have a look at the PostgreSQL documentation @:

    http://www.postgresql.org/docs/7.2/static/functions-math.html

Haydn.
0
 

Author Comment

by:R6
ID: 10712604
hi Henka & HaydnH,

thanks for helping me!

what i after is the division operator of relational algebra that is defined on instances of relation schema.
Here is what i want to achieve:
Eg.

R

name | task          
-----+------
eric    | A
-----|-------
eric    | B
-----|-------
eric    | C


S
task
----
A
----
B

R/S

name
-----
eric



thank you

r6



0

Featured Post

Efficient way to get backups off site to Azure

This user guide provides instructions on how to deploy and configure both a StoneFly Scale Out NAS Enterprise Cloud Drive virtual machine and Veeam Cloud Connect in the Microsoft Azure Cloud.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
MS Access populate a field based on 2 other form fields 14 64
Exchnage 2013 Database - Dirty Shutdown 4 102
error in oracle form 11 53
Displaying images within Access Form 6 76
These days, all we hear about hacktivists took down so and so websites and retrieved thousands of user’s data. One of the techniques to get unauthorized access to database is by performing SQL injection. This article is quite lengthy which gives bas…
A Stored Procedure in Microsoft SQL Server is a powerful feature that it can be used to execute the Data Manipulation Language (DML) or Data Definition Language (DDL). Depending on business requirements, a single Stored Procedure can return differe…
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…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

734 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