Answer the question
In order to leave comments, you need to log in
How to fix incorrect row count in MySQL?
There are several tables with a total of 12 rows
. To get the number, I created a procedure:
BEGIN
SELECT sum(cnt) as 'Всего записей' from (
select count(*) as cnt from xx
UNION select count(*) as cnt from visa
UNION select count(*) as cnt from xvii
UNION select count(*) as cnt from xviii
UNION select count(*) as cnt from xix
UNION select count(*) as cnt from states
UNION select count(*) as cnt from xxi) as t;
END
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question