SQL - USE - 1keydata
SQL - USE - 1keydata
SQL USE
SQL Tutorial
Basic SQL Commands
SQL SELECT
SQL DISTINCT
SQL WHERE SQL > Data Definition Language (DDL) > USE
SQL AND OR
The USE keyword is used to select a database in MySQL and SQL Server. The syntax is as follows:
SQL IN
SQL BETWEEN
USE "database_name";
SQL Wildcard
SQL LIKE
For example, if you want to connect to a database called "Scores", you can type in the following:
SQL ORDER BY
SQL GROUP BY
USE Scores;
SQL HAVING
SQL ALIAS
In MySQL, you can access tables in multiple databases by specifying [Database Name].[Table Name]. If the table you want
SQL AS currently in the database you use, there is no need to specify the database name.
SQL SELECT UNIQUE
SQL JOIN For example, if you want to access table "Course_110" from database "Scores" and table "Students" from database "Person
SQL INNER JOIN in the following:
SQL OUTER JOIN
SQL LEFT OUTER JOIN USE Scores;
SQL CROSS JOIN
SELECT ...
SQL INSERT INTO FROM Course_110, Personnel.Students
SQL INSERT INTO SELECT WHERE ...
SQL UPDATE ;
SQL DELETE FROM
SQL Functions
SQL Average
SQL COUNT
SQL MAX
SQL MIN
SQL SUM
SQL ROUND
String Functions
SQL CAST
SQL CONVERT
SQL CONCATENATE
SQL SUBSTRING
SQL INSTR
SQL TRIM
http://www.1keydata.com/sql/sqluse.html 1/1