In SQL, the IN
operator allows you to filter your query results based a list of values.
You can also use it to match any value returned by a subquery (a subquery is a query that’s nested inside another query).
Continue readingIn SQL, the IN
operator allows you to filter your query results based a list of values.
You can also use it to match any value returned by a subquery (a subquery is a query that’s nested inside another query).
Continue readingIn SQL, the LIKE
operator allows you to do pattern matching. It determines whether a specific character string matches a specified pattern.
A pattern can include regular characters and wildcard characters.
Continue readingThe SQL CREATE TABLE ... AS SELECT
statement enables you to insert the results of a query into a new table.
The SQL SELECT INTO
statement is a Sybase extension that can be used to insert the results of a query into a table (or a variable, depending on the DBMS).
The SQL INSERT
statement is most commonly used to insert individual rows into a table.
But you can also insert the results of a query into a table. This means that you can insert multiple rows at once (as long as they’re returned by the query).
Continue readingA SQL join is where you run a query that joins multiple tables.
This SQL joins tutorial presents basic examples of SQL joins, as well as an introduction to the various join types.
Continue readingThis article contains examples of basic SQL queries that beginners can use to retrieve data from their databases.
Continue readingThis article contains basic SQL DELETE
statements that beginners can use to delete data from their database tables.
This article contains basic SQL UPDATE
statements that beginners can use to update data in their database tables.
This article provides an overview of the self join in SQL, as well as a basic example.
Continue reading