SQL – STRUCTURED QUERY LANGUAGE

SQL is a Standard Programming Language for retrieving and manipulating the relational database. It stands for Structured Query Language and sometimes pronounced as “See-Quel.” It used for managing data held in the Microsoft SQL Server, IBM DB2, Oracle, MySQL, Relational Database Management System (RDBMS) and Microsoft Access.

SQL has two advantages over the old APIs like ISAM or VSAM. First, you can easily access many records by a single command, and second, it has dropped the need to stipulate how to reach a file with or without an index.

In 1986 and 1987, SQL became a standard of the American National Standards Institute (ANSI), and of the International Organization for Standardization (ISO).

Although SQL became standard of ANSI/ISO, yet different versions of the SQL language are available. For example, a set of extensions offered by Microsoft called Transact-SQL (T-SQL), while PL/SQL is Oracle’s extended version. Though, they all support at least the main commands (such as SELECT, UPDATE, DELETE, INSERT, WHERE) in the same way.

What can SQL Do?

  • SQL can execute queries against a database.
  • SQL can insert, change or update records in a database.
  • SQL can remove or retrieve records from a database.
  • SQL can create new databases or can add a new table in an existing database.
  • SQL can create stored procedures and opinions in a database.
  • SQL can set permissions on tables, procedures, and views.

SQL COMMANDS:

SQL uses specific commands to carry out the required tasks those guidelines are mainly characterized into four classes as explained under:

DDL (Data Definition Language): 

DDL or Data Definition Language consists of the Agile Scrum that deal with descriptions of the database schema and is used to create and change the structure of the database.

  • CREATE is used to create the database or its objects.
  • DROP is used to remove objects from the database.
  • ALTER is used to change the structure of the database.
  • TRUNCAT is used to remove all records from a table.
  • COMMENT is used to add comments in the data dictionary.
  • RENAME is used to rename objects in the database.

TCL (Transaction Control Language): 

TCL instructions deal with any transaction within the database.

  • COMMIT commits a Transaction.
  • ROLLBACK rollbacks a transaction in case of an error occurs.
  • SAVEPOINT sets a savepoint within a transaction.
  • SET TRANSACTION specifies characteristics for the transaction.

DML (Data Manipulation Language): 

These commands deal with the manipulation of data present in the database.

  • SELECT is used to retrieve data from the database.
  • INSERT is used to enter data into a table.
  • UPDATE is used to update existing data within a table.
  • DELETE is used to remove records from a database table.

DCL (Data Control Language): 

DCL includes commands deals with Azure DevOps, permissions and other controls of the database system.

  • GRANT gives user access privileges to the database.
  • REVOKE withdraw user access privileges.

