How to fetch data from db to Appian?

i

  Discussion posts and replies are publicly visible