So far I love this module. Thanks to Midspot for the recommendation. In 10 seconds I have created a useful query that took me 30 minutes in a "pro" package.
Here's what I'm trying to do. I need to present a user with an astronomy weather clock that is customed to each user and persist between visits. So then, I have a SQL table (ClearSkyClock)with three columns: state_or_province, clockid, title (all text cols). I have to let the user select which clock they want (perhaps by progressive dropdowns) and then store that in a table with their UserID and ClockID (that they just selected).
Next when the user calls up the page, I need to automatically pull the ClockID based on the User viewing the page and and insert the ClockID into the following HREF (replace the variable "{$clockid}":
<a href=http://cleardarksky.com/c/{$clockid}key.html>
<img src="http://cleardarksky.com/csk/getcsk.php?id={$clockid}"></a>
This will present the user with their very own astronomy weather clock.