Can i connect this to my sql so that i can write content from here and it will store in db

can i connect this to my sql so that i can write content from here and it will store in db

No, Prismic is its own DB/CMS.

You can connect an external API using integration fields