9

I need to print a message between query results, but i can't find an appropriate SQL command that works with SQLite. For example if I have 2 tables, BRANCH and STAFF, and I need to return it's contents, i want the output to be like

BRANCH data ------------ *table content here* STAFF data ------------- * table content here* How do I print BRANCH data ----- message?

2 Answers 2

13
SELECT "Your Message";

This Works just fine

Sign up to request clarification or add additional context in comments.

1 Comment

Unfortunately, this now throws a parse error in later versions of SQLite (I'm on 3.44 right now) since the column "Your Message" doesn't exist. You've still got my past upvote though :)
1
.print hello world o_O 

See also .help.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.