I have two tables:
fID Enamn Fnamn bdate
1 Ronge Paus 49-05-14
2 Nesser Håk 50-07-26
3 Bods Thomas 51-05-02
And
ISBN cathegory
123 Prosa
456 Poesi
789 Thriller
I am trying to select by date and cathegory. The writer shoult be born before year "1950" and the cathegory should be "Poesi"
The result should be:
ISBN cathegory fID Enamn Fnamn bdate
456 poesi 1 Ronge Paus 49-05-14
I have tried the followin:
SELECT *
FROM bok, författare
WHERE bdate BETWEEN #01/01/40# AND #01/01/50# AND kategori = 'poesi'
But it didn't work :(