how to create variable into query mysqlâ¦?
for the mysql user, I have a problem about how to make a variable into mysql query. I want to create a variable to detect the system (years) on the computer. formatdatetime('yyyy',now)
please help me
because later I use to call the table in the database example: 2013_peserta, 2012_peserta, 2011_peserta, 2011_nilai, etc.