MySQL Forums
Forum List  »  MySQL Workbench

Re: MySQL Workbench Error Code 1054
Posted by: Peter Brawley
Date: July 15, 2022 08:16PM

SELECT Country, GDP, Electricity;
FROM new_table;
WHERE GDP < 4000;
ORDER BY Electricity;

The semicolon after 4000 ends the query, so the subsequent text raises a syntax error.

Options: ReplyQuote


Subject
Views
Written By
Posted
291
J C
July 15, 2022 10:23AM
Re: MySQL Workbench Error Code 1054
161
July 15, 2022 08:16PM


Sorry, only registered users may post in this forum.

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.