We're trying to have our database filter out the user's selected values from the query results. Can you please advise on what is wrong with the SQL syntax?
Results is the name of the table
Classification is the name of a Column on the table
All the ::values:: are values of the classification column
Select * FROM RESULTS WHERE CLASSIFICATION != ::Blue Chip:: AND CLASSIFICATION != ::Tobacco::
AND CLASSIFICATION != ::Automotive::
AND CLASSIFICATION != :harmaceutical::
AND CLASSIFICATION != ::Technology::
Results is the name of the table
Classification is the name of a Column on the table
All the ::values:: are values of the classification column
Select * FROM RESULTS WHERE CLASSIFICATION != ::Blue Chip:: AND CLASSIFICATION != ::Tobacco::
AND CLASSIFICATION != ::Automotive::
AND CLASSIFICATION != :harmaceutical::
AND CLASSIFICATION != ::Technology::