text: # Import packages
  from sqlalchemy import create_engine
  import pandas as pd
  
  # Create engine: engine
  engine = create_engine("sqlite:///Chinook.sqlite")
  
  # Execute query and store records in DataFrame: df
  df = pd.read_sql_query("SELECT * from Album", engine)
  
  # Print head of DataFrame
  print(df.head())
  
  # Open engine in context manager and store query result in df1
  with engine.connect() as con:
      rs = con.execute("SELECT * FROM Album")
      df1 = pd.DataFrame(rs.fetchall())
      df1.columns = rs.keys()
  
  # Confirm that both methods yield the same result
  print(df.equals(df1))