How to pretty print with sqlite on the command line?

--

Without formatting:

SELECT * from employee;

Output:

Unformatted output

With formatting:

sqlite>.mode columns
sqlite>.headers on

Output:

Formatted output

Neat!

--

--

AI/Data Science Digest
AI/Data Science Digest

Written by AI/Data Science Digest

One Digest At a Time. I value your time! #datascience #AI #GenAI #LLMs #dataanalyst #datascientist #probability #statistics #ML #savetime #digest

No responses yet