Solved

Is there a division operator in PostgreSQL?

Posted on 2004-03-29
5
1,845 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
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

Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
This article describes some very basic things about SQL Server filegroups.
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…

914 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

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now