i have a sql code, i use python 3.6
SELECT a,b,c
FROM belge_yeni
WHERE (a,b)
IN (SELECT a,b FROM belge_yeni GROUP BY a,b HAVING count(*) >1)
ORDER BY a, b DESC
i can run python 3.8,
but i have sqlite3.OperationalError: near ",": syntax error" in python 3.6
i seen this link
https://code.djangoproject.com/ticket/30027
but i dont understood
Thank you
TY FOR Help, solved my problem Python Sqlite 3.6, 3.8 version problem.
select m.*
from belge_yeni m
where (
select count(*)
from belge_yeni m1
where m1.a = m.a and m1.b = m.b
) > 1 order by b
select sqlite_version()to check the version. - forpas