Some basic information about SQL
SQL ESSENTIALS | |||||||||||||||||||||||||||||||||||
| With just a dozen commands and functions, a developer is able to perform most activities related to querying and manipulating a database. | |||||||||||||||||||||||||||||||||||
| Commands like Select , insert , delete , update , create Function like Sum () Avg () Max() , Min() Count() | |||||||||||||||||||||||||||||||||||
| The SQL declarations, or commands, are divided into two main categories: DDL and DML | |||||||||||||||||||||||||||||||||||
| DDL, or data definition language, is the part of SQL used to define the data and objects in a database. When these commands are used, entries are made in a data dictionary in the SQL server. Following are some DDL commands: Create Table-, Create Index , Alter Table, Drop Table, Drop Index | |||||||||||||||||||||||||||||||||||
| DML, the language for manipulating data, is the part of SQL used to recover or manipulate data. Its commands are responsible for the queries and changes made to tables. These are some of the most important commands in this category: Select , insert , update rollback | |||||||||||||||||||||||||||||||||||
| Data Type in SQL
| |||||||||||||||||||||||||||||||||||
| Select command is the essence of the SQL language | |||||||||||||||||||||||||||||||||||
| Basic syntax: SELECT [*] [ALL | DISTINCT] [name =] expression [expression [AS name]] FROM [correlation_name] WHERE [GROUP BY ] ] [HAVING ] [ORDER BY [ASC] [DESC]] ] | |||||||||||||||||||||||||||||||||||
| |||||||||||||||||||||||||||||||||||
Comments
Post a Comment
Post a comment