You might be able to make the script yourself with some help from JMP. Try these simple steps.
First, interactively connect to the database and use the advanced button to specify the SQL statement that will query the database for the data to be used in your analysis.
Examine the JMP data table that results. JMP has saved the script to repeat this extraction from the database.
You are half way there.
You should now have a script that extracts the necessary data and performs the desired analysis without writing a single bit of code.
Best of luck!!