Open this example in the interactive library
Source code
CREATE TABLE tags(name TEXT UNIQUE);
INSERT OR IGNORE INTO tags VALUES('red'),('red');
SELECT count(*) FROM tags;
Sample output
[
{
"count(*)": 1
}
]
Open this example in the interactive library
CREATE TABLE tags(name TEXT UNIQUE);
INSERT OR IGNORE INTO tags VALUES('red'),('red');
SELECT count(*) FROM tags;
[
{
"count(*)": 1
}
]