Cognizant interview question

Show SQL queries with AND OR NOT operator