SQL list command

Can I enter a card variable in a SQL command?

I have set up a dynamic list to filter my selection from a SQL database column.

After I get that data I need one more piece of data in the same row so I want to write MDX querie.

SolidworksSolidworks Pdm enterprise Pdm