title: Display SQL JOINED table in Python
body: <p>I have added <code>LIMIT 3</code> in below code to display 3 results of a JOINED table. However in Python multiple lines was displayed. In SQL execution, it is fine.</p>
  <p>Please advise what is the reason? THanks</p>
  <pre><code>lib = cur.execute('''SELECT Track.title, Artist.name, Album.title, Genre.name
    FROM Track JOIN Genre JOIN Album JOIN Artist
    ON Track.genre_id = Genre.ID AND Track.album_id = Album.id
    AND Album.artist_id = Artist.id
    ORDER BY Artist.name  LIMIT 3''')
  for row in lib:
    print(row)
  </code></pre>
  <p><a href="https://i.stack.imgur.com/fhfTR.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/fhfTR.png" alt="SQL" /></a></p>
  <p><a href="https://i.stack.imgur.com/mHu8f.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/mHu8f.png" alt="Python" /></a></p>