I don't know if this is the right forum, but here goes.
Is it possible to match/compare two sql-queries?
I have an SQL-query which includes some "Or" statements and another which includes some "AND" statements.
I'm quering in the same table in the same db, but I really want to get one output where I get the intersection between query 1 and 2. You can sort of say "3 = 1 AND 2". Get m drift?
Some somewhat a beginner in this SQL stuff so I don't know if all this can be described in one SQL-query?
Thanks
Rasmus
Is it possible to match/compare two sql-queries?
I have an SQL-query which includes some "Or" statements and another which includes some "AND" statements.
I'm quering in the same table in the same db, but I really want to get one output where I get the intersection between query 1 and 2. You can sort of say "3 = 1 AND 2". Get m drift?
Some somewhat a beginner in this SQL stuff so I don't know if all this can be described in one SQL-query?
Thanks
Rasmus