Do zliczenia liczby wierszy w tabeli SQL
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';
Light Leopard
SELECT count(*)
FROM information_schema.columns
WHERE table_name = 'Your_table_nale';