私は次の表を持っています:
CREATE TABLE ta91 (
id INTEGER NOT NULL PRIMARY KEY AUTOINCREMENT,
date INTEGER,
_520 INTEGER,
_530 INTEGER,
_540 INTEGER,
_550 INTEGER,
_560 INTEGER,
_570 INTEGER,
_580 INTEGER,
_590 INTEGER,
_600 INTEGER,
_610 INTEGER,
_620 INTEGER,
_630 INTEGER,
_640 INTEGER,
_650 INTEGER,
_660 INTEGER,
_670 INTEGER,
_680 INTEGER,
_690 INTEGER,
_700 INTEGER,
_710 INTEGER,
_720 INTEGER,
_730 INTEGER,
_740 INTEGER,
_750 INTEGER,
_760 INTEGER,
_770 INTEGER,
_780 INTEGER,
_790 INTEGER,
_800 INTEGER,
_810 INTEGER,
_820 INTEGER,
_830 INTEGER,
_840 INTEGER,
_850 INTEGER
)
値を使用して:
INSERT INTO "someTable" VALUES ("10","1355480306018","1","0","0","0","0","1","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("11","1355480307044","1","0","0","0","0","0","0","0","1","0","0","0","1","0","0","0","0","0","1","1","1","1","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("12","1355480308027","1","0","0","0","0","0","0","0","1","0","0","0","1","0","0","0","0","0","1","1","1","1","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("13","1355480309033","1","0","0","0","0","1","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("14","1355480310038","1","0","0","0","0","1","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("15","1355480311043","1","0","0","0","0","0","0","0","1","0","0","0","1","0","0","0","0","0","1","1","1","1","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("16","1355480312043","1","0","0","0","0","0","0","0","1","0","0","0","1","0","0","0","0","0","1","1","1","1","0","0","0","0","0","0","0","0","0","0","0","0");
INSERT INTO "someTable" VALUES ("17","1355480313048","1","0","0","0","0","1","0","0","0","0","1","1","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0","0");
値が0/1またはから切り替わる回数をカウントするにはどうすればよいですか。SQLの各列に直接1/0?
私はデータベースにアクセスするためにSystem.Data.SQLite.dll1.0.82.0でc#を使用しています