我在Delphi2010中使用SQLite,
我想要一个具有相同ID的所有db表中的行列表。
SELECT * FROM "Log-130517-1300" WHERE ID = 2 -- works with any particular table.
SELECT name FROM sqlite_master WHERE type='table' ORDER BY name -- returns a list of existing tables:
Log-130517-1029
Log-130517-1041
Log-130517-1100
Log-130517-1113
Log-130517-1126
Log-130517-1300