65 Replies

  1. g one Reply

    Hey! Someone in my Myspace group shared this website
    with us so I came to give it a look. I’m definitely
    enjoying the information. I’m book-marking and
    will be tweeting this to my followers! Wonderful blog and brilliant style
    and design.

  2. more g Reply

    What’s Taking place i’m new to this, I stumbled
    upon this I have found It positively helpful and it has helped me out
    loads. I’m hoping to contribute & assist other customers like its aided me.

    Great job.

  3. g I Reply

    Your style is so unique in comparison to other folks I’ve read stuff from.
    Many thanks for posting when you’ve got the opportunity, Guess I will just book mark this blog.

  4. ginwednesday.com Reply

    Wonderful goods from you, man. I have understand your stuff previous to and you’re just too magnificent.

    I actually like what you’ve acquired here, really like what you’re saying and
    the way in which you say it. You make it entertaining and you still care
    for to keep it wise. I cant wait to read far
    more from you. This is actually a terrific website.

  5. Hello i am kavin, its my first time to commenting anyplace, when i read this article i thought i could also make
    comment due to this brilliant article.

  6. I’m gone to convey my little brother, that he should also pay a visit this web site on regular
    basis to obtain updated from most recent information.

  7. cbd oil that works 2020 Reply

    I have read some good stuff here. Definitely worth bookmarking for revisiting.
    I surprise how much effort you set to create one of these wonderful informative web site.

  8. cbd oil that works 2020 Reply

    I don’t even know how I ended up here, but I thought this post was great.
    I do not know who you are but definitely you are going to a famous
    blogger if you aren’t already 😉 Cheers!

  9. cbd oil that works 2020 Reply

    Hi there, i read your blog from time to time and i own a similar one
    and i was just wondering if you get a lot
    of spam comments? If so how do you reduce it, any plugin or
    anything you can recommend? I get so much lately it’s driving me mad so any assistance is very much
    appreciated.

  10. cbd oil that works 2020 Reply

    Ahaa, its fastidious dialogue concerning this article here at this website, I have read all that, so at this time
    me also commenting here.

  11. cbd oil that works 2020 Reply

    Hey there would you mind letting me know which webhost you’re using?
    I’ve loaded your blog in 3 different web browsers and I must say this blog loads a lot quicker then most.
    Can you recommend a good web hosting provider
    at a honest price? Kudos, I appreciate it!

  12. cbd oil that works 2020 Reply

    This design is spectacular! You most certainly know how to keep a reader
    entertained. Between your wit and your videos,
    I was almost moved to start my own blog (well, almost…HaHa!) Wonderful job.
    I really loved what you had to say, and more than that, how you presented it.
    Too cool!

  13. JerryMip Reply

    Знаете ли вы?
    Американская энциклопедия включила в себя десятки статей о вымышленных людях, якобы связанных с Латинской Америкой.
    Новый вид пауков-скакунов был назван по имени писателя в честь юбилея его самой известной книги о гусенице.
    Роден назвал свои «Врата ада» напрямую, а его соотечественник только намекнул.
    Во время немецкой оккупации Украины радио на украинском языке вещало из Саратова и Москвы.
    Персонажу французской комедии о Фантомасе советские подростки подражали всерьёз.

    arbeca

  14. content hosting Reply

    Greetings! Very helpful advice within this post!

    It’s the little changes which will make the biggest changes.
    Thanks for sharing!

  15. hosting services Reply

    Having read this I believed it was very enlightening.

    I appreciate you taking the time and effort to put this content together.
    I once again find myself personally spending a lot
    of time both reading and posting comments. But so what, it was still worth it!

  16. web hosting company Reply

    It’s not my first time to go to see this web page, i am browsing
    this website dailly and obtain fastidious data from here everyday.

  17. web hosting reviews Reply

    Good blog you have here.. It’s difficult to find high quality
    writing like yours these days. I really appreciate individuals like you!
    Take care!!

  18. best web hosting 2020 Reply

    I do not even know how I ended up here, but I thought this post was good.
    I do not know who you are but certainly you’re going
    to a famous blogger if you are not already 😉 Cheers!

  19. expedia.com Reply

    This article gives clear idea for the new viewers of blogging, that in fact how to
    do running a blog.

  20. cheap flights with jet2 Reply

    Hi Dear, are you actually visiting this website on a regular basis, if so then you will without doubt get fastidious experience.

  21. web hosting services Reply

    It is appropriate time to make some plans for the future and it is time to be happy.
    I have read this post and if I could I want to suggest you few interesting things or advice.
    Maybe you can write next articles referring to this article.
    I wish to read even more things about it!

  22. best website hosting Reply

    I loved as much as you will receive carried out right here.

    The sketch is attractive, your authored subject matter stylish.
    nonetheless, you command get got an edginess over that you wish be delivering
    the following. unwell unquestionably come further formerly again since exactly the same
    nearly a lot often inside case you shield this increase.

  23. website hosting companies Reply

    Incredible! This blog looks just like my old one! It’s on a entirely different topic
    but it has pretty much the same layout and design. Wonderful choice of colors!

  24. website hosting companies Reply

    This piece of writing provides clear idea in favor of the new people of blogging, that genuinely how to do blogging.

  25. best website hosting Reply

    hello there and thank you for your info
    – I’ve definitely picked up anything new from right here.
    I did however expertise several technical issues using this web site, since I experienced to reload the
    site many times previous to I could get it to load properly.
    I had been wondering if your web hosting is OK?

    Not that I’m complaining, but slow loading instances times will sometimes affect your placement in google
    and could damage your high-quality score if advertising and marketing with Adwords.
    Well I’m adding this RSS to my e-mail and could look out
    for a lot more of your respective interesting content. Ensure that
    you update this again soon.

  26. Good day! This is my first visit to your blog! We are a collection of volunteers and starting a
    new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a extraordinary job!
    adreamoftrains best hosting

  27. best web hosting 2020 Reply

    Hi there! This blog post could not be written much better!
    Going through this post reminds me of my previous roommate!

    He always kept talking about this. I am going to send this
    article to him. Pretty sure he’ll have a great read. I appreciate you for sharing!

  28. web hosting companies Reply

    That is really interesting, You’re an excessively professional
    blogger. I have joined your feed and sit up for in the hunt for extra of your excellent post.
    Also, I’ve shared your website in my social networks

  29. web hosting service Reply

    Hiya very nice blog!! Guy .. Excellent .. Superb ..
    I will bookmark your site and take the feeds
    additionally? I am satisfied to find a lot of helpful info right here within the publish, we need work out more strategies in this regard, thanks for sharing.
    . . . . .

  30. Reginadaype Reply

    MEET HOT LOCAL GIRLS TONIGHT WE GUARANTEE FREE SEX DATING IN YOUR CITY CLICK THE LINK: http://veryhotgirls.best/

  31. web hosting services Reply

    Hello there, I discovered your web site via Google even as searching for a related
    subject, your site got here up, it appears to be
    like good. I have bookmarked it in my google bookmarks.

    Hi there, simply become aware of your blog through Google, and located that it’s truly informative.
    I’m gonna be careful for brussels. I’ll appreciate for those who proceed
    this in future. A lot of other folks might be benefited from
    your writing. Cheers!

  32. Josephhappy Reply

    Medication information leaflet. What side effects? where can i buy doxycycline Actual about meds. Read information now.

  33. Josephhappy Reply

    Pills information sheet. Long-Term Effects. cost of generic zoloft pills Everything what you want to know about medicines. Read information now.

  34. Josephhappy Reply

    Medicines prescribing information. What side effects? buying generic lyrica online Everything news about medicine. Read information here.

  35. Robertsaway Reply

    Meds information leaflet. Cautions. generic viagra sale Some what you want to know about medicine. Read information now.

  36. Robertsaway Reply

    Drug information for patients. Effects of Drug Abuse. viagra generic All about meds. Read information here.

  37. Robertsaway Reply

    Meds information leaflet. What side effects can this medication cause? viagra without doctor prescription All information about medicine. Get information now.

  38. Robertsaway Reply

    Medicines information leaflet. Generic Name. how to get viagra cheap All trends of medication. Get now.

  39. Robertsaway Reply

    Medicine information leaflet. Cautions. can i buy viagra online Everything about medicine. Read here.

  40. Robertsaway Reply

    Drug prescribing information. What side effects? how to get viagra cheap Some information about medicament. Get now.

  41. Robertsaway Reply

    Drug information for patients. Effects of Drug Abuse. viagra without prescription Everything news about medicines. Get information now.

  42. Josephhappy Reply

    Medication prescribing information. Effects of Drug Abuse. buy trazodone pills Best trends of meds. Read now.

  43. Robertsaway Reply

    Medicine information sheet. Drug Class. how can i get viagra Actual about drug. Get here.

Reply