KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I need help with my SELECT . I got a field that can be NULL and in it there is stored a foreign-key. SELECT * FROM beerImage WHERE beerBRewID = brewID AND beerBrandID = beerID <--- this can be NULL So if it's NULL nothing happens. How can I check if beerID is NOT NULL so I can use "beerBrandID = beerID" ?
Tags (comma-separated)
Save Edits
Cancel