Aantal kolommen in een tabel (MySQL)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Zó achterhaal je het aantal kolommen in een tabel:

select count(*) from information_schema.columns where table_schema="webwinkels" and table_name="amazon_sjabloon";

Bronnen