From the Archives
Archived discussions on CrazyEngineers

@Dashaanan • 23 Apr, 2011
A database system provides two different types of languages: One to specify the database schema and other to express database queries and updates.

Data-definition Languages(DDL): A database schema is specified by a set of definitions expressed by a special language (DDL). The result of compilation of DDL statements is a set of tables that is stored in a special file called data dictionary or data directory.

A data dictionary is a file that contains metadata, that is data about data. This file is consulted before actual data are read or modified in the database system.
The storage structure and access methods used by the database system are specified by a set of definitions in a special type of DDL called as data storage and definition language. The result of compilation of these definitions is a set of instruction to specify the implementation details of the database schemas-Details are usually hidden from the user. Create table command is used for creation of the table. Suppose we wish to create table account having columns account_no, branch, and amount, then we have to write the following query;
create table account
(account_no number,
branch varchar2(50),
account number);
In this example, table account is created on which various modification operations can be performed.

Data manipulation language (DML): By data manipulation, we mean
1.The retrieval of information stored in the database
2.The insertion of new information into the database
3.Deletion of information from the database.
4.The modification of information stored in the database.
At the physical level, we must define algorithms that allow efficient access to data. At higher levels of abstraction, we emphasize ease of use. The goal is to provideefficient human interaction system.
A data manipulation language (DML) is a language that enables users to access or manipulate data organised by the appropriate data model. There are basically two types:

a) Procedural DMLs requires a user to specify what data are needed and how to get those data.

b)Non procedural DMLs Require a user to specify what data are needed without specifying how to get those data.

Non procedural DMLs are usually easier to learn and use than are procedural DMls. However since a user does not have to specify, how to get those data, these languages may generate code that may not be as that efficient as that produced by procedural languages.

For example: The simplest insert statement is a request to insert one tuple.
Suppose that we wish to insert the fact that there is an account A-9732 at a perryridge branch and that it has a balance of $1200. The query is

insert into account
values("A-9732", "Perryridge", 1200)
In this example, the values are specified in the order in which the corresponding attributes are listed in the relation schema.
@Ankita Katdare • 23 Apr, 2011 @Dashanan: Thank you for sharing this information.
You should mention the source of this article as a link to the original material.
@Dashaanan • 24 Apr, 2011 Are you kidding? This is a common knowledge, man! Don't you know?

One more meaning we can take out from it "Are you saying that it is Okay to copy paste provided we mention source?"

For those who still care for origin, they may first solve these assignments by Amita.

https://www.gurgaon.dronacharya.info/ITDept/Downloads/Labmanuals/IT/DBMS_IT_IV.pdf. This is very easy. Let us see if there will be people attempting these.

At IIT we give Questions first and never give answers. These are simple, solve them. This is the way you learn.
@ISHAN TOPRE • 24 Apr, 2011 Yes sir,
We do not question your knowledge. But still if we are taking something out of other resources, we should mention the source. By the way I can see that it is not copy pasted.

I also think that there will be people who can solve these.

Hope to see active on forum.
With regards,
Ishan Topre. 😀

P.S: Keep up the good work sir.
@Manish Goyal • 24 Apr, 2011
AbraKaDabra
@Dashanan: Thank you for sharing this information.
You should mention the source of this article as a link to the original material.
Don't you think that are you are directly calling him as a copy cat(sorry for word ,but i don't find any other word to use) May be he write the whole article on his own

anyway nice article buddy ,bring in more 😀
@Harshad Italiya • 24 Apr, 2011 Good Start Dashaanan,

Keep it Up good job.
@Ankita Katdare • 24 Apr, 2011
goyal420
Don't you think that are you are directly calling him as a copy cat(sorry for word ,but i don't find any other word to use) May be he write the whole article on his own

anyway nice article buddy ,bring in more 😀
I can myself point out the resources for this article. But let it be 😀 At least he has contributed some value to the forum.
@ISHAN TOPRE • 24 Apr, 2011 I do not know much but I am trying to get something out of every branch mostly computer because now I have no one to turn too. So I want to encourage Dashaanan Sir, to contribute more. 😀
@Dashaanan • 27 Apr, 2011 Son, in last 25 years no one has called me a copy cat. I just saw a mail relating to that. Try contacting that author and ask who Dashaanan is. Besides I will de-register soon as and when I will find time.
@Kaustubh Katdare • 27 Apr, 2011 Forum flames are seriously discouraged. Locking the thread.

Related Posts

Archives

@Kaustubh Katdare · Jan 13, 2012

The tower under construction at Mumbai, if completed by 2016 stands a chance to become the world's second tallest building; while the top rank is still claimed by Dubai's Burj...
Archives

@tanvisharma · Jun 3, 2013

please help me know about them, i know that they dnt save the state and other stores states...give me real time examples... and how those are applicable in internet
Archives

@Ankita Katdare · Nov 25, 2016

Today i.e. on 26th Nov 2016, we celebrate the 11th Anniversary of CrazyEngineers.com. On account of the birthday of this site, we've organised the most awesome contests for you to...
Archives

@Ankita Katdare · Oct 12, 2013

It is a day to rejoice for the Harley Davidson fans, because the US based company has launched its new generation Street Glide in India. Priced at Rs. 29 lakh...
Archives

@sankar1994 · Feb 15, 2013

Hii guys, i am a 2nd year student pursuing ECE. I want to do a project which is innovative. can anybody help me?