In trying to answer this question for myself I came across this nugget, after eventually adding "oracle" to my query terms:
select DBMS_METADATA.GET_DDL('TABLE','<table_name>') from DUAL;
Which works, but is not portable. How do I do the same thing on MySQL? SQLite? Others?