Hi Dave,
Thank you for using Ninja Forms. The tables in the database that Ninja Forms uses are prefixed with 'nf' or 'ninja_forms'. I would suggest to use pre-processing functions that the plugin offers to achieve what you want to do. Please view the documentation on this here.