Skip to content

Latest commit

 

History

History
18 lines (14 loc) · 328 Bytes

Easy-SQL-Convert-to-Hexadecimal.md

File metadata and controls

18 lines (14 loc) · 328 Bytes

to hexYou have access to a table of monsters as follows:

monsters table schema

  • id
  • name
  • legs
  • arms
  • characteristics Your task is to turn the numeric columns (arms, legs) into equivalent hexadecimal values.

output table schema

  • legs
  • arms
SELECT TO_HEX(legs) legs, TO_HEX(arms) arms FROM monsters;