Add missing trailing double quote in sql query (#897)

This commit is contained in:
Eskil Andréen 2020-11-19 07:45:07 +01:00 committed by GitHub
parent f3e3cbd45f
commit 74cca6d185
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22,5 +22,5 @@ Since you always have the urge to be the most earning employee, you want to expl
Use the form below and try to retrieve all employee data from the *employees* table. You should not need to know any specific names or TANs to get the information you need. + Use the form below and try to retrieve all employee data from the *employees* table. You should not need to know any specific names or TANs to get the information you need. +
You already found out that the query performing your request looks like this: You already found out that the query performing your request looks like this:
------------------------------------------------------------ ------------------------------------------------------------
"SELECT * FROM employees WHERE last_name = '" + name + "' AND auth_tan = '" + auth_tan + "'; "SELECT * FROM employees WHERE last_name = '" + name + "' AND auth_tan = '" + auth_tan + "'";
------------------------------------------------------------ ------------------------------------------------------------