MySQL Forums
Forum List  »  General

Where clasue syntax issue
Posted by: Dave Wygonowski
Date: April 03, 2017 01:34PM

It's been some time since I have done much of anything signifiant with sql so I have been refreshing. I have the following issue, and would appreciate some assistance. It will be greatly appreciated.

I have the following query;

Select city.last_update, city.city, address.district, country.country
From city Left Outer Join country
On city.country_id = country.country_id
Left Outer Join address
On city.city_id = address.city_id
Order By city.last_update Desc, country.country ASC, address.district ASC, city.city ASC
Where city.last_update > `2017-03-31 00:00:01.0`


Unfortunately, I am getting the following error;

Parameter index out of range (1 > number of parameters, which is 0).


The query without the where clause works fine.


Thank you.

Options: ReplyQuote


Subject
Written By
Posted
Where clasue syntax issue
April 03, 2017 01:34PM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.