Examine these lines of Python code:
You must add a line of code to complete the code to return data to the variable d. Which line will do this?
d = cursor.execute(query)
d = cursor.execute(query, (hire_start, hire_end) )
d = cursor.fetch(query % (hire_start, hire_end))
d = cursor.fetch(query, (hire_start, hire_end))
d = cursor . f etchall (query)
d = cursor.fetchall(query, (hire_start, hire_end))
Submit