datacamp / sqlwhat

https://sqlwhat.readthedocs.io
GNU Affero General Public License v3.0
3 stars 8 forks source link

question about check_field with DISTINCT #99

Closed colinricardo closed 7 years ago

colinricardo commented 7 years ago

Query

SELECT DISTINCT country
FROM films;

SCT

distinct = sel.check_field('pref').has_equal_ast(msg='blah')

sqlwhat-viewer

screen shot 2017-05-26 at 2 04 32 am

Error

screen shot 2017-05-26 at 2 04 43 am

Question

Has the field for DISTINCT changed to something else?

cc @ncarchedi

machow commented 7 years ago

removed sqlwhat staging from the intro sql course. Wasn't able to replicate on current working branches, so maybe it was broken and fixed along the way?