In my table I have (LocID) which is my PK and I am trying to narrow it down to specific 4, however when I run the query below I get only one answer. What needs to be fixed in this query?
-- second we find out the name of the locations
select name from location where locid = 524 and 512 and 505 and 506 ;