select * from content where 
title like '%上海%' or 
title like '%北京%' or 
title like '%天津%' or 
title like '%重庆%' 
order by rand() limit 1我在做一个根据地区随机显示广告的功能,
数据可能十万条左右中查询,不知道如果在提高效率,希望指教,谢过