Collections:
Including Comments in SQL Statements in MySQL
How To Include Comments in SQL Statements in MySQL?
✍: FYIcenter.com
If you want to include comments in a SQL statement, you can first enter "--", then enter your comment until the end of the line. The tutorial exercise below shows you some good examples:
SELECT 'Hello world!' FROM DUAL; -- My first SQL statement! INSERT INTO links VALUES ('FYIcenter.com'); -- Top rated! CREATE TABLE faq ( id INTEGER, -- primary key title VARCHAR(80) -- FAQ title );
⇒ Entering Character Strings in MySQL
⇐ Evaluating Expressions with SELECT Statements in MySQL
2018-04-12, 1426🔥, 0💬
Popular Posts:
How to download and install the scaled-down database AdventureWorksLT in SQL Server? If you want to ...
How To Create a Stored Program Unit in Oracle? If you want to create a stored program unit, you can ...
How To Count Rows with the COUNT(*) Function in SQL Server? If you want to count the number of rows,...
How To Use SQL*Plus Built-in Timers in Oracle? If you don't have a stopwatch/timer and want to measu...
How To Select All Columns of All Rows from a Table with a SELECT statement in SQL Server? The simple...