Why rlwrap echos redundantly what I type from the keyboard?
This was a known bug with pre-0.36 rlwrap in vi mode. You don't mention your rlwrap version and editing mode (i.e. emacs or vi) but I would suggest upgrading to rlwrap-0.37 and filing a bug report with the rlwrap author if that doesn't help
How to hide ACCEPT command used for user input in SQL Plus while spooling it in a text file? I have tried set VERIFY off
SQL> SET VERIFY OFF
SQL> ACCEPT name CHAR PROMPT 'Enter name:: ' HIDE
Enter name:
SQL> select * from sample where upper(name) = upper(&name);
This way, it will not show OLD/NEW Value, and also you could enter Value in Hidden Way. No display on what you enter.
listagg output formatting
Nothing stops you to make your query a sub-query and select again:
SELECT BOOKID || ':' || AUNAMES FROM
(
select BOOKID,
listagg (AUNAME,' ') WITHIN GROUP (ORDER BY auname)
AUNAMES
FROM BOOK_AUTHOR
group by bookid
) A
If you want to use a space as a delimiter use it in the listagg function
Related Topics
MySQL on Duplicate Key Update For Multiple Rows Insert in Single Query
SQL How to Make Null Values Come Last When Sorting Ascending
Error: There Is No Unique Constraint Matching Given Keys For Referenced Table "Bar"
Difference Between a User and a Login in SQL Server
Does Foreign Key Improve Query Performance
Where Value in Column Containing Comma Delimited Values
Identity Column Value Suddenly Jumps to 1001 in SQL Server
SQL Query to Get Aggregated Result in Comma Separators Along With Group by Column in SQL Server
Connect by Prior Equivalent For MySQL
Normalize Array Subscripts So They Start With 1
Delete Duplicate Rows (Don't Delete All Duplicate)
Safely Rename Tables Using Serial Primary Key Columns
How to Check If a Column Is Empty or Null in MySQL
Alter a MySQL Column to Be Auto_Increment