Query sql with reserved word in column name [duplicate]

0
    

This question already has an answer here:

    
  •              A MySQL query with 'ciphers' vs without                                      2 answers                          
  •         
  •              Mysql reserved keywords                                      2 answers                          
  •     

Excavating the reserved word in the sql query

SELECT * FROM localhost_mdl_35.mdl_logstore_standard_log WHERE  userid = 2  AND action = 'create';

action is a reserved word and is giving error

    
asked by anonymous 22.06.2018 / 22:07

0 answers