Tampilkan postingan dengan label SQL. Tampilkan semua postingan

Sabtu, 27 September 2014

Description

The SQL UNION ALL operator is used to combine the result sets of 2 or more SELECT statements. It returns all rows from the query (even if the row exists in more than one of the SELECT statements). Each SELECT statement within the UNION ALL must have the same number of fields in the result sets with similar data types. 

SQL UNION ALL operator

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL UNION operator is used to combine the result sets of 2 or more SELECT statements. It removes duplicate rows between the various SELECT statements. Each SELECT statement within the UNION must have the same number of fields in the result sets with similar data types. 

SQL UNION operator

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL EXISTS condition is used in combination with a subquery and is considered to be met, if the subquery returns at least one row. It can be used in a SELECT, INSERT, UPDATE, or DELETE statement.

SQL EXISTS condition

Posted by Glen Sajori
Tag :, Tag :

Description

SQL JOINS are used to retrieve data from multiple tables. A SQL JOIN is performed whenever two or more tables are joined in a SQL statement.
There are 4 different types of SQL joins:
  • SQL INNER JOIN (or sometimes called simple join)
  • SQL LEFT OUTER JOIN (or sometimes called LEFT JOIN)
  • SQL RIGHT OUTER JOIN (or sometimes called RIGHT JOIN)
  • SQL FULL OUTER JOIN (or sometimes called FULL JOIN)
So let's discuss SQL JOIN syntax, look at visual illustrations of SQL JOINS, and explore SQL JOIN examples.

SQL joins

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL ORDER BY clause is used to sort the records in the result set for a SELECT statement.

SQL ORDER BY clause

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL MIN function is used to return the minimum value of an expression in a SELECT statement.

SQL MIN function

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL MAX function is used to return the maximum value of an expression in a SELECT statement.

SQL MAX function

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL AVG function is used to return the average of an expression in a SELECT statement.

SQL AVG function

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL SUM function is used to return the sum of an expression in a SELECT statement.

SQL SUM function

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL SELECT statement is used to retrieve records from one or more tables in your SQL database.

SQL SELECT statement

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL GROUP BY clause can be used in a SELECT statement to collect data across multiple records and group the results by one or more columns.

GROUP BY clause

Posted by Glen Sajori
Tag :, Tag :

Description

SQL ALIASES can be used to create a temporary name for columns or tables.
  • COLUMN ALIASES are used to make column headings in your result set easier to read.
  • TABLE ALIASES are used to shorten your SQL to make it easier to read or when you are performing a self join (ie: listing the same table more than once in the FROM clause).

SQL ALIASES

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL DISTINCT clause is used to remove duplicates from the result set of a SELECT statement.

SQL DISTINCT clause

Posted by Glen Sajori
Tag :, Tag :

Description

The SQL COUNT function is used to count the number of rows returned in a SELECT statement.

SQL COUNT function

Posted by Glen Sajori
Tag :, Tag :

Translate to Your Language

STMIK AMIKOM YOGYAKARTA

Followers

✠Ulquίoґґ∆✠. Diberdayakan oleh Blogger.

Copyright © Free Download+§hare Anything That You Want -Black Rock Shooter- Powered by Blogger - Designed by Johanes Djogan