When you use the clause group by, you should include in this clause all the fields included in the select clause, except those ones which are 'calculated' (eg. by using count, sum, avg...)
so, try
SELECT <shipstate>, count(<order_to_state> )
FROM <tablename>
GROUP BY <state>
HAVING COUNT(<order_to_state>)>3
regads,
Cris..
Provide a SQL statement that displays each SHIPSTATE along with the number of orders shipped to each state. Include only those states that more than 3 orders were shipped to.
SELECT <shipstate>, <order_to_state>
FROM <tablename>
GROUP BY <state>
HAVING COUNT(<order_to_state>)>3