MySQL Forums
Forum List  »  Newbie

Re: Exchange Rate Conversions
Posted by: Peter Brawley
Date: May 07, 2020 01:09PM

Read again. You've put the From clause at the top of the query, where it doesn't belong, and repeated it after the select list. It needs to occur just once, right after the Select list (as shown).

Surrounding names with [] is SQL Server syntax. This is MySQL. As the manual explains pretty clearly, backticks (`) are required round names containing illegal chars (space, dash &c). So in all your queries, column names like `proj def`, `postg date` must be surrounded by backticks. Ugh. Do not use illegal chars in database object names, it just causes problems and makes errors much more probable.

Options: ReplyQuote


Subject
Written By
Posted
May 06, 2020 12:24PM
Re: Exchange Rate Conversions
May 07, 2020 01:09PM


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.