code: def test_complex_logical_expressions(self):
      query = """SELECT id FROM MyVideo
              WHERE DummyObjectDetector(data).label = ['{}']  ORDER BY id;"""
      persons = execute_query_fetch_all(
          self.evadb, query.format("person")
      ).frames.to_numpy()
      bicycles = execute_query_fetch_all(
          self.evadb, query.format("bicycle")
      ).frames.to_numpy()
      import numpy as np
  
      self.assertTrue(len(np.intersect1d(persons, bicycles)) == 0)
  
      query_or = """SELECT id FROM MyVideo \
              WHERE DummyObjectDetector(data).label = ['person']
                  OR DummyObjectDetector(data).label = ['bicycle']
              ORDER BY id;"""
      actual = execute_query_fetch_all(self.evadb, query_or)
      expected = execute_query_fetch_all(
          self.evadb, "SELECT id FROM MyVideo ORDER BY id"
      )
      self.assertEqual(expected, actual)
  
      query_and = """SELECT id FROM MyVideo \
              WHERE DummyObjectDetector(data).label = ['person']
                  AND DummyObjectDetector(data).label = ['bicycle']
              ORDER BY id;"""
  
      expected = execute_query_fetch_all(self.evadb, query_and)
      self.assertEqual(len(expected), 0)
  
imports: import unittest
  from test.util import create_dummy_batches, create_sample_video, create_table, file_remove, get_evadb_for_testing, load_functions_for_testing, shutdown_ray
  import numpy
  import pandas
  import pytest
  from evadb.configuration.constants import EvaDB_ROOT_DIR
  from evadb.models.storage.batch import Batch
  from evadb.readers.decord_reader import DecordReader
  from evadb.server.command_handler import execute_query_fetch_all
label_desc: Use image node_id 6 for calling the SelectExecutorTest obj's underlying member method code with example usage: obj.test_complex_logical_expressions() without return types