You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please find the below correction in book under sumDistinct section In the book:
--in SQL
select sum(Quantity) from dfTable -- 29310
This query will result in 5176450 rows. correct one:
--in SQL
select sum(distinct(Quantity)) from dfTable -- 29310
This query will result in 29310 rows.
could you please modify the source accordingly ?
The text was updated successfully, but these errors were encountered:
shanmugavel04
changed the title
Chapter 7 - Wrong sql code in sumDistinct
Chapter 7 - A small correction to sql code in sumDistinct
Jun 11, 2021
Please find the below correction in book under sumDistinct section
In the book:
--in SQL
select sum(Quantity) from dfTable -- 29310
This query will result in 5176450 rows.
correct one:
--in SQL
select sum(distinct(Quantity)) from dfTable -- 29310
This query will result in 29310 rows.
could you please modify the source accordingly ?
The text was updated successfully, but these errors were encountered: