A
Anonymous
Guest
Hello everybody,
I'm in need of a query wich retrieves several values out of 1 table field.
I already have this, but this gives me the wrong answer:
select * from accommodatie a, accommodatie_faciliteit f where a.accommodatiecode = f.accommodatiecode and f.faciliteitnr = (1 and 7);
This query shows all the accommodations wich have faciliteitnr 1. While I need all the accommodations wich have faciliteitnr 1 and 7.
Does anybody know the answer to this?
Greetz Helgo.
I'm in need of a query wich retrieves several values out of 1 table field.
I already have this, but this gives me the wrong answer:
select * from accommodatie a, accommodatie_faciliteit f where a.accommodatiecode = f.accommodatiecode and f.faciliteitnr = (1 and 7);
This query shows all the accommodations wich have faciliteitnr 1. While I need all the accommodations wich have faciliteitnr 1 and 7.
Does anybody know the answer to this?
Greetz Helgo.