-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add YSQL demo to yugabyte-db and correct slack url
Summary: Fixed slack url. Added `yugabyte-db demo retail` option. Test Plan: `./yugabyte-db start` `./yugabyte-db demo retail` Sample output: ``` 13:56 $ ./yugabyte-db demo create retail Creating database yb_demo_retail... Populating yb_demo_retail with sample data... Successfully loaded sample database! ################################ # WELCOME TO THE retail DEMO ################################ Database: yb_demo_retail |_ users |_ products |_ orders |_ reviews ################################ # NEXT STEP: RUN THE DEMO ################################ $ yugabyte-db demo run retail MacBook-Pro-2:~/tmp/yugabyte-1.2.11.0 13:56 $ ./yugabyte-db demo run retail ################################ # SAMPLE QUERIES TO TRY ################################ # JOINS (find user details of orders): SELECT users.id, users.name, users.email, orders.id, orders.total FROM orders INNER JOIN users ON orders.user_id=users.id LIMIT 10; For more, go to https://docs.yugabyte.com/latest/quick-start/explore-ysql/ ysqlsh (11.2) Type "help" for help. yb_demo_retail=# ``` Reviewers: karthik Reviewed By: karthik Subscribers: sid, ybase Differential Revision: https://phabricator.dev.yugabyte.com/D6844
- Loading branch information
Showing
7 changed files
with
22,796 additions
and
14 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.