N
N
near_you122022-04-10 13:05:27
SQLite
near_you12, 2022-04-10 13:05:27

How to count the number of identical rows in a DB (flask-sqlalchemy)?

For example, I have a table that is written from the Flask

title id
first 1
second 2
third 3
first 4
third 5

I just need to output:
first -2
second -1
third - 2

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question