AdBlock Detected

We provide high-quality source code for free. Please consider disabling your AdBlocker to support our work.

Buy me a Coffee

Saved Tutorials

No saved posts yet.

Press Enter to see all results

[SQL] SELECT Statement | Example -trickcode

By pushpam abhishek
Listen to this article
SELECT Statement in SQL

SELECT Statement in SQL 


The SQL Syntax

SQL is mostly used by programmers who use SQL inside their language to build applications that access data in a database.

Four fundamental operations that apply to any database are:

                                          Ø  Read the data  --  SELECT
                                          Ø  Insert new data  --  INSERT
                                          Ø  Update existing data  --  UPDATE
                                          Ø  Remove data  --  DELETE

SELECT Statement in SQL 

Select is the most commonly used statement in select sql. The SELECT Statement in SQL is used to retrieve or fetch data from a database. 

sample Table:


The select sql general form

SELECT column1,column2 FROM table_name
column1 , column2: names of the fields of the table
table_name: from where we want to fetch

Example :-
To fetch all the fields from the table Student:

SELECT * FROM TABLE

select sql


               

Share this post

pushpam abhishek

About pushpam abhishek

Pushpam Abhishek is a Software & web developer and designer who specializes in back-end as well as front-end development. If you'd like to connect with him, follow him on Twitter as @pushpambhshk

Comments