SQL

32 lessons46 min total



  1. Update Query-MySQL
    The UPDATE operation on any database updates one or more existing records in the database. The UPDATE statement…


    1 min





  2. Delete Query – MySQL
    You must use the DELETE FROM statement to delete records from a MySQL table. To remove specific records,…


    1 min





  3. Drop Table Query – MySQL
    The Drop Table query affects the structure of the table rather than the data. It is used to…


    1 min





  4. WHERE Clause – MySQL
    In a MySQL database, the where clause is used to filter the data according to the specified conditions.…


    1 min





  5. Order by Clause – MySQL
    In MySQL, sorting is primarily accomplished using the ORDER BY clause. That is, one can sort the results…


    1 min





  6. Limit Clause – MySQL
    In SQL, the Limit clause is used to restrict or control the number of records in the result…


    1 min





  7. Table Joins – MySQL
    JOIN Clause Of SQL: Join allows you to combine two or more tables in SQL, based on the…


    1 min





  8. Introduction to SQL
    A programming language called SQL (Structured Query Language) was created specifically for managing and modifying relational databases. It…


    2 min





  9. SQL: create command
    The SQL CREATE command is a type of DDL command that is primarily used for creating databases and…


    1 min





  10. SQL Data Types
    SQL Data Types are an important component of the attributes present in the tables, as well as the…


    4 min





  11. SQL: ALTER command
    The ALTER command is a DDL command that can be used to change the structure of existing tables…


    1 min





  12. SQL: Truncate, Drop, Rename Query
    The various DDL commands that are used to redefine the tables will be covered in this tutorial. Truncate…


    1 min





  13. SQL: INSERT Query
    Insert is a commonly used command in the Structured Query Language (SQL) data manipulation language (DML) used by…


    1 min





  14. SQL: UPDATE Query
    What is an UPDATE QUERY? The SQL UPDATE statement is used to modify the data in tables’ records.…


    1 min





  15. SQL: DELETE Query
    What is Delete Query? In SQL, the DELETE Query removes existing records from a table. Depending on the…


    1 min





  16. SQL: TCL Commands
    What is TCL? Transactional control commands(TCL) can only be used with DML commands like INSERT, UPDATE, and DELETE.…


    2 min





  17. DCL Commands: GRANT and REVOKE
    What is DCL? Data Control Language is known as DCL in SQL. By creating users and granting or…


    3 min





  18. SQL: WHERE clause
    When retrieving data from a single table or by joining data from multiple tables, a condition is specified…


    1 min





  19. SQL: LIKE clause
    In SQL to filter data based on a specific pattern, the LIKE clause is used in the WHERE…


    1 min





  20. SQL: ORDER BY Clause
    What is the ORDER BY Clause? In the SELECT query, the ORDER BY clause can be used to…


    1 min





  21. SQL: Group By Clause
    The SQL Group By statement is used to organize similar data into groups. The data is further organized…


    1 min





  22. SQL: HAVING Clause
    The HAVING clause in SQL Server includes one or more conditions that must be TRUE for groups of…


    1 min





  23. SQL: DISTINCT keyword
    What is the SQL DISTINCT keyword? The SQL DISTINCT keyword is used in conjunction with the SELECT statement…


    1 min





  24. SQL: AND & OR operators
    The AND and OR operators are used in SQL to filter data and produce precise results based on…


    2 min





  25. SQL Constraints
    What are the SQL Constraints? SQL constraints are rules that limit the types of data that can be…


    3 min





  26. SQL Functions-I
    What are SQL Functions? SQL functions are predefined routines that can be invoked by SQL queries to perform…


    2 min





  27. SQL Functions-II
    In the previous section we saw Aggregate Functions, in this section let us discuss Scalar Functions. Scalar Function:…


    1 min





  28. SQL Alias – AS Keyword
    What is an Alias? An SQL alias is simply an alternative name that can be used to refer…


    1 min





  29. SQL JOIN
    What is an SQL Join? The SQL Join clause is used to combine rows from two or more…


    2 min





  30. SQL: SET Operations
    SQL set operations combine the output of two or more SELECT statements into a single result set. The…


    2 min





  31. SQL: Sequence
    What is an SQL Sequence? Database systems offer sequence to produce unique numeric values in a series according…


    1 min





  32. SQL VIEWS
    What are SQL Views? Views are virtual tables in SQL. A view, like every other table in the…


    2 min