Skip to content

Commit

Permalink
example query in pgAdmin
Browse files Browse the repository at this point in the history
Signed-off-by: Alexander Diemand <codieplusplus@apax.net>
  • Loading branch information
CodiePP committed Jun 9, 2024
1 parent 00d8f32 commit 2126c08
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion docs/10_use_pgadmin.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,11 @@ tags: usage pgadmin

[pgAdmin](http://localhost:5480) is available locally at http://localhost:5480

_TODO_
let's write a simple "hello world" SQL query:

```sql
SELECT slot_no, "time" FROM public.block ORDER BY id DESC LIMIT 1;
```
(which outputs the slot number and block time of the latest block)

![Querying the database in pgAdmin](images/pgadmin_query.png)
Binary file added docs/images/pgadmin_query.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 2126c08

Please sign in to comment.