Reputation: 15
Consider there is a table called employee in MySQL database.
If I use "select firstname from employee;"
The output will be
xyz
abv
asd
asdf
If I use "select FIRSTNAME from employee;"
The output will be
xyz
abv
asd
asdf
But i need name of the attribute should be display in uppercase in the result of this query.
how to do it in wamp server?
Upvotes: 0
Views: 32
Reputation: 7065
Use Mysql UPPER to convert names to upper case
SELECT UPPER(name) AS FIRSTNAME
Upvotes: 1