Commit 7ff5ebc9 authored by Mike Hibler's avatar Mike Hibler

Continue to flaunt my limited knowledge of mysql by ordering yet another

list of nodes!
parent f5dac55c
......@@ -4,7 +4,7 @@ use Mysql;
my $dbh = Mysql->connect("localhost","tbdb","script","none");
my $sth = $dbh->
query("select * from reserved order by node_id");
query("select r.* from reserved as r left join nodes as n on r.node_id=n.node_id order by n.type,n.node_id");
print $sth->as_string();
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment