I am working on Sharepoint site that already exists and I need to create a new webpart dedicated for a certain form to complete, then I should use the answers collected from the form to produce a "result page". When I open the "Edit source" Or "Embeded code", I can easily use html or javascript to display whatever I want, my question is: In that script editor(snippet) can I use Sql as well? As I said, I'm going to need some sql queries to extract the answers from the form.
Thank you in advance.