The only reason you would include backticks on a shell command is to substitute the output. E.g.:
Code:
$ echo "The time now is: `date`"
The time now is: Sat Jun 6 12:35:36 SGT 2009
I thought the reason you used backticks i.e. `sqlquery` was that it was some sort of script which would return the column name. That doesn't seem to be the case (and thats why you got the "sqlquery command not found").
I can't see why enclosing it in single-quote/double-quote/backticks is needed because "sqlquery" is not a mysql reserved word (as per
this) and its not a reserved word for the shell.
What happens if you simply run it like this?
Code:
mysql -D WS --password="whatever" -u root -e "CREATE TABLE example (sqlquery text NOT NULL);"