SQL 手册SQL 函数Bitmap 函数bitmap_and_not本页总览bitmap_and_notbitmap_and_notdescriptionSyntaxBITMAP BITMAP_AND_NOT(BITMAP lhs, BITMAP rhs)将两个bitmap进行与非操作并返回计算结果。examplemysql> select bitmap_count(bitmap_and_not(bitmap_from_string('1,2,3'),bitmap_from_string('3,4,5'))) cnt;+------+| cnt |+------+| 2 |+------+keywordsBITMAP_AND_NOT,BITMAP