programming-examples/sql/FormattingOutput/Write a SQL statement to display the commission with the percent sign ( % ) with salesman ID, name and city columns for all the salesmen.sql

4 lines
212 B
MySQL
Raw Normal View History

2019-11-18 14:05:53 +01:00
/*Write a SQL statement to display the commission with the percent sign ( % ) with salesman ID,
name and city columns for all the salesmen.*/
SELECT salesman_id,name,city,'%',commission*100
FROM salesman;