user: ### NOW ANSWER:
Question: What is the title of every song, and how many weeks was each song at #1 for Rihanna in 2012?
Columns: ['Number One(s)', 'Artist(s)', 'Song(s) — Weeks', 'Issue Years', 'Whole Weeks']
Types: ['real', 'text', 'text', 'real', 'real']
Sample row: [2.0, 'One Direction', 'Up All Night — 11', 2012.0, 13.0]
SQL:

assistant: SELECT "Song(s) — Weeks" FROM "Table" WHERE "Issue Years" = 2012.0 AND "Artist(s)" = 'Rihanna';