Advertisement
Guest User

Untitled

a guest
Aug 18th, 2018
70
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
SQL 0.22 KB | None | 0 0
  1. SELECT U.*
  2. INTO #IsraelFBusers
  3. FROM Users U
  4. WHERE U.Country=Israel
  5.  
  6. SELECT  DISTINCT P.Page_ID, P.Page_name
  7. FROM #IsraelFBusers U INNER JOIN Likes L ON (U.User_ID=L.User_ID) INNER JOIN Pages P ON (P.Page_ID=L.Page_ID)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement