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

Update sql_stock_ticker_cloud.adoc to fix SQL problems & fix link in readme #7

Merged
merged 4 commits into from
Apr 4, 2024

Conversation

srknzl
Copy link
Contributor

@srknzl srknzl commented Apr 4, 2024

Fixes #6, a broken link and a check in WHERE clause

tried all sql in the page after the change

@srknzl srknzl requested review from naadhira and Serdaro April 4, 2024 14:23
@srknzl srknzl self-assigned this Apr 4, 2024
@@ -325,7 +325,7 @@ SELECT
pr.average AS Average,
ROUND(((tro.price/pr.average)-1)*100,2) AS Percent_Change,
CASE
WHEN (ROUND(((tro.price/pr.average)-1)*100,2) > 1) THEN 'Up'
WHEN (ROUND(((tro.price/pr.average)-1)*100,2) > 0) THEN 'Up'
Copy link
Contributor Author

@srknzl srknzl Apr 4, 2024

Choose a reason for hiding this comment

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

@srknzl srknzl changed the title Update sql_stock_ticker_cloud.adoc to fix SQL problems Update sql_stock_ticker_cloud.adoc to fix SQL problems & fix link in readme Apr 4, 2024
@@ -87,7 +87,7 @@ EXTERNAL NAME "sql_basics.trades" (
ticker varchar,
price double,
trade_ts timestamp with time zone,
amt int
amount int EXTERNAL NAME amt
Copy link
Contributor Author

Choose a reason for hiding this comment

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

alternative is to use amt in this page instead of amount

@naadhira naadhira merged commit e35242f into master Apr 4, 2024
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.

Docs: Feedback for SQL Basics on Hazelcast Cloud (Stock Ticker)
2 participants