Consolidated SQL for installation.