Page 1 of 1

Return specific columns from DB

Posted: Wed Oct 12, 2016 2:00 pm
by nrprioleau
What is the syntax using sqlyoga for the following:

Code: Select all

SELECT year(sales_salesDate) as yr from sales
GROUP BY yr
Or can I build my own query such as the above and execute within the SQL Yoga framework?

Re: Return specific columns from DB [RESOLVED]

Posted: Wed Oct 12, 2016 8:35 pm
by nrprioleau
I have found my solution.