Should I use a semicolon or a comma in this sentence? (where the (?) is)

Say you studied hard for a test, but still got an F(?) would you still have studied if you knew you were just going to fail anyway?