Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
py committed Feb 10, 2025
1 parent 6c5eb89 commit c2e5a29
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions docs/how-to-build-with-ddn/with-oracle.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -197,19 +197,19 @@ query {

```SQL title="Let's add a new table for posts:"
CREATE TABLE posts (
user_id Number,
post_id Number,
title Varchar2(45),
content Varchar2(45)
);
user_id Number,
post_id Number,
title Varchar2(45),
content Varchar2(45)
);
```

```SQL title="Then, seed it:"
INSERT ALL
INTO posts (user_id, post_id, title, content) VALUES (1, 1, 'My First Post', 'This is Alice''s first post.')
INTO posts (user_id, post_id, title, content) VALUES (1, 2, 'Another Post', 'Alice writes again!')
INTO posts (user_id, post_id, title, content) VALUES (2, 3, 'Bob''s Post', 'Bob shares his thoughts.')
INTO posts (user_id, post_id, title, content) VALUES (3, 4, 'Hello World', 'Charlie joins the conversation.')
INTO posts (user_id, post_id, title, content) VALUES (1, 1, 'My First Post', 'This is Alice''s first post.')
INTO posts (user_id, post_id, title, content) VALUES (1, 2, 'Another Post', 'Alice writes again!')
INTO posts (user_id, post_id, title, content) VALUES (2, 3, 'Bob''s Post', 'Bob shares his thoughts.')
INTO posts (user_id, post_id, title, content) VALUES (3, 4, 'Hello World', 'Charlie joins the conversation.')
SELECT 1 FROM DUAL;
```

Expand Down

0 comments on commit c2e5a29

Please sign in to comment.