我有两个SQLb : SQLa和SQLb。SQLa从数据库中选择最新的9篇文章。另一种方法也是这样做的,但通过视图计数来订购文章。因此,我希望第二个SQL,即SQLb,不要选择在第一个SQL (SQLa)中选择的文章。$sqlb = "SELECT post_id, title, post_img, cnt FROM post ORDER BY cnt DESC LIMIT 9;";
我试图指定一个可以排除某些结果的模式。给出这篇文章:The Territory for the Titles shall be the United States, its territories and possessions, excluding Puerto Rico,我正在寻找一种只提取the United States的方法,因为它是一个GPE,并且不被排除。
我试着写一个像[{'LEMMA': 'exclude', 'OP': '!'}, {'ENT_TYPE': 'GPE', '