注释
注释
SELECT * FROM users; -- This is a commentSELECT 10--1;SELECT
lastName, firstName
FROM
employees
WHERE
reportsTo = 1002; # get subordinates of Diane可执行的注释
Last updated
SELECT * FROM users; -- This is a commentSELECT 10--1;SELECT
lastName, firstName
FROM
employees
WHERE
reportsTo = 1002; # get subordinates of DianeLast updated
/*
Get sales rep employees
that reports to Anthony
*/
SELECT
lastName, firstName
FROM
employees
WHERE
reportsTo = 1143
AND jobTitle = 'Sales Rep';/*! MySQL-specific code */SELECT 1 /*! +1 */ ;CREATE TABLE t1 (
k INT AUTO_INCREMENT,
KEY (k)
) /*!50110 KEY_BLOCK_SIZE=1024; */