Welcome Guest, Not a member yet? Register   Sign In
I feel stupid asking this question
#11

[eluser]alboyd[/eluser]
[quote author="kgill" date="1251685141"]Just as a follow up, read up on subqueries, unless there's something I'm missing here - there's no reason you had to do this in two different queries.

Code:
select * from table1
where username NOT IN (select username from table2)
[/quote]

Good point!




Theme © iAndrew 2016 - Forum software by © MyBB