db_query_get function

Get a SQL Query