Welcome to Scribd, the world's digital library. Read, publish, and share books and documents. See more
Download
Standard view
Full view
of .
Look up keyword
Like this
1Activity
0 of .
Results for:
No results containing your search query
P. 1
Lecture7 - SQL DDL - Part 1

Lecture7 - SQL DDL - Part 1

Ratings: (0)|Views: 1|Likes:
Published by Luis Pedro

More info:

Categories:Topics, Art & Design
Published by: Luis Pedro on Jun 30, 2011
Copyright:Attribution Non-commercial

Availability:

Read on Scribd mobile: iPhone, iPad and Android.
download as PPT, PDF, TXT or read online from Scribd
See more
See less

11/30/2013

pdf

text

original

 
Introduction to Structured QueryLanguage (SQL) ±Part 1DDL -Creating and ManagingTablesChapter 6
 
2
O
bjectives of SQL
Ideally,databaselanguageshouldallowuserto: ±createthedatabaseandrelationstructures; ±performinsertion,modification,deletionofdatafromrelations; ±performsimpleandcomplexqueries.
Mustperformthesetaskswithminimalusereffortandcommandstructure/syntaxmustbeeasytolearn.
Itmustbeportable±conformtosomerecognizedstandard(usedbyallDBMS,egOracle,mySQLetc).
© Pearson Education Limited 1995, 2005
 
3
W
hatisSQL?
Inprogramming,onceanalgorithmhasbeenconstructedthenextstepwillbeconvertingthealgorithmtoaworking programminglanguage,e.g.,C++,Java.Similarlyfodatabase,oncenormalizedrelationalschemasandrelationalalgebraforquerieshavebeendefined,thenextstepwillbecodingthemusingaworkinglanguage.
Hence,languagefordatabaseiscalledStructuredQueryLanguage(SQL).SQLisastandardquerylanguagethatcanbe usedtocreateandmanipulaterelationaldatabases.
Againsimilartoprogramming,therearemanysoftwarethatcanbeusedtowriteaC++program,e.g.,BorlandC++,TurboC++,Netbeanetc.So,indatabase,thesoftwareiscalledDatabaseManagementSystem(DBMS).ExamplesofthemareOracle,Access,SQLServer,MySQLetc.

You're Reading a Free Preview

Download
scribd
/*********** DO NOT ALTER ANYTHING BELOW THIS LINE ! ************/ var s_code=s.t();if(s_code)document.write(s_code)//-->