title: access SQL Query from another classes C++
body: <p>I have a program with SQLite database. I need to access SQL Query from another classes so I used friend keyword and defined friend classes in the SQL class. </p>
  
  <p>Do you recommend me any other way to do this or is this just fine way to get the job done?</p>