You can use database to control contact us form, but the best way is to get "Custom Forms Manager" extension on the marketplace.
If you want to edit via database, check following tables:
ac_forms
ac_form_descriptions
ac_fields
ac_field_descriptions
Important! If you edit database, remember to clear cache after that to see change