Solved

Is there a division operator in PostgreSQL?

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

When it comes to protecting Oracle Database servers and systems, there are a ton of myths out there. Here are the most common.
In this series, we will discuss common questions received as a database Solutions Engineer at Percona. In this role, we speak with a wide array of MySQL and MongoDB users responsible for both extremely large and complex environments to smaller singl…
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…
This is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…

617 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