Here is an interesting
Inno Setup installer that will install all needed prerequisites, including SQL Server Express or Compact:
Modular InnoSetup Dependency Installer[
^]
Personally I wouldn't recommend adding SQL Server to your installer, as it is not really suited for easy deployment, other databases like PostgreSQL or SQLite are much more suitable.