SQL from webpage
Here you are shown how to connect to your SQL Database.
There are many ways to this such as through the command-line interface,
you can execute SQL through a programming language and as shown in this example
you can work from a web browser.
Oracle provides a web interface iSQL*Plus. By default the interface is available at http://www.loaclhost:5500/em/console/logon/logon for administration and at http://localhost:5560/isqlplus/dynamic for general SQL access.
You can go to phpMyAdmin(http://www.phpmyadmin.net) and once there, the tool will allow you to go through step by step forns that are relatively easy to use.
You can use for sqlserver the Web Data Administrator utility from Microsoft. You can also use the WebSQL Console available at (http://www.websqlconsole.com)
You can use phpPgAdmin available at (http://www.phppgadmin.org). This allows you to run queries from a web page and also provides other administrative functions.
Hack 100 Run SQL from a Web Page