I am a noob when it comes to SQL syntax.
I have a table with lots of rows and columns of course :P Lets say it looks like this:
AAA BBB CCC DD
select t1.* from (select * from TABLE Where CCC='D' AND DDD='X') as t1, (select * from TABLE Where CCC<>'D' AND DDD='X') as t2
Another way to do this!