Structured Query Language, also known as SQL, is a programming language designed for managing Relational Database Management Systems (RDBMSs). SQL is an International Organization for Standardization (ISO) standard. In a RDBMS all the data is stored in tables with each table consisting of rows and columns. In this entire article I use Oracle 10g express edition software for the database.Let's move towards the programmingFirst to do any operation we need a database so let's create a simple database named “College”.Create databaseOutput: here we can see our database is created.Now let's make the table in the database. Create TableNow our database and table are created.Insert the values in the databaseTo see the output OutputHere I insert some more values.If we want to select a specific value then:OutputNow I inset one more entry with the same name “sanjay” that is already present so now the output is:Here we can see that there are two “sanjay” with various addresses.Use of SQL ANDOutputUse of SQL OROutputORDER BY: in SQL this is used to order the selected value in increasing or decreasing order.OutputUPDATE StatementOutputDELETE StatementOUTPUTDELETE ALL VALUESOutputThis article might not look well designed but in this article I am not focused on the design, I am just trying to provide you a small amount of practical knowledge of all the SQL commands. The remaining commands I'll explain in my next article.Maybe it will help you!
You need to be a premium member to use this feature. To access it, you'll have to upgrade your membership.
Become a sharper developer and jumpstart your career.
$0
$
. 00
monthly
For Basic members:
$20
For Premium members:
$45
For Elite members: