Sqlite, Sliding To Get Results Based On Value And Date
This questions is posted on a suggestion in this thread. I'm using SQLite/Database browser and my data looks like this: data.csv company year value A 2000 15 A 2
Solution 1:
You want all companies whose maximum value is no larger than 20:
SELECT*FROM Data
WHERE company IN (SELECT company
FROM Data
GROUPBY company
HAVINGmax(value) <=20)
Post a Comment for "Sqlite, Sliding To Get Results Based On Value And Date"