I've always been terrible at queries since db class and now I need to extract some data for work. Here is a sample of how the data I was given was formatted. I already transposed it so Workbench would import.
What I need to query for are all of the non-zero values so I can generate a report that has itemName, date used, and # of times used.
I did a COUNTIF in Excel and there are apparently 90 non-zero values in the data. The query SELECT * FROM myData WHERE "insert-any-column" <> 0
returns the entire table.
Any hints towards how to approach this would be awesome.
EDIT: Schema is exactly what you see in the sample image above.
Table: myData
Columns: itemName, 1/1/17, 1/2/17, etc.