Hi neeharika_kusampudi,
By default we block dynamic mappings into the SQL query for security reasons (SQL injection) and convert them to prepared statements. If you accept the risks that come with this you can disable this setting by checking the box "Disable converting queries to prepared statements" on the resource settings page.
Please see the following post for a bit more detail:
http://community.retool.com/t/how-do-i-write-a-sql-update-with-dynamic-columns/2049
Did that answer your question? Let me know if not.
Thanks!
Grace