Skip to content

Mickey Haile-SQL-coursework-WEEK1 #49

Open
mickeyhaile2 wants to merge 2 commits into
KeithBremer:masterfrom
mickeyhaile2:master
Open

Mickey Haile-SQL-coursework-WEEK1 #49
mickeyhaile2 wants to merge 2 commits into
KeithBremer:masterfrom
mickeyhaile2:master

Conversation

@mickeyhaile2
Copy link
Copy Markdown

No description provided.

SELECT *

FROM products
WHERE product_name ILIKE '%socks%';
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This would be a case insensitive statement; e.g. socks and Socks and SoCKs would all meet this. The question is a little ambiguous as to whether this should be the case, but just something to be aware of.

Copy link
Copy Markdown

@JDysiewicz JDysiewicz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good - small improvement would be to add the appropriate status codes to the API routes (e.g. 200, 404, etc).

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.

2 participants