- 2

Stuck on the AS Keyword Practice Problem (Code Coach) - Please Help

The salary numbers (salary + bonus) listed in the expected output does not match what I calculated on paper. Can someone confirm for me that the expected salary output matches with what the question asked?

18th Dec 2020, 8:38 PM
Dynee
8 Antworten
- 6
Nvm ! Fixed it
26th Dec 2020, 1:22 AM
Thais Moraes
Thais Moraes - avatar
+ 5
hey its wrong this should work — select CONCAT (firstname, ‘ ‘, lastname) as fullname; (salary*12)+(experience*500) as total from staff order by total;
30th Mar 2021, 11:59 AM
Sirisha Tammina
Sirisha Tammina - avatar
+ 4
✅ Correct Answer SELECT CONCAT (firstname,' ',lastname) AS fullname, (salary*12)+(experience*500) AS total FROM staff ORDER BY total;
8th Feb 2022, 4:47 PM
Yonatan Tadesse
18th Dec 2020, 9:03 PM
Dynee
0
Here is my code. SELECT CONCAT (firstname,' '.lastname) AS fullname SELECT salary+(experience*500) AS total FROM staff ORDER BY total;
18th Dec 2020, 9:06 PM
Dynee
0
select CONCAT (firstname,' ',lastname) as fullname, (salary*12)+(experience*500) as total from staff order by total; for anyone who struggled like me
22nd Jan 2022, 12:37 AM
Kanyin Oni
- 1
LOL! Coding late at night leads to carelessness. I had forgotten to multiple salary by 12. Now everything works. 😂
21st Dec 2020, 4:51 AM
Dynee
- 2
Mine is not working and I did the same thing!
26th Dec 2020, 1:20 AM
Thais Moraes
Thais Moraes - avatar