Using awk command in ksh

I am trying to use awk command withing ksh.

 ksh "echo \"my name\" | awk '{print $2}'"

I am getting out as :

my name

Expected output:

name

When I use

echo "my name" | awk '{print $2}'

I am getting the correct output:

name

I am not sure what mistake I am doing when using awk within ksh command. It looks like awk command was not executed when I gave it within ksh command.
Could someone help me on this?

Tr yto escape the $ as well: \$2