SQL - Security Basics
Identify the error in this SQL query construction using string concatenation:
query = "SELECT * FROM users WHERE id = " + userId; where userId is a string input.