I think Microsoft Powershell [0] sort of approaches what you’re describing. It’s not exactly table-oriented, but object-oriented such that there’s a lot more structure to data than in traditional command line environments. For example, their equivalent of ls returns an array of objects (i.e. rows) which you can filter, sort, etc. based on the properties of those objects.
[0]: https://docs.microsoft.com/en-us/powershell/scripting/overvi...
Seconded. It also comes with Import-CSV and Export-CSV. And cmdlets like Select-Object and Where-Object.
Get-Service | Where-Object {$_.Status -eq "Stopped"}
Looks pretty close to what's being described.
osquery already demonstrates that lot of info can be structured into tables, but what I feel is missing is more convenient, shell-like language environment to work with such data.