Change bug in Routing

Please to also add sql to create the table, have not checked the ones in comments, since I have created my table manually
Still not correct -- needs to be in parentheses. I'll correct on merge.