def get_show(name, cursor):
	"""returns None if TV series name does not exists in
	database 

	Args:
		name: name of TV series
		cursor: cursor object
	"""
	sql = "select id from tvshow where name = %s"
	cursor.execute(sql, (name,))
	result = cursor.fetchone()
	if result == None:
		return None
	else:
		return result[0]