|
|
|
|
|
by subleq
2249 days ago
|
|
Yes, user is a reserved word and `SELECT user` gives you the current database user. Notice how in the create table "user" is quoted, because it would be a syntax error otherwise. If you quote the same way in the select it will give you the user column, not the user reserved word: select "user", password from users;
|
|