input: 
  from flask import Flask, jsonify
  import sqlite3
  
  def fetch_data_from_sql():
      """ Fetc
output:     h data from the SQLite database and return it as a JSON response.
      """
      app = Flask(__name__)
  
      @app.route('/data', methods=['GET'])
      def get_data():
          conn = sqlite3.connect('example.db')
          cursor = conn.cursor()
          cursor.execute("SELECT * FROM data_table")
          rows = cursor.fetchall()
          conn.close()
          return jsonify(rows)
  
      if __name__ == '__main__':
          app.run(debug=True)