Boston Linux & Unix (BLU) Home | Calendar | Mail Lists | List Archives | Desktop SIG | Hardware Hacking SIG
Wiki | Flickr | PicasaWeb | Video | Maps & Directions | Installfests | Keysignings
Linux Cafe | Meeting Notes | Linux Links | Bling | About BLU

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] Fwd: [OT RTFM]Quick SQL quesiton



And, once again, replying to the group:

---------- Forwarded message ----------
From: Ted Roche <tedroche at gmail.com>
Date: Sat, Oct 5, 2013 at 11:09 AM

Bill:

You've asked a "generic SQL" question, but do realize there is no "generic
SQL" database, so the specific syntax will likely differ from PostgreSQL to
Oracle to MariaDB to SQL Server. What I'd likely try would be:

SELECT *
FROM People
WHERE People.key IN (SELECT Peoplekey FROM Meetings)
OR People.key IN (SELECT Peoplekey FROM Evaluations)

-- 
Ted Roche
Ted Roche & Associates, LLC
http://www.tedroche.com



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org