Some of the site's questions rule that something must (or must not) be printed to the output. My question is, in the case of SQL, what really is the output?
select command returns result-sets, which can be a 1x1 array of "string".
select 'Hello world!' and
print 'Hello world!' are both valid commands that return the same string to the user, albeit in different places.
So, which of these are considered "printing" in terms of golf SE? Could it be both?
console.logfor JS. \$\endgroup\$
SELECT 'Hello world!' as ''(just
SELECT 'Hello world!'works but shows the text twice, once on the column name and once on the content). Or
\! echo 'Hello world!';but that's just calling the
echostatement from the console (stackoverflow.com/a/61375812). \$\endgroup\$
-NDo not write column names in results.”? i.stack.imgur.com/xwPNY.png \$\endgroup\$
--tuples-onlyTurn off printing of column names and result row count footers, etc.”, but have to also use “
--no-alignSwitches to unaligned output mode.” There your empty alias trick doesn't work. In SQLite there is “
-[no]headerTurn headers on or off.” but the no is the default anyway. i.stack.imgur.com/1Hmjn.png \$\endgroup\$