The following SQL statement will select all the fields in the table MESSAGES:

select * from MESSAGES