1.查询数据
echo -e "select count(1) from sentinel_dev.metric where app=‘sentinel-dashboard‘ and id=1141889973611356200"|/cratedb/crash --host=192.168.1.129:4200
2.删除数据
echo -e "delete from sentinel_dev.metric where app=‘sentinel-dashboard‘ and id=1141889973611356200"|/cratedb/crash --host=192.168.1.129:4200
原文:https://www.cnblogs.com/hxlasky/p/11955767.html