Pastebin
API
tools
faq
paste
Login
Sign up
SHARE
TWEET
Untitled
a guest
Jan 30th, 2015
192
0
Never
Add comment
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!
SQL
0.17 KB
| None
|
0
0
raw
download
clone
embed
print
report
-- INTERSECT (CON EXISTS)
SELECT
dep
.
ciudad
FROM
departamentos
AS
dep
WHERE
EXISTS
(
SELECT
*
FROM
empleados
AS
emp
WHERE
emp
.
ciudad
=
dep
.
ciudad
)
;
Advertisement
Add Comment
Please,
Sign In
to add comment
Public Pastes
Ironforge Setup Script
Bash | 19 min ago | 5.56 KB
Untitled
2 hours ago | 7.55 KB
Untitled
4 hours ago | 16.16 KB
Untitled
5 hours ago | 8.98 KB
Untitled
6 hours ago | 27.42 KB
Untitled
7 hours ago | 15.07 KB
Untitled
8 hours ago | 26.38 KB
Untitled
9 hours ago | 8.44 KB
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the
Cookies Policy
.
OK, I Understand
Not a member of Pastebin yet?
Sign Up
, it unlocks many cool features!