select id from category where LCASE(link)='heartburn' or LCASE(name)='heartburn'