MYSQL variable to create query filter
I have a table with columns ‘year’, ‘month’ and ‘price’. Created a variable from the year and month to create a date to be used to filter the table.
MYSQL created variable gives unknown column
I have a table with columns ‘year’, ‘month’ and ‘price’. Created a variable from the year and month to create a date to be used to filter the table.