in reply to DBI SQL Query Question

Have you tried this query from the command line and gotten the results that you expect?

--t. alex

"Excellent. Release the hounds." -- Monty Burns.