with t1 as ( select account_id, user_id from dbo.sede_users

0

Please login or register to vote for this query.

(click on this box to dismiss)

Islam Meta

Q&A about the site for Muslims, experts in Islam, and those interested in learning more about Islam

with t1
as
(
  select account_id, user_id from dbo.sede_users
  where site_id = 69
),
t2
as
(
  select AccountId as account_id, Id as user_id from Users
)
SELECT 
  *
FROM
t1
inner join 
t2
on t1.account_id = t2.account_id
order by t2.account_id

Enter Parameters

Options:
Switch to main site
loading Hold tight while we fetch your results