There is a query builder that you can use. That way you don't have to worry about syntax.
I would advise you however not to use SELECT *, but to specify the column names.
Need an answer? No, you need a question
My blog at https://sqlkover.com.
MCSE Business Intelligence - Microsoft Data Platform MVP