Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Syntax error

Status
Not open for further replies.

TJVFree

Technical User
Nov 22, 2010
236
US
I’m getting a Syntax error when I’m trying to run this query. Can anyone help me figure out what is going wrong. It worked in other queries


Syntax error. In query expression ‘(Select count(*) from GP1_Master_Table_Count_Apps as B where GP1_Master_Table_Count_Apps. Customer Total > B.customerTotal)

Thank you for taking the time to help a newbe
 
Is this dynamic or regular? You started it out with a single quote and open paranthiese...

Customer Total would need to be .[Customer Total] no space before it.

Select count(*)
from GP1_Master_Table_Count_Apps as B
where B.[Customer Total] > B.customerTotal

Simi
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top