$days = sqlite("sql","SELECT COUNT(DISTINCT foundbymedate) FROM Caches") |
$result = sqlite("sql","SELECT DISTINCT difficulty, terrain FROM Caches") |
$result = sqlite("sql","CREATE VIEW diffterr AS SELECT DISTINCT difficulty, terrain FROM Caches") $combinations = sqlite("sql","SELECT count(*) from diffterr") |
SELECT count(*) FROM (SELECT DISTINCT difficulty, terrain FROM FoundStatsSQL) |
$result = sqlite("sql","select code from caches where difficulty = 5 limit 1") |
$status = Sqlite("sql","drop table if exists gsak_mem.DbCodes") $status = Sqlite("sql","create table gsak_mem.DbCodes as select code from caches where rowid in (select * from gridtemp)") |