Skip to content

Commit 7459faf

Browse files
committed
added on all database scripts
1 parent 507ac7c commit 7459faf

File tree

4 files changed

+20
-0
lines changed

4 files changed

+20
-0
lines changed

learn-pr/azure-databases/postgresql/basic-sql-aggregate-functions-grouping/includes/2-sample-database-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ Foreign keys are a concept in relational databases, used to establish and enforc
2323

2424
## Sample database creation script
2525

26+
To create the sales database, insert the following script into a query, and run it.
27+
Select Refresh to ensure the Explorer panel is up to date.
28+
Note that this can take a minute.
29+
2630
<details>
2731
<summary>Select to expand</summary>
2832

2933
```sql
34+
--DROP SCHEMA IF EXISTS sales CASCADE;
3035
CREATE SCHEMA sales;
3136

3237
create table sales.categories (

learn-pr/azure-databases/postgresql/basic-sql-limit-offset-order-by/includes/2-sample-database-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ Foreign keys are a concept in relational databases, used to establish and enforc
2323

2424
## Sample database creation script
2525

26+
To create the sales database, insert the following script into a query, and run it.
27+
Select Refresh to ensure the Explorer panel is up to date.
28+
Note that this can take a minute.
29+
2630
<details>
2731
<summary>Select to expand</summary>
2832

2933
```sql
34+
--DROP SCHEMA IF EXISTS sales CASCADE;
3035
CREATE SCHEMA sales;
3136

3237
create table sales.categories (

learn-pr/azure-databases/postgresql/basic-sql-simple-select/includes/2-sample-database-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ Foreign keys are a concept in relational databases, used to establish and enforc
2323

2424
## Sample Database Creation Script
2525

26+
To create the sales database, insert the following script into a query, and run it.
27+
Select Refresh to ensure the Explorer panel is up to date.
28+
Note that this can take a minute.
29+
2630
<details>
2731
<summary>Select to expand</summary>
2832

2933
```sql
34+
--DROP SCHEMA IF EXISTS sales CASCADE;
3035
CREATE SCHEMA sales;
3136

3237
create table sales.categories (

learn-pr/azure-databases/postgresql/basic-sql-where-clause-subqueries/includes/2-sample-database-overview.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,10 +23,15 @@ Foreign keys are a concept in relational databases, used to establish and enforc
2323

2424
## Sample database creation script
2525

26+
To create the sales database, insert the following script into a query, and run it.
27+
Select Refresh to ensure the Explorer panel is up to date.
28+
Note that this can take a minute.
29+
2630
<details>
2731
<summary>Select to expand</summary>
2832

2933
```sql
34+
--DROP SCHEMA IF EXISTS sales CASCADE;
3035
CREATE SCHEMA sales;
3136

3237
create table sales.categories (

0 commit comments

Comments
 (0)