After running the SQL query "SELECT date_format(CURDATE(),'%d %m %Y %W') as ddd," I am getting the output "07 11 2017 Tuesday." What I want is to only extract the "Tuesday" part. In other words, I just want to find out which day corresponds to the input date. What should I do for this?