I made the simplest mistake when doing SQL problems today
update salaries set salaries.salary = salaries.salary *1.1
where salaries.emp_no = (select emp_no from emp_bonus ) and to_date = '9999-01-01'
Then the idea reports an error. The error is near “.”: syntax error. In fact, when I update the salary table here, I don’t need to add “.” to index the elements in the table. I can call it directly.
update salaries set salary = salary *1.1
where emp_no = (select emp_no from emp_bonus ) and to_date = '9999-01-01'
Just change this.
Read More:
- Cause: java.sql.SQLSyntaxErrorException: You have an error in your SQL syntax; check the
- Error in PIP command execution – syntax error: invalid syntax
- Hive SQL syntax error and corresponding solutions
- Mybatis plus method querytotal execution error of SQL
- Log search of SQL execution on distributed green plus database master
- com.alibaba.druid.sql.parser.ParserException: syntax error
- Shell script execution error: “syntax error near unexpected token”
- You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version
- SAP SQL error “SQL code: -10692“ occurred while accessing table “ZTXXXX“.
- Solutions to UCenter Info: MySQL query error app1
- Spring data JAP SQL error:17059 SQL State:99999
- SQL 2005 remote connection error (provider: SQL network interface, error: 28 – the server does not support the requested protocol
- Syntax error: invalid syntax before Python string
- Syntax error: invalid syntax
- [Python] error syntax error: summary of solutions to invalid syntax
- This function has none of deterministic, no SQL, or reads SQL data in its error records
- DB2 SQL ERROR: SQLCODE=-803, SQLSTATE=23505, SQL
- Solve the problem of syntax error: invalid syntax in PIP install XXX
- Error syntax error: invalid syntax in PIP install XXX
- @In slf4j log.info Compile error: cannot find symbol log