Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Relational Algebra

Posted on 2004-10-10
6
Medium Priority
?
1,175 Views
Last Modified: 2008-02-26
Is there a way I can test relational algebra operations online?  If so, what is the website.  Can I use relational algebra in MySQL or MS Access?

I'd like to verify my operations will yield what I think they will yield.

Thanks.
0
Comment
Question by:jello32
[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
  • 3
  • 2
6 Comments
 
LVL 15

Expert Comment

by:jdlambert1
ID: 12272073
You can do it in any environment that allows you to create and manipulate variables, which means programming, more than databases, though you can certainly use data in a database in your operations.

Access allows you to program in VBA -- Visual Basic for Applications.
MySQL doesn't provide for stored procedures (programming commands added to SQL) in the released version, but it will be available in version 5, which can already be downloaded in a beta test.
SQL Server and Sybase use Transact-SQL (T-SQL) in stored procedures.
Oracle uses PL/SQL in stored procedures.
DB2 uses IBM-SQL in stored procedures.
0
 

Author Comment

by:jello32
ID: 12272106
if I program it, then it's not exactly the operations.

For example if I have the following relational tables:
PERSON(Name, Hometown)
GROWS(Hometown, Flower)
ALLERGIES(Name, Flower)

and I want to do

PERSON / ALLEGIES

where / is division, then I'd have to program what division does. Is that right? So that would be subject to logic errors.  I was wondering if I can input the relations, select the table names and operations and see the results.
0
 
LVL 2

Accepted Solution

by:
vorb1s earned 200 total points
ID: 12276040
If you want to know more about relational Algebra, try this web: http://db.grussell.org/section010.html
There is also something for online testing under link: Online SQL
0
Veeam Task Manager for Hyper-V

Task Manager for Hyper-V provides critical information that allows you to monitor Hyper-V performance by displaying real-time views of CPU and memory at the individual VM-level, so you can quickly identify which VMs are using host resources.

 
LVL 15

Expert Comment

by:jdlambert1
ID: 12276421
You can't do mathmatical operations between tables, but you can between columns, if the columns are numeric data types. E.g., if Price and Tax are decimal values, then you can put (Price * Tax) or (Price/Tax) in your SELECT statement.
 
0
 

Author Comment

by:jello32
ID: 12281034
jdlambert1 division is a relational algebra operation.

vorb1s - thanks. that site has a says in the future they'll put up online testing for relational algebra.  It's sorely needed.
0
 
LVL 15

Expert Comment

by:jdlambert1
ID: 12281369
>division is a relational algebra operation
Yes, that's why I gave an example of dividing one column's values by another column's values.
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Recently I was talking with Tim Sharp, one of my colleagues from our Technical Account Manager team about MongoDB’s scalability. While doing some quick training with some of the Percona team, Tim brought something to my attention...
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…
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…
In this video, Percona Solution Engineer Dimitri Vanoverbeke discusses why you want to use at least three nodes in a database cluster. To discuss how Percona Consulting can help with your design and architecture needs for your database and infras…
Suggested Courses

636 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