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, 2423🔥, 0💬
Popular Posts:
What are binary literals supported in SQL Server Transact-SQL? Binary literals in Transact-SQL are s...
Collections: Interview Questions MySQL Tutorials MySQL Functions Oracle Tutorials SQL Server Tutoria...
How REAL and FLOAT Literal Values Are Rounded in SQL Server Transact-SQL? By definition, FLOAT(n) sh...
Where to find tutorials to answer some frequently asked questions on Microsoft SQL Server Transact-S...
Can Date and Time Values Be Converted into Integers in SQL Server Transact-SQL? Can date and time va...