What is the bug or the crash?
When I create a layer without geometry using SQL in DB Manager, the attribute table only displays one of the specified fields, meaning it's filtered and cannot be removed. I've tried this with three different layers and SQL queries, and the same thing happens. I have the latest desktop version of QGIS for Windows installed.
Steps to reproduce the issue
Versions
3.44.2-Solothurn
Supported QGIS version
New profile
Additional context
No response