I corrected the errors in your example and upload it.
1) you forgot the sql command like:
SQLQuery.SQL:='select * from flight';
2) you forgot to connect SQLQuery with DataSource
3) Give full path of the database to DBConnection.DatabaseName
Maybe you will see in DBGRid same text "(MEMO)", it isn't error. SQLite is not real database, it handles all strings as memo-field. Look at this
thread.
For ZEOS-Components you must put "Undefined_Varchar_AsString_Length=255" in DBConnection.Params, but it doesn't worked here.
Ok Here is my program attached. AS far as the tutorials go There are very few about SQl3 and Lazarus and they arn't very good.
Only DBConnection.Connectortype changes, everthing else stays same.
You should read
database wiki.
Edit:
You must change DBConnection.DatabaseName name in formular-designer, i set it to my folder. But in runtime-mode it set everytime right folder, see tform1.oncreate.