What query you mean? If you mean SQL query, you can use insert SQL statement and add the data. But remember that you may need to restart Kentico application so the custom table application in Kentico admin UI loads the data added through SQL - the application will not know about them until restarting.