All the names of the fields of a table can be obtained with this command. In a consultation I do not know how they can be obtained.
"SELECT column_name FROM information_schema.columns WHERE table_schema = DATABASE() AND table_name='" + table$ + "' ORDER BY ordinal_position" + CHR$(0)
And now a question,,,,Do you know how to get the affected rows in an INSERT or a DELETE?