In Oracle, comments can be placed in queries. Comments can be a single line as well as multi-line.
Comment on a Single Line
Syntax
-- comment goes here
Example
SELECT student.id /* Author : JavaTpoint */ FROM student;

comment on a multi line
Syntax
/* comment goes here */
Example
SELECT student.id /* Author : JavaTpoint */ FROM student;

Leave a Reply