Sharp Tutorial
Insert Query in SQL

Python

Java

C

C++

HTML/CSS

Java Script

PHP

SQL

C Programs

SQL

  • SQL home
  • SQL introduction
  • SQL install and Run
  • create table
  • drop table
  • alter table
  • Insert into table
  • select query
  • Where Clause
  • Order By /Group By
  • Delete Query
  • Update query
  • Aggregate Function
  • Join Tables
  • SQL Examples
  • SQL Exercise

DBMS

SQL Insert Query

insert query is used to insert the records into the given table

If we insert the value for all fields in a table

Syntax: insert into <table-name> values(value1,value2,…….);

 
   insert into login values('user' , '1234', 'normal-user','offline');

If we have to insert some field values in a table.then                                                          Syntax: insert into <table-name> (column1,column2,….) values(value1,value2,…….); 

 
   insert into login (userid,password) values ('admin' , '007');
 

in the above query only values is inserted as per given , the third field value is the default value.

Enquiry about Course

Ask your Question

Click Here

Sharp (2) Tutorials

Video/ C Introduction

Watch video in full size

Video tutorial

Follow by Email
Facebook
Facebook
fb-share-icon
YouTube
Copyright © Sharp Tutorial
Build with WordPress
Wordpress Social Share Plugin powered by Ultimatelysocial
Sharp Tutorial