csvsql -d ',' -I --query 'select * from attributes where Name <> "PI Date"' attributes.csv > attributes_withoutPIDate.csv
I think I've figured it out:-
The `from TABLE` must precede `WHERE` clause.
When re-writing the query as such, it seems to work.