Reputation: 11
Hi I have the following table and I am running the follwoing query in it.
Table Name:MMC
Command that I am running is
SELECT REM_Q FROM MMC where CLIENTQ = AJIT AND SENDER_SYSTEM = NEWYORK;
I am gettng the above error. Can someone please tell me what is that I am doing wrong here.
Upvotes: 1
Views: 354
Reputation: 27496
What columns are AJIT and SENDER_SYSTEM? If they are VARCHAR
then you should wrap parameters in quotes like 'AJIT'
and 'NEWYORK'
.
Upvotes: 5