If you are using mysql there are 2 ways to run sql statemetns.
1- open cmd and type mysql. Enter username and password and then you can enter sql statements.
2- to run them on you server and output HTML you will need use use a language like PHP. Example
$con = mysql_connect("localhost","username","password");
if(!$con) {
echo "ERROR";
return;
}
mysql_select_db("databasename");
$sql = "SELECT * FROM table name";
$result = mysql_query($sql,$con);
if(!$result ) {
echo "ERROR";
return;
}
while($row = mysql_fetch_array($result))
echo $row['name']."
";
mysql_close($con);
?>
See you use mysql_query to run SQL statements. You need to first connect to the mysql and then select dabase.
Hope That Helps.
Jeff
Liquid Communication Tech