Hello
i have a table consisting of word_nr (key) and example_nr. Now i want to find out how many entries for example_nr are returned where word_nr=x and word_nr=y. So i made something like:
Even though that i know that there is at least one entry for example_nr with word_nr = x and word_nr = y, the result for the query is 0. Am i doing something wrong here?
i have a table consisting of word_nr (key) and example_nr. Now i want to find out how many entries for example_nr are returned where word_nr=x and word_nr=y. So i made something like:
Code:
SELECT count(*)
FROM mytable WHERE word_nr=x and word_nr=y