Skip to content

no data after valid query with community version of dbeaver #37614

Answered by ged-yuko
selster1 asked this question in Q&A
Discussion options

You must be logged in to vote

but the normal select * from scratch; returns no data

which seems surprising???

As far as i can see on this screenshot, there is no * character between the SELECT and FROM keywords.
You didn't specify the database you are using these queries with, but Postgre handles this.
For me it seems obvious that having no columns specified for selection, the result will be empty.

Here are some screenshots from DBFiddle:

  • SELECT * FROM table gives data result

  • SELECT FROM table gives empty result

Everything looks correct. Asking to select something - gives something in result. Asking to select nothing - gives nothing in result.

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by E1izabeth
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
xf:sql execution Queries execution
2 participants
Converted from issue

This discussion was converted from issue #37603 on March 21, 2025 09:15.