Use data from MySQL / MS SQL for datasets

i’d like to use data from a SQL query to display data on screen, is this doable?