|
|
|
MySQL
|
SET Syntax
SET statement is used for assigning the values for different types of variables which affects the operation of your client or the server. In this section we are describing you the use of SET statement to assign the values for system variables or user vari
View Rating |
|
|
MySQL
|
TRIGGERS
A Trigger is a named database object which defines some action that the database should take when some databases related event occurs. Triggers are executed when you issues a data manipulation command like INSERT, DELETE, UPDATE on a table for which the t
View Rating |
|
|
MySQL
|
CURSORS
Cursors are used when the SQL Select statement is expected to return more than one row. Cursors are supported inside procedures and functions. Cursors must be declared and its definition contains the query. The cursor must be defined in the DECLARE sectio
View Rating |
|
|
MySQL
|
Writing Subqueries
A subquery can be defined as a query within a query. In other words, any query results that we reuse in another query. Subquery is known as nestee queries or subselects also. Subqueries don?t include any new functionality but the queries are more readable
View Rating |
|
|
MySQL
|
Stored Procedures and Functions
Stored Routines (Procedures and Functions) are supported in version MySQL 5.0. Stored Procedure is a set of statements, which allow ease and flexibility for a programmer because stored procedure is easy to execute than reissuing the number of individual S
View Rating |
|
|
MySQL
|
Views
VIEW is a virtual table, which acts like a table but actually it contains no data. That is based on the result set of a SELECT statement. A VIEW consists rows and columns from one or more than one tables.
View Rating |
|
|
MySQL
|
Joins
Sometimes you required the data from more than one table. When you select the data from more than one table this is known as Joining. A join is a SQL query that is used to select the data from more than one table or views.
View Rating |
|
|