Viewing 15 posts - 1 through 15 (of 16 total)
I thought it would need the AND operator because you need a price filter and then the vender check. But I see that the UNION is joining 2 separate...
March 29, 2016 at 12:21 pm
When you say
"any column referenced in the SELECT has to either be in an aggregate or in the group by"
. What does aggregate mean in this context? I...
March 29, 2016 at 9:53 am
Got it thanks for the insights : )
March 29, 2016 at 8:29 am
Sorry the my example and code did not post correctly due to me. Here is my example and 2 questions:
SELECT customers.cust_name,
customers.cust_id,
Count(orders.order_num) as num_ord
FROM customers INNER JOIN orders
ON customers.cust_id =...
March 28, 2016 at 5:35 pm
Great. Thank you and I can't tell you how much I appreciate the help : )
March 25, 2016 at 7:12 am
Hey all, thanks for the feedback, i'm not quite there yet... Trying to simplify how I'm stating my need:
This is what my table looks like:
Customers
Name, Date
‘John’, ‘2015-01-01’
‘John’, ‘2015-01-02’
‘John’, ‘2015-01-05’
‘John’,...
June 16, 2015 at 2:47 pm
Hi Gail,
My question was referring to converting row data to column data. I am trying to get a sense of how "wide" SQL can go without it crashing....
June 16, 2015 at 1:08 pm
yes, weekend dates will be excluded so there will be gaps in the date ranges
June 16, 2015 at 1:04 pm
great thanks...Also what is the maximum number of columns that can be used in a large data set? "Large" meaning 5 columns by 20 million rows?
June 16, 2015 at 12:58 pm
Viewing 15 posts - 1 through 15 (of 16 total)
This website stores cookies on your computer.
These cookies are used to improve your website experience and provide more personalized services to you, both on this website and through other media.
To find out more about the cookies we use, see our Privacy Policy