Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix potentially confusing inconsistency in filtering challenge and solution #278

Merged
merged 1 commit into from
Mar 3, 2019
Merged

Fix potentially confusing inconsistency in filtering challenge and solution #278

merged 1 commit into from
Mar 3, 2019

Conversation

dww100
Copy link
Contributor

@dww100 dww100 commented Mar 3, 2019

The question asks the student to correct the following query such that it "selects all sites that lie more than 42 degrees from the poles":
SELECT * FROM Site WHERE (lat > -48) OR (lat < 48);

The answer given changes the logic but leaves the queried value as 48. This seems like the right way to emphasise the error in query logic. I've edited the question to ask about 48 rather than 42 so this is clear.

… consistent number - clarifies that this is about logic.
@henrykironde
Copy link
Contributor

I think that is correct, it should be 48, Looks good to me.
Though question and answer do not seem clear to me.

@henrykironde
Copy link
Contributor

Thanks @dww100 in to goes.

@henrykironde henrykironde merged commit 7a268f7 into swcarpentry:gh-pages Mar 3, 2019
@remram44
Copy link
Contributor

This is a mistake, and a duplicate of #214 and #273.

henrykironde added a commit to henrykironde/sql-novice-survey that referenced this pull request Sep 19, 2019
- Add pictures to explain
- use 42° instread of 48°

This is a result of all the contributions
and discussion from:

@Denubis
Brian Ballsun-Stanton <Denubis@users.noreply.github.com>

@wtgee
Wilfred Tyler Gee <wtylergee@gmail.com>

@remram44
closes swcarpentry#292, swcarpentry#291

ref: swcarpentry#273 swcarpentry#214 and swcarpentry#278.
henrykironde added a commit to henrykironde/sql-novice-survey that referenced this pull request Sep 19, 2019
- Add pictures to explain
- use 42° instread of 48°

This is a result of all the contributions
and discussion from:

@Denubis
Brian Ballsun-Stanton <Denubis@users.noreply.github.com>

@wtgee
Wilfred Tyler Gee <wtylergee@gmail.com>

@remram44
closes swcarpentry#292, swcarpentry#291

ref: swcarpentry#273 swcarpentry#214 and swcarpentry#278.
henrykironde added a commit to henrykironde/sql-novice-survey that referenced this pull request Sep 19, 2019
- Add pictures to explain
- use 42° instead of 48°

From the contributions
and discussions of:
@Denubis
Brian Ballsun-Stanton <Denubis@users.noreply.github.com>
@wtgee
Wilfred Tyler Gee <wtylergee@gmail.com>
@remram44

closes swcarpentry#292, swcarpentry#291

ref: swcarpentry#273 swcarpentry#214 and swcarpentry#278.
henrykironde added a commit to henrykironde/sql-novice-survey that referenced this pull request Sep 19, 2019
- Add pictures to explain
- use 42° instead of 48°

From the contributions
and discussions of:
@Denubis
Brian Ballsun-Stanton <Denubis@users.noreply.github.com>
@wtgee
Wilfred Tyler Gee <wtylergee@gmail.com>
@remram44

closes swcarpentry#292, swcarpentry#291

ref: swcarpentry#273 swcarpentry#214 and swcarpentry#278.
fmichonneau pushed a commit to fmichonneau/sql-novice-survey that referenced this pull request Nov 1, 2019
Run lesson-fixme from within lesson-check
zkamvar pushed a commit that referenced this pull request May 8, 2023
Fix potentially confusing inconsistency in filtering challenge and solution
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants