sql - Is it possible to dynamically change the column name field being called in a select statement? -


there table separate fields each county. example of field name "trumbull_written". there way access correct counties field dynamically changing column name in select statement county name passed select? if pass stark function select statement data column stark_written.


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -