More About SQL
What is Database .A database is a collection of valid and structured data stored in System. What is RDBMS -RDBMS stands for Relational Database Management System. The term Relational Stands for data is stored in System in the form of Rows and Columns. Database Systems -There are various database Systems such as MYSQL, SQL server, Oracle which is used to stored , manipulate and maintain data. What is a Table -a table is a collection of rows and columns in which data is stored.
ID | Name |
City |
---|---|---|
1 | Raj |
Mumbai |
2 | Rahul |
Nashik |
3 | Saurabh | Nagar |
SELECT -
select column_name from table_name
select Name from Detail. -will display all names from Detail table.
select * from Detail -will display all rows and columns from Detail Table.
INSERTinto table_name (column name_1,column_name_2)
values (value_1,value_2)
values (value_1,value_2)
Insert into Detail (ID,Name,City) values(3, 'Rajendra', 'Thane')
Insert into Detail values(5, 'Gaurav' 'Nashik')
ID | Name |
City |
---|---|---|
1 | Raj |
Mumbai |
2 | Rahul |
Nashik |
3 | Saurabh |
Nagar |
4 | Abhiraj |
Nagar |
Nashik
Nagar
More About SQL
Reviewed by vishal
on
August 02, 2017
Rating:
No comments