Below is my query, I am fairly new to sql so my understanding is not the best. I want my query results to only give me the names I specify within my 'where' statement. Below in my query there are 4 activity names, 1 team name, and 1 date range ( 3 different colums, the 4 activities are found in the column 'name'). It has to match all these conditions.
My query works up until the second name that I specify within my 'where' statement.
Query:
SELECT *
FROM databse1.dbo.table1
where team_name = 'CTM Tier 2'
        and date >= '2018-02-01' and date <= '2018-02-28'
        and name = 'Post Vet 460' 
        and name = 'Post Vet CA Complex'
        and name = 'Post Vet CA Standard'
        and name = 'Post Vet CAA'
There query runs fine up until (and name = 'Post Vet 460'), but if I run the query as a whole it gives me blank results. Am I supposed to use a case when statement in this situation, all suggestions and tips are greatly appreciated thanks!
 
     
     
     
    