Submitted by Vyoma on Fri, 02/08/2008 - 20:50
The data retrieval using SQL is done using a SELECT statement.
For sake of illustrations consider the following imaginary EMP_DATA table:
Submitted by Vyoma on Fri, 02/08/2008 - 20:44
SQL is Structure Query Language. It is a way of communicating with the DataBase Management System (DBMS). A DBMS has the stored data in a particular format, and has tools that retrieves and manipulates this data. The SQL communicates to the DBMS on what task requires to be done by it.
There are a lot of different DBMS. The earlier ones started of by storing data in simple flat files with each record stuffed in a line and each column of data separated by comma or other ASCII character. Then, they evolved into what are called as RDBMS - relational DBMS. In these databases, the data is organized into tables that have one or more columns. Each record is stored as a row, with each of the data split into the different columns.
The tabular structure forms the basis for many of the SQL instructions. The SQL instructions may be grouped as:
Submitted by Vyoma on Thu, 05/03/2007 - 05:27
The term Database, in these days are generally used with respect to Computer Science, but they did exist earlier, in physical forms like files (real ones) and tabbed folders stored in cabinets of a warehouse like structure. This article though would be looking at the evolution of Database in terms of Computer Science.
There are various sources to this article and mention of all of them would take up a lot of space. Moreover, most of the information is known publicly with in the circles of the technically adept.
Submitted by Vyoma on Tue, 09/19/2006 - 10:33
This is a small article that would be the fourth and final part in the SQL Basics Primer series. In this part, we will see how one can create simple tables.
In the last parts we have looked into how to view the data in the tables and how to modify them. But for all this to happen, there must be a structure in the database that can hold all the rows. As mentioned earlier, tables define the structure of how many elements each row must contain.
For example, the table definition of the table emp_data that we have been using would something as follows:
Submitted by Vyoma on Fri, 08/25/2006 - 12:32
This is the third part in the SQL Basic Primer series. In this part we will look at few basic data modification tasks and also couple of control commands.
Again, for sake of illustration, I would assume that the following table exists in the database:
Submitted by Vyoma on Mon, 07/31/2006 - 14:39
This is the second part of the series of SQL Basics Primer. As mentioned in the earlier post, we would now examine the data retrieval SQL requests from a table.
For sake of illustrations I would be using the following imaginary EMP_DATA table: