SQLite returns an error, for example, "no such column: foo" if the table does not contain a column:
select foo from yourTable limit 1
You can also get the create-table statement:
select sql from sqlite_master where tbl_name = 'YourTableName'
, . , .
, :
alter table YourTable add column foo {column-def whatever it is}
SQLite, . .
, :
select sql from sqlite_master
where tbl_name = 'YOURTABLE' and sql like '%"foo" CHAR%';
, , , , - . LIKE .