In case you missed the announcement: The Alteryx One Fall Release is here! Learn more about the new features and capabilities here
ACT NOW: The Alteryx team will be retiring support for Community account recovery and Community email-change requests after December 31, 2025. Set up your security questions now so you can recover your account anytime, just log out and back in to get started. Learn more here
Start Free Trial

Alteryx Designer Desktop Discussions

Find answers, ask questions, and share expertise about Alteryx Designer Desktop and Intelligence Suite.
SOLVED

SQL Query Error

garretwalters12
8 - Asteroid

Why when using SQL query I receive an error for the below, and why do I receive red quotations around "US"? The query works without the WHERE clause and the value US does exist in the country field. Does Alteryx SQL query just not support the WHERE clause? or am I just forced to use the other In-Database tools?

 

Select *

From table_name

WHERE country = "US"

 

garretwalters12_0-1608318275430.png

garretwalters12_1-1608318370757.png

 

 

4 REPLIES 4
mrbillyjackson
7 - Meteor

Have you tried single quotes?

Hello @mrbillyjackson 

 

Please try 'US' instead of "US". Alteryx supports Where clauses, no problem. Hope it helps. Cheers!

garretwalters12
8 - Asteroid

yes, I receive the same errors?

Hi @garretwalters12 

 

Would you please try to add table name in front of the column like in the below example?

 

select *
from Customer
where Customer.country = 'US'

Labels
Top Solution Authors