SQLite3 is zero-based. Column 6, the 'ta' column has some NULLs in it.
This is how I fixed it:
if frmMain.DS2.DataSet.Fields[6].Value = Null then
Edit1.Text := ''
else
Edit1.Text := frmMain.DS2.DataSet.Fields[6].Value;
As i said: No need for it.
If you have fields which are already setup as "NON-NULL" in your Database you can remove the COALESCE (e.g. if a1 to a4 can never be NULL in the database you can remove the COALESCE)
e.g.
SELECT qid, q, a1, a2, a3, a4,
COALESCE(ta, 'Default for ta') AS ta
FROM MC_Questions
EDIT: Looks like multiple-choice questionnaire
qid = Primary Key
q = Text-Field "Question"
a1-a4 = Text-Fields "Answer X"
what is ta? (just out of curiosity)