query = 'SELECT * FROM vk_acc WHERE friends == ? WHERE gender == ? WHERE price == ?'
data = cursor.execute(query, (data[0], data[1], data[2],)).fetchall()
При попытке запуска вижу ошибку:
data = cursor.execute(query, (data[0], data[1], data[2],)).fetchall()
sqlite3.OperationalError: near "WHERE": syntax error