solve inequalities



how to solve inequalities?
I tried with:
solve([2*x>12], [x]);
but doesn't work
[2*x>12=0]

I'd like to get x>6

thanks